@loaders.gl/polyfills 4.1.0-alpha.8 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -0
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -63713,6 +63713,9 @@ function getPixelsAsync(buffer, mimeType) {
|
|
|
63713
63713
|
|
|
63714
63714
|
// ../loader-utils/src/lib/binary-utils/array-buffer-utils.ts
|
|
63715
63715
|
function concatenateArrayBuffers(...sources) {
|
|
63716
|
+
return concatenateArrayBuffersFromArray(sources);
|
|
63717
|
+
}
|
|
63718
|
+
function concatenateArrayBuffersFromArray(sources) {
|
|
63716
63719
|
const sourceArrays = sources.map(
|
|
63717
63720
|
(source2) => source2 instanceof ArrayBuffer ? new Uint8Array(source2) : source2
|
|
63718
63721
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/polyfills",
|
|
3
|
-
"version": "4.1.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Polyfills for TextEncoder/TextDecoder",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"module": "dist/index.js",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
26
27
|
"import": "./dist/index.js",
|
|
27
|
-
"require": "./dist/index.cjs"
|
|
28
|
-
"types": "./dist/index.d.ts"
|
|
28
|
+
"require": "./dist/index.cjs"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.3.1",
|
|
49
|
-
"@loaders.gl/crypto": "4.1.0
|
|
50
|
-
"@loaders.gl/loader-utils": "4.1.0
|
|
49
|
+
"@loaders.gl/crypto": "4.1.0",
|
|
50
|
+
"@loaders.gl/loader-utils": "4.1.0",
|
|
51
51
|
"buffer": "^6.0.3",
|
|
52
52
|
"get-pixels": "^3.3.3",
|
|
53
53
|
"ndarray": "^1.0.19",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"through": "^2.3.8",
|
|
57
57
|
"web-streams-polyfill": "^3.2.1"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "75961cc7a6ed6679018c0e3fb6eb5c3c74d97bdb"
|
|
60
60
|
}
|