rollup 2.59.0-0 → 2.60.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/CHANGELOG.md CHANGED
@@ -1,5 +1,79 @@
1
1
  # rollup changelog
2
2
 
3
+ ## 2.60.1
4
+
5
+ _2021-11-22_
6
+
7
+ ### Bug Fixes
8
+
9
+ - Make sure virtual files have proper file extensions when preserving modules (#4270)
10
+
11
+ ### Pull Requests
12
+
13
+ - [#4270](https://github.com/rollup/rollup/pull/4270): Use entryFileNames when generating filenames for virtual modules (@BPScott)
14
+
15
+ ## 2.60.0
16
+
17
+ _2021-11-11_
18
+
19
+ ### Features
20
+
21
+ - Add `this.load` context function to load, transform and parse modules without adding them to the graph (#4234)
22
+ - Sanitize non-url-safe characters in generated chunk names by default (#4262)
23
+ - Support ESM plugins via command line (#4265)
24
+
25
+ ### Pull Requests
26
+
27
+ - [#4234](https://github.com/rollup/rollup/pull/4234): Plugin context function for pre-loading modules (@lukastaegert)
28
+ - [#4262](https://github.com/rollup/rollup/pull/4262): exclude invalid URL chars (@danielroe)
29
+ - [#4265](https://github.com/rollup/rollup/pull/4265): support loading ESM plugins from the CLI via --plugin (@kzc)
30
+
31
+ ## 2.59.0
32
+
33
+ _2021-11-01_
34
+
35
+ ### Features
36
+
37
+ - Support static class initialization blocks (#4249)
38
+
39
+ ### Bug Fixes
40
+
41
+ - Fix an issue with the CommonJS plugin when module.exports has inherited properties (#4256)
42
+
43
+ ### Pull Requests
44
+
45
+ - [#4236](https://github.com/rollup/rollup/pull/4236): typescript bug class field initialization order (@dnalborczyk)
46
+ - [#4249](https://github.com/rollup/rollup/pull/4249): Support for class static initialization block (@dnalborczyk and @lukastaegert)
47
+ - [#4256](https://github.com/rollup/rollup/pull/4256): Skip inherited properties in synthetic namespaces (@lukastaegert)
48
+
49
+ ## 2.58.3
50
+
51
+ _2021-10-25_
52
+
53
+ ### Bug Fixes
54
+
55
+ - Republish 2.58.1 with npm 6 as files were missing
56
+
57
+ ## 2.58.2
58
+
59
+ _2021-10-25_
60
+
61
+ ### Bug Fixes
62
+
63
+ - Republish 2.58.1 as files were missing
64
+
65
+ ## 2.58.1
66
+
67
+ _2021-10-25_
68
+
69
+ ### Bug Fixes
70
+
71
+ - Fix an issue with the CommonJS plugin when module.exports is falsy (#4247)
72
+
73
+ ### Pull Requests
74
+
75
+ - [#4247](https://github.com/rollup/rollup/pull/4247): Handle falsy synthetic namespaces (@lukastaegert)
76
+
3
77
  ## 2.58.0
4
78
 
5
79
  _2021-10-01_
package/dist/bin/rollup CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v2.59.0-0
6
- Sat, 23 Oct 2021 05:25:56 GMT - commit a43424f86b7dbbb2930eb2cd30de4172dbed01b3
5
+ Rollup.js v2.60.1
6
+ Mon, 22 Nov 2021 07:50:11 GMT - commit 649074e14131b490ff9dfe26e94632ff458c4970
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), {
@@ -0,0 +1 @@
1
+ {"type":"module"}