rollup 3.29.4 → 3.29.5
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 +1 -1
- package/dist/es/getLogFilter.js +1 -1
- package/dist/es/rollup.js +1 -1
- package/dist/es/shared/node-entry.js +3 -3
- package/dist/es/shared/watch.js +1 -1
- package/dist/getLogFilter.js +1 -1
- package/dist/loadConfigFile.js +1 -1
- package/dist/rollup.js +1 -1
- package/dist/shared/fsevents-importer.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/loadConfigFile.js +1 -1
- package/dist/shared/rollup.js +3 -3
- package/dist/shared/watch-cli.js +1 -1
- package/dist/shared/watch-proxy.js +1 -1
- package/dist/shared/watch.js +1 -1
- package/package.json +1 -1
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
3
|
Rollup.js v3.29.4
|
|
4
|
-
|
|
4
|
+
Sat, 21 Sep 2024 06:29:06 GMT - commit 2ef77c00ec2635d42697cff2c0567ccc8db34fb4
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -11859,7 +11859,7 @@ const accessedFileUrlGlobals = {
|
|
|
11859
11859
|
umd: ['document', 'require', 'URL']
|
|
11860
11860
|
};
|
|
11861
11861
|
const getResolveUrl = (path, URL = 'URL') => `new ${URL}(${path}).href`;
|
|
11862
|
-
const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${escapeId(relativePath)}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.src || document.baseURI`);
|
|
11862
|
+
const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${escapeId(relativePath)}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || document.baseURI`);
|
|
11863
11863
|
const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
|
|
11864
11864
|
const urlMechanism = getUrl(chunkId);
|
|
11865
11865
|
return property === null
|
|
@@ -11870,7 +11870,7 @@ const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
|
|
|
11870
11870
|
};
|
|
11871
11871
|
const getFileUrlFromFullPath = (path) => `require('u' + 'rl').pathToFileURL(${path}).href`;
|
|
11872
11872
|
const getFileUrlFromRelativePath = (path) => getFileUrlFromFullPath(`__dirname + '/${path}'`);
|
|
11873
|
-
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(${DOCUMENT_CURRENT_SCRIPT} && ${DOCUMENT_CURRENT_SCRIPT}.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
|
|
11873
|
+
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(${DOCUMENT_CURRENT_SCRIPT} && ${DOCUMENT_CURRENT_SCRIPT}.tagName.toUpperCase() === 'SCRIPT' && ${DOCUMENT_CURRENT_SCRIPT}.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
|
|
11874
11874
|
const relativeUrlMechanisms = {
|
|
11875
11875
|
amd: relativePath => {
|
|
11876
11876
|
if (relativePath[0] !== '.')
|
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
3
|
Rollup.js v3.29.4
|
|
4
|
-
|
|
4
|
+
Sat, 21 Sep 2024 06:29:06 GMT - commit 2ef77c00ec2635d42697cff2c0567ccc8db34fb4
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -13358,7 +13358,7 @@ const accessedFileUrlGlobals = {
|
|
|
13358
13358
|
umd: ['document', 'require', 'URL']
|
|
13359
13359
|
};
|
|
13360
13360
|
const getResolveUrl = (path, URL = 'URL') => `new ${URL}(${path}).href`;
|
|
13361
|
-
const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${escapeId(relativePath)}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.src || document.baseURI`);
|
|
13361
|
+
const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${escapeId(relativePath)}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || document.baseURI`);
|
|
13362
13362
|
const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
|
|
13363
13363
|
const urlMechanism = getUrl(chunkId);
|
|
13364
13364
|
return property === null
|
|
@@ -13369,7 +13369,7 @@ const getGenericImportMetaMechanism = (getUrl) => (property, { chunkId }) => {
|
|
|
13369
13369
|
};
|
|
13370
13370
|
const getFileUrlFromFullPath = (path) => `require('u' + 'rl').pathToFileURL(${path}).href`;
|
|
13371
13371
|
const getFileUrlFromRelativePath = (path) => getFileUrlFromFullPath(`__dirname + '/${path}'`);
|
|
13372
|
-
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(${DOCUMENT_CURRENT_SCRIPT} && ${DOCUMENT_CURRENT_SCRIPT}.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
|
|
13372
|
+
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(${DOCUMENT_CURRENT_SCRIPT} && ${DOCUMENT_CURRENT_SCRIPT}.tagName.toUpperCase() === 'SCRIPT' && ${DOCUMENT_CURRENT_SCRIPT}.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
|
|
13373
13373
|
const relativeUrlMechanisms = {
|
|
13374
13374
|
amd: relativePath => {
|
|
13375
13375
|
if (relativePath[0] !== '.')
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED