repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/bundler.js | packages/core/integration-tests/test/bundler.js | import path from 'path';
import assert from 'assert';
import Logger from '@parcel/logger';
import {
assertBundles,
bundle,
findAsset,
overlayFS,
fsFixture,
run,
} from '@parcel/test-utils';
import {hashString} from '@parcel/rust';
import {normalizePath} from '@parcel/utils';
describe('bundler', function ()... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | true |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/javascript.js | packages/core/integration-tests/test/javascript.js | import assert from 'assert';
import path from 'path';
import url from 'url';
import {
assertDependencyWasExcluded,
bundle,
bundler,
findAsset,
findDependency,
getNextBuild,
run,
runBundle,
runBundles,
assertBundles,
ncp,
overlayFS,
removeDistDirectory,
distDir,
outputFS,
inputFS,
fsFix... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | true |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/watcher.js | packages/core/integration-tests/test/watcher.js | import assert from 'assert';
import nodeFS from 'fs';
import path from 'path';
import {
assertBundles,
bundler,
getNextBuild,
run,
assertBundleTree,
nextBundle,
ncp,
inputFS as fs,
sleep,
symlinkPrivilegeWarning,
outputFS,
overlayFS,
} from '@parcel/test-utils';
import {symlinkSync} from 'fs';
... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/parser.js | packages/core/integration-tests/test/parser.js | import assert from 'assert';
import path from 'path';
import {assertBundleTree, bundle, inputFS as fs} from '@parcel/test-utils';
describe.skip('parser', function () {
it('should support case-insensitive file extension', async function () {
let b = await bundle(
path.join(
__dirname,
'/inte... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/mdx.js | packages/core/integration-tests/test/mdx.js | import assert from 'assert';
import path from 'path';
import {
bundle,
run,
overlayFS,
fsFixture,
assertBundles,
} from '@parcel/test-utils';
import React from 'react';
import ReactDOM from 'react-dom/server';
describe('mdx', function () {
let count = 0;
let dir;
beforeEach(async () => {
dir = path... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/kotlin.js | packages/core/integration-tests/test/kotlin.js | import assert from 'assert';
import {assertBundleTree, bundle, run} from '@parcel/test-utils';
import commandExists from 'command-exists';
describe.skip('kotlin', function () {
if (!commandExists.sync('java')) {
// eslint-disable-next-line no-console
console.log(
'Skipping Kotlin tests. Install https:/... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/typescript-tsc.js | packages/core/integration-tests/test/typescript-tsc.js | // @flow
import assert from 'assert';
import path from 'path';
import {
assertBundles,
bundle,
distDir,
outputFS,
run,
} from '@parcel/test-utils';
const config = path.join(__dirname, '/integration/typescript-config/.parcelrc');
describe('typescript tsc', function () {
it('should support loading tsconfig.... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/html.js | packages/core/integration-tests/test/html.js | import assert from 'assert';
import {
assertBundles,
assertRejectsWithDiagnostic,
bundle,
bundler,
distDir,
getNextBuild,
removeDistDirectory,
run,
inputFS,
outputFS,
overlayFS,
ncp,
fsFixture,
} from '@parcel/test-utils';
import path from 'path';
import Logger from '@parcel/logger';
import {m... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | true |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/sourcemaps.js | packages/core/integration-tests/test/sourcemaps.js | // @flow
import assert from 'assert';
import invariant from 'assert';
import path from 'path';
import SourceMap from '@parcel/source-map';
import type {InitialParcelOptions} from '@parcel/types';
import {
bundle as _bundle,
inputFS,
outputFS,
overlayFS,
shallowEqual,
distDir,
mergeParcelOptions,
} from '@... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | true |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/macros.js | packages/core/integration-tests/test/macros.js | // @flow strict-local
import assert from 'assert';
import invariant from 'assert';
import path from 'path';
import {
bundle,
bundler,
run,
overlayFS,
fsFixture,
getNextBuild,
} from '@parcel/test-utils';
describe('macros', function () {
let count = 0;
let dir;
beforeEach(async () => {
dir = path.... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/worklets.js | packages/core/integration-tests/test/worklets.js | import assert from 'assert';
import path from 'path';
import {
assertBundles,
bundle,
removeDistDirectory,
run,
runBundle,
} from '@parcel/test-utils';
describe('worklets', function () {
beforeEach(async () => {
await removeDistDirectory();
});
it('supports paint worklets', async function () {
... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/image.js | packages/core/integration-tests/test/image.js | import assert from 'assert';
import {bundle, distDir, inputFS, outputFS} from '@parcel/test-utils';
import exifReader from 'exif-reader';
import path from 'path';
import sharp from 'sharp';
describe('image', function () {
this.timeout(10000);
it('Should be able to resize images', async () => {
await bundle(pa... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/elm.js | packages/core/integration-tests/test/elm.js | import assert from 'assert';
import path from 'path';
import {
assertBundles,
bundle,
distDir,
run,
outputFS,
} from '@parcel/test-utils';
describe('elm', function () {
it('should produce a basic Elm bundle', async function () {
let b = await bundle(path.join(__dirname, '/integration/elm/index.js'));
... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/contentHashing.js | packages/core/integration-tests/test/contentHashing.js | import assert from 'assert';
import path from 'path';
import {bundle as _bundle, overlayFS, outputFS, ncp} from '@parcel/test-utils';
const distDir = path.join(__dirname, './dist');
function bundle(path) {
return _bundle(path, {
inputFS: overlayFS,
shouldDisableCache: false,
defaultTargetOptions: {
... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/pnp.js | packages/core/integration-tests/test/pnp.js | import assert from 'assert';
import Module from 'module';
import path from 'path';
import {bundle, run, assertBundles} from '@parcel/test-utils';
describe('pnp', function () {
it('should defer to the pnp resolution when needed', async function () {
let dir = path.join(__dirname, 'integration/pnp-require');
... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/encodedURI.js | packages/core/integration-tests/test/encodedURI.js | import assert from 'assert';
import path from 'path';
import {bundle, outputFS, distDir} from '@parcel/test-utils';
describe('encodedURI', function () {
it('should support bundling files which names in encoded URI', async function () {
await bundle(path.join(__dirname, '/integration/encodedURI/index.html'));
... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/tracing.js | packages/core/integration-tests/test/tracing.js | // @flow strict-local
import assert from 'assert';
import path from 'path';
import {bundle, distDir, outputFS} from '@parcel/test-utils';
describe('tracing', function () {
it('should produce a trace', async function () {
await bundle(
path.join(__dirname, '/integration/typescript-jsx/index.tsx'),
{
... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/server.js | packages/core/integration-tests/test/server.js | // @flow strict-local
import assert from 'assert';
import invariant from 'assert';
import path from 'path';
import {
assertBundles,
bundler,
getNextBuild,
inputFS,
outputFS,
overlayFS,
ncp,
request as get,
requestRaw as getRaw,
} from '@parcel/test-utils';
import https from 'https';
import getPort fro... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/library-bundler.js | packages/core/integration-tests/test/library-bundler.js | // @flow
import assert from 'assert';
import path from 'path';
import {
bundle,
run,
runBundle,
overlayFS,
outputFS,
fsFixture,
assertBundles,
} from '@parcel/test-utils';
import nullthrows from 'nullthrows';
describe('library bundler', function () {
let count = 0;
let dir;
beforeEach(async () => {... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/fs.js | packages/core/integration-tests/test/fs.js | // @flow strict-local
import assert from 'assert';
import invariant from 'assert';
import path from 'path';
import {
assertBundles,
bundle,
removeDistDirectory,
run,
overlayFS,
outputFS,
distDir,
} from '@parcel/test-utils';
describe('fs', function () {
beforeEach(async () => {
await removeDistDir... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/babel.js | packages/core/integration-tests/test/babel.js | // @flow
import assert from 'assert';
import invariant from 'assert';
import path from 'path';
import {
bundle,
bundler,
distDir,
getNextBuild,
inputFS as fs,
outputFS,
removeDistDirectory,
run,
sleep,
} from '@parcel/test-utils';
import Logger from '@parcel/logger';
import os from 'os';
import {spawn... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/eslint-validation.js | packages/core/integration-tests/test/eslint-validation.js | // @flow
import assert from 'assert';
import path from 'path';
import {bundle} from '@parcel/test-utils';
const config = path.join(
__dirname,
'./integration/custom-configs/.parcelrc-eslint',
);
describe('eslint-validator', function () {
it('should throw validation error with eslint errors', async function () {... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/pug.js | packages/core/integration-tests/test/pug.js | import assert from 'assert';
import path from 'path';
import {assertBundles, bundle, outputFS, distDir} from '@parcel/test-utils';
describe('pug', function () {
it('should support bundling HTML', async function () {
const b = await bundle(path.join(__dirname, '/integration/pug/index.pug'));
assertBundles(b,... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/parcel-register.js | packages/core/integration-tests/test/parcel-register.js | // @flow strict-local
import {execSync} from 'child_process';
import assert from 'assert';
import path from 'path';
describe.skip('@parcel/register', () => {
it('can be required at an entry script and transform following requires', () => {
assert.equal(
execSync(
`node ${path.join(
__dir... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/scope-hoisting.js | packages/core/integration-tests/test/scope-hoisting.js | import assert from 'assert';
import path from 'path';
import nullthrows from 'nullthrows';
import {normalizePath} from '@parcel/utils';
import {createWorkerFarm} from '@parcel/core';
import {md} from '@parcel/diagnostic';
import {
assertBundles,
bundle as _bundle,
bundler as _bundler,
distDir,
findAsset,
fi... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | true |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/less.js | packages/core/integration-tests/test/less.js | import assert from 'assert';
import path from 'path';
import {
assertBundles,
bundle,
distDir,
outputFS,
run,
} from '@parcel/test-utils';
import {md} from '@parcel/diagnostic';
describe('less', function () {
it('should support requiring less files', async function () {
let b = await bundle(path.join(_... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/webextension/src/content.js | packages/core/integration-tests/test/integration/webextension/src/content.js | console.log('Hello Parcel! CONTENT EDITION') | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/es6/index.js | packages/core/integration-tests/test/integration/es6/index.js | import * as local from './local';
// eslint-disable-next-line no-unused-vars
import url from 'url';
export default function () {
return local.a + local.b;
}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/es6/local.js | packages/core/integration-tests/test/integration/es6/local.js | export let a = 1;
export let b = 2;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-imports-high-prio/index.js | packages/core/integration-tests/test/integration/dynamic-imports-high-prio/index.js | export default import('./async').then(() => document.head.children);
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-imports-high-prio/async.js | packages/core/integration-tests/test/integration/dynamic-imports-high-prio/async.js | export default {}; | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/global-alias/index.js | packages/core/integration-tests/test/integration/global-alias/index.js | import React from 'react';
module.exports = React.createElement('div'); | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/less-empty/index.js | packages/core/integration-tests/test/integration/less-empty/index.js | require('./index.less');
module.exports = function () {
return 2;
};
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/js-unused-import-specifier-node-modules/a.js | packages/core/integration-tests/test/integration/js-unused-import-specifier-node-modules/a.js | import a from "library";
output = a;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/js-unused-import-specifier-node-modules/node_modules/library/index.js | packages/core/integration-tests/test/integration/js-unused-import-specifier-node-modules/node_modules/library/index.js | export default used + 1;
import {used, unused} from "./other.js";
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/js-unused-import-specifier-node-modules/node_modules/library/other.js | packages/core/integration-tests/test/integration/js-unused-import-specifier-node-modules/node_modules/library/other.js | export const used = 122;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/multi-css-multi-entry-bug/src/entry.js | packages/core/integration-tests/test/integration/multi-css-multi-entry-bug/src/entry.js | // This repro was taken from https://github.com/parcel-bundler/parcel/issues/8813
import './main.css';
import './Foo/foo.css';
import('./Foo');
import('./index-sib'); | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/multi-css-multi-entry-bug/src/index-sib.js | packages/core/integration-tests/test/integration/multi-css-multi-entry-bug/src/index-sib.js |
import './main.css';
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/multi-css-multi-entry-bug/src/Foo/index.js | packages/core/integration-tests/test/integration/multi-css-multi-entry-bug/src/Foo/index.js | import './foo.css';
export default function () { return 'foo' };
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/html-css/index.js | packages/core/integration-tests/test/integration/html-css/index.js | require('./index.css');
alert('Hi');
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-a/src/index.js | packages/core/integration-tests/test/integration/target-source/packages/package-a/src/index.js | import foo from './foo';
console.log(foo());
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-a/src/indexAlternate2.js | packages/core/integration-tests/test/integration/target-source/packages/package-a/src/indexAlternate2.js | import foo from './foo';
console.log(foo());
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-a/src/indexAlternate.js | packages/core/integration-tests/test/integration/target-source/packages/package-a/src/indexAlternate.js | import bar from './bar';
console.log(bar());
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-a/src/bar.js | packages/core/integration-tests/test/integration/target-source/packages/package-a/src/bar.js | export default function() {
return 'hello bar!';
}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-a/src/foo.js | packages/core/integration-tests/test/integration/target-source/packages/package-a/src/foo.js | export default function() {
return 'hello foo5!';
}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-b/src/index.js | packages/core/integration-tests/test/integration/target-source/packages/package-b/src/index.js | import foo from './foo';
console.log(foo());
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-b/src/indexAlternate.js | packages/core/integration-tests/test/integration/target-source/packages/package-b/src/indexAlternate.js | import bar from './bar';
console.log(bar());
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-b/src/bar.js | packages/core/integration-tests/test/integration/target-source/packages/package-b/src/bar.js | export default function() {
return 'hello bar!';
}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/target-source/packages/package-b/src/foo.js | packages/core/integration-tests/test/integration/target-source/packages/package-b/src/foo.js | export default function() {
return 'hello foo5!';
}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/react-refresh-inline-script/index.js | packages/core/integration-tests/test/integration/react-refresh-inline-script/index.js | function App() {
return <div>test</div>;
}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/index.js | packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/index.js | import('./foo');
import('./bar');
import('./buzz');
export default 1;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/b.js | packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/b.js |
export default 5;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/bar.js | packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/bar.js | import foo from './a';
import bar from './b';
import styles from './styles.css';
import html from './local.html';
import c from './c';
export default 4;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/foo.js | packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/foo.js | import a from './a';
import b from './b';
export default a;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/c.js | packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/c.js | let str = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod massa sit amet tellus porta consectetur. Etiam aliquam pellentesque lorem id semper. Vestibulum ut rhoncus lacus, a blandit risus. Sed eget volutpat risus, eu molestie mi. Curabitur felis lacus, hendrerit id sollicitudin nec, sollicitudin ... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/buzz.js | packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/buzz.js | import c from './c';
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/a.js | packages/core/integration-tests/test/integration/shared-bundle-reused-bundle-remove-reuse/a.js | import foo from './foo';
export default 'a';
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/index-sync-async.js | packages/core/integration-tests/test/integration/lazy-compile/index-sync-async.js | export default () => {
return Promise.all([
import('./uses-static-component').then(c => {
return c.default()();
}),
import('./uses-static-component-async').then(c => {
return c.default();
}).then(s => {
return s();
})]);
} | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/index.js | packages/core/integration-tests/test/integration/lazy-compile/index.js | async function main() {
const m = await import('./lazy-1');
await import('./parallel-lazy-1');
return m.default();
}
main(); | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/lazy-1.js | packages/core/integration-tests/test/integration/lazy-compile/lazy-1.js | export default async () => {
const { world } = await import('./lazy-2');
return `Hello ${world}`;
} | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/static-component.js | packages/core/integration-tests/test/integration/lazy-compile/static-component.js | export default () => "static component"; | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/uses-static-component.js | packages/core/integration-tests/test/integration/lazy-compile/uses-static-component.js | import staticComponent from "./static-component"
export default () => {
return staticComponent;
} | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/lazy-2.js | packages/core/integration-tests/test/integration/lazy-compile/lazy-2.js | export const world = 'world'; | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/parallel-lazy-1.js | packages/core/integration-tests/test/integration/lazy-compile/parallel-lazy-1.js | export default async () => {
const m = await import('./parallel-lazy-2');
return m.default;
}; | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/uses-static-component-async.js | packages/core/integration-tests/test/integration/lazy-compile/uses-static-component-async.js | export default async () => {
const m = await import('./static-component');
return m.default;
} | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/lazy-compile/parallel-lazy-2.js | packages/core/integration-tests/test/integration/lazy-compile/parallel-lazy-2.js | export default 'parallel lazy 2'; | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-large/index.js | packages/core/integration-tests/test/integration/dynamic-common-large/index.js | var c = require('./c');
var a = import('./a');
var b = import('./b');
module.exports = function () {
return Promise.all([a, b]).then(function ([a, b]) {
return a.a + a.b + b;
});
};
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-large/b.js | packages/core/integration-tests/test/integration/dynamic-common-large/b.js | var c = require('./common');
module.exports = c + 2; | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-large/common.js | packages/core/integration-tests/test/integration/dynamic-common-large/common.js | require('./c');
module.exports = require('lodash').add(1, 1);
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-large/c.js | packages/core/integration-tests/test/integration/dynamic-common-large/c.js | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false | |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-large/a.js | packages/core/integration-tests/test/integration/dynamic-common-large/a.js | var c = require('./common');
exports.a = 1;
exports.b = c;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/babel-node-modules-source-unlinked/index.js | packages/core/integration-tests/test/integration/babel-node-modules-source-unlinked/index.js | import Foo from 'foo';
export {Foo};
export class Bar {}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/babel-node-modules-source-unlinked/node_modules/foo/index.js | packages/core/integration-tests/test/integration/babel-node-modules-source-unlinked/node_modules/foo/index.js | export default class Foo {}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/hmr-dispose/index.js | packages/core/integration-tests/test/integration/hmr-dispose/index.js | import {value} from "./local.js";
output(["eval:index", value, module.hot.data]);
module.hot.accept();
module.hot.dispose((data) => {
output(["dispose:index", value]);
data.value = value;
})
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/hmr-dispose/other.js | packages/core/integration-tests/test/integration/hmr-dispose/other.js | export const value = 1;
output(["eval:other", value, module.hot.data]);
module.hot.dispose((data) => {
output(["dispose:other", value]);
data.value = value;
})
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/hmr-dispose/local.js | packages/core/integration-tests/test/integration/hmr-dispose/local.js | export {value} from "./other.js";
import {value} from "./other.js";
output(["eval:local", value, module.hot.data]);
module.hot.dispose((data) => {
output(["dispose:local", value]);
data.value = value;
})
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/env-mutate/index.js | packages/core/integration-tests/test/integration/env-mutate/index.js | process.env.SOMETHING = "foo";
process.env.SOMETHING += "foo";
delete process.env.SOMETHING;
process.env.SOMETHING++;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/env-mutate/warn.js | packages/core/integration-tests/test/integration/env-mutate/warn.js | import 'foo';
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/env-mutate/node_modules/foo/index.js | packages/core/integration-tests/test/integration/env-mutate/node_modules/foo/index.js | output(process.env.SOMETHING = 'foo');
output(delete process.env.SOMETHING)
output(process.env.SOMETHING++);
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/posthtml/.posthtmlrc.js | packages/core/integration-tests/test/integration/posthtml/.posthtmlrc.js | module.exports = {
plugins: [
require('posthtml-include')({
root: __dirname
})
]
};
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/postcss-autoinstall/postcss-test/index.js | packages/core/integration-tests/test/integration/postcss-autoinstall/postcss-test/index.js | module.exports = (opts = {}) => {
return {
postcssPlugin: 'postcss-test',
Once(root, {result}) {
root.walkRules((rule) => {
rule.each((decl) => {
if (decl.value === 'red') {
decl.value = 'green';
}
});
});
},
};
};
module.exports.postcss = true... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/html-shared-worker/index.js | packages/core/integration-tests/test/integration/html-shared-worker/index.js | import _ from 'lodash';
output("main", _.add(1, 2));
new Worker(new URL('worker.js', import.meta.url), {type: 'module'});
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/html-shared-worker/worker.js | packages/core/integration-tests/test/integration/html-shared-worker/worker.js | import _ from 'lodash';
output("worker", _.add(1, 2));
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-small/common-dep.js | packages/core/integration-tests/test/integration/dynamic-common-small/common-dep.js | module.exports = 2;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-small/index.js | packages/core/integration-tests/test/integration/dynamic-common-small/index.js | var a = import('./a');
var b = import('./b');
module.exports = function () {
return Promise.all([a, b]).then(function ([a, b]) {
return a.a + a.b + b;
});
};
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-small/b.js | packages/core/integration-tests/test/integration/dynamic-common-small/b.js | var c = require('./common');
module.exports = c + 2; | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-small/common.js | packages/core/integration-tests/test/integration/dynamic-common-small/common.js | module.exports = require('./common-dep');
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/dynamic-common-small/a.js | packages/core/integration-tests/test/integration/dynamic-common-small/a.js | var c = require('./common');
exports.a = 1;
exports.b = c;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/react-refresh-automatic/Foo.js | packages/core/integration-tests/test/integration/react-refresh-automatic/Foo.js | // Don't import "react" to actually test automatic runtime check
import { useState } from "./hooks.js";
let Foo = () => {
const [x] = useState(Math.random());
return (
<div>
Functional:{x}
</div>
);
};
export default Foo;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/react-refresh-automatic/index.js | packages/core/integration-tests/test/integration/react-refresh-automatic/index.js | import { useState } from "react";
import ReactDOM from "react-dom/client";
import { App } from "./App";
import { act } from "react-dom/test-utils";
let Main = () => {
const [x] = useState(Math.random());
return (
<div>
<span>{x}</span> <App />
</div>
);
};
export default () =>
act(async () => {... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/react-refresh-automatic/App.js | packages/core/integration-tests/test/integration/react-refresh-automatic/App.js | import { useState } from "react";
import ReactDOM from "react-dom";
import Foo from "./Foo";
import { act } from "react-dom/test-utils";
export const App = () => {
const [x] = useState(Math.random());
return (
<div>
{x} <Foo />
</div>
);
};
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/react-refresh-automatic/hooks.js | packages/core/integration-tests/test/integration/react-refresh-automatic/hooks.js | import * as React from "react";
export function useState(init){
return React.useState(init);
}
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/react-refresh-automatic/Foo.1.js | packages/core/integration-tests/test/integration/react-refresh-automatic/Foo.1.js | // Don't import "react" to actually test automatic runtime check
import { useState } from "./hooks.js";
let Foo = () => {
const [x] = useState(Math.random());
return (
<div>
OtherFunctional:
<span>{x}</span>
</div>
);
};
export default Foo;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/html-js/index.js | packages/core/integration-tests/test/integration/html-js/index.js | import foo from "./other.js";
alert(foo);
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/html-js/other.js | packages/core/integration-tests/test/integration/html-js/other.js | class Useless {
constructor(message) {
this.message = message;
}
}
export default new Useless('other').message;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/commonjs/index.js | packages/core/integration-tests/test/integration/commonjs/index.js | var local = require('./local');
// eslint-disable-next-line no-unused-vars
var url = require('url');
module.exports = function () {
return local.a + local.b;
};
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/commonjs/local.js | packages/core/integration-tests/test/integration/commonjs/local.js | exports.a = 1;
exports.b = 2;
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/resolver-canDefer/index.js | packages/core/integration-tests/test/integration/resolver-canDefer/index.js | import {a, index} from "./library";
output = [a, index];
| javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/resolver-canDefer/node_modules/parcel-bundler-no-defer/index.js | packages/core/integration-tests/test/integration/resolver-canDefer/node_modules/parcel-bundler-no-defer/index.js | // @flow strict-local
/*::
import type {
Asset,
Bundle,
BundleGroup,
MutableBundleGraph,
PluginOptions,
} from "@parcel/types";
import type { SchemaEntity } from "@parcel/utils";
*/
const invariant = require('assert');
const {Bundler} = require('@parcel/plugin');
const {loadConfig, validateSchema} = require... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
parcel-bundler/parcel | https://github.com/parcel-bundler/parcel/blob/73f691d67d22482440babb2d1846b7da2160f7cc/packages/core/integration-tests/test/integration/resolver-canDefer/node_modules/parcel-resolver-no-defer/index.js | packages/core/integration-tests/test/integration/resolver-canDefer/node_modules/parcel-resolver-no-defer/index.js | // @flow
const {Resolver} = require('@parcel/plugin');
const path = require('path');
const {default: NodeResolver} = require('@parcel/node-resolver-core');
module.exports = new Resolver({
async resolve({dependency, options, specifier}) {
let mainFields = ['source', 'browser', 'module', 'main'];
const resol... | javascript | MIT | 73f691d67d22482440babb2d1846b7da2160f7cc | 2026-01-04T14:58:42.192224Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.