@pipelab/plugin-minify 1.0.0-beta.15 → 1.0.0-beta.17
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/index.cjs +6 -6
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -119815,7 +119815,7 @@ var require_auth = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
|
|
|
119815
119815
|
//#endregion
|
|
119816
119816
|
//#region ../../node_modules/make-fetch-happen/lib/options.js
|
|
119817
119817
|
var require_options$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
119818
|
-
const dns$
|
|
119818
|
+
const dns$3 = require("dns");
|
|
119819
119819
|
const conditionalHeaders = [
|
|
119820
119820
|
"if-modified-since",
|
|
119821
119821
|
"if-none-match",
|
|
@@ -119840,7 +119840,7 @@ var require_options$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
|
|
|
119840
119840
|
};
|
|
119841
119841
|
options.dns = {
|
|
119842
119842
|
ttl: 300 * 1e3,
|
|
119843
|
-
lookup: dns$
|
|
119843
|
+
lookup: dns$3.lookup,
|
|
119844
119844
|
...options.dns
|
|
119845
119845
|
};
|
|
119846
119846
|
options.cache = options.cache || "default";
|
|
@@ -121257,9 +121257,9 @@ var require_key$3 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
|
|
|
121257
121257
|
//#region ../../node_modules/@npmcli/agent/lib/dns.js
|
|
121258
121258
|
var require_dns = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
121259
121259
|
const { LRUCache } = require_index_min$5();
|
|
121260
|
-
const dns$
|
|
121260
|
+
const dns$2 = require("dns");
|
|
121261
121261
|
const cache = new LRUCache({ max: 50 });
|
|
121262
|
-
const getOptions = ({ family = 0, hints = dns$
|
|
121262
|
+
const getOptions = ({ family = 0, hints = dns$2.ADDRCONFIG, all = false, verbatim = void 0, ttl = 300 * 1e3, lookup = dns$2.lookup }) => ({
|
|
121263
121263
|
hints,
|
|
121264
121264
|
lookup: (hostname, ...args) => {
|
|
121265
121265
|
const callback = args.pop();
|
|
@@ -126298,7 +126298,7 @@ var require_dist$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
126298
126298
|
const socks_1 = require_build$1();
|
|
126299
126299
|
const agent_base_1 = require_dist$12();
|
|
126300
126300
|
const debug_1 = __importDefault(require_src$1());
|
|
126301
|
-
const dns = __importStar(require("dns"));
|
|
126301
|
+
const dns$1 = __importStar(require("dns"));
|
|
126302
126302
|
const net$1 = __importStar(require("net"));
|
|
126303
126303
|
const tls$1 = __importStar(require("tls"));
|
|
126304
126304
|
const url_1$1 = require("url");
|
|
@@ -126370,7 +126370,7 @@ var require_dist$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
|
|
|
126370
126370
|
const { shouldLookup, proxy, timeout } = this;
|
|
126371
126371
|
if (!opts.host) throw new Error("No `host` defined!");
|
|
126372
126372
|
let { host } = opts;
|
|
126373
|
-
const { port, lookup: lookupFn = dns.lookup } = opts;
|
|
126373
|
+
const { port, lookup: lookupFn = dns$1.lookup } = opts;
|
|
126374
126374
|
if (shouldLookup) host = await new Promise((resolve, reject) => {
|
|
126375
126375
|
lookupFn(host, {}, (err, res) => {
|
|
126376
126376
|
if (err) reject(err);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipelab/plugin-minify",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.17",
|
|
4
4
|
"description": "Pipelab plugin for minifying HTML, CSS, and JavaScript assets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@types/node": "^24.12.2",
|
|
36
|
-
"@pipelab/plugin-core": "1.0.0-beta.
|
|
36
|
+
"@pipelab/plugin-core": "1.0.0-beta.17"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"tsdown": "0.21.2",
|
|
40
40
|
"typescript": "5.9.3",
|
|
41
|
-
"@pipelab/tsconfig": "1.0.0-beta.
|
|
41
|
+
"@pipelab/tsconfig": "1.0.0-beta.12"
|
|
42
42
|
},
|
|
43
43
|
"pipelab": {
|
|
44
44
|
"name": "Minifyer",
|