rollup 2.59.0-1 → 2.60.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/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # rollup changelog
2
2
 
3
+ ## 2.60.2
4
+
5
+ _2021-11-30_
6
+
7
+ ### Bug Fixes
8
+
9
+ - Produce correct output when dynamic import paths contain quotes (#4286)
10
+
11
+ ### Pull Requests
12
+
13
+ - [#4286](https://github.com/rollup/rollup/pull/4286): Escape dynamic import paths (@danielroe)
14
+
15
+ ## 2.60.1
16
+
17
+ _2021-11-22_
18
+
19
+ ### Bug Fixes
20
+
21
+ - Make sure virtual files have proper file extensions when preserving modules (#4270)
22
+
23
+ ### Pull Requests
24
+
25
+ - [#4270](https://github.com/rollup/rollup/pull/4270): Use entryFileNames when generating filenames for virtual modules (@BPScott)
26
+
27
+ ## 2.60.0
28
+
29
+ _2021-11-11_
30
+
31
+ ### Features
32
+
33
+ - Add `this.load` context function to load, transform and parse modules without adding them to the graph (#4234)
34
+ - Sanitize non-url-safe characters in generated chunk names by default (#4262)
35
+ - Support ESM plugins via command line (#4265)
36
+
37
+ ### Pull Requests
38
+
39
+ - [#4234](https://github.com/rollup/rollup/pull/4234): Plugin context function for pre-loading modules (@lukastaegert)
40
+ - [#4262](https://github.com/rollup/rollup/pull/4262): exclude invalid URL chars (@danielroe)
41
+ - [#4265](https://github.com/rollup/rollup/pull/4265): support loading ESM plugins from the CLI via --plugin (@kzc)
42
+
3
43
  ## 2.59.0
4
44
 
5
45
  _2021-11-01_
package/dist/bin/rollup CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v2.59.0-1
6
- Thu, 11 Nov 2021 11:19:43 GMT - commit ba1ac50d6fc8054cca278e04cc5669dbbc96d273
5
+ Rollup.js v2.60.2
6
+ Tue, 30 Nov 2021 05:36:58 GMT - commit 7c9b89fade00a4eb8ea39c6b15ef7d0e6e5739be
7
7
 
8
8
 
9
9
  https://github.com/rollup/rollup
@@ -1658,13 +1658,13 @@ function findConfigFileNameInCwd() {
1658
1658
  return `${DEFAULT_CONFIG_BASE}.js`;
1659
1659
  }
1660
1660
 
1661
- function loadConfigFromCommand(command) {
1661
+ async function loadConfigFromCommand(command) {
1662
1662
  const warnings = loadConfigFile_js.batchWarnings();
1663
1663
  if (!command.input && (command.stdin || !process.stdin.isTTY)) {
1664
1664
  command.input = loadConfigFile_js.stdinName;
1665
1665
  }
1666
1666
  const options = mergeOptions.mergeOptions({ input: [] }, command, warnings.add);
1667
- loadConfigFile_js.addCommandPluginsToInputOptions(options, command);
1667
+ await loadConfigFile_js.addCommandPluginsToInputOptions(options, command);
1668
1668
  return { options: [options], warnings };
1669
1669
  }
1670
1670
 
@@ -1753,7 +1753,7 @@ async function getConfigs(command) {
1753
1753
  const { options, warnings } = await loadConfigFile_js.loadAndParseConfigFile(configFile, command);
1754
1754
  return { options, warnings };
1755
1755
  }
1756
- return loadConfigFromCommand(command);
1756
+ return await loadConfigFromCommand(command);
1757
1757
  }
1758
1758
 
1759
1759
  const command = argParser(process.argv.slice(2), {