rollup 3.2.3 → 3.2.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 CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v3.2.3
6
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
5
+ Rollup.js v3.2.4
6
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
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.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { promises } from 'node:fs';
16
16
  import { EventEmitter } from 'node:events';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version$1 = "3.2.3";
19
+ var version$1 = "3.2.4";
20
20
 
21
21
  var charToInteger = {};
22
22
  var chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
@@ -11014,7 +11014,7 @@ const accessedFileUrlGlobals = {
11014
11014
  umd: ['document', 'require', 'URL']
11015
11015
  };
11016
11016
  const getResolveUrl = (path, URL = 'URL') => `new ${URL}(${path}).href`;
11017
- const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${relativePath}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.src || document.baseURI`);
11017
+ const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${escapeId(relativePath)}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.src || document.baseURI`);
11018
11018
  const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
11019
11019
  const urlMechanism = getUrl(chunkId);
11020
11020
  return property === null
@@ -11023,7 +11023,7 @@ const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
11023
11023
  ? urlMechanism
11024
11024
  : 'undefined';
11025
11025
  };
11026
- const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(document.currentScript && document.currentScript.src || new URL('${chunkId}', document.baseURI).href)`;
11026
+ const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(document.currentScript && document.currentScript.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
11027
11027
  const relativeUrlMechanisms = {
11028
11028
  amd: relativePath => {
11029
11029
  if (relativePath[0] !== '.')
@@ -15256,7 +15256,7 @@ class Chunk {
15256
15256
  if (predefinedChunkName)
15257
15257
  return predefinedChunkName;
15258
15258
  const { preserveModulesRoot, sanitizeFileName } = this.outputOptions;
15259
- const sanitizedId = sanitizeFileName(module.id.split(QUERY_HASH_REGEX, 1)[0]);
15259
+ const sanitizedId = sanitizeFileName(normalize(module.id.split(QUERY_HASH_REGEX, 1)[0]));
15260
15260
  const extensionName = extname(sanitizedId);
15261
15261
  const idWithoutExtension = NON_ASSET_EXTENSIONS.has(extensionName)
15262
15262
  ? sanitizedId.slice(0, -extensionName.length)
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
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.2.3";
34
+ var version$1 = "3.2.4";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -11525,7 +11525,7 @@ const accessedFileUrlGlobals = {
11525
11525
  umd: ['document', 'require', 'URL']
11526
11526
  };
11527
11527
  const getResolveUrl = (path, URL = 'URL') => `new ${URL}(${path}).href`;
11528
- const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${relativePath}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.src || document.baseURI`);
11528
+ const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${escapeId(relativePath)}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.src || document.baseURI`);
11529
11529
  const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
11530
11530
  const urlMechanism = getUrl(chunkId);
11531
11531
  return property === null
@@ -11534,7 +11534,7 @@ const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
11534
11534
  ? urlMechanism
11535
11535
  : 'undefined';
11536
11536
  };
11537
- const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(document.currentScript && document.currentScript.src || new URL('${chunkId}', document.baseURI).href)`;
11537
+ const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(document.currentScript && document.currentScript.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
11538
11538
  const relativeUrlMechanisms = {
11539
11539
  amd: relativePath => {
11540
11540
  if (relativePath[0] !== '.')
@@ -15767,7 +15767,7 @@ class Chunk {
15767
15767
  if (predefinedChunkName)
15768
15768
  return predefinedChunkName;
15769
15769
  const { preserveModulesRoot, sanitizeFileName } = this.outputOptions;
15770
- const sanitizedId = sanitizeFileName(module.id.split(QUERY_HASH_REGEX, 1)[0]);
15770
+ const sanitizedId = sanitizeFileName(normalize(module.id.split(QUERY_HASH_REGEX, 1)[0]));
15771
15771
  const extensionName = node_path.extname(sanitizedId);
15772
15772
  const idWithoutExtension = NON_ASSET_EXTENSIONS.has(extensionName)
15773
15773
  ? sanitizedId.slice(0, -extensionName.length)
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.2.3
4
- Tue, 18 Oct 2022 05:07:08 GMT - commit 4a89129c8f89436595faddde25704837de174d79
3
+ Rollup.js v3.2.4
4
+ Mon, 31 Oct 2022 19:14:16 GMT - commit bac9826579aff66109b29c48aa4f0731792f6a26
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.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",