Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge master branch to next #1088

Merged
merged 4 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
/doc
/test
/benchmark
/build
/tsconfig.json
.github
.vscode

npm-debug.log
.DS_Store
Thumbs.db
Desktop.ini

.eslintignore
.eslintrc.yaml
6 changes: 1 addition & 5 deletions src/core/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ else if (typeof document === 'undefined' && typeof self !== 'undefined') {
// In worker
env.worker = true;
}
else if (
(typeof process !== 'undefined' && typeof process.version === 'string')
|| (typeof navigator === 'undefined' || typeof navigator.userAgent === 'undefined')
|| (env.hasGlobalWindow && 'Deno' in window)
) {
else if (!env.hasGlobalWindow || 'Deno' in window) {
// In node
env.node = true;
env.svgSupported = true;
Expand Down
Loading