@rollup/plugin-commonjs 28.0.2 → 28.0.3
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 +2 -2
- package/dist/es/index.js +2 -2
- package/package.json +1 -1
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 = "28.0.
|
|
14
|
+
var version = "28.0.3";
|
|
15
15
|
var peerDependencies = {
|
|
16
16
|
rollup: "^2.68.0||^3.0.0||^4.0.0"
|
|
17
17
|
};
|
|
@@ -376,7 +376,7 @@ export function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
export function getAugmentedNamespace(n) {
|
|
379
|
-
if (n
|
|
379
|
+
if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;
|
|
380
380
|
var f = n.default;
|
|
381
381
|
if (typeof f == "function") {
|
|
382
382
|
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 = "28.0.
|
|
10
|
+
var version = "28.0.3";
|
|
11
11
|
var peerDependencies = {
|
|
12
12
|
rollup: "^2.68.0||^3.0.0||^4.0.0"
|
|
13
13
|
};
|
|
@@ -372,7 +372,7 @@ export function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
export function getAugmentedNamespace(n) {
|
|
375
|
-
if (n
|
|
375
|
+
if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;
|
|
376
376
|
var f = n.default;
|
|
377
377
|
if (typeof f == "function") {
|
|
378
378
|
var a = function a () {
|