rollup 3.23.0 → 3.23.1

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.23.0
6
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
+ Rollup.js v3.23.1
6
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
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.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -15,7 +15,7 @@ import { createHash as createHash$1 } from 'node:crypto';
15
15
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
16
16
  import * as tty from 'tty';
17
17
 
18
- var version$1 = "3.23.0";
18
+ var version$1 = "3.23.1";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -2083,6 +2083,12 @@ function isValidUrl(url) {
2083
2083
  function getRollupUrl(snippet) {
2084
2084
  return `https://rollupjs.org/${snippet}`;
2085
2085
  }
2086
+ function addTrailingSlashIfMissed(url) {
2087
+ if (!url.endsWith('/')) {
2088
+ return url + '/';
2089
+ }
2090
+ return url;
2091
+ }
2086
2092
 
2087
2093
  // troubleshooting
2088
2094
  const URL_AVOIDING_EVAL = 'troubleshooting/#avoiding-eval';
@@ -25847,7 +25853,7 @@ const getSourcemapBaseUrl = (config) => {
25847
25853
  const { sourcemapBaseUrl } = config;
25848
25854
  if (sourcemapBaseUrl) {
25849
25855
  if (isValidUrl(sourcemapBaseUrl)) {
25850
- return sourcemapBaseUrl;
25856
+ return addTrailingSlashIfMissed(sourcemapBaseUrl);
25851
25857
  }
25852
25858
  return error(errorInvalidOption('output.sourcemapBaseUrl', URL_OUTPUT_SOURCEMAPBASEURL, `must be a valid URL, received ${JSON.stringify(sourcemapBaseUrl)}`));
25853
25859
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
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.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -30,7 +30,7 @@ function _interopNamespaceDefault(e) {
30
30
 
31
31
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
32
32
 
33
- var version$1 = "3.23.0";
33
+ var version$1 = "3.23.1";
34
34
 
35
35
  function ensureArray$1(items) {
36
36
  if (Array.isArray(items)) {
@@ -272,6 +272,12 @@ function isValidUrl(url) {
272
272
  function getRollupUrl(snippet) {
273
273
  return `https://rollupjs.org/${snippet}`;
274
274
  }
275
+ function addTrailingSlashIfMissed(url) {
276
+ if (!url.endsWith('/')) {
277
+ return url + '/';
278
+ }
279
+ return url;
280
+ }
275
281
 
276
282
  function error(base) {
277
283
  if (!(base instanceof Error)) {
@@ -26246,7 +26252,7 @@ const getSourcemapBaseUrl = (config) => {
26246
26252
  const { sourcemapBaseUrl } = config;
26247
26253
  if (sourcemapBaseUrl) {
26248
26254
  if (isValidUrl(sourcemapBaseUrl)) {
26249
- return sourcemapBaseUrl;
26255
+ return addTrailingSlashIfMissed(sourcemapBaseUrl);
26250
26256
  }
26251
26257
  return error(errorInvalidOption('output.sourcemapBaseUrl', URL_OUTPUT_SOURCEMAPBASEURL, `must be a valid URL, received ${JSON.stringify(sourcemapBaseUrl)}`));
26252
26258
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.23.0
4
- Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
3
+ Rollup.js v3.23.1
4
+ Sun, 04 Jun 2023 18:41:19 GMT - commit d83684788ef0e8bf0fc4449680960c3783a37def
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.23.0",
3
+ "version": "3.23.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -65,27 +65,27 @@
65
65
  "devDependencies": {
66
66
  "@codemirror/commands": "^6.2.4",
67
67
  "@codemirror/lang-javascript": "^6.1.8",
68
- "@codemirror/language": "^6.6.0",
68
+ "@codemirror/language": "^6.7.0",
69
69
  "@codemirror/search": "^6.4.0",
70
- "@codemirror/state": "^6.2.0",
71
- "@codemirror/view": "^6.11.3",
70
+ "@codemirror/state": "^6.2.1",
71
+ "@codemirror/view": "^6.12.0",
72
72
  "@jridgewell/sourcemap-codec": "^1.4.15",
73
73
  "@mermaid-js/mermaid-cli": "^10.1.0",
74
74
  "@rollup/plugin-alias": "^5.0.0",
75
75
  "@rollup/plugin-buble": "^1.0.2",
76
76
  "@rollup/plugin-commonjs": "^25.0.0",
77
77
  "@rollup/plugin-json": "^6.0.0",
78
- "@rollup/plugin-node-resolve": "^15.0.2",
78
+ "@rollup/plugin-node-resolve": "^15.1.0",
79
79
  "@rollup/plugin-replace": "^5.0.2",
80
80
  "@rollup/plugin-terser": "^0.4.3",
81
81
  "@rollup/plugin-typescript": "^11.1.1",
82
82
  "@rollup/pluginutils": "^5.0.2",
83
83
  "@types/estree": "1.0.1",
84
84
  "@types/mocha": "^10.0.1",
85
- "@types/node": "~14.18.47",
85
+ "@types/node": "~14.18.48",
86
86
  "@types/yargs-parser": "^21.0.0",
87
- "@typescript-eslint/eslint-plugin": "^5.59.6",
88
- "@typescript-eslint/parser": "^5.59.6",
87
+ "@typescript-eslint/eslint-plugin": "^5.59.8",
88
+ "@typescript-eslint/parser": "^5.59.8",
89
89
  "@vue/eslint-config-prettier": "^7.1.0",
90
90
  "@vue/eslint-config-typescript": "^11.0.3",
91
91
  "acorn": "^8.8.2",
@@ -101,31 +101,31 @@
101
101
  "date-time": "^4.0.0",
102
102
  "es5-shim": "^4.6.7",
103
103
  "es6-shim": "^0.35.8",
104
- "eslint": "^8.40.0",
104
+ "eslint": "^8.41.0",
105
105
  "eslint-config-prettier": "^8.8.0",
106
106
  "eslint-plugin-import": "^2.27.5",
107
107
  "eslint-plugin-prettier": "^4.2.1",
108
108
  "eslint-plugin-unicorn": "^47.0.0",
109
- "eslint-plugin-vue": "^9.13.0",
109
+ "eslint-plugin-vue": "^9.14.1",
110
110
  "fixturify": "^3.0.0",
111
111
  "flru": "^1.0.2",
112
112
  "fs-extra": "^11.1.1",
113
113
  "github-api": "^3.4.0",
114
114
  "hash.js": "^1.1.7",
115
115
  "husky": "^8.0.3",
116
- "inquirer": "^9.2.3",
116
+ "inquirer": "^9.2.6",
117
117
  "is-reference": "^3.0.1",
118
118
  "lint-staged": "^13.2.2",
119
119
  "locate-character": "^2.0.5",
120
120
  "magic-string": "^0.30.0",
121
121
  "mocha": "^10.2.0",
122
122
  "nyc": "^15.1.0",
123
- "pinia": "^2.1.1",
123
+ "pinia": "^2.1.3",
124
124
  "prettier": "^2.8.8",
125
125
  "pretty-bytes": "^6.1.0",
126
126
  "pretty-ms": "^8.0.0",
127
127
  "requirejs": "^2.3.6",
128
- "rollup": "^3.22.0",
128
+ "rollup": "^3.23.0",
129
129
  "rollup-plugin-license": "^3.0.1",
130
130
  "rollup-plugin-string": "^3.0.0",
131
131
  "rollup-plugin-thatworks": "^1.0.4",
@@ -135,11 +135,11 @@
135
135
  "source-map": "^0.7.4",
136
136
  "source-map-support": "^0.5.21",
137
137
  "systemjs": "^6.14.1",
138
- "terser": "^5.17.4",
139
- "tslib": "^2.5.0",
138
+ "terser": "^5.17.6",
139
+ "tslib": "^2.5.2",
140
140
  "typescript": "^5.0.4",
141
- "vitepress": "^1.0.0-alpha.75",
142
- "vue": "^3.3.2",
141
+ "vitepress": "^1.0.0-beta.1",
142
+ "vue": "^3.3.4",
143
143
  "weak-napi": "^2.0.2",
144
144
  "yargs-parser": "^21.1.1"
145
145
  },