From c64666b796dbe3b089d748d39c9081ae42c12933 Mon Sep 17 00:00:00 2001 From: Hovhannes Babayan Date: Thu, 15 Dec 2022 19:26:38 +0400 Subject: [PATCH] fix: produce code which works when __esModule is already defined --- packages/commonjs/src/helpers.js | 1 + .../commonjs/test/snapshots/function.js.md | 13 ++++++++ .../commonjs/test/snapshots/function.js.snap | Bin 19022 -> 19036 bytes packages/commonjs/test/snapshots/test.js.md | 3 ++ packages/commonjs/test/snapshots/test.js.snap | Bin 1595 -> 1607 bytes packages/commonjs/test/test.js | 28 ++++++++++++++++++ 6 files changed, 45 insertions(+) diff --git a/packages/commonjs/src/helpers.js b/packages/commonjs/src/helpers.js index e75841556..be25fbbd5 100644 --- a/packages/commonjs/src/helpers.js +++ b/packages/commonjs/src/helpers.js @@ -35,6 +35,7 @@ export function getDefaultExportFromNamespaceIfNotNamed (n) { } export function getAugmentedNamespace(n) { + if (n.__esModule) return n; var f = n.default; if (typeof f == "function") { var a = function a () { diff --git a/packages/commonjs/test/snapshots/function.js.md b/packages/commonjs/test/snapshots/function.js.md index e01a4cfeb..f3d4c2c0f 100644 --- a/packages/commonjs/test/snapshots/function.js.md +++ b/packages/commonjs/test/snapshots/function.js.md @@ -3491,6 +3491,7 @@ Generated by [AVA](https://avajs.dev). var externalEsmDefault__namespace = /*#__PURE__*/_interopNamespaceCompat(externalEsmDefault);␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -3577,6 +3578,7 @@ Generated by [AVA](https://avajs.dev). var externalEsmDefault__namespace = /*#__PURE__*/_interopNamespaceCompat(externalEsmDefault);␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -3657,6 +3659,7 @@ Generated by [AVA](https://avajs.dev). var externalEsmDefault__namespace = /*#__PURE__*/_interopNamespaceCompat(externalEsmDefault);␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -3750,6 +3753,7 @@ Generated by [AVA](https://avajs.dev). 'main.js': `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -3957,6 +3961,7 @@ Generated by [AVA](https://avajs.dev). 'main.js': `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -4187,6 +4192,7 @@ Generated by [AVA](https://avajs.dev). var externalEsmDefault__namespace = /*#__PURE__*/_interopNamespaceCompat(externalEsmDefault);␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -4289,6 +4295,7 @@ Generated by [AVA](https://avajs.dev). 'main.js': `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -4482,6 +4489,7 @@ Generated by [AVA](https://avajs.dev). }␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -4760,6 +4768,7 @@ Generated by [AVA](https://avajs.dev). var externalEsmDefault__namespace = /*#__PURE__*/_interopNamespaceCompat(externalEsmDefault);␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -4854,6 +4863,7 @@ Generated by [AVA](https://avajs.dev). 'main.js': `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -6163,6 +6173,7 @@ Generated by [AVA](https://avajs.dev). 'main.js': `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -6214,6 +6225,7 @@ Generated by [AVA](https://avajs.dev). 'main.js': `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -7167,6 +7179,7 @@ Generated by [AVA](https://avajs.dev). 'main.js': `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ diff --git a/packages/commonjs/test/snapshots/function.js.snap b/packages/commonjs/test/snapshots/function.js.snap index c004e1f6b27ee4e608cb1c885ad75d91b84bf764..afa7ef9d845075a97c9889c7eceeb26dbe944629 100644 GIT binary patch literal 19036 zcmZs?V{k4^w5=Q4wrx9Ev9V&?ww#m!cnwyH6n*Zic`E|A8MsND>TI-LW5?rLB z(_J9fEP(fLhD?T1N)0ZtOSvdpr~zL=LX46-t>})Ka5T|}lm6lMy}X}@;ee5m-|=QD zb2jdmp1;YZ1@>1j@OP)@sYD`m=jm(ZQmR)&E5TpjVT{x~Wyi_P@_cGRJAY=~oi3ZV z@oBG6#(pOfaCmdc{pT1tiE=E)afKNjot&)gh+$iL?iwLVpc`#RXd4!bxiWT} zOtm2u5tg6Msoh#gM_sb6Vcmj^-<+>iquL4n4A<6bK@QZjpfKtw1mkH>+f->sQaNxN zjlSI034W#%y^?1(kAEW9ScG5Q%%S$CQp&Wr*ljYmj$N#MPbFdYtj#`kfteDgiC^R^ zXsXkuOe-yYvI?@7Zqka&zF3J_NJa=hDrU|!by%&4qN}5;iESq_ec+H#wAtYJ^tN27 zXv_nVgBO!1R46vDT#NsQKb1lI$cKT!jT=+%9GU}-aPv-%IMaH}?c$Azdu3=bX+|lL^y#b-Qn>%Zge|(M*?|cUkxdf$34Kask|6n~ zDsC{8h1(DZ8VWe0D?qkN0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;h)CYZuG)9iF5Ku&ty2-ok4|S zFA)uSUoXcQ7*~0eX6x}}z=hjoqY4yGDVpgpdMZoDeAP05MS~XfCc2SQu z6Qdg>1zkO6aGF)QuP8^W%g2xA|FqihP{BjK%z#Dj8Z0c<2sjU8H>SZ&> Ubo4mkaNmIcKf37`llb%k09e!C*#H0l diff --git a/packages/commonjs/test/snapshots/test.js.md b/packages/commonjs/test/snapshots/test.js.md index 706386cd0..0dab2cd1b 100644 --- a/packages/commonjs/test/snapshots/test.js.md +++ b/packages/commonjs/test/snapshots/test.js.md @@ -42,6 +42,7 @@ Generated by [AVA](https://avajs.dev). }␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -199,6 +200,7 @@ Generated by [AVA](https://avajs.dev). `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ @@ -279,6 +281,7 @@ Generated by [AVA](https://avajs.dev). `'use strict';␊ ␊ function getAugmentedNamespace(n) {␊ + if (n.__esModule) return n;␊ var f = n.default;␊ if (typeof f == "function") {␊ var a = function a () {␊ diff --git a/packages/commonjs/test/snapshots/test.js.snap b/packages/commonjs/test/snapshots/test.js.snap index 850d912adac50bc2c459c00bc1916390c592e6cd..c7ff770ef4295883d7943791a3dce88c9d82882b 100644 GIT binary patch literal 1607 zcmV-N2Dte_RzVF!8j0}kaLBaNW~_Kt#sPK2 zXD@?u)gOxp00000000B+SkG=7MHo+LD-_?jbNC2Rcbzz!rksdX+A47oNTpQ^5>>FQ z@$Rg>@p^WdnN93QJ|J$0D-Tcv4}io2aO4em2Oa>48{f>%>>tNYQiMbg&LP?TX1@Qw z`OUX^753xAABpdNq%x8*ojgi;5@bFVkfbsiM=xmreiBeP8&U?*I8C^W*Z`;)!&xMU zKw!j@GX?<-Nft|>6TL++l8Rv>#W$~lfJpLU{f`@KZ?CD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IqDZjyal|-uJ>od6qfdxsG-=Yv8@RNITYKe%iQR!%NlEoL{4T9b8EpmUdBU zk30=?eS6a#QN}DDdi7=WqlIQMu$3{XKq=b1TXEz!15=^3y4iUVduQ=bFiK@^c}+S6 z5u|5=;QHiVy-%FoQ*8o!pI)v_o?l}%7<$*vxf@^IMz3z8|NU)r8C6xu;Z-k%sJE+? z|M`W`cwV^Lls3*9y2UzSPpE662J-77l1qSGrny`s}Mj!r#Cr=4eyAe@B-vu0BN z|3QtAIB|yP>2J7;zf(B+P599FFcSSqRTt_wwA4j%$3;S?iVB8bX9c6jmk#R38o1vt t1Gm=Y_Qm&{Q_uCYq!?{f@9121X2TC+ffKq3#kMnQ|2NSCEcJL9006U?|2zNy diff --git a/packages/commonjs/test/test.js b/packages/commonjs/test/test.js index 44234545b..d09573739 100644 --- a/packages/commonjs/test/test.js +++ b/packages/commonjs/test/test.js @@ -2,6 +2,7 @@ const os = require('os'); const path = require('path'); +const vm = require('vm'); const { nodeResolve } = require('@rollup/plugin-node-resolve'); const test = require('ava'); @@ -598,6 +599,33 @@ test('produces optimized code when importing esm without a default export', asyn t.snapshot(await getCodeFromBundle(bundle)); }); +test('produces working code when importing esm with __esModule property set', async (t) => { + const bundle = await rollup({ + input: 'main.js', + plugins: [ + commonjs(), + loader({ + 'main.js': 'const {y} = require("withEsModule.js"); module.exports = y + 1;', + 'withEsModule.js': 'export const y = 1; export const __esModule=true;' + }) + ] + }); + const name = 'bundleExecutionResult'; + const code = await getCodeFromBundle(bundle, { + format: 'iife', + name + }); + + const context = {}; + vm.createContext(context); + vm.runInContext(code, context); + t.is( + context[name], + 2, + `Expected to get 2, but got ${context[name]} after running bundled code: \n${code}` + ); +}); + test('handles array destructuring assignment', async (t) => { const bundle = await rollup({ input: 'fixtures/samples/array-destructuring-assignment/main.js',