@rollup/plugin-commonjs 23.0.6 → 23.0.7

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/cjs/index.js CHANGED
@@ -11,7 +11,7 @@ var estreeWalker = require('estree-walker');
11
11
  var MagicString = require('magic-string');
12
12
  var isReference = require('is-reference');
13
13
 
14
- var version = "23.0.6";
14
+ var version = "23.0.7";
15
15
  var peerDependencies = {
16
16
  rollup: "^2.68.0||^3.0.0"
17
17
  };
@@ -360,6 +360,7 @@ export function getDefaultExportFromNamespaceIfNotNamed (n) {
360
360
  }
361
361
 
362
362
  export function getAugmentedNamespace(n) {
363
+ if (n.__esModule) return n;
363
364
  var f = n.default;
364
365
  if (typeof f == "function") {
365
366
  var a = function a () {
package/dist/es/index.js CHANGED
@@ -7,7 +7,7 @@ import { walk } from 'estree-walker';
7
7
  import MagicString from 'magic-string';
8
8
  import isReference from 'is-reference';
9
9
 
10
- var version = "23.0.6";
10
+ var version = "23.0.7";
11
11
  var peerDependencies = {
12
12
  rollup: "^2.68.0||^3.0.0"
13
13
  };
@@ -356,6 +356,7 @@ export function getDefaultExportFromNamespaceIfNotNamed (n) {
356
356
  }
357
357
 
358
358
  export function getAugmentedNamespace(n) {
359
+ if (n.__esModule) return n;
359
360
  var f = n.default;
360
361
  if (typeof f == "function") {
361
362
  var a = function a () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/plugin-commonjs",
3
- "version": "23.0.6",
3
+ "version": "23.0.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },