zip-lib 0.7.1 → 0.7.2
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/lib/cancelable.js +0 -1
- package/lib/fs.js +0 -1
- package/lib/index.js +1 -2
- package/lib/unzip.js +0 -1
- package/lib/util.js +0 -1
- package/lib/zip.js +0 -1
- package/package.json +8 -6
package/lib/cancelable.js
CHANGED
package/lib/fs.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
7
7
|
o[k2] = m[k];
|
|
8
8
|
}));
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.extract = exports.archiveFolder = exports.archiveFile = void 0;
|
|
@@ -50,4 +50,3 @@ function extract(zipFile, targetFolder, options) {
|
|
|
50
50
|
return unzip.extract(zipFile, targetFolder);
|
|
51
51
|
}
|
|
52
52
|
exports.extract = extract;
|
|
53
|
-
//# sourceMappingURL=index.js.map
|
package/lib/unzip.js
CHANGED
package/lib/util.js
CHANGED
package/lib/zip.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zip-lib",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "zip and unzip library for node",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"compile": "rimraf ./lib && tsc -p ./src/tsconfig.json",
|
|
8
|
+
"release": "rimraf ./lib && tsc -p ./src/tsconfig.release.json",
|
|
8
9
|
"compile-test": "rimraf ./test/out && tsc -p ./test/src/tsconfig.json",
|
|
9
|
-
"test": "node ./test/src/before.js && mocha ./test/out --timeout 10000"
|
|
10
|
+
"test": "node ./test/src/before.js && mocha ./test/out --timeout 10000",
|
|
11
|
+
"pack": "npm run release && npm pack"
|
|
10
12
|
},
|
|
11
13
|
"repository": {
|
|
12
14
|
"type": "git",
|
|
@@ -28,12 +30,12 @@
|
|
|
28
30
|
"yazl": "^2.5.1"
|
|
29
31
|
},
|
|
30
32
|
"devDependencies": {
|
|
31
|
-
"@types/mocha": "^
|
|
32
|
-
"@types/node": "^8.10.
|
|
33
|
+
"@types/mocha": "^8.2.0",
|
|
34
|
+
"@types/node": "^8.10.66",
|
|
33
35
|
"@types/yauzl": "^2.9.1",
|
|
34
36
|
"@types/yazl": "^2.4.2",
|
|
35
|
-
"mocha": "^
|
|
37
|
+
"mocha": "^8.2.1",
|
|
36
38
|
"rimraf": "^3.0.2",
|
|
37
|
-
"typescript": "^
|
|
39
|
+
"typescript": "^4.1.3"
|
|
38
40
|
}
|
|
39
41
|
}
|