@loaders.gl/loader-utils 3.4.12 → 3.4.13
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/es5/json-loader.js +1 -1
- package/dist/es5/lib/node/fs.browser.js +25 -1
- package/dist/es5/lib/node/fs.browser.js.map +1 -1
- package/dist/es5/lib/node/stream.browser.js +3 -1
- package/dist/es5/lib/node/stream.browser.js.map +1 -1
- package/dist/esm/json-loader.js +1 -1
- package/dist/esm/lib/node/fs.browser.js +12 -0
- package/dist/esm/lib/node/fs.browser.js.map +1 -1
- package/dist/esm/lib/node/stream.browser.js +1 -0
- package/dist/esm/lib/node/stream.browser.js.map +1 -1
- package/dist/lib/node/fs.browser.d.ts +12 -0
- package/dist/lib/node/fs.browser.d.ts.map +1 -1
- package/dist/lib/node/stream.browser.d.ts +1 -0
- package/dist/lib/node/stream.browser.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/lib/node/fs.browser.ts +13 -0
- package/src/lib/node/stream.browser.ts +2 -0
package/dist/es5/json-loader.js
CHANGED
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports._typecheckJSONLoader = exports.JSONLoader = void 0;
|
|
8
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
|
-
var VERSION = typeof "3.4.
|
|
10
|
+
var VERSION = typeof "3.4.13" !== 'undefined' ? "3.4.13" : 'latest';
|
|
11
11
|
var JSONLoader = {
|
|
12
12
|
name: 'JSON',
|
|
13
13
|
id: 'json',
|
|
@@ -3,7 +3,31 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.isSupported = void 0;
|
|
6
|
+
exports.writeFileSync = exports.writeFile = exports.stat = exports.readdir = exports.readFileSync = exports.readFile = exports.read = exports.open = exports.isSupported = exports.fstat = exports.createWriteStream = exports.close = exports._readToArrayBuffer = void 0;
|
|
7
|
+
var readdir = null;
|
|
8
|
+
exports.readdir = readdir;
|
|
9
|
+
var stat = null;
|
|
10
|
+
exports.stat = stat;
|
|
11
|
+
var readFile = null;
|
|
12
|
+
exports.readFile = readFile;
|
|
13
|
+
var readFileSync = null;
|
|
14
|
+
exports.readFileSync = readFileSync;
|
|
15
|
+
var writeFile = null;
|
|
16
|
+
exports.writeFile = writeFile;
|
|
17
|
+
var writeFileSync = null;
|
|
18
|
+
exports.writeFileSync = writeFileSync;
|
|
19
|
+
var open = null;
|
|
20
|
+
exports.open = open;
|
|
21
|
+
var close = null;
|
|
22
|
+
exports.close = close;
|
|
23
|
+
var read = null;
|
|
24
|
+
exports.read = read;
|
|
25
|
+
var fstat = null;
|
|
26
|
+
exports.fstat = fstat;
|
|
27
|
+
var createWriteStream = null;
|
|
28
|
+
exports.createWriteStream = createWriteStream;
|
|
29
|
+
var _readToArrayBuffer = null;
|
|
30
|
+
exports._readToArrayBuffer = _readToArrayBuffer;
|
|
7
31
|
var isSupported = false;
|
|
8
32
|
exports.isSupported = isSupported;
|
|
9
33
|
//# sourceMappingURL=fs.browser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.browser.js","names":["
|
|
1
|
+
{"version":3,"file":"fs.browser.js","names":["readdir","exports","stat","readFile","readFileSync","writeFile","writeFileSync","open","close","read","fstat","createWriteStream","_readToArrayBuffer","isSupported"],"sources":["../../../../src/lib/node/fs.browser.ts"],"sourcesContent":["export const readdir = null;\nexport const stat = null;\nexport const readFile = null;\nexport const readFileSync = null;\nexport const writeFile = null;\nexport const writeFileSync = null;\nexport const open = null;\nexport const close = null;\nexport const read = null;\nexport const fstat = null;\nexport const createWriteStream = null;\nexport const _readToArrayBuffer = null;\n\nexport const isSupported = false;\n"],"mappings":";;;;;;AAAO,IAAMA,OAAO,GAAG,IAAI;AAACC,OAAA,CAAAD,OAAA,GAAAA,OAAA;AACrB,IAAME,IAAI,GAAG,IAAI;AAACD,OAAA,CAAAC,IAAA,GAAAA,IAAA;AAClB,IAAMC,QAAQ,GAAG,IAAI;AAACF,OAAA,CAAAE,QAAA,GAAAA,QAAA;AACtB,IAAMC,YAAY,GAAG,IAAI;AAACH,OAAA,CAAAG,YAAA,GAAAA,YAAA;AAC1B,IAAMC,SAAS,GAAG,IAAI;AAACJ,OAAA,CAAAI,SAAA,GAAAA,SAAA;AACvB,IAAMC,aAAa,GAAG,IAAI;AAACL,OAAA,CAAAK,aAAA,GAAAA,aAAA;AAC3B,IAAMC,IAAI,GAAG,IAAI;AAACN,OAAA,CAAAM,IAAA,GAAAA,IAAA;AAClB,IAAMC,KAAK,GAAG,IAAI;AAACP,OAAA,CAAAO,KAAA,GAAAA,KAAA;AACnB,IAAMC,IAAI,GAAG,IAAI;AAACR,OAAA,CAAAQ,IAAA,GAAAA,IAAA;AAClB,IAAMC,KAAK,GAAG,IAAI;AAACT,OAAA,CAAAS,KAAA,GAAAA,KAAA;AACnB,IAAMC,iBAAiB,GAAG,IAAI;AAACV,OAAA,CAAAU,iBAAA,GAAAA,iBAAA;AAC/B,IAAMC,kBAAkB,GAAG,IAAI;AAACX,OAAA,CAAAW,kBAAA,GAAAA,kBAAA;AAEhC,IAAMC,WAAW,GAAG,KAAK;AAACZ,OAAA,CAAAY,WAAA,GAAAA,WAAA"}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.isSupported = void 0;
|
|
6
|
+
exports.isSupported = exports.Transform = void 0;
|
|
7
|
+
var Transform = null;
|
|
8
|
+
exports.Transform = Transform;
|
|
7
9
|
var isSupported = false;
|
|
8
10
|
exports.isSupported = isSupported;
|
|
9
11
|
//# sourceMappingURL=stream.browser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.browser.js","names":["
|
|
1
|
+
{"version":3,"file":"stream.browser.js","names":["Transform","exports","isSupported"],"sources":["../../../../src/lib/node/stream.browser.ts"],"sourcesContent":["export const Transform = null;\n\nexport const isSupported = false;\n"],"mappings":";;;;;;AAAO,IAAMA,SAAS,GAAG,IAAI;AAACC,OAAA,CAAAD,SAAA,GAAAA,SAAA;AAEvB,IAAME,WAAW,GAAG,KAAK;AAACD,OAAA,CAAAC,WAAA,GAAAA,WAAA"}
|
package/dist/esm/json-loader.js
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
export const readdir = null;
|
|
2
|
+
export const stat = null;
|
|
3
|
+
export const readFile = null;
|
|
4
|
+
export const readFileSync = null;
|
|
5
|
+
export const writeFile = null;
|
|
6
|
+
export const writeFileSync = null;
|
|
7
|
+
export const open = null;
|
|
8
|
+
export const close = null;
|
|
9
|
+
export const read = null;
|
|
10
|
+
export const fstat = null;
|
|
11
|
+
export const createWriteStream = null;
|
|
12
|
+
export const _readToArrayBuffer = null;
|
|
1
13
|
export const isSupported = false;
|
|
2
14
|
//# sourceMappingURL=fs.browser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.browser.js","names":["isSupported"],"sources":["../../../../src/lib/node/fs.browser.ts"],"sourcesContent":["export const isSupported = false;\n"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG,KAAK"}
|
|
1
|
+
{"version":3,"file":"fs.browser.js","names":["readdir","stat","readFile","readFileSync","writeFile","writeFileSync","open","close","read","fstat","createWriteStream","_readToArrayBuffer","isSupported"],"sources":["../../../../src/lib/node/fs.browser.ts"],"sourcesContent":["export const readdir = null;\nexport const stat = null;\nexport const readFile = null;\nexport const readFileSync = null;\nexport const writeFile = null;\nexport const writeFileSync = null;\nexport const open = null;\nexport const close = null;\nexport const read = null;\nexport const fstat = null;\nexport const createWriteStream = null;\nexport const _readToArrayBuffer = null;\n\nexport const isSupported = false;\n"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,IAAI;AAC3B,OAAO,MAAMC,IAAI,GAAG,IAAI;AACxB,OAAO,MAAMC,QAAQ,GAAG,IAAI;AAC5B,OAAO,MAAMC,YAAY,GAAG,IAAI;AAChC,OAAO,MAAMC,SAAS,GAAG,IAAI;AAC7B,OAAO,MAAMC,aAAa,GAAG,IAAI;AACjC,OAAO,MAAMC,IAAI,GAAG,IAAI;AACxB,OAAO,MAAMC,KAAK,GAAG,IAAI;AACzB,OAAO,MAAMC,IAAI,GAAG,IAAI;AACxB,OAAO,MAAMC,KAAK,GAAG,IAAI;AACzB,OAAO,MAAMC,iBAAiB,GAAG,IAAI;AACrC,OAAO,MAAMC,kBAAkB,GAAG,IAAI;AAEtC,OAAO,MAAMC,WAAW,GAAG,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.browser.js","names":["isSupported"],"sources":["../../../../src/lib/node/stream.browser.ts"],"sourcesContent":["export const isSupported = false;\n"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG,KAAK"}
|
|
1
|
+
{"version":3,"file":"stream.browser.js","names":["Transform","isSupported"],"sources":["../../../../src/lib/node/stream.browser.ts"],"sourcesContent":["export const Transform = null;\n\nexport const isSupported = false;\n"],"mappings":"AAAA,OAAO,MAAMA,SAAS,GAAG,IAAI;AAE7B,OAAO,MAAMC,WAAW,GAAG,KAAK"}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
export declare const readdir: null;
|
|
2
|
+
export declare const stat: null;
|
|
3
|
+
export declare const readFile: null;
|
|
4
|
+
export declare const readFileSync: null;
|
|
5
|
+
export declare const writeFile: null;
|
|
6
|
+
export declare const writeFileSync: null;
|
|
7
|
+
export declare const open: null;
|
|
8
|
+
export declare const close: null;
|
|
9
|
+
export declare const read: null;
|
|
10
|
+
export declare const fstat: null;
|
|
11
|
+
export declare const createWriteStream: null;
|
|
12
|
+
export declare const _readToArrayBuffer: null;
|
|
1
13
|
export declare const isSupported = false;
|
|
2
14
|
//# sourceMappingURL=fs.browser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.browser.d.ts","sourceRoot":"","sources":["../../../src/lib/node/fs.browser.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"fs.browser.d.ts","sourceRoot":"","sources":["../../../src/lib/node/fs.browser.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,MAAO,CAAC;AAC5B,eAAO,MAAM,IAAI,MAAO,CAAC;AACzB,eAAO,MAAM,QAAQ,MAAO,CAAC;AAC7B,eAAO,MAAM,YAAY,MAAO,CAAC;AACjC,eAAO,MAAM,SAAS,MAAO,CAAC;AAC9B,eAAO,MAAM,aAAa,MAAO,CAAC;AAClC,eAAO,MAAM,IAAI,MAAO,CAAC;AACzB,eAAO,MAAM,KAAK,MAAO,CAAC;AAC1B,eAAO,MAAM,IAAI,MAAO,CAAC;AACzB,eAAO,MAAM,KAAK,MAAO,CAAC;AAC1B,eAAO,MAAM,iBAAiB,MAAO,CAAC;AACtC,eAAO,MAAM,kBAAkB,MAAO,CAAC;AAEvC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.browser.d.ts","sourceRoot":"","sources":["../../../src/lib/node/stream.browser.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"stream.browser.d.ts","sourceRoot":"","sources":["../../../src/lib/node/stream.browser.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,MAAO,CAAC;AAE9B,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/loader-utils",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.13",
|
|
4
4
|
"description": "Framework-independent loaders for 3D graphics formats",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"scripts": {},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime": "^7.3.1",
|
|
45
|
-
"@loaders.gl/worker-utils": "3.4.
|
|
45
|
+
"@loaders.gl/worker-utils": "3.4.13",
|
|
46
46
|
"@probe.gl/stats": "^4.0.1"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "be8849c02972ce541e01720d29b976f830d6af92"
|
|
49
49
|
}
|
|
@@ -1 +1,14 @@
|
|
|
1
|
+
export const readdir = null;
|
|
2
|
+
export const stat = null;
|
|
3
|
+
export const readFile = null;
|
|
4
|
+
export const readFileSync = null;
|
|
5
|
+
export const writeFile = null;
|
|
6
|
+
export const writeFileSync = null;
|
|
7
|
+
export const open = null;
|
|
8
|
+
export const close = null;
|
|
9
|
+
export const read = null;
|
|
10
|
+
export const fstat = null;
|
|
11
|
+
export const createWriteStream = null;
|
|
12
|
+
export const _readToArrayBuffer = null;
|
|
13
|
+
|
|
1
14
|
export const isSupported = false;
|