rollup 3.29.2 → 3.29.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/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +10 -5
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.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/rollup.js +10 -5
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch-proxy.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +9 -9
package/dist/bin/rollup
CHANGED
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.29.4
|
|
4
|
+
Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -15,7 +15,7 @@ import { createHash as createHash$1 } from 'node:crypto';
|
|
|
15
15
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
16
16
|
import * as tty from 'tty';
|
|
17
17
|
|
|
18
|
-
var version$1 = "3.29.
|
|
18
|
+
var version$1 = "3.29.4";
|
|
19
19
|
|
|
20
20
|
const comma = ','.charCodeAt(0);
|
|
21
21
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -6974,7 +6974,7 @@ class ParameterVariable extends LocalVariable {
|
|
|
6974
6974
|
for (const entity of this.entitiesToBeDeoptimized) {
|
|
6975
6975
|
// We do not need a recursion tracker here as we already track whether
|
|
6976
6976
|
// this field is deoptimized
|
|
6977
|
-
entity.deoptimizePath(
|
|
6977
|
+
entity.deoptimizePath([key]);
|
|
6978
6978
|
}
|
|
6979
6979
|
if (key === UnknownKey) {
|
|
6980
6980
|
// save some memory
|
|
@@ -8825,8 +8825,13 @@ class FunctionBase extends NodeBase {
|
|
|
8825
8825
|
this.getObjectEntity().deoptimizePath(path);
|
|
8826
8826
|
if (path.length === 1 && path[0] === UnknownKey) {
|
|
8827
8827
|
// A reassignment of UNKNOWN_PATH is considered equivalent to having lost track
|
|
8828
|
-
// which means the return expression
|
|
8828
|
+
// which means the return expression and parameters need to be reassigned
|
|
8829
8829
|
this.scope.getReturnExpression().deoptimizePath(UNKNOWN_PATH);
|
|
8830
|
+
for (const parameterList of this.scope.parameters) {
|
|
8831
|
+
for (const parameter of parameterList) {
|
|
8832
|
+
parameter.deoptimizePath(UNKNOWN_PATH);
|
|
8833
|
+
}
|
|
8834
|
+
}
|
|
8830
8835
|
}
|
|
8831
8836
|
}
|
|
8832
8837
|
getLiteralValueAtPath(path, recursionTracker, origin) {
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.29.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.29.4
|
|
4
|
+
Thu, 28 Sep 2023 04:54:30 GMT - commit 4e92d60fa90cead39481e3703d26e5d812f43bd1
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ function _interopNamespaceDefault(e) {
|
|
|
30
30
|
|
|
31
31
|
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
|
32
32
|
|
|
33
|
-
var version$1 = "3.29.
|
|
33
|
+
var version$1 = "3.29.4";
|
|
34
34
|
|
|
35
35
|
function ensureArray$1(items) {
|
|
36
36
|
if (Array.isArray(items)) {
|
|
@@ -8487,7 +8487,7 @@ class ParameterVariable extends LocalVariable {
|
|
|
8487
8487
|
for (const entity of this.entitiesToBeDeoptimized) {
|
|
8488
8488
|
// We do not need a recursion tracker here as we already track whether
|
|
8489
8489
|
// this field is deoptimized
|
|
8490
|
-
entity.deoptimizePath(
|
|
8490
|
+
entity.deoptimizePath([key]);
|
|
8491
8491
|
}
|
|
8492
8492
|
if (key === UnknownKey) {
|
|
8493
8493
|
// save some memory
|
|
@@ -10324,8 +10324,13 @@ class FunctionBase extends NodeBase {
|
|
|
10324
10324
|
this.getObjectEntity().deoptimizePath(path);
|
|
10325
10325
|
if (path.length === 1 && path[0] === UnknownKey) {
|
|
10326
10326
|
// A reassignment of UNKNOWN_PATH is considered equivalent to having lost track
|
|
10327
|
-
// which means the return expression
|
|
10327
|
+
// which means the return expression and parameters need to be reassigned
|
|
10328
10328
|
this.scope.getReturnExpression().deoptimizePath(UNKNOWN_PATH);
|
|
10329
|
+
for (const parameterList of this.scope.parameters) {
|
|
10330
|
+
for (const parameter of parameterList) {
|
|
10331
|
+
parameter.deoptimizePath(UNKNOWN_PATH);
|
|
10332
|
+
}
|
|
10333
|
+
}
|
|
10329
10334
|
}
|
|
10330
10335
|
}
|
|
10331
10336
|
getLiteralValueAtPath(path, recursionTracker, origin) {
|
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": "3.29.
|
|
3
|
+
"version": "3.29.4",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"@codemirror/commands": "^6.2.5",
|
|
70
70
|
"@codemirror/lang-javascript": "^6.2.1",
|
|
71
71
|
"@codemirror/language": "^6.9.0",
|
|
72
|
-
"@codemirror/search": "^6.5.
|
|
72
|
+
"@codemirror/search": "^6.5.3",
|
|
73
73
|
"@codemirror/state": "^6.2.1",
|
|
74
|
-
"@codemirror/view": "^6.
|
|
74
|
+
"@codemirror/view": "^6.19.0",
|
|
75
75
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
76
76
|
"@mermaid-js/mermaid-cli": "^10.4.0",
|
|
77
77
|
"@rollup/plugin-alias": "^5.0.0",
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
"@rollup/pluginutils": "^5.0.4",
|
|
86
86
|
"@types/estree": "1.0.1",
|
|
87
87
|
"@types/mocha": "^10.0.1",
|
|
88
|
-
"@types/node": "~14.18.
|
|
88
|
+
"@types/node": "~14.18.61",
|
|
89
89
|
"@types/yargs-parser": "^21.0.0",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^6.7.
|
|
91
|
-
"@typescript-eslint/parser": "^6.7.
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
|
91
|
+
"@typescript-eslint/parser": "^6.7.2",
|
|
92
92
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
93
|
-
"@vue/eslint-config-typescript": "^
|
|
93
|
+
"@vue/eslint-config-typescript": "^12.0.0",
|
|
94
94
|
"acorn": "^8.10.0",
|
|
95
95
|
"acorn-import-assertions": "^1.9.0",
|
|
96
96
|
"acorn-jsx": "^5.3.2",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"pretty-bytes": "^6.1.1",
|
|
129
129
|
"pretty-ms": "^8.0.0",
|
|
130
130
|
"requirejs": "^2.3.6",
|
|
131
|
-
"rollup": "^3.29.
|
|
131
|
+
"rollup": "^3.29.2",
|
|
132
132
|
"rollup-plugin-license": "^3.1.0",
|
|
133
133
|
"rollup-plugin-string": "^3.0.0",
|
|
134
134
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"tslib": "^2.6.2",
|
|
143
143
|
"typescript": "^5.2.2",
|
|
144
144
|
"vite": "^4.4.9",
|
|
145
|
-
"vitepress": "^1.0.0-rc.
|
|
145
|
+
"vitepress": "^1.0.0-rc.14",
|
|
146
146
|
"vue": "^3.3.4",
|
|
147
147
|
"weak-napi": "^2.0.2",
|
|
148
148
|
"yargs-parser": "^21.1.1"
|