extract-base-iterator 1.3.0 → 1.3.1
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/cjs/DirectoryEntry.d.cts +8 -1
- package/dist/cjs/DirectoryEntry.d.ts +8 -1
- package/dist/cjs/DirectoryEntry.js +43 -32
- package/dist/cjs/DirectoryEntry.js.map +1 -1
- package/dist/cjs/FileEntry.d.cts +8 -1
- package/dist/cjs/FileEntry.d.ts +8 -1
- package/dist/cjs/FileEntry.js +51 -40
- package/dist/cjs/FileEntry.js.map +1 -1
- package/dist/cjs/LinkEntry.d.cts +9 -1
- package/dist/cjs/LinkEntry.d.ts +9 -1
- package/dist/cjs/LinkEntry.js +52 -41
- package/dist/cjs/LinkEntry.js.map +1 -1
- package/dist/cjs/SymbolicLinkEntry.d.cts +9 -1
- package/dist/cjs/SymbolicLinkEntry.d.ts +9 -1
- package/dist/cjs/SymbolicLinkEntry.js +58 -47
- package/dist/cjs/SymbolicLinkEntry.js.map +1 -1
- package/dist/cjs/types.d.cts +2 -0
- package/dist/cjs/types.d.ts +2 -0
- package/dist/cjs/types.js +5 -0
- package/dist/cjs/types.js.map +1 -0
- package/dist/esm/DirectoryEntry.d.ts +8 -1
- package/dist/esm/DirectoryEntry.js +32 -30
- package/dist/esm/DirectoryEntry.js.map +1 -1
- package/dist/esm/FileEntry.d.ts +8 -1
- package/dist/esm/FileEntry.js +40 -38
- package/dist/esm/FileEntry.js.map +1 -1
- package/dist/esm/LinkEntry.d.ts +9 -1
- package/dist/esm/LinkEntry.js +41 -39
- package/dist/esm/LinkEntry.js.map +1 -1
- package/dist/esm/SymbolicLinkEntry.d.ts +9 -1
- package/dist/esm/SymbolicLinkEntry.js +47 -45
- package/dist/esm/SymbolicLinkEntry.js.map +1 -1
- package/dist/esm/types.d.ts +2 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/types.js.map +1 -0
- package/package.json +1 -1
|
@@ -17,6 +17,11 @@ var _chown = /*#__PURE__*/ _interop_require_default(require("./fs/chown.js"));
|
|
|
17
17
|
var _utimes = /*#__PURE__*/ _interop_require_default(require("./fs/utimes.js"));
|
|
18
18
|
var _stripPath = /*#__PURE__*/ _interop_require_default(require("./stripPath.js"));
|
|
19
19
|
var _validateAttributes = /*#__PURE__*/ _interop_require_default(require("./validateAttributes.js"));
|
|
20
|
+
function _class_call_check(instance, Constructor) {
|
|
21
|
+
if (!(instance instanceof Constructor)) {
|
|
22
|
+
throw new TypeError("Cannot call a class as a function");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
20
25
|
function _interop_require_default(obj) {
|
|
21
26
|
return obj && obj.__esModule ? obj : {
|
|
22
27
|
default: obj
|
|
@@ -27,39 +32,45 @@ var MANDATORY_ATTRIBUTES = [
|
|
|
27
32
|
'mtime',
|
|
28
33
|
'path'
|
|
29
34
|
];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
callback = options;
|
|
39
|
-
options = null;
|
|
35
|
+
var DirectoryEntry = /*#__PURE__*/ function() {
|
|
36
|
+
"use strict";
|
|
37
|
+
function DirectoryEntry(attributes) {
|
|
38
|
+
_class_call_check(this, DirectoryEntry);
|
|
39
|
+
(0, _validateAttributes.default)(attributes, MANDATORY_ATTRIBUTES);
|
|
40
|
+
(0, _objectassign.default)(this, attributes);
|
|
41
|
+
if (this.type === undefined) this.type = 'directory';
|
|
42
|
+
if (this.basename === undefined) this.basename = _path.default.basename(this.path);
|
|
40
43
|
}
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
// do not check for the existence of the directory but allow out-of-order calling
|
|
48
|
-
var queue = new _queuecb.default(1);
|
|
49
|
-
queue.defer(_mkdirpclassic.default.bind(null, fullPath));
|
|
50
|
-
queue.defer(_chmod.default.bind(null, fullPath, self, options));
|
|
51
|
-
queue.defer(_chown.default.bind(null, fullPath, self, options));
|
|
52
|
-
queue.defer(_utimes.default.bind(null, fullPath, self, options));
|
|
53
|
-
return queue.await(callback);
|
|
54
|
-
} catch (err) {
|
|
55
|
-
return callback(err);
|
|
44
|
+
var _proto = DirectoryEntry.prototype;
|
|
45
|
+
_proto.create = function create(dest, options, callback) {
|
|
46
|
+
var _this = this;
|
|
47
|
+
if (typeof options === 'function') {
|
|
48
|
+
callback = options;
|
|
49
|
+
options = null;
|
|
56
50
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
if (typeof callback === 'function') {
|
|
52
|
+
options = options || {};
|
|
53
|
+
try {
|
|
54
|
+
var normalizedPath = _path.default.normalize(this.path);
|
|
55
|
+
var fullPath = _path.default.join(dest, (0, _stripPath.default)(normalizedPath, options));
|
|
56
|
+
// do not check for the existence of the directory but allow out-of-order calling
|
|
57
|
+
var queue = new _queuecb.default(1);
|
|
58
|
+
queue.defer(_mkdirpclassic.default.bind(null, fullPath));
|
|
59
|
+
queue.defer(_chmod.default.bind(null, fullPath, this, options));
|
|
60
|
+
queue.defer(_chown.default.bind(null, fullPath, this, options));
|
|
61
|
+
queue.defer(_utimes.default.bind(null, fullPath, this, options));
|
|
62
|
+
return queue.await(callback);
|
|
63
|
+
} catch (err) {
|
|
64
|
+
return callback(err);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return new Promise(function(resolve, reject) {
|
|
68
|
+
_this.create(dest, options, function(err, done) {
|
|
69
|
+
return err ? reject(err) : resolve(done);
|
|
70
|
+
});
|
|
61
71
|
});
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
DirectoryEntry
|
|
72
|
+
};
|
|
73
|
+
_proto.destroy = function destroy() {};
|
|
74
|
+
return DirectoryEntry;
|
|
75
|
+
}();
|
|
65
76
|
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/DirectoryEntry.ts"],"sourcesContent":["import path from 'path';\nimport mkdirp from 'mkdirp-classic';\nimport objectAssign from 'object-assign';\nimport Queue from 'queue-cb';\n\nimport chmod from './fs/chmod.js';\nimport chown from './fs/chown.js';\nimport utimes from './fs/utimes.js';\nimport stripPath from './stripPath.js';\nimport validateAttributes from './validateAttributes.js';\n\nconst MANDATORY_ATTRIBUTES = ['mode', 'mtime', 'path'];\n\nexport default
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/DirectoryEntry.ts"],"sourcesContent":["import path from 'path';\nimport mkdirp from 'mkdirp-classic';\nimport objectAssign from 'object-assign';\nimport Queue from 'queue-cb';\n\nimport chmod from './fs/chmod.js';\nimport chown from './fs/chown.js';\nimport utimes from './fs/utimes.js';\nimport stripPath from './stripPath.js';\nimport validateAttributes from './validateAttributes.js';\n\nconst MANDATORY_ATTRIBUTES = ['mode', 'mtime', 'path'];\n\nexport default class DirectoryEntry {\n path: string;\n basename: string;\n type: string;\n\n constructor(attributes) {\n validateAttributes(attributes, MANDATORY_ATTRIBUTES);\n objectAssign(this, attributes);\n if (this.type === undefined) this.type = 'directory';\n if (this.basename === undefined) this.basename = path.basename(this.path);\n }\n\n create(dest, options, callback) {\n if (typeof options === 'function') {\n callback = options;\n options = null;\n }\n\n if (typeof callback === 'function') {\n options = options || {};\n try {\n const normalizedPath = path.normalize(this.path);\n const fullPath = path.join(dest, stripPath(normalizedPath, options));\n\n // do not check for the existence of the directory but allow out-of-order calling\n const queue = new Queue(1);\n queue.defer(mkdirp.bind(null, fullPath));\n queue.defer(chmod.bind(null, fullPath, this, options));\n queue.defer(chown.bind(null, fullPath, this, options));\n queue.defer(utimes.bind(null, fullPath, this, options));\n return queue.await(callback);\n } catch (err) {\n return callback(err);\n }\n }\n\n return new Promise((resolve, reject) => {\n this.create(dest, options, (err, done) => (err ? reject(err) : resolve(done)));\n });\n }\n\n destroy() {}\n}\n"],"names":["DirectoryEntry","MANDATORY_ATTRIBUTES","attributes","validateAttributes","objectAssign","type","undefined","basename","path","create","dest","options","callback","normalizedPath","normalize","fullPath","join","stripPath","queue","Queue","defer","mkdirp","bind","chmod","chown","utimes","await","err","Promise","resolve","reject","done","destroy"],"mappings":";;;;;;;eAaqBA;;;2DAbJ;oEACE;mEACM;8DACP;4DAEA;4DACA;6DACC;gEACG;yEACS;;;;;;;;;;;AAE/B,IAAMC,uBAAuB;IAAC;IAAQ;IAAS;CAAO;AAEvC,IAAA,AAAMD,+BAAN;;aAAMA,eAKPE,UAAU;gCALHF;QAMjBG,IAAAA,2BAAkB,EAACD,YAAYD;QAC/BG,IAAAA,qBAAY,EAAC,IAAI,EAAEF;QACnB,IAAI,IAAI,CAACG,IAAI,KAAKC,WAAW,IAAI,CAACD,IAAI,GAAG;QACzC,IAAI,IAAI,CAACE,QAAQ,KAAKD,WAAW,IAAI,CAACC,QAAQ,GAAGC,aAAI,CAACD,QAAQ,CAAC,IAAI,CAACC,IAAI;;iBATvDR;IAYnBS,OAAAA,MA2BC,GA3BDA,SAAAA,OAAOC,IAAI,EAAEC,OAAO,EAAEC,QAAQ;;QAC5B,IAAI,OAAOD,YAAY,YAAY;YACjCC,WAAWD;YACXA,UAAU;QACZ;QAEA,IAAI,OAAOC,aAAa,YAAY;YAClCD,UAAUA,WAAW,CAAC;YACtB,IAAI;gBACF,IAAME,iBAAiBL,aAAI,CAACM,SAAS,CAAC,IAAI,CAACN,IAAI;gBAC/C,IAAMO,WAAWP,aAAI,CAACQ,IAAI,CAACN,MAAMO,IAAAA,kBAAS,EAACJ,gBAAgBF;gBAE3D,iFAAiF;gBACjF,IAAMO,QAAQ,IAAIC,gBAAK,CAAC;gBACxBD,MAAME,KAAK,CAACC,sBAAM,CAACC,IAAI,CAAC,MAAMP;gBAC9BG,MAAME,KAAK,CAACG,cAAK,CAACD,IAAI,CAAC,MAAMP,UAAU,IAAI,EAAEJ;gBAC7CO,MAAME,KAAK,CAACI,cAAK,CAACF,IAAI,CAAC,MAAMP,UAAU,IAAI,EAAEJ;gBAC7CO,MAAME,KAAK,CAACK,eAAM,CAACH,IAAI,CAAC,MAAMP,UAAU,IAAI,EAAEJ;gBAC9C,OAAOO,MAAMQ,KAAK,CAACd;YACrB,EAAE,OAAOe,KAAK;gBACZ,OAAOf,SAASe;YAClB;QACF;QAEA,OAAO,IAAIC,QAAQ,SAACC,SAASC;YAC3B,MAAKrB,MAAM,CAACC,MAAMC,SAAS,SAACgB,KAAKI;uBAAUJ,MAAMG,OAAOH,OAAOE,QAAQE;;QACzE;IACF;IAEAC,OAAAA,OAAY,GAAZA,SAAAA,WAAW;WAzCQhC"}
|
package/dist/cjs/FileEntry.d.cts
CHANGED
package/dist/cjs/FileEntry.d.ts
CHANGED
package/dist/cjs/FileEntry.js
CHANGED
|
@@ -18,6 +18,11 @@ var _chown = /*#__PURE__*/ _interop_require_default(require("./fs/chown.js"));
|
|
|
18
18
|
var _utimes = /*#__PURE__*/ _interop_require_default(require("./fs/utimes.js"));
|
|
19
19
|
var _stripPath = /*#__PURE__*/ _interop_require_default(require("./stripPath.js"));
|
|
20
20
|
var _validateAttributes = /*#__PURE__*/ _interop_require_default(require("./validateAttributes.js"));
|
|
21
|
+
function _class_call_check(instance, Constructor) {
|
|
22
|
+
if (!(instance instanceof Constructor)) {
|
|
23
|
+
throw new TypeError("Cannot call a class as a function");
|
|
24
|
+
}
|
|
25
|
+
}
|
|
21
26
|
function _interop_require_default(obj) {
|
|
22
27
|
return obj && obj.__esModule ? obj : {
|
|
23
28
|
default: obj
|
|
@@ -28,49 +33,55 @@ var MANDATORY_ATTRIBUTES = [
|
|
|
28
33
|
'mtime',
|
|
29
34
|
'path'
|
|
30
35
|
];
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
callback = options;
|
|
41
|
-
options = null;
|
|
36
|
+
var FileEntry = /*#__PURE__*/ function() {
|
|
37
|
+
"use strict";
|
|
38
|
+
function FileEntry(attributes) {
|
|
39
|
+
_class_call_check(this, FileEntry);
|
|
40
|
+
(0, _validateAttributes.default)(attributes, MANDATORY_ATTRIBUTES);
|
|
41
|
+
(0, _objectassign.default)(this, attributes);
|
|
42
|
+
if (this.basename === undefined) this.basename = _path.default.basename(this.path);
|
|
43
|
+
if (this.type === undefined) this.type = 'file';
|
|
44
|
+
if (this._writeFile === undefined) throw new Error('File this missing _writeFile. Please implement this method in your subclass');
|
|
42
45
|
}
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
46
|
+
var _proto = FileEntry.prototype;
|
|
47
|
+
_proto.create = function create(dest, options, callback) {
|
|
48
|
+
var _this = this;
|
|
49
|
+
if (typeof options === 'function') {
|
|
50
|
+
callback = options;
|
|
51
|
+
options = null;
|
|
52
|
+
}
|
|
53
|
+
if (typeof callback === 'function') {
|
|
54
|
+
options = options || {};
|
|
55
|
+
try {
|
|
56
|
+
var normalizedPath = _path.default.normalize(this.path);
|
|
57
|
+
var fullPath = _path.default.join(dest, (0, _stripPath.default)(normalizedPath, options));
|
|
58
|
+
var queue = new _queuecb.default(1);
|
|
59
|
+
if (options.force) {
|
|
60
|
+
queue.defer(function(callback) {
|
|
61
|
+
(0, _rimraf2.default)(fullPath, {
|
|
62
|
+
disableGlob: true
|
|
63
|
+
}, function(err) {
|
|
64
|
+
err && err.code !== 'ENOENT' ? callback(err) : callback();
|
|
65
|
+
});
|
|
56
66
|
});
|
|
57
|
-
}
|
|
67
|
+
}
|
|
68
|
+
queue.defer(_mkdirpclassic.default.bind(null, _path.default.dirname(fullPath)));
|
|
69
|
+
queue.defer(this._writeFile.bind(this, fullPath, options));
|
|
70
|
+
queue.defer(_chmod.default.bind(null, fullPath, this, options));
|
|
71
|
+
queue.defer(_chown.default.bind(null, fullPath, this, options));
|
|
72
|
+
queue.defer(_utimes.default.bind(null, fullPath, this, options));
|
|
73
|
+
return queue.await(callback);
|
|
74
|
+
} catch (err) {
|
|
75
|
+
return callback(err);
|
|
58
76
|
}
|
|
59
|
-
queue.defer(_mkdirpclassic.default.bind(null, _path.default.dirname(fullPath)));
|
|
60
|
-
queue.defer(this._writeFile.bind(this, fullPath, options));
|
|
61
|
-
queue.defer(_chmod.default.bind(null, fullPath, self, options));
|
|
62
|
-
queue.defer(_chown.default.bind(null, fullPath, self, options));
|
|
63
|
-
queue.defer(_utimes.default.bind(null, fullPath, self, options));
|
|
64
|
-
return queue.await(callback);
|
|
65
|
-
} catch (err) {
|
|
66
|
-
return callback(err);
|
|
67
77
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
78
|
+
return new Promise(function(resolve, reject) {
|
|
79
|
+
_this.create(dest, options, function(err, done) {
|
|
80
|
+
return err ? reject(err) : resolve(done);
|
|
81
|
+
});
|
|
72
82
|
});
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
FileEntry
|
|
83
|
+
};
|
|
84
|
+
_proto.destroy = function destroy() {};
|
|
85
|
+
return FileEntry;
|
|
86
|
+
}();
|
|
76
87
|
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/FileEntry.ts"],"sourcesContent":["import path from 'path';\nimport mkdirp from 'mkdirp-classic';\nimport objectAssign from 'object-assign';\nimport Queue from 'queue-cb';\n\nimport rimraf2 from 'rimraf2';\nimport chmod from './fs/chmod.js';\nimport chown from './fs/chown.js';\nimport utimes from './fs/utimes.js';\nimport stripPath from './stripPath.js';\nimport validateAttributes from './validateAttributes.js';\n\nconst MANDATORY_ATTRIBUTES = ['mode', 'mtime', 'path'];\n\nexport default
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/FileEntry.ts"],"sourcesContent":["import path from 'path';\nimport mkdirp from 'mkdirp-classic';\nimport objectAssign from 'object-assign';\nimport Queue from 'queue-cb';\n\nimport rimraf2 from 'rimraf2';\nimport chmod from './fs/chmod.js';\nimport chown from './fs/chown.js';\nimport utimes from './fs/utimes.js';\nimport stripPath from './stripPath.js';\nimport validateAttributes from './validateAttributes.js';\n\nconst MANDATORY_ATTRIBUTES = ['mode', 'mtime', 'path'];\n\nimport type { WriteFileFn } from './types.js';\ninterface AbstractFileEntry {\n _writeFile: WriteFileFn;\n}\n\nexport default class FileEntry {\n path: string;\n basename: string;\n type: string;\n\n constructor(attributes) {\n validateAttributes(attributes, MANDATORY_ATTRIBUTES);\n objectAssign(this, attributes);\n if (this.basename === undefined) this.basename = path.basename(this.path);\n if (this.type === undefined) this.type = 'file';\n if ((this as unknown as AbstractFileEntry)._writeFile === undefined) throw new Error('File this missing _writeFile. Please implement this method in your subclass');\n }\n\n create(dest, options, callback) {\n if (typeof options === 'function') {\n callback = options;\n options = null;\n }\n\n if (typeof callback === 'function') {\n options = options || {};\n try {\n const normalizedPath = path.normalize(this.path);\n const fullPath = path.join(dest, stripPath(normalizedPath, options));\n\n const queue = new Queue(1);\n if (options.force) {\n queue.defer((callback) => {\n rimraf2(fullPath, { disableGlob: true }, (err) => {\n err && err.code !== 'ENOENT' ? callback(err) : callback();\n });\n });\n }\n queue.defer(mkdirp.bind(null, path.dirname(fullPath)));\n queue.defer((this as unknown as AbstractFileEntry)._writeFile.bind(this, fullPath, options));\n queue.defer(chmod.bind(null, fullPath, this, options));\n queue.defer(chown.bind(null, fullPath, this, options));\n queue.defer(utimes.bind(null, fullPath, this, options));\n return queue.await(callback);\n } catch (err) {\n return callback(err);\n }\n }\n\n return new Promise((resolve, reject) => {\n this.create(dest, options, (err, done) => (err ? reject(err) : resolve(done)));\n });\n }\n\n destroy() {}\n}\n"],"names":["FileEntry","MANDATORY_ATTRIBUTES","attributes","validateAttributes","objectAssign","basename","undefined","path","type","_writeFile","Error","create","dest","options","callback","normalizedPath","normalize","fullPath","join","stripPath","queue","Queue","force","defer","rimraf2","disableGlob","err","code","mkdirp","bind","dirname","chmod","chown","utimes","await","Promise","resolve","reject","done","destroy"],"mappings":";;;;;;;eAmBqBA;;;2DAnBJ;oEACE;mEACM;8DACP;8DAEE;4DACF;4DACA;6DACC;gEACG;yEACS;;;;;;;;;;;AAE/B,IAAMC,uBAAuB;IAAC;IAAQ;IAAS;CAAO;AAOvC,IAAA,AAAMD,0BAAN;;aAAMA,UAKPE,UAAU;gCALHF;QAMjBG,IAAAA,2BAAkB,EAACD,YAAYD;QAC/BG,IAAAA,qBAAY,EAAC,IAAI,EAAEF;QACnB,IAAI,IAAI,CAACG,QAAQ,KAAKC,WAAW,IAAI,CAACD,QAAQ,GAAGE,aAAI,CAACF,QAAQ,CAAC,IAAI,CAACE,IAAI;QACxE,IAAI,IAAI,CAACC,IAAI,KAAKF,WAAW,IAAI,CAACE,IAAI,GAAG;QACzC,IAAI,AAAC,IAAI,CAAkCC,UAAU,KAAKH,WAAW,MAAM,IAAII,MAAM;;iBAVpEV;IAanBW,OAAAA,MAkCC,GAlCDA,SAAAA,OAAOC,IAAI,EAAEC,OAAO,EAAEC,QAAQ;;QAC5B,IAAI,OAAOD,YAAY,YAAY;YACjCC,WAAWD;YACXA,UAAU;QACZ;QAEA,IAAI,OAAOC,aAAa,YAAY;YAClCD,UAAUA,WAAW,CAAC;YACtB,IAAI;gBACF,IAAME,iBAAiBR,aAAI,CAACS,SAAS,CAAC,IAAI,CAACT,IAAI;gBAC/C,IAAMU,WAAWV,aAAI,CAACW,IAAI,CAACN,MAAMO,IAAAA,kBAAS,EAACJ,gBAAgBF;gBAE3D,IAAMO,QAAQ,IAAIC,gBAAK,CAAC;gBACxB,IAAIR,QAAQS,KAAK,EAAE;oBACjBF,MAAMG,KAAK,CAAC,SAACT;wBACXU,IAAAA,gBAAO,EAACP,UAAU;4BAAEQ,aAAa;wBAAK,GAAG,SAACC;4BACxCA,OAAOA,IAAIC,IAAI,KAAK,WAAWb,SAASY,OAAOZ;wBACjD;oBACF;gBACF;gBACAM,MAAMG,KAAK,CAACK,sBAAM,CAACC,IAAI,CAAC,MAAMtB,aAAI,CAACuB,OAAO,CAACb;gBAC3CG,MAAMG,KAAK,CAAC,AAAC,IAAI,CAAkCd,UAAU,CAACoB,IAAI,CAAC,IAAI,EAAEZ,UAAUJ;gBACnFO,MAAMG,KAAK,CAACQ,cAAK,CAACF,IAAI,CAAC,MAAMZ,UAAU,IAAI,EAAEJ;gBAC7CO,MAAMG,KAAK,CAACS,cAAK,CAACH,IAAI,CAAC,MAAMZ,UAAU,IAAI,EAAEJ;gBAC7CO,MAAMG,KAAK,CAACU,eAAM,CAACJ,IAAI,CAAC,MAAMZ,UAAU,IAAI,EAAEJ;gBAC9C,OAAOO,MAAMc,KAAK,CAACpB;YACrB,EAAE,OAAOY,KAAK;gBACZ,OAAOZ,SAASY;YAClB;QACF;QAEA,OAAO,IAAIS,QAAQ,SAACC,SAASC;YAC3B,MAAK1B,MAAM,CAACC,MAAMC,SAAS,SAACa,KAAKY;uBAAUZ,MAAMW,OAAOX,OAAOU,QAAQE;;QACzE;IACF;IAEAC,OAAAA,OAAY,GAAZA,SAAAA,WAAW;WAjDQvC"}
|
package/dist/cjs/LinkEntry.d.cts
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default class LinkEntry {
|
|
2
|
+
path: string;
|
|
3
|
+
basename: string;
|
|
4
|
+
type: string;
|
|
5
|
+
linkpath: string;
|
|
6
|
+
constructor(attributes: any, _type: any);
|
|
7
|
+
create(dest: any, options: any, callback: any): any;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
package/dist/cjs/LinkEntry.d.ts
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default class LinkEntry {
|
|
2
|
+
path: string;
|
|
3
|
+
basename: string;
|
|
4
|
+
type: string;
|
|
5
|
+
linkpath: string;
|
|
6
|
+
constructor(attributes: any, _type: any);
|
|
7
|
+
create(dest: any, options: any, callback: any): any;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
package/dist/cjs/LinkEntry.js
CHANGED
|
@@ -19,6 +19,11 @@ var _chown = /*#__PURE__*/ _interop_require_default(require("./fs/chown.js"));
|
|
|
19
19
|
var _utimes = /*#__PURE__*/ _interop_require_default(require("./fs/utimes.js"));
|
|
20
20
|
var _stripPath = /*#__PURE__*/ _interop_require_default(require("./stripPath.js"));
|
|
21
21
|
var _validateAttributes = /*#__PURE__*/ _interop_require_default(require("./validateAttributes.js"));
|
|
22
|
+
function _class_call_check(instance, Constructor) {
|
|
23
|
+
if (!(instance instanceof Constructor)) {
|
|
24
|
+
throw new TypeError("Cannot call a class as a function");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
22
27
|
function _interop_require_default(obj) {
|
|
23
28
|
return obj && obj.__esModule ? obj : {
|
|
24
29
|
default: obj
|
|
@@ -30,50 +35,56 @@ var MANDATORY_ATTRIBUTES = [
|
|
|
30
35
|
'path',
|
|
31
36
|
'linkpath'
|
|
32
37
|
];
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
callback = options;
|
|
42
|
-
options = null;
|
|
38
|
+
var LinkEntry = /*#__PURE__*/ function() {
|
|
39
|
+
"use strict";
|
|
40
|
+
function LinkEntry(attributes, _type) {
|
|
41
|
+
_class_call_check(this, LinkEntry);
|
|
42
|
+
(0, _validateAttributes.default)(attributes, MANDATORY_ATTRIBUTES);
|
|
43
|
+
(0, _objectassign.default)(this, attributes);
|
|
44
|
+
if (this.basename === undefined) this.basename = _path.default.basename(this.path);
|
|
45
|
+
if (this.type === undefined) this.type = 'link';
|
|
43
46
|
}
|
|
44
|
-
var
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
var _proto = LinkEntry.prototype;
|
|
48
|
+
_proto.create = function create(dest, options, callback) {
|
|
49
|
+
var _this = this;
|
|
50
|
+
if (typeof options === 'function') {
|
|
51
|
+
callback = options;
|
|
52
|
+
options = null;
|
|
53
|
+
}
|
|
54
|
+
if (typeof callback === 'function') {
|
|
55
|
+
options = options || {};
|
|
56
|
+
try {
|
|
57
|
+
var normalizedPath = _path.default.normalize(this.path);
|
|
58
|
+
var fullPath = _path.default.join(dest, (0, _stripPath.default)(normalizedPath, options));
|
|
59
|
+
var normalizedLinkpath = _path.default.normalize(this.linkpath);
|
|
60
|
+
var linkFullPath = _path.default.join(dest, (0, _stripPath.default)(normalizedLinkpath, options));
|
|
61
|
+
var queue = new _queuecb.default(1);
|
|
62
|
+
if (options.force) {
|
|
63
|
+
queue.defer(function(callback) {
|
|
64
|
+
(0, _rimraf2.default)(fullPath, {
|
|
65
|
+
disableGlob: true
|
|
66
|
+
}, function(err) {
|
|
67
|
+
err && err.code !== 'ENOENT' ? callback(err) : callback();
|
|
68
|
+
});
|
|
59
69
|
});
|
|
60
|
-
}
|
|
70
|
+
}
|
|
71
|
+
queue.defer(_mkdirpclassic.default.bind(null, _path.default.dirname(fullPath)));
|
|
72
|
+
queue.defer(_gracefulfs.default.link.bind(_gracefulfs.default, linkFullPath, fullPath));
|
|
73
|
+
queue.defer(_chmod.default.bind(null, fullPath, this, options));
|
|
74
|
+
queue.defer(_chown.default.bind(null, fullPath, this, options));
|
|
75
|
+
queue.defer(_utimes.default.bind(null, fullPath, this, options));
|
|
76
|
+
return queue.await(callback);
|
|
77
|
+
} catch (err) {
|
|
78
|
+
return callback(err);
|
|
61
79
|
}
|
|
62
|
-
queue.defer(_mkdirpclassic.default.bind(null, _path.default.dirname(fullPath)));
|
|
63
|
-
queue.defer(_gracefulfs.default.link.bind(_gracefulfs.default, linkFullPath, fullPath));
|
|
64
|
-
queue.defer(_chmod.default.bind(null, fullPath, self, options));
|
|
65
|
-
queue.defer(_chown.default.bind(null, fullPath, self, options));
|
|
66
|
-
queue.defer(_utimes.default.bind(null, fullPath, self, options));
|
|
67
|
-
return queue.await(callback);
|
|
68
|
-
} catch (err) {
|
|
69
|
-
return callback(err);
|
|
70
80
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
81
|
+
return new Promise(function(resolve, reject) {
|
|
82
|
+
_this.create(dest, options, function(err, done) {
|
|
83
|
+
return err ? reject(err) : resolve(done);
|
|
84
|
+
});
|
|
75
85
|
});
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
LinkEntry
|
|
86
|
+
};
|
|
87
|
+
_proto.destroy = function destroy() {};
|
|
88
|
+
return LinkEntry;
|
|
89
|
+
}();
|
|
79
90
|
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/LinkEntry.ts"],"sourcesContent":["import path from 'path';\nimport fs from 'graceful-fs';\nimport mkdirp from 'mkdirp-classic';\nimport objectAssign from 'object-assign';\nimport Queue from 'queue-cb';\nimport rimraf2 from 'rimraf2';\n\nimport chmod from './fs/chmod.js';\nimport chown from './fs/chown.js';\nimport utimes from './fs/utimes.js';\nimport stripPath from './stripPath.js';\nimport validateAttributes from './validateAttributes.js';\n\nconst MANDATORY_ATTRIBUTES = ['mode', 'mtime', 'path', 'linkpath'];\n\nexport default
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/LinkEntry.ts"],"sourcesContent":["import path from 'path';\nimport fs from 'graceful-fs';\nimport mkdirp from 'mkdirp-classic';\nimport objectAssign from 'object-assign';\nimport Queue from 'queue-cb';\nimport rimraf2 from 'rimraf2';\n\nimport chmod from './fs/chmod.js';\nimport chown from './fs/chown.js';\nimport utimes from './fs/utimes.js';\nimport stripPath from './stripPath.js';\nimport validateAttributes from './validateAttributes.js';\n\nconst MANDATORY_ATTRIBUTES = ['mode', 'mtime', 'path', 'linkpath'];\n\nexport default class LinkEntry {\n path: string;\n basename: string;\n type: string;\n linkpath: string;\n\n constructor(attributes, _type) {\n validateAttributes(attributes, MANDATORY_ATTRIBUTES);\n objectAssign(this, attributes);\n if (this.basename === undefined) this.basename = path.basename(this.path);\n if (this.type === undefined) this.type = 'link';\n }\n\n create(dest, options, callback) {\n if (typeof options === 'function') {\n callback = options;\n options = null;\n }\n\n if (typeof callback === 'function') {\n options = options || {};\n try {\n const normalizedPath = path.normalize(this.path);\n const fullPath = path.join(dest, stripPath(normalizedPath, options));\n const normalizedLinkpath = path.normalize(this.linkpath);\n const linkFullPath = path.join(dest, stripPath(normalizedLinkpath, options));\n\n const queue = new Queue(1);\n if (options.force) {\n queue.defer((callback) => {\n rimraf2(fullPath, { disableGlob: true }, (err) => {\n err && err.code !== 'ENOENT' ? callback(err) : callback();\n });\n });\n }\n queue.defer(mkdirp.bind(null, path.dirname(fullPath)));\n queue.defer(fs.link.bind(fs, linkFullPath, fullPath));\n queue.defer(chmod.bind(null, fullPath, this, options));\n queue.defer(chown.bind(null, fullPath, this, options));\n queue.defer(utimes.bind(null, fullPath, this, options));\n return queue.await(callback);\n } catch (err) {\n return callback(err);\n }\n }\n\n return new Promise((resolve, reject) => {\n this.create(dest, options, (err, done) => (err ? reject(err) : resolve(done)));\n });\n }\n\n destroy() {}\n}\n"],"names":["LinkEntry","MANDATORY_ATTRIBUTES","attributes","_type","validateAttributes","objectAssign","basename","undefined","path","type","create","dest","options","callback","normalizedPath","normalize","fullPath","join","stripPath","normalizedLinkpath","linkpath","linkFullPath","queue","Queue","force","defer","rimraf2","disableGlob","err","code","mkdirp","bind","dirname","fs","link","chmod","chown","utimes","await","Promise","resolve","reject","done","destroy"],"mappings":";;;;;;;eAeqBA;;;2DAfJ;iEACF;oEACI;mEACM;8DACP;8DACE;4DAEF;4DACA;6DACC;gEACG;yEACS;;;;;;;;;;;AAE/B,IAAMC,uBAAuB;IAAC;IAAQ;IAAS;IAAQ;CAAW;AAEnD,IAAA,AAAMD,0BAAN;;aAAMA,UAMPE,UAAU,EAAEC,KAAK;gCANVH;QAOjBI,IAAAA,2BAAkB,EAACF,YAAYD;QAC/BI,IAAAA,qBAAY,EAAC,IAAI,EAAEH;QACnB,IAAI,IAAI,CAACI,QAAQ,KAAKC,WAAW,IAAI,CAACD,QAAQ,GAAGE,aAAI,CAACF,QAAQ,CAAC,IAAI,CAACE,IAAI;QACxE,IAAI,IAAI,CAACC,IAAI,KAAKF,WAAW,IAAI,CAACE,IAAI,GAAG;;iBAVxBT;IAanBU,OAAAA,MAoCC,GApCDA,SAAAA,OAAOC,IAAI,EAAEC,OAAO,EAAEC,QAAQ;;QAC5B,IAAI,OAAOD,YAAY,YAAY;YACjCC,WAAWD;YACXA,UAAU;QACZ;QAEA,IAAI,OAAOC,aAAa,YAAY;YAClCD,UAAUA,WAAW,CAAC;YACtB,IAAI;gBACF,IAAME,iBAAiBN,aAAI,CAACO,SAAS,CAAC,IAAI,CAACP,IAAI;gBAC/C,IAAMQ,WAAWR,aAAI,CAACS,IAAI,CAACN,MAAMO,IAAAA,kBAAS,EAACJ,gBAAgBF;gBAC3D,IAAMO,qBAAqBX,aAAI,CAACO,SAAS,CAAC,IAAI,CAACK,QAAQ;gBACvD,IAAMC,eAAeb,aAAI,CAACS,IAAI,CAACN,MAAMO,IAAAA,kBAAS,EAACC,oBAAoBP;gBAEnE,IAAMU,QAAQ,IAAIC,gBAAK,CAAC;gBACxB,IAAIX,QAAQY,KAAK,EAAE;oBACjBF,MAAMG,KAAK,CAAC,SAACZ;wBACXa,IAAAA,gBAAO,EAACV,UAAU;4BAAEW,aAAa;wBAAK,GAAG,SAACC;4BACxCA,OAAOA,IAAIC,IAAI,KAAK,WAAWhB,SAASe,OAAOf;wBACjD;oBACF;gBACF;gBACAS,MAAMG,KAAK,CAACK,sBAAM,CAACC,IAAI,CAAC,MAAMvB,aAAI,CAACwB,OAAO,CAAChB;gBAC3CM,MAAMG,KAAK,CAACQ,mBAAE,CAACC,IAAI,CAACH,IAAI,CAACE,mBAAE,EAAEZ,cAAcL;gBAC3CM,MAAMG,KAAK,CAACU,cAAK,CAACJ,IAAI,CAAC,MAAMf,UAAU,IAAI,EAAEJ;gBAC7CU,MAAMG,KAAK,CAACW,cAAK,CAACL,IAAI,CAAC,MAAMf,UAAU,IAAI,EAAEJ;gBAC7CU,MAAMG,KAAK,CAACY,eAAM,CAACN,IAAI,CAAC,MAAMf,UAAU,IAAI,EAAEJ;gBAC9C,OAAOU,MAAMgB,KAAK,CAACzB;YACrB,EAAE,OAAOe,KAAK;gBACZ,OAAOf,SAASe;YAClB;QACF;QAEA,OAAO,IAAIW,QAAQ,SAACC,SAASC;YAC3B,MAAK/B,MAAM,CAACC,MAAMC,SAAS,SAACgB,KAAKc;uBAAUd,MAAMa,OAAOb,OAAOY,QAAQE;;QACzE;IACF;IAEAC,OAAAA,OAAY,GAAZA,SAAAA,WAAW;WAnDQ3C"}
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default class SymbolicLinkEntry {
|
|
2
|
+
path: string;
|
|
3
|
+
basename: string;
|
|
4
|
+
type: string;
|
|
5
|
+
linkpath: string;
|
|
6
|
+
constructor(attributes: any);
|
|
7
|
+
create(dest: any, options: any, callback: any): any;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default class SymbolicLinkEntry {
|
|
2
|
+
path: string;
|
|
3
|
+
basename: string;
|
|
4
|
+
type: string;
|
|
5
|
+
linkpath: string;
|
|
6
|
+
constructor(attributes: any);
|
|
7
|
+
create(dest: any, options: any, callback: any): any;
|
|
8
|
+
destroy(): void;
|
|
9
|
+
}
|
|
@@ -21,6 +21,11 @@ var _lstatReal = /*#__PURE__*/ _interop_require_default(require("./fs/lstatReal.
|
|
|
21
21
|
var _utimes = /*#__PURE__*/ _interop_require_default(require("./fs/utimes.js"));
|
|
22
22
|
var _stripPath = /*#__PURE__*/ _interop_require_default(require("./stripPath.js"));
|
|
23
23
|
var _validateAttributes = /*#__PURE__*/ _interop_require_default(require("./validateAttributes.js"));
|
|
24
|
+
function _class_call_check(instance, Constructor) {
|
|
25
|
+
if (!(instance instanceof Constructor)) {
|
|
26
|
+
throw new TypeError("Cannot call a class as a function");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
24
29
|
function _interop_require_default(obj) {
|
|
25
30
|
return obj && obj.__esModule ? obj : {
|
|
26
31
|
default: obj
|
|
@@ -40,56 +45,62 @@ var MANDATORY_ATTRIBUTES = [
|
|
|
40
45
|
'path',
|
|
41
46
|
'linkpath'
|
|
42
47
|
];
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
callback = options;
|
|
52
|
-
options = null;
|
|
48
|
+
var SymbolicLinkEntry = /*#__PURE__*/ function() {
|
|
49
|
+
"use strict";
|
|
50
|
+
function SymbolicLinkEntry(attributes) {
|
|
51
|
+
_class_call_check(this, SymbolicLinkEntry);
|
|
52
|
+
(0, _validateAttributes.default)(attributes, MANDATORY_ATTRIBUTES);
|
|
53
|
+
(0, _objectassign.default)(this, attributes);
|
|
54
|
+
if (this.basename === undefined) this.basename = _path.default.basename(this.path);
|
|
55
|
+
if (this.type === undefined) this.type = 'symlink';
|
|
53
56
|
}
|
|
54
|
-
var
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
(0,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
57
|
+
var _proto = SymbolicLinkEntry.prototype;
|
|
58
|
+
_proto.create = function create(dest, options, callback) {
|
|
59
|
+
var _this = this;
|
|
60
|
+
if (typeof options === 'function') {
|
|
61
|
+
callback = options;
|
|
62
|
+
options = null;
|
|
63
|
+
}
|
|
64
|
+
if (typeof callback === 'function') {
|
|
65
|
+
options = options || {};
|
|
66
|
+
try {
|
|
67
|
+
var normalizedPath = _path.default.normalize(this.path);
|
|
68
|
+
var fullPath = _path.default.join(dest, (0, _stripPath.default)(normalizedPath, options));
|
|
69
|
+
var normalizedLinkpath = _path.default.normalize(this.linkpath);
|
|
70
|
+
var linkFullPath = _path.default.join(dest, (0, _stripPath.default)(normalizedLinkpath, options));
|
|
71
|
+
if (!(0, _isabsolute.default)(normalizedLinkpath)) {
|
|
72
|
+
var linkRelativePath = _path.default.join(_path.default.dirname(normalizedPath), this.linkpath);
|
|
73
|
+
linkFullPath = _path.default.join(dest, (0, _stripPath.default)(linkRelativePath, options));
|
|
74
|
+
normalizedLinkpath = _path.default.relative(_path.default.dirname(fullPath), linkFullPath);
|
|
75
|
+
}
|
|
76
|
+
var queue = new _queuecb.default(1);
|
|
77
|
+
if (options.force) {
|
|
78
|
+
queue.defer(function(callback) {
|
|
79
|
+
(0, _rimraf2.default)(fullPath, {
|
|
80
|
+
disableGlob: true
|
|
81
|
+
}, function(err) {
|
|
82
|
+
err && err.code !== 'ENOENT' ? callback(err) : callback();
|
|
83
|
+
});
|
|
74
84
|
});
|
|
75
|
-
}
|
|
85
|
+
}
|
|
86
|
+
queue.defer(_mkdirpclassic.default.bind(null, _path.default.dirname(fullPath)));
|
|
87
|
+
if (isWindows) queue.defer(symlinkWin32.bind(null, linkFullPath, normalizedLinkpath, fullPath));
|
|
88
|
+
else queue.defer(_gracefulfs.default.symlink.bind(_gracefulfs.default, normalizedLinkpath, fullPath));
|
|
89
|
+
queue.defer(_chmod.default.bind(null, fullPath, this, options));
|
|
90
|
+
queue.defer(_chown.default.bind(null, fullPath, this, options));
|
|
91
|
+
queue.defer(_utimes.default.bind(null, fullPath, this, options));
|
|
92
|
+
return queue.await(callback);
|
|
93
|
+
} catch (err) {
|
|
94
|
+
return callback(err);
|
|
76
95
|
}
|
|
77
|
-
queue.defer(_mkdirpclassic.default.bind(null, _path.default.dirname(fullPath)));
|
|
78
|
-
if (isWindows) queue.defer(symlinkWin32.bind(null, linkFullPath, normalizedLinkpath, fullPath));
|
|
79
|
-
else queue.defer(_gracefulfs.default.symlink.bind(_gracefulfs.default, normalizedLinkpath, fullPath));
|
|
80
|
-
queue.defer(_chmod.default.bind(null, fullPath, self, options));
|
|
81
|
-
queue.defer(_chown.default.bind(null, fullPath, self, options));
|
|
82
|
-
queue.defer(_utimes.default.bind(null, fullPath, self, options));
|
|
83
|
-
return queue.await(callback);
|
|
84
|
-
} catch (err) {
|
|
85
|
-
return callback(err);
|
|
86
96
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
97
|
+
return new Promise(function(resolve, reject) {
|
|
98
|
+
_this.create(dest, options, function(err, done) {
|
|
99
|
+
return err ? reject(err) : resolve(done);
|
|
100
|
+
});
|
|
91
101
|
});
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
SymbolicLinkEntry
|
|
102
|
+
};
|
|
103
|
+
_proto.destroy = function destroy() {};
|
|
104
|
+
return SymbolicLinkEntry;
|
|
105
|
+
}();
|
|
95
106
|
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|