@rushstack/module-minifier 0.3.38 → 0.4.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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
/// <reference types="node" />
|
|
10
10
|
|
|
11
|
-
import { MessagePort } from 'worker_threads';
|
|
11
|
+
import { MessagePort as MessagePort_2 } from 'worker_threads';
|
|
12
12
|
import { MinifyOptions } from 'terser';
|
|
13
13
|
import type { RawSourceMap } from 'source-map';
|
|
14
14
|
|
|
@@ -196,9 +196,9 @@ export declare class LocalMinifier implements IModuleMinifier {
|
|
|
196
196
|
* @public
|
|
197
197
|
*/
|
|
198
198
|
export declare class MessagePortMinifier implements IModuleMinifier {
|
|
199
|
-
readonly port:
|
|
199
|
+
readonly port: MessagePort_2;
|
|
200
200
|
private readonly _callbacks;
|
|
201
|
-
constructor(port:
|
|
201
|
+
constructor(port: MessagePort_2);
|
|
202
202
|
/**
|
|
203
203
|
* No-op code transform.
|
|
204
204
|
* @param request - The request to process
|
package/dist/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/module-minifier",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Wrapper for terser to support bulk parallel minification.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "dist/module-minifier.d.ts",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"serialize-javascript": "6.0.0",
|
|
15
15
|
"source-map": "~0.7.3",
|
|
16
16
|
"terser": "^5.9.0",
|
|
17
|
-
"@rushstack/worker-pool": "0.
|
|
17
|
+
"@rushstack/worker-pool": "0.4.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/heft-jest": "1.0.1",
|
|
21
|
-
"@types/node": "
|
|
21
|
+
"@types/node": "18.17.15",
|
|
22
22
|
"@types/serialize-javascript": "5.0.2",
|
|
23
|
-
"@rushstack/eslint-config": "3.3.
|
|
24
|
-
"@rushstack/heft": "0.
|
|
25
|
-
"@rushstack/heft-node-rig": "2.2.
|
|
23
|
+
"@rushstack/eslint-config": "3.3.4",
|
|
24
|
+
"@rushstack/heft": "0.59.0",
|
|
25
|
+
"@rushstack/heft-node-rig": "2.2.23"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@types/node": "*"
|