@node-minify/no-compress 8.0.3-beta.0 → 8.0.5-beta.0
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/LICENSE +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/*!\n * node-minify\n * Copyright(c) 2011-
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/*!\n * node-minify\n * Copyright(c) 2011-2023 Rodolphe Stoclin\n * MIT Licensed\n */\n\n/**\n * Module dependencies.\n */\nimport { utils } from '@node-minify/utils';\nimport { MinifierOptions } from '@node-minify/types';\n\n/**\n * Just merge, no compression.\n *\n * @param {Object} settings\n * @param {String} content\n * @param {Function} callback\n */\nconst noCompress = ({ settings, content, callback, index }: MinifierOptions) => {\n if (settings && !settings.content && settings.output) {\n utils.writeFile({ file: settings.output, content, index });\n }\n if (callback) {\n return callback(null, content);\n }\n return content;\n};\n\n/**\n * Expose `noCompress()`.\n */\nnoCompress.default = noCompress;\nexport = noCompress;\n"],"mappings":";;;AASA,mBAAsB;AAUtB,IAAM,aAAa,CAAC,EAAE,UAAU,SAAS,UAAU,MAAM,MAAuB;AAC9E,MAAI,YAAY,CAAC,SAAS,WAAW,SAAS,QAAQ;AACpD,uBAAM,UAAU,EAAE,MAAM,SAAS,QAAQ,SAAS,MAAM,CAAC;AAAA,EAC3D;AACA,MAAI,UAAU;AACZ,WAAO,SAAS,MAAM,OAAO;AAAA,EAC/B;AACA,SAAO;AACT;AAKA,WAAW,UAAU;AACrB,iBAAS;","names":[]}
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/*!\n * node-minify\n * Copyright(c) 2011-
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/*!\n * node-minify\n * Copyright(c) 2011-2023 Rodolphe Stoclin\n * MIT Licensed\n */\n\n/**\n * Module dependencies.\n */\nimport { utils } from '@node-minify/utils';\nimport { MinifierOptions } from '@node-minify/types';\n\n/**\n * Just merge, no compression.\n *\n * @param {Object} settings\n * @param {String} content\n * @param {Function} callback\n */\nconst noCompress = ({ settings, content, callback, index }: MinifierOptions) => {\n if (settings && !settings.content && settings.output) {\n utils.writeFile({ file: settings.output, content, index });\n }\n if (callback) {\n return callback(null, content);\n }\n return content;\n};\n\n/**\n * Expose `noCompress()`.\n */\nnoCompress.default = noCompress;\nexport = noCompress;\n"],"mappings":";;;;;;AASA,SAAS,aAAa;AATtB;AAAA;AAmBA,QAAM,aAAa,CAAC,EAAE,UAAU,SAAS,UAAU,MAAM,MAAuB;AAC9E,UAAI,YAAY,CAAC,SAAS,WAAW,SAAS,QAAQ;AACpD,cAAM,UAAU,EAAE,MAAM,SAAS,QAAQ,SAAS,MAAM,CAAC;AAAA,MAC3D;AACA,UAAI,UAAU;AACZ,eAAO,SAAS,MAAM,OAAO;AAAA,MAC/B;AACA,aAAO;AAAA,IACT;AAKA,eAAW,UAAU;AACrB,qBAAS;AAAA;AAAA;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-minify/no-compress",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.5-beta.0",
|
|
4
4
|
"description": "no compress plugin for @node-minify, only concatenate",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"concatenate"
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"prepublishOnly": "pnpm build"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@node-minify/utils": "8.0.
|
|
45
|
+
"@node-minify/utils": "8.0.5-beta.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@node-minify/types": "8.0.3-beta.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "22a7b887ea22743702b1dc5a613755ae20838a73"
|
|
51
51
|
}
|