rollup-plugin-zip-encryptable
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -12,19 +12,19 @@ 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
n['default'] = e; | ||
return Object.freeze(n); | ||
} | ||
n['default'] = e; | ||
return Object.freeze(n); | ||
} | ||
@@ -130,3 +130,3 @@ | ||
const mapFile = `${fileName}.map`; | ||
archive.append(Buffer.from(map), { name: mapFile }); | ||
archive.append(Buffer.from(map.toString()), { name: mapFile }); | ||
} | ||
@@ -133,0 +133,0 @@ } |
@@ -100,3 +100,3 @@ import * as fs from 'fs'; | ||
const mapFile = `${fileName}.map`; | ||
archive.append(Buffer.from(map), { name: mapFile }); | ||
archive.append(Buffer.from(map.toString()), { name: mapFile }); | ||
} | ||
@@ -114,2 +114,2 @@ } | ||
export default index; | ||
export { index as default }; |
{ | ||
"name": "rollup-plugin-zip-encryptable", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Rollup plugin to zip up emitted files. Work with password", | ||
@@ -40,11 +40,11 @@ "homepage": "https://github.com/asins/rollup-plugin-zip-encryptable", | ||
"devDependencies": { | ||
"@rollup/plugin-typescript": "^8.2.5", | ||
"@types/archiver": "^5.1.0", | ||
"@types/node": "^13.13.4", | ||
"@typescript-eslint/eslint-plugin": "^2.31.0", | ||
"@typescript-eslint/parser": "^2.31.0", | ||
"colorette": "^1.2.2", | ||
"eslint": "^6.8.0", | ||
"@types/node": "^16.9.2", | ||
"@typescript-eslint/eslint-plugin": "^4.31.1", | ||
"@typescript-eslint/parser": "^4.31.1", | ||
"colorette": "^2.0.0", | ||
"eslint": "^7.32.0", | ||
"rollup": "^2.7.6", | ||
"rollup-plugin-typescript2": "^0.27.0", | ||
"typescript": "^3.8.3" | ||
"typescript": "^4.4.3" | ||
}, | ||
@@ -51,0 +51,0 @@ "peerDependencies": { |
17250
6
353