rollup 2.79.1 → 2.79.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 +2 -2
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +5 -5
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +5 -5
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -3
- package/CHANGELOG.md +0 -6762
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 v2.79.
|
|
4
|
-
Thu,
|
|
3
|
+
Rollup.js v2.79.2
|
|
4
|
+
Thu, 26 Sep 2024 18:44:14 GMT - commit 48aef33cf2f2a6dfb175afb3bcd6a977c81f1d5c
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -27,7 +27,7 @@ function _interopNamespaceDefault(e) {
|
|
|
27
27
|
return n;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var version$1 = "2.79.
|
|
30
|
+
var version$1 = "2.79.2";
|
|
31
31
|
|
|
32
32
|
function ensureArray$1(items) {
|
|
33
33
|
if (Array.isArray(items)) {
|
|
@@ -10837,7 +10837,7 @@ const accessedFileUrlGlobals = {
|
|
|
10837
10837
|
umd: ['document', 'require', 'URL']
|
|
10838
10838
|
};
|
|
10839
10839
|
const getResolveUrl = (path, URL = 'URL') => `new ${URL}(${path}).href`;
|
|
10840
|
-
const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${relativePath}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.src || document.baseURI`);
|
|
10840
|
+
const getRelativeUrlFromDocument = (relativePath, umd = false) => getResolveUrl(`'${relativePath}', ${umd ? `typeof document === 'undefined' ? location.href : ` : ''}document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || document.baseURI`);
|
|
10841
10841
|
const getGenericImportMetaMechanism = (getUrl) => (prop, { chunkId }) => {
|
|
10842
10842
|
const urlMechanism = getUrl(chunkId);
|
|
10843
10843
|
return prop === null
|
|
@@ -10846,7 +10846,7 @@ const getGenericImportMetaMechanism = (getUrl) => (prop, { chunkId }) => {
|
|
|
10846
10846
|
? urlMechanism
|
|
10847
10847
|
: 'undefined';
|
|
10848
10848
|
};
|
|
10849
|
-
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(document.currentScript && document.currentScript.src || new URL('${chunkId}', document.baseURI).href)`;
|
|
10849
|
+
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('${chunkId}', document.baseURI).href)`;
|
|
10850
10850
|
const relativeUrlMechanisms = {
|
|
10851
10851
|
amd: relativePath => {
|
|
10852
10852
|
if (relativePath[0] !== '.')
|
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": "2.79.
|
|
3
|
+
"version": "2.79.2",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
"perf:debug": "node --inspect-brk scripts/perf-debug.js",
|
|
24
24
|
"perf:init": "node scripts/perf-init.js",
|
|
25
25
|
"postpublish": "git push && git push --tags",
|
|
26
|
-
"prepare": "husky install && npm run build",
|
|
27
|
-
"prepublishOnly": "git pull --ff-only && npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
|
|
28
26
|
"security": "npm audit",
|
|
29
27
|
"test": "npm run build && npm run test:all",
|
|
30
28
|
"test:cjs": "npm run build:cjs && npm run test:only",
|