rollup 4.0.0-2 → 4.0.0-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 +37 -37
- 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 +37 -37
- 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 +12 -12
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 v4.0.0-
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.0.0-4
|
|
4
|
+
Fri, 04 Aug 2023 11:36:09 GMT - commit c416e3eb3d2d6055d6567cac6e8747b992eec1de
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ import native from './native';
|
|
|
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$1 = "4.0.0-
|
|
19
|
+
var version$1 = "4.0.0-4";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -25296,9 +25296,9 @@ const nodeConverters = [
|
|
|
25296
25296
|
const end = buffer[position++];
|
|
25297
25297
|
const async = !!buffer[position++];
|
|
25298
25298
|
const generator = !!buffer[position++];
|
|
25299
|
-
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
25300
25299
|
const expression = !!buffer[position++];
|
|
25301
|
-
const body = convertNode(position, buffer, readString);
|
|
25300
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
25301
|
+
const parameters = convertNodeList(position, buffer, readString);
|
|
25302
25302
|
return {
|
|
25303
25303
|
type: 'ArrowFunctionExpression',
|
|
25304
25304
|
start,
|
|
@@ -25331,8 +25331,8 @@ const nodeConverters = [
|
|
|
25331
25331
|
(position, buffer, readString) => {
|
|
25332
25332
|
const start = buffer[position++];
|
|
25333
25333
|
const end = buffer[position++];
|
|
25334
|
-
const
|
|
25335
|
-
const
|
|
25334
|
+
const right = convertNode(buffer[position++], buffer, readString);
|
|
25335
|
+
const left = convertNode(position, buffer, readString);
|
|
25336
25336
|
return {
|
|
25337
25337
|
type: 'AssignmentPattern',
|
|
25338
25338
|
start,
|
|
@@ -25398,8 +25398,8 @@ const nodeConverters = [
|
|
|
25398
25398
|
const start = buffer[position++];
|
|
25399
25399
|
const end = buffer[position++];
|
|
25400
25400
|
const optional = !!buffer[position++];
|
|
25401
|
-
const
|
|
25402
|
-
const
|
|
25401
|
+
const argumentsList = convertNodeList(buffer[position++], buffer, readString);
|
|
25402
|
+
const callee = convertNode(position, buffer, readString);
|
|
25403
25403
|
return {
|
|
25404
25404
|
type: 'CallExpression',
|
|
25405
25405
|
start,
|
|
@@ -25414,7 +25414,7 @@ const nodeConverters = [
|
|
|
25414
25414
|
const start = buffer[position++];
|
|
25415
25415
|
const end = buffer[position++];
|
|
25416
25416
|
const parameterPosition = buffer[position++];
|
|
25417
|
-
const body = convertNode(position, buffer, readString);
|
|
25417
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
25418
25418
|
return {
|
|
25419
25419
|
type: 'CatchClause',
|
|
25420
25420
|
start,
|
|
@@ -25483,9 +25483,9 @@ const nodeConverters = [
|
|
|
25483
25483
|
(position, buffer, readString) => {
|
|
25484
25484
|
const start = buffer[position++];
|
|
25485
25485
|
const end = buffer[position++];
|
|
25486
|
-
const test = convertNode(buffer[position++], buffer, readString);
|
|
25487
25486
|
const consequent = convertNode(buffer[position++], buffer, readString);
|
|
25488
|
-
const alternate = convertNode(position, buffer, readString);
|
|
25487
|
+
const alternate = convertNode(buffer[position++], buffer, readString);
|
|
25488
|
+
const test = convertNode(position, buffer, readString);
|
|
25489
25489
|
return {
|
|
25490
25490
|
type: 'ConditionalExpression',
|
|
25491
25491
|
start,
|
|
@@ -25545,9 +25545,9 @@ const nodeConverters = [
|
|
|
25545
25545
|
(position, buffer, readString) => {
|
|
25546
25546
|
const start = buffer[position++];
|
|
25547
25547
|
const end = buffer[position++];
|
|
25548
|
-
const assertions = convertNodeList(buffer[position++], buffer, readString);
|
|
25549
25548
|
const exportedPosition = buffer[position++];
|
|
25550
|
-
const source = convertNode(position, buffer, readString);
|
|
25549
|
+
const source = convertNode(buffer[position++], buffer, readString);
|
|
25550
|
+
const assertions = convertNodeList(buffer[position], buffer, readString);
|
|
25551
25551
|
return {
|
|
25552
25552
|
type: 'ExportAllDeclaration',
|
|
25553
25553
|
start,
|
|
@@ -25624,9 +25624,9 @@ const nodeConverters = [
|
|
|
25624
25624
|
(position, buffer, readString) => {
|
|
25625
25625
|
const start = buffer[position++];
|
|
25626
25626
|
const end = buffer[position++];
|
|
25627
|
-
const left = convertNode(buffer[position++], buffer, readString);
|
|
25628
25627
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
25629
|
-
const body = convertNode(position, buffer, readString);
|
|
25628
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
25629
|
+
const left = convertNode(position, buffer, readString);
|
|
25630
25630
|
return {
|
|
25631
25631
|
type: 'ForInStatement',
|
|
25632
25632
|
start,
|
|
@@ -25641,9 +25641,9 @@ const nodeConverters = [
|
|
|
25641
25641
|
const start = buffer[position++];
|
|
25642
25642
|
const end = buffer[position++];
|
|
25643
25643
|
const awaited = !!buffer[position++];
|
|
25644
|
-
const left = convertNode(buffer[position++], buffer, readString);
|
|
25645
25644
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
25646
|
-
const body = convertNode(position, buffer, readString);
|
|
25645
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
25646
|
+
const left = convertNode(position, buffer, readString);
|
|
25647
25647
|
return {
|
|
25648
25648
|
type: 'ForOfStatement',
|
|
25649
25649
|
start,
|
|
@@ -25661,7 +25661,7 @@ const nodeConverters = [
|
|
|
25661
25661
|
const initPosition = buffer[position++];
|
|
25662
25662
|
const testPosition = buffer[position++];
|
|
25663
25663
|
const updatePosition = buffer[position++];
|
|
25664
|
-
const body = convertNode(position, buffer, readString);
|
|
25664
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
25665
25665
|
return {
|
|
25666
25666
|
type: 'ForStatement',
|
|
25667
25667
|
start,
|
|
@@ -25680,7 +25680,7 @@ const nodeConverters = [
|
|
|
25680
25680
|
const generator = !!buffer[position++];
|
|
25681
25681
|
const idPosition = buffer[position++];
|
|
25682
25682
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
25683
|
-
const body = convertNode(position, buffer, readString);
|
|
25683
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
25684
25684
|
return {
|
|
25685
25685
|
type: 'FunctionDeclaration',
|
|
25686
25686
|
start,
|
|
@@ -25701,7 +25701,7 @@ const nodeConverters = [
|
|
|
25701
25701
|
const generator = !!buffer[position++];
|
|
25702
25702
|
const idPosition = buffer[position++];
|
|
25703
25703
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
25704
|
-
const body = convertNode(position, buffer, readString);
|
|
25704
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
25705
25705
|
return {
|
|
25706
25706
|
type: 'FunctionExpression',
|
|
25707
25707
|
start,
|
|
@@ -25746,8 +25746,8 @@ const nodeConverters = [
|
|
|
25746
25746
|
(position, buffer, readString) => {
|
|
25747
25747
|
const start = buffer[position++];
|
|
25748
25748
|
const end = buffer[position++];
|
|
25749
|
-
const
|
|
25750
|
-
const
|
|
25749
|
+
const value = convertNode(buffer[position++], buffer, readString);
|
|
25750
|
+
const key = convertNode(position, buffer, readString);
|
|
25751
25751
|
return {
|
|
25752
25752
|
type: 'ImportAttribute',
|
|
25753
25753
|
start,
|
|
@@ -25815,7 +25815,7 @@ const nodeConverters = [
|
|
|
25815
25815
|
const start = buffer[position++];
|
|
25816
25816
|
const end = buffer[position++];
|
|
25817
25817
|
const importedPosition = buffer[position++];
|
|
25818
|
-
const local = convertNode(position, buffer, readString);
|
|
25818
|
+
const local = convertNode(buffer[position], buffer, readString);
|
|
25819
25819
|
const imported = importedPosition ? convertNode(importedPosition, buffer, readString) : local;
|
|
25820
25820
|
return {
|
|
25821
25821
|
type: 'ImportSpecifier',
|
|
@@ -25948,9 +25948,9 @@ const nodeConverters = [
|
|
|
25948
25948
|
const start = buffer[position++];
|
|
25949
25949
|
const end = buffer[position++];
|
|
25950
25950
|
const optional = !!buffer[position++];
|
|
25951
|
-
const object = convertNode(buffer[position++], buffer, readString);
|
|
25952
25951
|
const computed = !!buffer[position++];
|
|
25953
|
-
const property = convertNode(position, buffer, readString);
|
|
25952
|
+
const property = convertNode(buffer[position++], buffer, readString);
|
|
25953
|
+
const object = convertNode(position, buffer, readString);
|
|
25954
25954
|
return {
|
|
25955
25955
|
type: 'MemberExpression',
|
|
25956
25956
|
start,
|
|
@@ -25965,8 +25965,8 @@ const nodeConverters = [
|
|
|
25965
25965
|
(position, buffer, readString) => {
|
|
25966
25966
|
const start = buffer[position++];
|
|
25967
25967
|
const end = buffer[position++];
|
|
25968
|
-
const
|
|
25969
|
-
const
|
|
25968
|
+
const property = convertNode(buffer[position++], buffer, readString);
|
|
25969
|
+
const meta = convertNode(position, buffer, readString);
|
|
25970
25970
|
return {
|
|
25971
25971
|
type: 'MetaProperty',
|
|
25972
25972
|
start,
|
|
@@ -26066,8 +26066,8 @@ const nodeConverters = [
|
|
|
26066
26066
|
const method = !!buffer[position++];
|
|
26067
26067
|
const computed = !!buffer[position++];
|
|
26068
26068
|
const shorthand = !!buffer[position++];
|
|
26069
|
-
const
|
|
26070
|
-
const
|
|
26069
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
26070
|
+
const valuePosition = buffer[position];
|
|
26071
26071
|
return {
|
|
26072
26072
|
type: 'Property',
|
|
26073
26073
|
start,
|
|
@@ -26173,7 +26173,7 @@ const nodeConverters = [
|
|
|
26173
26173
|
const start = buffer[position++];
|
|
26174
26174
|
const end = buffer[position++];
|
|
26175
26175
|
const testPosition = buffer[position++];
|
|
26176
|
-
const consequent = convertNodeList(position, buffer, readString);
|
|
26176
|
+
const consequent = convertNodeList(buffer[position], buffer, readString);
|
|
26177
26177
|
return {
|
|
26178
26178
|
type: 'SwitchCase',
|
|
26179
26179
|
start,
|
|
@@ -26186,8 +26186,8 @@ const nodeConverters = [
|
|
|
26186
26186
|
(position, buffer, readString) => {
|
|
26187
26187
|
const start = buffer[position++];
|
|
26188
26188
|
const end = buffer[position++];
|
|
26189
|
-
const
|
|
26190
|
-
const
|
|
26189
|
+
const cases = convertNodeList(buffer[position++], buffer, readString);
|
|
26190
|
+
const discriminant = convertNode(position, buffer, readString);
|
|
26191
26191
|
return {
|
|
26192
26192
|
type: 'SwitchStatement',
|
|
26193
26193
|
start,
|
|
@@ -26200,8 +26200,8 @@ const nodeConverters = [
|
|
|
26200
26200
|
(position, buffer, readString) => {
|
|
26201
26201
|
const start = buffer[position++];
|
|
26202
26202
|
const end = buffer[position++];
|
|
26203
|
-
const
|
|
26204
|
-
const
|
|
26203
|
+
const quasi = convertNode(buffer[position++], buffer, readString);
|
|
26204
|
+
const tag = convertNode(position, buffer, readString);
|
|
26205
26205
|
return {
|
|
26206
26206
|
type: 'TaggedTemplateExpression',
|
|
26207
26207
|
start,
|
|
@@ -26343,8 +26343,8 @@ const nodeConverters = [
|
|
|
26343
26343
|
(position, buffer, readString) => {
|
|
26344
26344
|
const start = buffer[position++];
|
|
26345
26345
|
const end = buffer[position++];
|
|
26346
|
-
const
|
|
26347
|
-
const
|
|
26346
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
26347
|
+
const test = convertNode(position, buffer, readString);
|
|
26348
26348
|
return {
|
|
26349
26349
|
type: 'WhileStatement',
|
|
26350
26350
|
start,
|
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 v4.0.0-
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.0.0-4
|
|
4
|
+
Fri, 04 Aug 2023 11:36:09 GMT - commit c416e3eb3d2d6055d6567cac6e8747b992eec1de
|
|
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$1 = "4.0.0-
|
|
34
|
+
var version$1 = "4.0.0-4";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -25791,9 +25791,9 @@ const nodeConverters = [
|
|
|
25791
25791
|
const end = buffer[position++];
|
|
25792
25792
|
const async = !!buffer[position++];
|
|
25793
25793
|
const generator = !!buffer[position++];
|
|
25794
|
-
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
25795
25794
|
const expression = !!buffer[position++];
|
|
25796
|
-
const body = convertNode(position, buffer, readString);
|
|
25795
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
25796
|
+
const parameters = convertNodeList(position, buffer, readString);
|
|
25797
25797
|
return {
|
|
25798
25798
|
type: 'ArrowFunctionExpression',
|
|
25799
25799
|
start,
|
|
@@ -25826,8 +25826,8 @@ const nodeConverters = [
|
|
|
25826
25826
|
(position, buffer, readString) => {
|
|
25827
25827
|
const start = buffer[position++];
|
|
25828
25828
|
const end = buffer[position++];
|
|
25829
|
-
const
|
|
25830
|
-
const
|
|
25829
|
+
const right = convertNode(buffer[position++], buffer, readString);
|
|
25830
|
+
const left = convertNode(position, buffer, readString);
|
|
25831
25831
|
return {
|
|
25832
25832
|
type: 'AssignmentPattern',
|
|
25833
25833
|
start,
|
|
@@ -25893,8 +25893,8 @@ const nodeConverters = [
|
|
|
25893
25893
|
const start = buffer[position++];
|
|
25894
25894
|
const end = buffer[position++];
|
|
25895
25895
|
const optional = !!buffer[position++];
|
|
25896
|
-
const
|
|
25897
|
-
const
|
|
25896
|
+
const argumentsList = convertNodeList(buffer[position++], buffer, readString);
|
|
25897
|
+
const callee = convertNode(position, buffer, readString);
|
|
25898
25898
|
return {
|
|
25899
25899
|
type: 'CallExpression',
|
|
25900
25900
|
start,
|
|
@@ -25909,7 +25909,7 @@ const nodeConverters = [
|
|
|
25909
25909
|
const start = buffer[position++];
|
|
25910
25910
|
const end = buffer[position++];
|
|
25911
25911
|
const parameterPosition = buffer[position++];
|
|
25912
|
-
const body = convertNode(position, buffer, readString);
|
|
25912
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
25913
25913
|
return {
|
|
25914
25914
|
type: 'CatchClause',
|
|
25915
25915
|
start,
|
|
@@ -25978,9 +25978,9 @@ const nodeConverters = [
|
|
|
25978
25978
|
(position, buffer, readString) => {
|
|
25979
25979
|
const start = buffer[position++];
|
|
25980
25980
|
const end = buffer[position++];
|
|
25981
|
-
const test = convertNode(buffer[position++], buffer, readString);
|
|
25982
25981
|
const consequent = convertNode(buffer[position++], buffer, readString);
|
|
25983
|
-
const alternate = convertNode(position, buffer, readString);
|
|
25982
|
+
const alternate = convertNode(buffer[position++], buffer, readString);
|
|
25983
|
+
const test = convertNode(position, buffer, readString);
|
|
25984
25984
|
return {
|
|
25985
25985
|
type: 'ConditionalExpression',
|
|
25986
25986
|
start,
|
|
@@ -26040,9 +26040,9 @@ const nodeConverters = [
|
|
|
26040
26040
|
(position, buffer, readString) => {
|
|
26041
26041
|
const start = buffer[position++];
|
|
26042
26042
|
const end = buffer[position++];
|
|
26043
|
-
const assertions = convertNodeList(buffer[position++], buffer, readString);
|
|
26044
26043
|
const exportedPosition = buffer[position++];
|
|
26045
|
-
const source = convertNode(position, buffer, readString);
|
|
26044
|
+
const source = convertNode(buffer[position++], buffer, readString);
|
|
26045
|
+
const assertions = convertNodeList(buffer[position], buffer, readString);
|
|
26046
26046
|
return {
|
|
26047
26047
|
type: 'ExportAllDeclaration',
|
|
26048
26048
|
start,
|
|
@@ -26119,9 +26119,9 @@ const nodeConverters = [
|
|
|
26119
26119
|
(position, buffer, readString) => {
|
|
26120
26120
|
const start = buffer[position++];
|
|
26121
26121
|
const end = buffer[position++];
|
|
26122
|
-
const left = convertNode(buffer[position++], buffer, readString);
|
|
26123
26122
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
26124
|
-
const body = convertNode(position, buffer, readString);
|
|
26123
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
26124
|
+
const left = convertNode(position, buffer, readString);
|
|
26125
26125
|
return {
|
|
26126
26126
|
type: 'ForInStatement',
|
|
26127
26127
|
start,
|
|
@@ -26136,9 +26136,9 @@ const nodeConverters = [
|
|
|
26136
26136
|
const start = buffer[position++];
|
|
26137
26137
|
const end = buffer[position++];
|
|
26138
26138
|
const awaited = !!buffer[position++];
|
|
26139
|
-
const left = convertNode(buffer[position++], buffer, readString);
|
|
26140
26139
|
const right = convertNode(buffer[position++], buffer, readString);
|
|
26141
|
-
const body = convertNode(position, buffer, readString);
|
|
26140
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
26141
|
+
const left = convertNode(position, buffer, readString);
|
|
26142
26142
|
return {
|
|
26143
26143
|
type: 'ForOfStatement',
|
|
26144
26144
|
start,
|
|
@@ -26156,7 +26156,7 @@ const nodeConverters = [
|
|
|
26156
26156
|
const initPosition = buffer[position++];
|
|
26157
26157
|
const testPosition = buffer[position++];
|
|
26158
26158
|
const updatePosition = buffer[position++];
|
|
26159
|
-
const body = convertNode(position, buffer, readString);
|
|
26159
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
26160
26160
|
return {
|
|
26161
26161
|
type: 'ForStatement',
|
|
26162
26162
|
start,
|
|
@@ -26175,7 +26175,7 @@ const nodeConverters = [
|
|
|
26175
26175
|
const generator = !!buffer[position++];
|
|
26176
26176
|
const idPosition = buffer[position++];
|
|
26177
26177
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
26178
|
-
const body = convertNode(position, buffer, readString);
|
|
26178
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
26179
26179
|
return {
|
|
26180
26180
|
type: 'FunctionDeclaration',
|
|
26181
26181
|
start,
|
|
@@ -26196,7 +26196,7 @@ const nodeConverters = [
|
|
|
26196
26196
|
const generator = !!buffer[position++];
|
|
26197
26197
|
const idPosition = buffer[position++];
|
|
26198
26198
|
const parameters = convertNodeList(buffer[position++], buffer, readString);
|
|
26199
|
-
const body = convertNode(position, buffer, readString);
|
|
26199
|
+
const body = convertNode(buffer[position], buffer, readString);
|
|
26200
26200
|
return {
|
|
26201
26201
|
type: 'FunctionExpression',
|
|
26202
26202
|
start,
|
|
@@ -26241,8 +26241,8 @@ const nodeConverters = [
|
|
|
26241
26241
|
(position, buffer, readString) => {
|
|
26242
26242
|
const start = buffer[position++];
|
|
26243
26243
|
const end = buffer[position++];
|
|
26244
|
-
const
|
|
26245
|
-
const
|
|
26244
|
+
const value = convertNode(buffer[position++], buffer, readString);
|
|
26245
|
+
const key = convertNode(position, buffer, readString);
|
|
26246
26246
|
return {
|
|
26247
26247
|
type: 'ImportAttribute',
|
|
26248
26248
|
start,
|
|
@@ -26310,7 +26310,7 @@ const nodeConverters = [
|
|
|
26310
26310
|
const start = buffer[position++];
|
|
26311
26311
|
const end = buffer[position++];
|
|
26312
26312
|
const importedPosition = buffer[position++];
|
|
26313
|
-
const local = convertNode(position, buffer, readString);
|
|
26313
|
+
const local = convertNode(buffer[position], buffer, readString);
|
|
26314
26314
|
const imported = importedPosition ? convertNode(importedPosition, buffer, readString) : local;
|
|
26315
26315
|
return {
|
|
26316
26316
|
type: 'ImportSpecifier',
|
|
@@ -26443,9 +26443,9 @@ const nodeConverters = [
|
|
|
26443
26443
|
const start = buffer[position++];
|
|
26444
26444
|
const end = buffer[position++];
|
|
26445
26445
|
const optional = !!buffer[position++];
|
|
26446
|
-
const object = convertNode(buffer[position++], buffer, readString);
|
|
26447
26446
|
const computed = !!buffer[position++];
|
|
26448
|
-
const property = convertNode(position, buffer, readString);
|
|
26447
|
+
const property = convertNode(buffer[position++], buffer, readString);
|
|
26448
|
+
const object = convertNode(position, buffer, readString);
|
|
26449
26449
|
return {
|
|
26450
26450
|
type: 'MemberExpression',
|
|
26451
26451
|
start,
|
|
@@ -26460,8 +26460,8 @@ const nodeConverters = [
|
|
|
26460
26460
|
(position, buffer, readString) => {
|
|
26461
26461
|
const start = buffer[position++];
|
|
26462
26462
|
const end = buffer[position++];
|
|
26463
|
-
const
|
|
26464
|
-
const
|
|
26463
|
+
const property = convertNode(buffer[position++], buffer, readString);
|
|
26464
|
+
const meta = convertNode(position, buffer, readString);
|
|
26465
26465
|
return {
|
|
26466
26466
|
type: 'MetaProperty',
|
|
26467
26467
|
start,
|
|
@@ -26561,8 +26561,8 @@ const nodeConverters = [
|
|
|
26561
26561
|
const method = !!buffer[position++];
|
|
26562
26562
|
const computed = !!buffer[position++];
|
|
26563
26563
|
const shorthand = !!buffer[position++];
|
|
26564
|
-
const
|
|
26565
|
-
const
|
|
26564
|
+
const key = convertNode(buffer[position++], buffer, readString);
|
|
26565
|
+
const valuePosition = buffer[position];
|
|
26566
26566
|
return {
|
|
26567
26567
|
type: 'Property',
|
|
26568
26568
|
start,
|
|
@@ -26668,7 +26668,7 @@ const nodeConverters = [
|
|
|
26668
26668
|
const start = buffer[position++];
|
|
26669
26669
|
const end = buffer[position++];
|
|
26670
26670
|
const testPosition = buffer[position++];
|
|
26671
|
-
const consequent = convertNodeList(position, buffer, readString);
|
|
26671
|
+
const consequent = convertNodeList(buffer[position], buffer, readString);
|
|
26672
26672
|
return {
|
|
26673
26673
|
type: 'SwitchCase',
|
|
26674
26674
|
start,
|
|
@@ -26681,8 +26681,8 @@ const nodeConverters = [
|
|
|
26681
26681
|
(position, buffer, readString) => {
|
|
26682
26682
|
const start = buffer[position++];
|
|
26683
26683
|
const end = buffer[position++];
|
|
26684
|
-
const
|
|
26685
|
-
const
|
|
26684
|
+
const cases = convertNodeList(buffer[position++], buffer, readString);
|
|
26685
|
+
const discriminant = convertNode(position, buffer, readString);
|
|
26686
26686
|
return {
|
|
26687
26687
|
type: 'SwitchStatement',
|
|
26688
26688
|
start,
|
|
@@ -26695,8 +26695,8 @@ const nodeConverters = [
|
|
|
26695
26695
|
(position, buffer, readString) => {
|
|
26696
26696
|
const start = buffer[position++];
|
|
26697
26697
|
const end = buffer[position++];
|
|
26698
|
-
const
|
|
26699
|
-
const
|
|
26698
|
+
const quasi = convertNode(buffer[position++], buffer, readString);
|
|
26699
|
+
const tag = convertNode(position, buffer, readString);
|
|
26700
26700
|
return {
|
|
26701
26701
|
type: 'TaggedTemplateExpression',
|
|
26702
26702
|
start,
|
|
@@ -26838,8 +26838,8 @@ const nodeConverters = [
|
|
|
26838
26838
|
(position, buffer, readString) => {
|
|
26839
26839
|
const start = buffer[position++];
|
|
26840
26840
|
const end = buffer[position++];
|
|
26841
|
-
const
|
|
26842
|
-
const
|
|
26841
|
+
const body = convertNode(buffer[position++], buffer, readString);
|
|
26842
|
+
const test = convertNode(position, buffer, readString);
|
|
26843
26843
|
return {
|
|
26844
26844
|
type: 'WhileStatement',
|
|
26845
26845
|
start,
|
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.0.0-
|
|
3
|
+
"version": "4.0.0-4",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -93,17 +93,17 @@
|
|
|
93
93
|
"homepage": "https://rollupjs.org/",
|
|
94
94
|
"optionalDependencies": {
|
|
95
95
|
"fsevents": "~2.3.2",
|
|
96
|
-
"@rollup/rollup-darwin-arm64": "4.0.0-
|
|
97
|
-
"@rollup/rollup-android-arm64": "4.0.0-
|
|
98
|
-
"@rollup/rollup-win32-arm64-msvc": "4.0.0-
|
|
99
|
-
"@rollup/rollup-linux-arm64-gnu": "4.0.0-
|
|
100
|
-
"@rollup/rollup-android-arm-eabi": "4.0.0-
|
|
101
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.0.0-
|
|
102
|
-
"@rollup/rollup-win32-ia32-msvc": "4.0.0-
|
|
103
|
-
"@rollup/rollup-darwin-x64": "4.0.0-
|
|
104
|
-
"@rollup/rollup-win32-x64-msvc": "4.0.0-
|
|
105
|
-
"@rollup/rollup-linux-x64-gnu": "4.0.0-
|
|
106
|
-
"@rollup/rollup-linux-x64-musl": "4.0.0-
|
|
96
|
+
"@rollup/rollup-darwin-arm64": "4.0.0-4",
|
|
97
|
+
"@rollup/rollup-android-arm64": "4.0.0-4",
|
|
98
|
+
"@rollup/rollup-win32-arm64-msvc": "4.0.0-4",
|
|
99
|
+
"@rollup/rollup-linux-arm64-gnu": "4.0.0-4",
|
|
100
|
+
"@rollup/rollup-android-arm-eabi": "4.0.0-4",
|
|
101
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.0.0-4",
|
|
102
|
+
"@rollup/rollup-win32-ia32-msvc": "4.0.0-4",
|
|
103
|
+
"@rollup/rollup-darwin-x64": "4.0.0-4",
|
|
104
|
+
"@rollup/rollup-win32-x64-msvc": "4.0.0-4",
|
|
105
|
+
"@rollup/rollup-linux-x64-gnu": "4.0.0-4",
|
|
106
|
+
"@rollup/rollup-linux-x64-musl": "4.0.0-4"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@codemirror/commands": "^6.2.4",
|