aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-27 04:54:41 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-27 04:54:41 -0800
commit3f9c5edbf5d3951b13de186c24ce35189d25972d (patch)
tree3d879f9c0414fcd0c6065d69cce2309bc18652a2
parent1ed74ab59bf7b577791660d87a573d976eadb82c (diff)
downloadbun-3f9c5edbf5d3951b13de186c24ce35189d25972d.tar.gz
bun-3f9c5edbf5d3951b13de186c24ce35189d25972d.tar.zst
bun-3f9c5edbf5d3951b13de186c24ce35189d25972d.zip
:camera:
-rw-r--r--integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js2
-rw-r--r--integration/snapshots/export.hmr.js6
-rw-r--r--integration/snapshots/export.js14
-rw-r--r--integration/snapshots/string-escapes.js2
-rw-r--r--integration/snapshots/unicode-identifiers.js2
5 files changed, 13 insertions, 13 deletions
diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
index 30348f9a0..d4472a8de 100644
--- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
+++ b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
@@ -4,7 +4,7 @@ import * as _loginReally from "http://localhost:8080/_login.js";
import * as _loginReally2 from "http://localhost:8080/_login.js";
import * as _authReally from "http://localhost:8080/_auth.js";
-export {_login as login};
+export { _login as login };
export function test() {
return testDone(import.meta.url);
diff --git a/integration/snapshots/export.hmr.js b/integration/snapshots/export.hmr.js
index 83ae33c98..05bcf42ee 100644
--- a/integration/snapshots/export.hmr.js
+++ b/integration/snapshots/export.hmr.js
@@ -71,7 +71,7 @@ export {
$$hmr_booop as booop,
$$hmr_test as test
};
-export {default as auth} from "http://localhost:8080/_auth.js";
-export {default as login} from "http://localhost:8080/_login.js";
+export { default as auth } from "http://localhost:8080/_auth.js";
+export { default as login } from "http://localhost:8080/_login.js";
export * from "http://localhost:8080/_bacon.js";
-export {} from "http://localhost:8080/_bacon.js";
+export { } from "http://localhost:8080/_bacon.js";
diff --git a/integration/snapshots/export.js b/integration/snapshots/export.js
index 184c92455..330e3bae0 100644
--- a/integration/snapshots/export.js
+++ b/integration/snapshots/export.js
@@ -1,7 +1,7 @@
import what from "http://localhost:8080/_auth.js";
-export {default as auth} from "http://localhost:8080/_auth.js";
+export { default as auth } from "http://localhost:8080/_auth.js";
-export {default as login} from "http://localhost:8080/_login.js";
+export { default as login } from "http://localhost:8080/_login.js";
export * from "http://localhost:8080/_bacon.js";
export let yoyoyo = "yoyoyo";
export default function hey() {
@@ -12,14 +12,14 @@ export const foo = () => {
export var bar = 100;
export let powerLevel = Symbol("9001");
-export {what};
-export {what as when, what as whence};
-export {} from "http://localhost:8080/_bacon.js";
+export { what };
+export { what as when, what as whence };
+export { } from "http://localhost:8080/_bacon.js";
import * as where from "http://localhost:8080/_auth.js";
-export {where};
+export { where };
-export {bar as booop};
+export { bar as booop };
export function test() {
hey();
foo();
diff --git a/integration/snapshots/string-escapes.js b/integration/snapshots/string-escapes.js
index 82dbc76e0..3fe3b5f4d 100644
--- a/integration/snapshots/string-escapes.js
+++ b/integration/snapshots/string-escapes.js
@@ -450,7 +450,7 @@ const Bar = foo("a", {
const carriage = obj["\r\n"];
const newline = obj["\n"];
-export {obj};
+export { obj };
export function test() {
console.assert(carriage === "\r\n");
console.assert(newline === "\n");
diff --git a/integration/snapshots/unicode-identifiers.js b/integration/snapshots/unicode-identifiers.js
index 6e23e2929..375d2b995 100644
--- a/integration/snapshots/unicode-identifiers.js
+++ b/integration/snapshots/unicode-identifiers.js
@@ -7,7 +7,7 @@ var halfπ = π / 2;
var d3_radians = π / 180;
var d3_degrees = 180 / π;
-export {d3_radians};
+export { d3_radians };
export function test() {
console.assert(ε === 0.000001);
return testDone(import.meta.url);