Skip to content

Commit

Permalink
internal: Update snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed May 22, 2024
1 parent 7f7ca10 commit 49aea80
Show file tree
Hide file tree
Showing 11 changed files with 934 additions and 934 deletions.
28 changes: 14 additions & 14 deletions packages/packemon/tests/__snapshots__/outputs.test.ts.snap

Large diffs are not rendered by default.

256 changes: 128 additions & 128 deletions packages/packemon/tests/examples/__snapshots__/assetImports.test.ts.snap

Large diffs are not rendered by default.

120 changes: 60 additions & 60 deletions packages/packemon/tests/examples/__snapshots__/asyncAwait.test.ts.snap

Large diffs are not rendered by default.

600 changes: 300 additions & 300 deletions packages/packemon/tests/examples/__snapshots__/cjsMjsWrapper.test.ts.snap

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: browser-current-lib > lib/index-browser-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: current, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -896,7 +896,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: browser-experimental-lib > lib/index-browser-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: experimental, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1081,7 +1081,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: browser-legacy-lib > lib/index-browser-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: legacy, Format: lib
"use strict";
'use strict';
function _ts_generator(thisArg, body) {
var f, y, t, g, _ = {
label: 0,
Expand Down Expand Up @@ -1384,7 +1384,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: browser-stable-lib > lib/index-browser-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: stable, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1451,7 +1451,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: electron-current-lib > lib/index-electron-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: current, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1481,7 +1481,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: electron-experimental-lib > lib/index-electron-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: experimental, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1511,7 +1511,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: electron-legacy-lib > lib/index-electron-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: legacy, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1541,7 +1541,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: electron-stable-lib > lib/index-electron-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: stable, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1571,7 +1571,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: native-current-lib > lib/index-native-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: current, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1601,7 +1601,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: native-experimental-lib > lib/index-native-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: experimental, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1631,7 +1631,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: native-legacy-lib > lib/index-native-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: legacy, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1661,7 +1661,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: native-stable-lib > lib/index-native-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: stable, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand All @@ -1677,7 +1677,7 @@ exports.runGen = runGen;
exports[`Generators > swc > transforms example test case: node-current-cjs > cjs/index-node-current-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: current, Format: cjs
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand All @@ -1702,7 +1702,7 @@ export const { gen, runGen } = data;"
exports[`Generators > swc > transforms example test case: node-current-lib > lib/index-node-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: current, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1732,7 +1732,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: node-experimental-cjs > cjs/index-node-experimental-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: experimental, Format: cjs
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand All @@ -1757,7 +1757,7 @@ export const { gen, runGen } = data;"
exports[`Generators > swc > transforms example test case: node-experimental-lib > lib/index-node-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: experimental, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1787,7 +1787,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: node-legacy-cjs > cjs/index-node-legacy-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: legacy, Format: cjs
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand All @@ -1812,7 +1812,7 @@ export const { gen, runGen } = data;"
exports[`Generators > swc > transforms example test case: node-legacy-lib > lib/index-node-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: legacy, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down Expand Up @@ -1842,7 +1842,7 @@ export { gen, runGen };
exports[`Generators > swc > transforms example test case: node-stable-cjs > cjs/index-node-stable-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: stable, Format: cjs
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand All @@ -1867,7 +1867,7 @@ export const { gen, runGen } = data;"
exports[`Generators > swc > transforms example test case: node-stable-lib > lib/index-node-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: stable, Format: lib
"use strict";
'use strict';
function* gen() {}
function runGen() {
for (const iterator of gen()){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: browser-current-lib > lib/index-browser-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: current, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1059,7 +1059,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: browser-experimental-lib > lib/index-browser-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: experimental, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1141,7 +1141,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: browser-legacy-lib > lib/index-browser-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: legacy, Format: lib
"use strict";
'use strict';
var data = {
list: [
"foo",
Expand Down Expand Up @@ -1223,7 +1223,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: browser-stable-lib > lib/index-browser-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: browser, Support: stable, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1305,7 +1305,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: electron-current-lib > lib/index-electron-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: current, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1350,7 +1350,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: electron-experimental-lib > lib/index-electron-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: experimental, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1395,7 +1395,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: electron-legacy-lib > lib/index-electron-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: legacy, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1440,7 +1440,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: electron-stable-lib > lib/index-electron-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: electron, Support: stable, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1485,7 +1485,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: native-current-lib > lib/index-native-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: current, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1530,7 +1530,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: native-experimental-lib > lib/index-native-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: experimental, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1575,7 +1575,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: native-legacy-lib > lib/index-native-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: legacy, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1620,7 +1620,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: native-stable-lib > lib/index-native-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: native, Support: stable, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand All @@ -1643,7 +1643,7 @@ exports.keys = keys;
exports[`JSON imports > swc > transforms example test case: node-current-cjs > cjs/index-node-current-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: current, Format: cjs
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1675,7 +1675,7 @@ export const { keys } = data;"
exports[`JSON imports > swc > transforms example test case: node-current-lib > lib/index-node-current-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: current, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1720,7 +1720,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: node-experimental-cjs > cjs/index-node-experimental-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: experimental, Format: cjs
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1752,7 +1752,7 @@ export const { keys } = data;"
exports[`JSON imports > swc > transforms example test case: node-experimental-lib > lib/index-node-experimental-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: experimental, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1797,7 +1797,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: node-legacy-cjs > cjs/index-node-legacy-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: legacy, Format: cjs
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1829,7 +1829,7 @@ export const { keys } = data;"
exports[`JSON imports > swc > transforms example test case: node-legacy-lib > lib/index-node-legacy-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: legacy, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1874,7 +1874,7 @@ export { keys };
exports[`JSON imports > swc > transforms example test case: node-stable-cjs > cjs/index-node-stable-cjs.cjs 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: stable, Format: cjs
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down Expand Up @@ -1906,7 +1906,7 @@ export const { keys } = data;"
exports[`JSON imports > swc > transforms example test case: node-stable-lib > lib/index-node-stable-lib.js 1`] = `
"// Bundled with Packemon: https://packemon.dev
// Platform: node, Support: stable, Format: lib
"use strict";
'use strict';
const data = {
list: [
"foo",
Expand Down
Loading

0 comments on commit 49aea80

Please sign in to comment.