@loaders.gl/core
Advanced tools
Comparing version 4.0.0-beta.3 to 4.0.0-beta.4
import type { Loader, LoaderOptions } from '@loaders.gl/loader-utils'; | ||
/** | ||
* Global state for loaders.gl. Stored on `global.loaders._state` | ||
* Global state for loaders.gl. Stored on `globalThis.loaders._state` | ||
*/ | ||
@@ -5,0 +5,0 @@ type GlobalLoaderState = { |
@@ -203,3 +203,3 @@ "use strict"; | ||
// src/null-loader.ts | ||
var VERSION = true ? "4.0.0-beta.3" : "latest"; | ||
var VERSION = true ? "4.0.0-beta.4" : "latest"; | ||
var NullLoader = { | ||
@@ -206,0 +206,0 @@ name: "Null loader", |
@@ -203,3 +203,3 @@ "use strict"; | ||
// src/null-loader.ts | ||
var VERSION = true ? "4.0.0-beta.3" : "latest"; | ||
var VERSION = true ? "4.0.0-beta.4" : "latest"; | ||
var NullLoader = { | ||
@@ -206,0 +206,0 @@ name: "Null loader", |
{ | ||
"name": "@loaders.gl/core", | ||
"version": "4.0.0-beta.3", | ||
"version": "4.0.0-beta.4", | ||
"description": "The core API for working with loaders.gl loaders and writers", | ||
@@ -49,7 +49,7 @@ "license": "MIT", | ||
"@babel/runtime": "^7.3.1", | ||
"@loaders.gl/loader-utils": "4.0.0-beta.3", | ||
"@loaders.gl/worker-utils": "4.0.0-beta.3", | ||
"@loaders.gl/loader-utils": "4.0.0-beta.4", | ||
"@loaders.gl/worker-utils": "4.0.0-beta.4", | ||
"@probe.gl/log": "^4.0.2" | ||
}, | ||
"gitHead": "7ba9621cc51c7a26c407086ac86171f35b8712af" | ||
"gitHead": "848c20b474532d301f2c3f8d4e1fb9bf262b86d4" | ||
} |
@@ -11,5 +11,5 @@ // A browser implementation of the Node.js `fs` module's `fs.writeFile` method. | ||
const savedNavigatorExists = 'navigator' in global; | ||
const savedNavigator = global.navigator; | ||
const savedNavigator = globalThis.navigator; | ||
if (!isBrowser) { | ||
global.navigator = {userAgent: 'MSIE 9.'}; | ||
globalThis.navigator = {userAgent: 'MSIE 9.'}; | ||
} | ||
@@ -22,5 +22,5 @@ | ||
if (savedNavigatorExists) { | ||
global.navigator = savedNavigator; | ||
globalThis.navigator = savedNavigator; | ||
} else { | ||
delete global.navigator; | ||
delete globalThis.navigator; | ||
} | ||
@@ -27,0 +27,0 @@ } |
@@ -9,3 +9,3 @@ // loaders.gl, MIT license | ||
/** | ||
* Global state for loaders.gl. Stored on `global.loaders._state` | ||
* Global state for loaders.gl. Stored on `globalThis.loaders._state` | ||
*/ | ||
@@ -12,0 +12,0 @@ type GlobalLoaderState = { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11
567282
10302
+ Added@loaders.gl/loader-utils@4.0.0-beta.4(transitive)
+ Added@loaders.gl/worker-utils@4.0.0-beta.4(transitive)
- Removed@loaders.gl/loader-utils@4.0.0-beta.3(transitive)
- Removed@loaders.gl/worker-utils@4.0.0-beta.3(transitive)