@rushstack/loader-raw-script 1.4.110 → 1.5.1

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/CHANGELOG.json CHANGED
@@ -1,6 +1,35 @@
1
1
  {
2
2
  "name": "@rushstack/loader-raw-script",
3
3
  "entries": [
4
+ {
5
+ "version": "1.5.1",
6
+ "tag": "@rushstack/loader-raw-script_v1.5.1",
7
+ "date": "Wed, 08 Oct 2025 00:13:29 GMT",
8
+ "comments": {
9
+ "dependency": [
10
+ {
11
+ "comment": "Updating dependency \"@rushstack/heft\" to `1.1.1`"
12
+ }
13
+ ]
14
+ }
15
+ },
16
+ {
17
+ "version": "1.5.0",
18
+ "tag": "@rushstack/loader-raw-script_v1.5.0",
19
+ "date": "Fri, 03 Oct 2025 20:09:59 GMT",
20
+ "comments": {
21
+ "minor": [
22
+ {
23
+ "comment": "Normalize import of builtin modules to use the `node:` protocol."
24
+ }
25
+ ],
26
+ "dependency": [
27
+ {
28
+ "comment": "Updating dependency \"@rushstack/heft\" to `1.1.0`"
29
+ }
30
+ ]
31
+ }
32
+ },
4
33
  {
5
34
  "version": "1.4.110",
6
35
  "tag": "@rushstack/loader-raw-script_v1.4.110",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Change Log - @rushstack/loader-raw-script
2
2
 
3
- This log was last generated on Tue, 30 Sep 2025 23:57:45 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 Oct 2025 00:13:29 GMT and should not be manually modified.
4
+
5
+ ## 1.5.1
6
+ Wed, 08 Oct 2025 00:13:29 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 1.5.0
11
+ Fri, 03 Oct 2025 20:09:59 GMT
12
+
13
+ ### Minor changes
14
+
15
+ - Normalize import of builtin modules to use the `node:` protocol.
4
16
 
5
17
  ## 1.4.110
6
18
  Tue, 30 Sep 2025 23:57:45 GMT
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3
3
  // See LICENSE in the project root for license information.
4
- const os_1 = require("os");
4
+ const node_os_1 = require("node:os");
5
5
  const loaderFn = (content) => {
6
6
  content = content.replace(/\\/g, '\\\\');
7
7
  content = content.replace(/'/g, "\\'");
@@ -12,7 +12,7 @@ const loaderFn = (content) => {
12
12
  ` eval('${content}');`,
13
13
  '}.call(exports, (function() { return this; }())))'
14
14
  ];
15
- return lines.join(os_1.EOL);
15
+ return lines.join(node_os_1.EOL);
16
16
  };
17
17
  module.exports = loaderFn;
18
18
  //# sourceMappingURL=RawScriptLoader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RawScriptLoader.js","sourceRoot":"","sources":["../src/RawScriptLoader.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;AAE3D,2BAAyB;AAEzB,MAAM,QAAQ,GAAgC,CAAC,OAAe,EAAE,EAAE;IAChE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACzC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACvC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAExC,MAAM,KAAK,GAAa;QACtB,sBAAsB;QACtB,WAAW,OAAO,KAAK;QACvB,mDAAmD;KACpD,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,QAAG,CAAC,CAAC;AACzB,CAAC,CAAC;AAEF,iBAAS,QAAQ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport { EOL } from 'os';\n\nconst loaderFn: (content: string) => string = (content: string) => {\n content = content.replace(/\\\\/g, '\\\\\\\\');\n content = content.replace(/'/g, \"\\\\'\");\n content = content.replace(/\\n/g, '\\\\n');\n content = content.replace(/\\r/g, '\\\\r');\n\n const lines: string[] = [\n '(function (global) {',\n ` eval('${content}');`,\n '}.call(exports, (function() { return this; }())))'\n ];\n\n return lines.join(EOL);\n};\n\nexport = loaderFn;\n"]}
1
+ {"version":3,"file":"RawScriptLoader.js","sourceRoot":"","sources":["../src/RawScriptLoader.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;AAE3D,qCAA8B;AAE9B,MAAM,QAAQ,GAAgC,CAAC,OAAe,EAAE,EAAE;IAChE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACzC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACvC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAExC,MAAM,KAAK,GAAa;QACtB,sBAAsB;QACtB,WAAW,OAAO,KAAK;QACvB,mDAAmD;KACpD,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,aAAG,CAAC,CAAC;AACzB,CAAC,CAAC;AAEF,iBAAS,QAAQ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport { EOL } from 'node:os';\n\nconst loaderFn: (content: string) => string = (content: string) => {\n content = content.replace(/\\\\/g, '\\\\\\\\');\n content = content.replace(/'/g, \"\\\\'\");\n content = content.replace(/\\n/g, '\\\\n');\n content = content.replace(/\\r/g, '\\\\r');\n\n const lines: string[] = [\n '(function (global) {',\n ` eval('${content}');`,\n '}.call(exports, (function() { return this; }())))'\n ];\n\n return lines.join(EOL);\n};\n\nexport = loaderFn;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/loader-raw-script",
3
- "version": "1.4.110",
3
+ "version": "1.5.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "eslint": "~9.25.1",
18
- "@rushstack/heft": "1.0.0",
18
+ "@rushstack/heft": "1.1.1",
19
19
  "local-node-rig": "1.0.0"
20
20
  },
21
21
  "scripts": {