@rollup/plugin-commonjs 18.1.0 → 20.0.0

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,37 @@
1
1
  # @rollup/plugin-commonjs ChangeLog
2
2
 
3
+ ## v20.0.0
4
+
5
+ _2021-07-30_
6
+
7
+ ### Breaking Changes
8
+
9
+ - fix: Correctly infer module name for any separator (#924)
10
+
11
+ ## v19.0.2
12
+
13
+ _2021-07-26_
14
+
15
+ ### Bugfixes
16
+
17
+ - fix convert module.exports with `__esModule` property(#939) (#942)
18
+
19
+ ## v19.0.1
20
+
21
+ _2021-07-15_
22
+
23
+ ### Bugfixes
24
+
25
+ - fix: short-circuit to actual module entry point when using circular ref through a different entry (#888)
26
+
27
+ ## v19.0.0
28
+
29
+ _2021-05-07_
30
+
31
+ ### Breaking Changes
32
+
33
+ - feat!: Add support for circular dependencies (#658)
34
+
3
35
  ## v18.1.0
4
36
 
5
37
  _2021-05-04_
package/README.md CHANGED
@@ -309,7 +309,9 @@ For these situations, you can change Rollup's behaviour either globally or per m
309
309
  import * as dep$1 from 'dep';
310
310
 
311
311
  function getDefaultExportFromNamespaceIfNotNamed(n) {
312
- return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
312
+ return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1
313
+ ? n['default']
314
+ : n;
313
315
  }
314
316
 
315
317
  var dep = getDefaultExportFromNamespaceIfNotNamed(dep$1);