rollup 3.17.1 → 3.17.2

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 CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v3.17.1
6
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
5
+ Rollup.js v3.17.2
6
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
7
7
 
8
8
  https://github.com/rollup/rollup
9
9
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/pr
16
16
  import { EventEmitter } from 'node:events';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version$1 = "3.17.1";
19
+ var version$1 = "3.17.2";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -7172,6 +7172,7 @@ const knownGlobals = {
7172
7172
  defineProperties: MUTATES_ARG_WITHOUT_ACCESSOR,
7173
7173
  freeze: MUTATES_ARG_WITHOUT_ACCESSOR,
7174
7174
  getOwnPropertyDescriptor: PF,
7175
+ getOwnPropertyDescriptors: PF,
7175
7176
  getOwnPropertyNames: PF,
7176
7177
  getOwnPropertySymbols: PF,
7177
7178
  getPrototypeOf: PF,
@@ -7191,6 +7192,8 @@ const knownGlobals = {
7191
7192
  __proto__: null,
7192
7193
  [ValueProperties]: IMPURE,
7193
7194
  all: O,
7195
+ allSettled: O,
7196
+ any: O,
7194
7197
  prototype: O,
7195
7198
  race: O,
7196
7199
  reject: O,
@@ -13295,6 +13298,9 @@ class Module {
13295
13298
  }
13296
13299
  if (importerForSideEffects) {
13297
13300
  setAlternativeExporterIfCyclic(variable, importerForSideEffects, this);
13301
+ if (this.info.moduleSideEffects) {
13302
+ getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, (getNewSet)).add(this);
13303
+ }
13298
13304
  }
13299
13305
  return [variable];
13300
13306
  }
@@ -13309,8 +13315,8 @@ class Module {
13309
13315
  searchedNamesAndModules
13310
13316
  });
13311
13317
  if (importerForSideEffects) {
13312
- getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, (getNewSet)).add(this);
13313
13318
  setAlternativeExporterIfCyclic(variable, importerForSideEffects, this);
13319
+ getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, (getNewSet)).add(this);
13314
13320
  }
13315
13321
  return [variable];
13316
13322
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.d.ts CHANGED
@@ -135,6 +135,7 @@ export interface MinimalPluginContext {
135
135
  export interface EmittedAsset {
136
136
  fileName?: string;
137
137
  name?: string;
138
+ needsCodeReference?: boolean;
138
139
  source?: string | Uint8Array;
139
140
  type: 'asset';
140
141
  }
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
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 = "3.17.1";
34
+ var version$1 = "3.17.2";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -7669,6 +7669,7 @@ const knownGlobals = {
7669
7669
  defineProperties: MUTATES_ARG_WITHOUT_ACCESSOR,
7670
7670
  freeze: MUTATES_ARG_WITHOUT_ACCESSOR,
7671
7671
  getOwnPropertyDescriptor: PF,
7672
+ getOwnPropertyDescriptors: PF,
7672
7673
  getOwnPropertyNames: PF,
7673
7674
  getOwnPropertySymbols: PF,
7674
7675
  getPrototypeOf: PF,
@@ -7688,6 +7689,8 @@ const knownGlobals = {
7688
7689
  __proto__: null,
7689
7690
  [ValueProperties]: IMPURE,
7690
7691
  all: O,
7692
+ allSettled: O,
7693
+ any: O,
7691
7694
  prototype: O,
7692
7695
  race: O,
7693
7696
  reject: O,
@@ -13792,6 +13795,9 @@ class Module {
13792
13795
  }
13793
13796
  if (importerForSideEffects) {
13794
13797
  setAlternativeExporterIfCyclic(variable, importerForSideEffects, this);
13798
+ if (this.info.moduleSideEffects) {
13799
+ getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, (getNewSet)).add(this);
13800
+ }
13795
13801
  }
13796
13802
  return [variable];
13797
13803
  }
@@ -13806,8 +13812,8 @@ class Module {
13806
13812
  searchedNamesAndModules
13807
13813
  });
13808
13814
  if (importerForSideEffects) {
13809
- getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, (getNewSet)).add(this);
13810
13815
  setAlternativeExporterIfCyclic(variable, importerForSideEffects, this);
13816
+ getOrCreate(importerForSideEffects.sideEffectDependenciesByVariable, variable, (getNewSet)).add(this);
13811
13817
  }
13812
13818
  return [variable];
13813
13819
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.17.1
4
- Sat, 18 Feb 2023 19:47:52 GMT - commit 2a9abba955cfcb187167aba96e64c7c06f3f02ca
3
+ Rollup.js v3.17.2
4
+ Mon, 20 Feb 2023 05:45:09 GMT - commit 47061d8516922087cec1e50e40878313e220183e
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "3.17.1",
3
+ "version": "3.17.2",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",