google-closure-compiler-linux 20250504.0.0-nightly → 20250504.0.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/compiler +0 -0
- package/index.js +6 -3
- package/package.json +9 -2
package/compiler
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright 2019 The Closure Compiler Authors.
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
@@ -14,5 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
import path from 'node:path';
|
|
18
|
+
import { fileURLToPath, URL } from 'node:url';
|
|
19
|
+
|
|
20
|
+
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
|
21
|
+
export default path.resolve(__dirname, 'compiler');
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler-linux",
|
|
3
|
-
"version": "20250504.0.0
|
|
3
|
+
"version": "20250504.0.0",
|
|
4
4
|
"description": "Check, compile, optimize and compress Javascript with Closure-Compiler using Java",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "index.js",
|
|
6
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/google/closure-compiler-npm.git#master"
|
|
10
|
+
},
|
|
7
11
|
"homepage": "https://developers.google.com/closure/compiler/",
|
|
8
12
|
"author": "Chad Killingsworth <chadkillingsworth@gmail.com>",
|
|
9
13
|
"license": "Apache-2.0",
|
|
@@ -28,6 +32,9 @@
|
|
|
28
32
|
"test": "node ./test.js",
|
|
29
33
|
"prepublishOnly": "node ../../build-scripts/ensure-file-exists.js compiler"
|
|
30
34
|
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"chalk": "5.x"
|
|
37
|
+
},
|
|
31
38
|
"os": [
|
|
32
39
|
"linux"
|
|
33
40
|
],
|