rollup 4.9.3 → 4.9.4
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/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +8 -5
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +8 -5
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +14 -14
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.9.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.9.4
|
|
5
|
+
Sat, 06 Jan 2024 06:38:31 GMT - commit 18372035f167ec104280e1e91ef795e4f7033f1e
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.9.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.9.4
|
|
4
|
+
Sat, 06 Jan 2024 06:38:31 GMT - commit 18372035f167ec104280e1e91ef795e4f7033f1e
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ import { xxhashBase64Url } from '../../native.js';
|
|
|
16
16
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
17
17
|
import * as tty from 'tty';
|
|
18
18
|
|
|
19
|
-
var version = "4.9.
|
|
19
|
+
var version = "4.9.4";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -2060,11 +2060,14 @@ function makeLegal(value) {
|
|
|
2060
2060
|
return value || '_';
|
|
2061
2061
|
}
|
|
2062
2062
|
const VALID_IDENTIFIER_REGEXP = /^[$_\p{ID_Start}][$\u200C\u200D\p{ID_Continue}]*$/u;
|
|
2063
|
-
const NUMBER_REGEXP =
|
|
2063
|
+
const NUMBER_REGEXP = /^(?:0|[1-9]\d*)$/;
|
|
2064
2064
|
function stringifyObjectKeyIfNeeded(key) {
|
|
2065
|
-
if (VALID_IDENTIFIER_REGEXP.test(key)
|
|
2065
|
+
if (VALID_IDENTIFIER_REGEXP.test(key)) {
|
|
2066
2066
|
return key === '__proto__' ? '["__proto__"]' : key;
|
|
2067
2067
|
}
|
|
2068
|
+
if (NUMBER_REGEXP.test(key) && +key <= Number.MAX_SAFE_INTEGER) {
|
|
2069
|
+
return key;
|
|
2070
|
+
}
|
|
2068
2071
|
return JSON.stringify(key);
|
|
2069
2072
|
}
|
|
2070
2073
|
function stringifyIdentifierIfNeeded(key) {
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.9.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.9.4
|
|
4
|
+
Sat, 06 Jan 2024 06:38:31 GMT - commit 18372035f167ec104280e1e91ef795e4f7033f1e
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
|
|
|
31
31
|
|
|
32
32
|
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
|
33
33
|
|
|
34
|
-
var version = "4.9.
|
|
34
|
+
var version = "4.9.4";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -3506,11 +3506,14 @@ function makeLegal(value) {
|
|
|
3506
3506
|
return value || '_';
|
|
3507
3507
|
}
|
|
3508
3508
|
const VALID_IDENTIFIER_REGEXP = /^[$_\p{ID_Start}][$\u200C\u200D\p{ID_Continue}]*$/u;
|
|
3509
|
-
const NUMBER_REGEXP =
|
|
3509
|
+
const NUMBER_REGEXP = /^(?:0|[1-9]\d*)$/;
|
|
3510
3510
|
function stringifyObjectKeyIfNeeded(key) {
|
|
3511
|
-
if (VALID_IDENTIFIER_REGEXP.test(key)
|
|
3511
|
+
if (VALID_IDENTIFIER_REGEXP.test(key)) {
|
|
3512
3512
|
return key === '__proto__' ? '["__proto__"]' : key;
|
|
3513
3513
|
}
|
|
3514
|
+
if (NUMBER_REGEXP.test(key) && +key <= Number.MAX_SAFE_INTEGER) {
|
|
3515
|
+
return key;
|
|
3516
|
+
}
|
|
3514
3517
|
return JSON.stringify(key);
|
|
3515
3518
|
}
|
|
3516
3519
|
function stringifyIdentifierIfNeeded(key) {
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.4",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -101,19 +101,19 @@
|
|
|
101
101
|
"homepage": "https://rollupjs.org/",
|
|
102
102
|
"optionalDependencies": {
|
|
103
103
|
"fsevents": "~2.3.2",
|
|
104
|
-
"@rollup/rollup-darwin-arm64": "4.9.
|
|
105
|
-
"@rollup/rollup-android-arm64": "4.9.
|
|
106
|
-
"@rollup/rollup-win32-arm64-msvc": "4.9.
|
|
107
|
-
"@rollup/rollup-linux-arm64-gnu": "4.9.
|
|
108
|
-
"@rollup/rollup-linux-arm64-musl": "4.9.
|
|
109
|
-
"@rollup/rollup-android-arm-eabi": "4.9.
|
|
110
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.9.
|
|
111
|
-
"@rollup/rollup-win32-ia32-msvc": "4.9.
|
|
112
|
-
"@rollup/rollup-linux-riscv64-gnu": "4.9.
|
|
113
|
-
"@rollup/rollup-darwin-x64": "4.9.
|
|
114
|
-
"@rollup/rollup-win32-x64-msvc": "4.9.
|
|
115
|
-
"@rollup/rollup-linux-x64-gnu": "4.9.
|
|
116
|
-
"@rollup/rollup-linux-x64-musl": "4.9.
|
|
104
|
+
"@rollup/rollup-darwin-arm64": "4.9.4",
|
|
105
|
+
"@rollup/rollup-android-arm64": "4.9.4",
|
|
106
|
+
"@rollup/rollup-win32-arm64-msvc": "4.9.4",
|
|
107
|
+
"@rollup/rollup-linux-arm64-gnu": "4.9.4",
|
|
108
|
+
"@rollup/rollup-linux-arm64-musl": "4.9.4",
|
|
109
|
+
"@rollup/rollup-android-arm-eabi": "4.9.4",
|
|
110
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.9.4",
|
|
111
|
+
"@rollup/rollup-win32-ia32-msvc": "4.9.4",
|
|
112
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.9.4",
|
|
113
|
+
"@rollup/rollup-darwin-x64": "4.9.4",
|
|
114
|
+
"@rollup/rollup-win32-x64-msvc": "4.9.4",
|
|
115
|
+
"@rollup/rollup-linux-x64-gnu": "4.9.4",
|
|
116
|
+
"@rollup/rollup-linux-x64-musl": "4.9.4"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
119
|
"@types/estree": "1.0.5"
|