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_node_bundler/tests/pass/issue-1756/input/app/scripts/lib/util.js | JavaScript | import "../../../shared/constants/app";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-1756/input/entry.js | JavaScript | import "./ui/store/actions.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-1756/input/ui/ducks/alerts/unconnected-account.js | JavaScript | import "../../store/actions.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-1756/input/ui/helpers/utils/confirm-tx.util.js | JavaScript | import '../../store/actions.js';
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-1756/input/ui/helpers/utils/token-util.js | JavaScript | import './confirm-tx.util.js';
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-1756/input/ui/pages/send/send.constants.js | JavaScript | import "../../../app/scripts/lib/util.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-1756/input/ui/pages/send/send.utils.js | JavaScript | import "../../helpers/utils/token-util.js";
import "./send.constants.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-1756/input/ui/store/actions.js | JavaScript | // NOTE: Comment out any of these imports
// NOTE: and the build will succeed!
import "../pages/send/send.utils.js";
import "../../app/scripts/lib/util.js";
import "../ducks/alerts/unconnected-account.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-2124/named-export/input/entry.ts | TypeScript | import { memoize } from "./util";
// Import directly from `lodash` instead and the module code is
// included in the bundle
//import {memoize} from './lodash';
const name = memoize();
console.log(name);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-2124/named-export/input/lodash.ts | TypeScript | // This is a minimal reproduction from lodash@4.17.21
function lodash(value) {
console.log("lodash");
}
function memoize() {
console.log("memoize");
}
lodash.memoize = memoize;
// Either of these lines cause this module
// not to be included in the bundle. Member expression
// on `module` or `exports`.
module.exports = lodash;
exports.memoize = memoize;
// NOTE: Indirection on `exports` will work
//const exporter = exports;
//exporter.memoize = memoize;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-2124/named-export/input/util.ts | TypeScript | // This indirection is necessary to reproduce the issue
export { memoize } from "./lodash";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/issue-2124/named-export/output/entry.js | JavaScript | function __swcpack_require__(mod) {
function interop(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};
if (desc.get || desc.set) {
Object.defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
}
newObj.default = obj;
return newObj;
}
}
var cache;
if (cache) {
return cache;
}
var module = {
exports: {}
};
mod(module, module.exports);
cache = interop(module.exports);
return cache;
}
var load = __swcpack_require__.bind(void 0, function(module, exports) {
function lodash(value) {
console.log("lodash");
}
function memoize() {
console.log("memoize");
}
lodash.memoize = memoize;
module.exports = lodash;
exports.memoize = memoize;
});
const _cjs_module_ = load(), memoize = _cjs_module_.memoize;
const name = memoize();
console.log(name);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/basic/input/a.js | JavaScript | export const a = "a.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/basic/input/b.js | JavaScript | export const b = "b.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/basic/input/entry.js | JavaScript | import { a } from "./a";
import { b } from "./b";
export { a, b };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/basic/output/entry.js | JavaScript | const a = "a.js";
const b = "b.js";
export { a as a, b as b };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/name-conflict/side-effects/simple/input/a.js | JavaScript | export const a = 1;
console.log("b");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/name-conflict/side-effects/simple/input/entry.js | JavaScript | import { a } from "./a";
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/name-conflict/side-effects/simple/output/entry.js | JavaScript | const a = 1;
console.log("b");
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/name-conflict/simple/input/a.js | JavaScript | export const a = foo();
function foo() {
return 1;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/name-conflict/simple/input/b.js | JavaScript | export const b = foo();
function foo() {
return 2;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/name-conflict/simple/input/entry.js | JavaScript | import { a } from "./a";
import { b } from "./b";
export { a, b };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/name-conflict/simple/output/entry.js | JavaScript | const a = foo();
function foo() {
return 1;
}
const b = foo1();
function foo1() {
return 2;
}
export { a as a, b as b };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/nested-import/input/a.js | JavaScript | console.log("a");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/nested-import/input/b.js | JavaScript | console.log("b");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/nested-import/input/entry.js | JavaScript | import "./a";
import "./b";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/merge/nested-import/output/entry.js | JavaScript | console.log("a");
console.log("b");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/.dynamic-import/input/a.js | JavaScript | export default 5;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/.dynamic-import/input/entry.js | JavaScript | import("./a").then((v) => console.log(v));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/.mixed/input/a.js | JavaScript | export default "a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/.mixed/input/b.js | JavaScript | export default "b";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/.mixed/input/c.js | JavaScript | export default "c";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/.mixed/input/entryA.js | JavaScript | import("./a").then((v) => console.log(v));
import("./b").then((v) => console.log(v));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/.mixed/input/entryB.js | JavaScript | import("./a").then((v) => console.log(v));
import("./c").then((v) => console.log(v));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/simple/input/c.js | JavaScript | import { foo } from "./d";
console.log("loading c.js");
export function c() {
foo();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/simple/input/d.js | JavaScript | console.log("loading d.js");
export function foo() {
console.log("d.js");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/simple/input/entry-a.js | JavaScript | import { c } from "./c";
c();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/simple/input/entry-b.js | JavaScript | import { foo } from "./d";
foo();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/simple/output/d-2w4j5tksz1e1k.js | JavaScript | console.log('loading d.js');
function foo1() {
console.log('d.js');
}
export { foo1 as foo };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/simple/output/entry-a.js | JavaScript | console.log("loading d.js");
function foo() {
console.log("d.js");
}
console.log("loading c.js");
function c() {
foo();
}
c();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/multi-entry/simple/output/entry-b.js | JavaScript | console.log("loading d.js");
function foo() {
console.log("d.js");
}
foo();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/node-modules/builtin/.simple/input/entry.js | JavaScript | import { join } from "path";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/node-modules/library/simple/input/entry.js | JavaScript | import progress from "progress";
console.log(progress);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/node-modules/library/simple/output/entry.js | JavaScript | function __swcpack_require__(mod) {
function interop(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};
if (desc.get || desc.set) {
Object.defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
}
newObj.default = obj;
return newObj;
}
}
var cache;
if (cache) {
return cache;
}
var module = {
exports: {}
};
mod(module, module.exports);
cache = interop(module.exports);
return cache;
}
var load = __swcpack_require__.bind(void 0, function(module, exports) {
/*!
* node-progress
* Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/ /**
* Expose `ProgressBar`.
*/ exports = module.exports = ProgressBar;
/**
* Initialize a `ProgressBar` with the given `fmt` string and `options` or
* `total`.
*
* Options:
*
* - `curr` current completed index
* - `total` total number of ticks to complete
* - `width` the displayed width of the progress bar defaulting to total
* - `stream` the output stream defaulting to stderr
* - `head` head character defaulting to complete character
* - `complete` completion character defaulting to "="
* - `incomplete` incomplete character defaulting to "-"
* - `renderThrottle` minimum time between updates in milliseconds defaulting to 16
* - `callback` optional function to call when the progress bar completes
* - `clear` will clear the progress bar upon termination
*
* Tokens:
*
* - `:bar` the progress bar itself
* - `:current` current tick number
* - `:total` total ticks
* - `:elapsed` time elapsed in seconds
* - `:percent` completion percentage
* - `:eta` eta in seconds
* - `:rate` rate of ticks per second
*
* @param {string} fmt
* @param {object|number} options or total
* @api public
*/ function ProgressBar(fmt, options) {
this.stream = options.stream || process.stderr;
if (typeof options == 'number') {
var total = options;
options = {};
options.total = total;
} else {
options = options || {};
if ('string' != typeof fmt) throw new Error('format required');
if ('number' != typeof options.total) throw new Error('total required');
}
this.fmt = fmt;
this.curr = options.curr || 0;
this.total = options.total;
this.width = options.width || this.total;
this.clear = options.clear;
this.chars = {
complete: options.complete || '=',
incomplete: options.incomplete || '-',
head: options.head || options.complete || '='
};
this.renderThrottle = options.renderThrottle !== 0 ? options.renderThrottle || 16 : 0;
this.lastRender = -Infinity;
this.callback = options.callback || function() {};
this.tokens = {};
this.lastDraw = '';
}
/**
* "tick" the progress bar with optional `len` and optional `tokens`.
*
* @param {number|object} len or tokens
* @param {object} tokens
* @api public
*/ ProgressBar.prototype.tick = function(len, tokens) {
if (len !== 0) len = len || 1;
// swap tokens
if ('object' == typeof len) tokens = len, len = 1;
if (tokens) this.tokens = tokens;
// start time for eta
if (0 == this.curr) this.start = new Date;
this.curr += len;
// try to render
this.render();
// progress complete
if (this.curr >= this.total) {
this.render(undefined, true);
this.complete = true;
this.terminate();
this.callback(this);
return;
}
};
/**
* Method to render the progress bar with optional `tokens` to place in the
* progress bar's `fmt` field.
*
* @param {object} tokens
* @api public
*/ ProgressBar.prototype.render = function(tokens, force) {
force = force !== undefined ? force : false;
if (tokens) this.tokens = tokens;
if (!this.stream.isTTY) return;
var now = Date.now();
var delta = now - this.lastRender;
if (!force && delta < this.renderThrottle) return;
else this.lastRender = now;
var ratio = this.curr / this.total;
ratio = Math.min(Math.max(ratio, 0), 1);
var percent = Math.floor(ratio * 100);
var incomplete, complete, completeLength;
var elapsed = new Date - this.start;
var eta = percent == 100 ? 0 : elapsed * (this.total / this.curr - 1);
var rate = this.curr / (elapsed / 1000);
/* populate the bar template with percentages and timestamps */ var str = this.fmt.replace(':current', this.curr).replace(':total', this.total).replace(':elapsed', isNaN(elapsed) ? '0.0' : (elapsed / 1000).toFixed(1)).replace(':eta', isNaN(eta) || !isFinite(eta) ? '0.0' : (eta / 1000).toFixed(1)).replace(':percent', percent.toFixed(0) + '%').replace(':rate', Math.round(rate));
/* compute the available space (non-zero) for the bar */ var availableSpace = Math.max(0, this.stream.columns - str.replace(':bar', '').length);
if (availableSpace && process.platform === 'win32') availableSpace = availableSpace - 1;
var width = Math.min(this.width, availableSpace);
/* TODO: the following assumes the user has one ':bar' token */ completeLength = Math.round(width * ratio);
complete = Array(Math.max(0, completeLength + 1)).join(this.chars.complete);
incomplete = Array(Math.max(0, width - completeLength + 1)).join(this.chars.incomplete);
/* add head to the complete string */ if (completeLength > 0) complete = complete.slice(0, -1) + this.chars.head;
/* fill in the actual progress bar */ str = str.replace(':bar', complete + incomplete);
/* replace the extra tokens */ if (this.tokens) for(var key in this.tokens)str = str.replace(':' + key, this.tokens[key]);
if (this.lastDraw !== str) {
this.stream.cursorTo(0);
this.stream.write(str);
this.stream.clearLine(1);
this.lastDraw = str;
}
};
/**
* "update" the progress bar to represent an exact percentage.
* The ratio (between 0 and 1) specified will be multiplied by `total` and
* floored, representing the closest available "tick." For example, if a
* progress bar has a length of 3 and `update(0.5)` is called, the progress
* will be set to 1.
*
* A ratio of 0.5 will attempt to set the progress to halfway.
*
* @param {number} ratio The ratio (between 0 and 1 inclusive) to set the
* overall completion to.
* @api public
*/ ProgressBar.prototype.update = function(ratio, tokens) {
var goal = Math.floor(ratio * this.total);
var delta = goal - this.curr;
this.tick(delta, tokens);
};
/**
* "interrupt" the progress bar and write a message above it.
* @param {string} message The message to write.
* @api public
*/ ProgressBar.prototype.interrupt = function(message) {
// clear the current line
this.stream.clearLine();
// move the cursor to the start of the line
this.stream.cursorTo(0);
// write the message text
this.stream.write(message);
// terminate the line after writing the message
this.stream.write('\n');
// re-display the progress bar with its lastDraw
this.stream.write(this.lastDraw);
};
/**
* Terminates a progress bar.
*
* @api public
*/ ProgressBar.prototype.terminate = function() {
if (this.clear) {
if (this.stream.clearLine) {
this.stream.clearLine();
this.stream.cursorTo(0);
}
} else this.stream.write('\n');
};
});
var load1 = __swcpack_require__.bind(void 0, function(module, exports) {
module.exports = load();
});
var { default: progress } = load1();
console.log(progress);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-1/input/a.js | JavaScript | export const a = "a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-1/input/entry.js | JavaScript | import * as a from "./a";
console.log(a); // { a: "a" }
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-1/output/entry.js | JavaScript | const a = "a";
const mod = {
a: a
};
console.log(mod);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-10/input/entry.js | JavaScript | export { a, b } from "./k";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-10/input/i.ts | TypeScript | export function a(...d: string[]): string {
return d.join(" ");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-10/input/j.ts | TypeScript | export function a(...d: string[]): string {
return d.join("/");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-10/input/k.ts | TypeScript | import * as _i from "./i";
import * as _j from "./j";
const k = globalThis.value ? _i : _j;
export const i = _i;
export const j = _j;
export const { a } = k;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-10/output/entry.js | JavaScript | function a(...d) {
return d.join(" ");
}
const mod = {
a: a
};
function a1(...d) {
return d.join("/");
}
const mod1 = {
a: a1
};
const k = globalThis.value ? mod : mod1;
const { a: a2 } = k;
export { a2 as a, b as b };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-2/input/b.js | JavaScript | export * as c from "./c";
export const b = "b";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-2/input/c.js | JavaScript | export const c = "c";
export default class C {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-2/input/entry.js | JavaScript | import * as b from "./b";
console.log(b.b); // "b"
console.log(b.c); // { c: "c", default: class C }
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-2/output/entry.js | JavaScript | const c = "c";
class C {
}
const mod = {
c: c,
default: C
};
const b = "b";
console.log(b);
console.log(mod);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-3/input/a.js | JavaScript | export const a = "a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-3/input/d.js | JavaScript | import { a } from "./a";
export const d = { a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-3/input/entry.js | JavaScript | import { d } from "./d";
console.log(d);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-3/output/entry.js | JavaScript | const a = "a";
const d = {
a
};
console.log(d);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-5/input/a.js | JavaScript | export const a = "a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-5/input/e.js | JavaScript | export * from "./a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-5/input/entry.js | JavaScript | import { a } from "./e";
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-5/output/entry.js | JavaScript | const a = "a";
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-7/input/entry.js | JavaScript | import { isMain, modUrl } from "./f";
console.log(isMain, modUrl);
console.log(import.meta);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-7/input/f.js | JavaScript | export const isMain = import.meta.main;
export const modUrl = import.meta.url;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-7/output/entry.js | JavaScript | const importMeta = {
url: "$DIR/tests/pass/pr-1105/example-7/input/f.js",
main: false
};
const isMain = importMeta.main;
const modUrl = importMeta.url;
const importMeta1 = {
url: "$DIR/tests/pass/pr-1105/example-7/input/entry.js",
main: import.meta.main
};
console.log(isMain, modUrl);
console.log(importMeta1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-9-js/input/a.js | JavaScript | export const a = "a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-9-js/input/entry.js | JavaScript | export * as a from "./a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-9-js/output/entry.js | JavaScript | var a = "a";
const mod = {
a: a
};
export { mod as a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-9-ts/input/a.ts | TypeScript | export const a = "a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-9-ts/input/entry.js | JavaScript | export * as a from "./a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/pr-1105/example-9-ts/output/entry.js | JavaScript | var a = "a";
const mod = {
a: a
};
export { mod as a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/.namespace/input/a.js | JavaScript | export * as b from "./b";
console.log("a");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/.namespace/input/b.js | JavaScript | export const b = 1;
console.log("b");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/.namespace/input/entry.js | JavaScript | export { b } from "./a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/default-1-simple/input/a.js | JavaScript | export { default as a } from "./b";
console.log("a.js");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/default-1-simple/input/b.js | JavaScript | const b = 1;
export default b;
console.log("b");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/default-1-simple/input/entry.js | JavaScript | export { a } from "./a";
console.log("entry");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/default-1-simple/output/entry.js | JavaScript | const b = 1;
console.log("b");
console.log("a.js");
export { b as a };
console.log("entry");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-1/input/a.js | JavaScript | import { b } from "./b";
export { b };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-1/input/b.js | JavaScript | export const b = 1;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-1/input/entry.js | JavaScript | import { b } from "./a";
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-1/output/entry.js | JavaScript | const b = 1;
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-2/input/a.js | JavaScript | import { a } from "./b";
export { a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-2/input/b.js | JavaScript | const b = 1;
export { b as a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-2/input/entry.js | JavaScript | import { a } from "./a";
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-2/output/entry.js | JavaScript | const b = 1;
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-3/input/a.js | JavaScript | import { a as b } from "./b";
export { b as a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-3/input/b.js | JavaScript | const b = 1;
export { b as a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-3/input/entry.js | JavaScript | import { a } from "./a";
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/import-then-export-3/output/entry.js | JavaScript | const b = 1;
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-alias/input/a.js | JavaScript | export { b as a } from "./b";
console.log("a");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-alias/input/b.js | JavaScript | export const b = 1;
console.log("b", b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-alias/input/entry.js | JavaScript | export { a } from "./a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-alias/output/entry.js | JavaScript | const b = 1;
console.log("b", b);
console.log("a");
export { b as a };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-orig/input/a.js | JavaScript | export { b } from "./b";
console.log("a");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-orig/input/b.js | JavaScript | export const b = 1;
console.log("b", b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-orig/input/entry.js | JavaScript | export { b as a } from "./a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_node_bundler/tests/pass/reexport/named-1-orig/output/entry.js | JavaScript | const b = 1;
console.log("b", b);
console.log("a");
export { b as a };
| 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.