@nsnanocat/util 0.0.0-preview-255840e → 0.0.0-preview-a256400
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/lib/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
"./app
|
|
3
|
+
"./app": function(module) {
|
|
4
4
|
module.exports = require("./app.cjs");
|
|
5
5
|
},
|
|
6
6
|
"./done": function(module) {
|
|
@@ -64,7 +64,7 @@ function __webpack_require__(moduleId) {
|
|
|
64
64
|
})();
|
|
65
65
|
var __webpack_exports__ = {};
|
|
66
66
|
__webpack_require__.r(__webpack_exports__);
|
|
67
|
-
var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./app
|
|
67
|
+
var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./app");
|
|
68
68
|
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
69
69
|
for(var __WEBPACK_IMPORT_KEY__ in _app__WEBPACK_IMPORTED_MODULE_0__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
70
70
|
return _app__WEBPACK_IMPORTED_MODULE_0__[key];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
4
|
-
module.exports = import("
|
|
3
|
+
fs: function(module) {
|
|
4
|
+
module.exports = import("fs");
|
|
5
5
|
},
|
|
6
|
-
|
|
7
|
-
module.exports = import("
|
|
6
|
+
path: function(module) {
|
|
7
|
+
module.exports = import("path");
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
10
|
var __webpack_module_cache__ = {};
|
|
@@ -181,8 +181,8 @@ class StorageClass {
|
|
|
181
181
|
}
|
|
182
182
|
async function getNodeModule() {
|
|
183
183
|
if ('Node.js' === app_cjs_namespaceObject.$app) {
|
|
184
|
-
const fs = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "
|
|
185
|
-
const path = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "
|
|
184
|
+
const fs = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "fs"));
|
|
185
|
+
const path = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "path"));
|
|
186
186
|
return {
|
|
187
187
|
fs,
|
|
188
188
|
path
|
package/dist/polyfill/Storage.js
CHANGED
|
@@ -133,8 +133,8 @@ class StorageClass {
|
|
|
133
133
|
}
|
|
134
134
|
async function getNodeModule() {
|
|
135
135
|
if ('Node.js' === __WEBPACK_EXTERNAL_MODULE__lib_app_js__.$app) {
|
|
136
|
-
const fs = await import("
|
|
137
|
-
const path = await import("
|
|
136
|
+
const fs = await import("fs");
|
|
137
|
+
const path = await import("path");
|
|
138
138
|
return {
|
|
139
139
|
fs,
|
|
140
140
|
path
|
package/package.json
CHANGED