file_path stringlengths 3 280 | file_language stringclasses 66 values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108 values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array-default-params/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const [foo, bar = 2] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array-default-params/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const [foo, bar = 2] = [];
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array-rest/input.js | JavaScript | export const [foo, bar, ...baz] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array-rest/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
baz: function() {
return baz;
},
foo: function() {
return foo;
}
});
const [foo, bar, ...baz] = [];
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array-rest/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
baz: function() {
return baz;
},
foo: function() {
return foo;
}
});
const [foo, bar, ...baz] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array-rest/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
baz: function() {
return baz;
},
foo: function() {
return foo;
}
});
const [foo, bar, ...baz] = [];
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array/input.js | JavaScript | export const [foo, bar] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const [foo, bar] = [];
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const [foo, bar] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-array/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const [foo, bar] = [];
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-deep/input.js | JavaScript | export const { foo: { bar: [baz, qux] } } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-deep/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
baz: function() {
return baz;
},
qux: function() {
return qux;
}
});
const { foo: { bar: [baz, qux] } } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-deep/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
baz: function() {
return baz;
},
qux: function() {
return qux;
}
});
const { foo: { bar: [baz, qux] } } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-deep/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
baz: function() {
return baz;
},
qux: function() {
return qux;
}
});
const { foo: { bar: [baz, qux] } } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-default-params/input.js | JavaScript | export const { foo, bar = 1 } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-default-params/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const { foo, bar = 1 } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-default-params/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const { foo, bar = 1 } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-default-params/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const { foo, bar = 1 } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-rest/input.js | JavaScript | export const { foo, ...bar } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-rest/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const { foo, ...bar } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-rest/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const { foo, ...bar } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object-rest/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
const { foo, ...bar } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object/input.js | JavaScript | export const { foo: bar, baz } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
baz: function() {
return baz;
}
});
const { foo: bar , baz } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
baz: function() {
return baz;
}
});
const { foo: bar , baz } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/export-const/destructuring-object/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
baz: function() {
return baz;
}
});
const { foo: bar , baz } = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import-wildcard/input.js | JavaScript | import * as foo from "foo";
foo.bar();
foo.baz();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import-wildcard/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_foo = /*#__PURE__*/ _interop_require_wildcard(_foo);
_foo.bar();
_foo.baz();
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import-wildcard/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const _foo = /*#__PURE__*/ _interop_require_wildcard(require("foo"));
_foo.bar();
_foo.baz();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import-wildcard/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_foo = /*#__PURE__*/ _interop_require_wildcard(_foo);
_foo.bar();
_foo.baz();
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import/input.js | JavaScript | import foo from "foo";
import { default as foo2 } from "foo";
import { foo3 } from "foo";
import * as foo4 from "foo";
foo;
foo2;
foo3;
foo3();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_foo = /*#__PURE__*/ _interop_require_wildcard(_foo);
_foo.default;
_foo.default;
_foo.foo3;
(0, _foo.foo3)();
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const _foo = /*#__PURE__*/ _interop_require_wildcard(require("foo"));
_foo.default;
_foo.default;
_foo.foo3;
(0, _foo.foo3)();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/strict/import/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_foo = /*#__PURE__*/ _interop_require_wildcard(_foo);
_foo.default;
_foo.default;
_foo.foo3;
(0, _foo.foo3)();
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/negative-suffix/input.js | JavaScript | export let diffLevel = 0;
export function diff() {
if (!--diffLevel) {
console.log("hey");
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/negative-suffix/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
diff: function() {
return diff;
},
diffLevel: function() {
return diffLevel;
}
});
let diffLevel = 0;
function diff() {
if (!--diffLevel) {
console.log("hey");
}
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/negative-suffix/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
diff: function() {
return diff;
},
diffLevel: function() {
return diffLevel;
}
});
let diffLevel = 0;
function diff() {
if (!--diffLevel) {
console.log("hey");
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/negative-suffix/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
diff: function() {
return diff;
},
diffLevel: function() {
return diffLevel;
}
});
let diffLevel = 0;
function diff() {
if (!--diffLevel) {
console.log("hey");
}
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/positive-suffix/input.js | JavaScript | export let diffLevel = 0;
export function diff() {
if (!++diffLevel) {
console.log("hey");
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/positive-suffix/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
diff: function() {
return diff;
},
diffLevel: function() {
return diffLevel;
}
});
let diffLevel = 0;
function diff() {
if (!++diffLevel) {
console.log("hey");
}
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/positive-suffix/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
diff: function() {
return diff;
},
diffLevel: function() {
return diffLevel;
}
});
let diffLevel = 0;
function diff() {
if (!++diffLevel) {
console.log("hey");
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/update-expression/positive-suffix/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
diff: function() {
return diff;
},
diffLevel: function() {
return diffLevel;
}
});
let diffLevel = 0;
function diff() {
if (!++diffLevel) {
console.log("hey");
}
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/allow-continuous-assignment/input.js | JavaScript | var e = {}; e.a = e.b = e.c = e.d = e.e = e.f = e.g = e.h = e.i = e.j = e.k = e.l = e.m = e.n = e.o = e.p = e.q = e.r = e.s = e.t = e.u = e.v = e.w = e.x = e.y = e.z = e.A = e.B = e.C = e.D = e.E = e.F = e.G = e.H = e.I = e.J = e.K = e.L = e.M = e.N = e.O = e.P = e.Q = e.R = e.S = void 0; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-array-default-params/input.mjs | JavaScript | export const [foo, bar = 2] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-array-default-params/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var foo, bar;
return {
setters: [],
execute: function () {
[foo, bar = 2] = [], _export("foo", foo), _export("bar", bar);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-array-rest/input.mjs | JavaScript | export const [foo, bar, ...baz] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-array-rest/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var foo, bar, baz;
return {
setters: [],
execute: function () {
[foo, bar, ...baz] = [], _export("foo", foo), _export("bar", bar), _export("baz", baz);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-array/input.mjs | JavaScript | export const [foo, bar] = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-array/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var foo, bar;
return {
setters: [],
execute: function () {
[foo, bar] = [], _export("foo", foo), _export("bar", bar);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-deep/input.mjs | JavaScript | export const {
foo: {
bar: [baz, qux],
},
} = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-deep/output.mjs | JavaScript | System.register([], function(_export, _context) {
"use strict";
var baz, qux;
return {
setters: [],
execute: function() {
({ foo: { bar: [baz, qux] , } , } = {}), _export("baz", baz), _export("qux", qux);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-object-default-params/input.mjs | JavaScript | export const { foo, bar = 1 } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-object-default-params/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var foo, bar;
return {
setters: [],
execute: function () {
({
foo,
bar = 1
} = {}), _export("foo", foo), _export("bar", bar);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-object-rest/input.mjs | JavaScript | export const { foo, ...bar } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-object-rest/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var foo, bar;
return {
setters: [],
execute: function () {
({
foo,
...bar
} = {}), _export("foo", foo), _export("bar", bar);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-object/input.mjs | JavaScript | export const { foo: bar, baz } = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-const-destructuring-object/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var bar, baz;
return {
setters: [],
execute: function () {
({
foo: bar,
baz
} = {}), _export("bar", bar), _export("baz", baz);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-2/input.mjs | JavaScript | export default {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-2/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
return {
setters: [],
execute: function () {
_export("default", {});
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-3/input.mjs | JavaScript | export default [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-3/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
return {
setters: [],
execute: function () {
_export("default", []);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-4/input.mjs | JavaScript | export default foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-4/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
return {
setters: [],
execute: function () {
_export("default", foo);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-5/input.mjs | JavaScript | export default function () {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-5/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
_export("default", function () {});
return {
setters: [],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-6/input.mjs | JavaScript | export default class {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-6/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
_export("default", class {});
return {
setters: [],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-7/input.mjs | JavaScript | export default function foo() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-7/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
function foo() {}
_export("default", foo);
return {
setters: [],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-8/input.mjs | JavaScript | export default class Foo {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-8/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var Foo;
_export("default", void 0);
return {
setters: [],
execute: function () {
_export("default", Foo = class Foo {});
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-9/input.mjs | JavaScript | export default (function () {
return "foo";
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default-9/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
return {
setters: [],
execute: function () {
_export("default", function () {
return "foo";
}());
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default/input.mjs | JavaScript | export default 42;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-default/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
return {
setters: [],
execute: function () {
_export("default", 42);
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-fn-decl/input.mjs | JavaScript | var testProp = "test property";
function testFunc() {
return "test function";
}
export { testFunc, testProp };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-fn-decl/output.mjs | JavaScript | System.register([], function(_export, _context) {
"use strict";
var testProp;
function testFunc() {
return "test function";
}
_export("testFunc", testFunc);
return {
setters: [],
execute: function() {
_export("testProp", testProp = "test property");
}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-2/input.mjs | JavaScript | export { foo } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-2/output.mjs | JavaScript | System.register(["foo"], function (_export, _context) {
"use strict";
return {
setters: [function (_foo) {
_export("foo", _foo.foo);
}],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-3/input.mjs | JavaScript | export { foo, bar } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-3/output.mjs | JavaScript | System.register([
"foo"
], function(_export, _context) {
"use strict";
return {
setters: [
function(_foo) {
_export({
foo: _foo.foo,
bar: _foo.bar
});
}
],
execute: function() {}
};
}); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-4/input.mjs | JavaScript | export { foo as bar } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-4/output.mjs | JavaScript | System.register(["foo"], function (_export, _context) {
"use strict";
return {
setters: [function (_foo) {
_export("bar", _foo.foo);
}],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-5/input.mjs | JavaScript | export { foo as default } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-5/output.mjs | JavaScript | System.register(["foo"], function (_export, _context) {
"use strict";
return {
setters: [function (_foo) {
_export("default", _foo.foo);
}],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-6/input.mjs | JavaScript | export { foo as default, bar } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from-6/output.mjs | JavaScript | System.register([
"foo"
], function(_export, _context) {
"use strict";
return {
setters: [
function(_foo) {
_export({
"default": _foo.foo,
bar: _foo.bar
});
}
],
execute: function() {}
};
}); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from/input.mjs | JavaScript | export * from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-from/output.mjs | JavaScript | System.register([
"foo"
], function(_export, _context) {
"use strict";
return {
setters: [
function(_foo) {
var exportObj = {};
for(var key in _foo){
if (key !== "default" && key !== "__esModule") {
exportObj[key] = _foo[key];
}
}
_export(exportObj);
}
],
execute: function() {}
};
}); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-2/input.mjs | JavaScript | export { foo, bar };
var foo, bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-2/output.mjs | JavaScript | System.register([], function(_export, _context) {
"use strict";
var foo, bar;
_export({
foo: void 0,
bar: void 0
});
return {
setters: [],
execute: function() {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-3/input.mjs | JavaScript | export { foo as bar };
var foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-3/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var foo;
_export("bar", void 0);
return {
setters: [],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-4/input.mjs | JavaScript | export { foo as default };
var foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-4/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
var foo;
_export("default", void 0);
return {
setters: [],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-5/input.mjs | JavaScript | export { foo as default, bar };
var foo, bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-5/output.mjs | JavaScript | System.register([], function(_export, _context) {
"use strict";
var foo, bar;
_export({
"default": void 0,
bar: void 0
});
return {
setters: [],
execute: function() {}
};
}); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-6/input.mjs | JavaScript | export function foo() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-6/output.mjs | JavaScript | System.register([], function (_export, _context) {
"use strict";
function foo() {}
_export("foo", foo);
return {
setters: [],
execute: function () {}
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/systemjs/export-named-7/input.mjs | JavaScript | export function foo2(bar) {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.