@rstest/core 0.8.5 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/0~7882.js CHANGED
@@ -2,10 +2,10 @@ import "node:module";
2
2
  import { __webpack_require__ } from "./rslib-runtime.js";
3
3
  import { determineAgent, color } from "./3160.js";
4
4
  import { detect, resolveCommand } from "./9131.js";
5
- import { Ie, Me, ye, M, dist_Y, Se, ve, pD, xe } from "./0~9348.js";
5
+ import { Ie, Me, ye, M, dist_Y, Se, ve, pD, xe } from "./0~1240.js";
6
6
  import "./1157.js";
7
7
  const external_node_fs_ = __webpack_require__("node:fs");
8
- const external_node_path_ = __webpack_require__("path");
8
+ const external_node_path_ = __webpack_require__("node:path");
9
9
  function getUniqueBaseName(dir, baseName, ext) {
10
10
  const fullPath = external_node_path_["default"].join(dir, `${baseName}${ext}`);
11
11
  if (!external_node_fs_["default"].existsSync(fullPath)) return baseName;
@@ -164,18 +164,19 @@ export default function Counter({ initial = 0 }) {
164
164
  function getReactTestTemplate(lang) {
165
165
  const componentExt = 'ts' === lang ? 'tsx' : 'jsx';
166
166
  return `import { expect, test } from '@rstest/core';
167
- import { render } from '@rstest/browser-react';
168
- import Counter from './Counter.${componentExt}';
169
-
170
- test('increments count on button click', async () => {
171
- const screen = await render(<Counter initial={5} />);
167
+ import { page } from '@rstest/browser';
168
+ import { render } from '@rstest/browser-react';
169
+ import Counter from './Counter.${componentExt}';
170
+
171
+ test('increments count on button click', async () => {
172
+ await render(<Counter initial={5} />);
172
173
 
173
- await expect.element(screen.getByText('Count: 5')).toBeInTheDocument();
174
+ await expect.element(page.getByText('Count: 5')).toBeVisible();
174
175
 
175
- await screen.getByRole('button', { name: 'Increment' }).click();
176
- await expect.element(screen.getByText('Count: 6')).toBeInTheDocument();
177
- });
178
- `;
176
+ await page.getByRole('button', { name: 'Increment' }).click();
177
+ await expect.element(page.getByText('Count: 6')).toBeVisible();
178
+ });
179
+ `;
179
180
  }
180
181
  function getVanillaComponentTemplate(lang) {
181
182
  if ('ts' === lang) return `export function createCounter(initial = 0): HTMLElement {
@@ -237,15 +238,15 @@ function getVanillaTestTemplate(lang) {
237
238
  import { page } from '@rstest/browser';
238
239
  import { createCounter } from './Counter.${ext}';
239
240
 
240
- test('increments count on button click', async () => {
241
- document.body.appendChild(createCounter(5));
242
-
243
- await expect.element(page.getByText('Count: 5')).toBeInTheDocument();
244
-
245
- await page.getByRole('button', { name: 'Increment' }).click();
246
- await expect.element(page.getByText('Count: 6')).toBeInTheDocument();
247
- });
248
- `;
241
+ test('increments count on button click', async () => {
242
+ document.body.appendChild(createCounter(5));
243
+
244
+ await expect.element(page.getByText('Count: 5')).toBeVisible();
245
+
246
+ await page.getByRole('button', { name: 'Increment' }).click();
247
+ await expect.element(page.getByText('Count: 6')).toBeVisible();
248
+ });
249
+ `;
249
250
  }
250
251
  function getDependenciesWithVersions(framework, provider, rstestVersion) {
251
252
  const deps = {
@@ -372,7 +373,7 @@ async function createInteractive(cwd, projectInfo, isAgent) {
372
373
  }
373
374
  const provider = providerSelection;
374
375
  const preview = computeFilePreview(cwd, projectInfo);
375
- const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.8.5");
376
+ const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.9.0");
376
377
  const depsList = Object.entries(deps).map(([name, version])=>`${name}@${version}`).join(', ');
377
378
  const previewLines = [
378
379
  `${color.cyan('+')} Create ${preview.configFile}`,
@@ -450,7 +451,7 @@ async function generateFiles(cwd, projectInfo, provider) {
450
451
  updatePackageJsonScripts(cwd, {
451
452
  'test:browser': 'rstest --config=rstest.browser.config.ts'
452
453
  });
453
- const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.8.5");
454
+ const deps = getDependenciesWithVersions(effectiveFramework, provider, "0.9.0");
454
455
  updatePackageJsonDevDeps(cwd, deps);
455
456
  return createdFiles;
456
457
  }
package/dist/0~89.js CHANGED
@@ -3,9 +3,9 @@ import { __webpack_require__ } from "./rslib-runtime.js";
3
3
  import node_events from "node:events";
4
4
  import { Tinypool } from "tinypool";
5
5
  import node_inspector from "node:inspector";
6
- import { basename, needFlagExperimentalDetectModule, isDeno, dirname, castArray, resolve as pathe_M_eThtNZ_resolve, serializableConfig, node_process, isDebug, color, getForceColorEnv, ADDITIONAL_NODE_BUILTINS, bgColor, join } from "./3160.js";
6
+ import { basename, bgColor, isDeno, dirname, castArray, resolve as pathe_M_eThtNZ_resolve, node_process, isDebug, color, getForceColorEnv, ADDITIONAL_NODE_BUILTINS, join, needFlagExperimentalDetectModule } from "./3160.js";
7
7
  import { fileURLToPath } from "./6198.js";
8
- import { node_v8, parseWorkerMetaMessage, createBirpc } from "./5960.js";
8
+ import { parseWorkerMetaMessage, createBirpc } from "./4597.js";
9
9
  import { TEMP_RSTEST_OUTPUT_DIR, TEMP_RSTEST_OUTPUT_DIR_GLOB } from "./1157.js";
10
10
  import { posix } from "./7011.js";
11
11
  import { isBuiltin } from "./4881.js";
@@ -215,8 +215,6 @@ function createForksChannel(rpcMethods, onWorkerMeta, createBirpcImpl = createBi
215
215
  }
216
216
  };
217
217
  const rpc = createBirpcImpl(rpcMethods, {
218
- serialize: node_v8.serialize,
219
- deserialize: (v)=>node_v8.deserialize(Buffer.from(v)),
220
218
  timeout: -1,
221
219
  post (v) {
222
220
  emitter.emit(events.message, v);
@@ -244,7 +242,8 @@ const createForksPool = (poolOptions)=>{
244
242
  maxThreads,
245
243
  minThreads,
246
244
  concurrentTasksPerWorker: 1,
247
- isolateWorkers: isolate
245
+ isolateWorkers: isolate,
246
+ serialization: 'advanced'
248
247
  };
249
248
  const pool = new Tinypool(options);
250
249
  const stderrCapture = createWorkerStderrCapture(pool);
@@ -435,7 +434,7 @@ const createPool = async ({ context, recommendWorkerCount = 1 / 0 })=>{
435
434
  project: projectName,
436
435
  rootPath: context.rootPath,
437
436
  projectRoot: project.rootPath,
438
- runtimeConfig: serializableConfig(runtimeConfig)
437
+ runtimeConfig
439
438
  },
440
439
  type: 'run',
441
440
  setupEntries,
@@ -505,7 +504,7 @@ const createPool = async ({ context, recommendWorkerCount = 1 / 0 })=>{
505
504
  outputModule: project.outputModule,
506
505
  rootPath: context.rootPath,
507
506
  projectRoot: project.rootPath,
508
- runtimeConfig: serializableConfig(runtimeConfig)
507
+ runtimeConfig
509
508
  },
510
509
  type: 'collect',
511
510
  setupEntries,
@@ -538,7 +537,7 @@ function applyEnvChanges(changes) {
538
537
  }
539
538
  const globalSetup_filename = fileURLToPath(import.meta.url);
540
539
  const globalSetup_dirname = dirname(globalSetup_filename);
541
- async function createSetupPool() {
540
+ function createSetupPool() {
542
541
  const options = {
543
542
  runtime: 'child_process',
544
543
  filename: pathe_M_eThtNZ_resolve(globalSetup_dirname, './globalSetupWorker.js'),
@@ -552,6 +551,7 @@ async function createSetupPool() {
552
551
  minThreads: 1,
553
552
  concurrentTasksPerWorker: 1,
554
553
  isolateWorkers: false,
554
+ serialization: 'advanced',
555
555
  env: {
556
556
  NODE_ENV: 'test',
557
557
  ...getForceColorEnv(),
@@ -562,7 +562,7 @@ async function createSetupPool() {
562
562
  return pool;
563
563
  }
564
564
  async function runGlobalSetup({ globalSetupEntries, assetFiles, sourceMaps, interopDefault, outputModule }) {
565
- const pool = await createSetupPool();
565
+ const pool = createSetupPool();
566
566
  const result = await pool.run({
567
567
  type: 'setup',
568
568
  entries: globalSetupEntries,
@@ -601,7 +601,7 @@ async function runGlobalTeardown() {
601
601
  process.exitCode = 1;
602
602
  }
603
603
  }
604
- const external_node_path_ = __webpack_require__("path");
604
+ const external_node_path_ = __webpack_require__("node:path");
605
605
  const RUNTIME_CHUNK_NAME = 'runtime';
606
606
  const requireShim = `// Rstest ESM shims
607
607
  import __rstest_shim_module__ from 'node:module';
@@ -614,12 +614,11 @@ const pluginBasic = (context)=>({
614
614
  chain.optimization.splitChunks({
615
615
  chunks: 'all'
616
616
  });
617
- chain.module.rule(CHAIN_ID.RULE.JS).delete('type');
617
+ chain.module.rule(CHAIN_ID.RULE.JS).oneOf(CHAIN_ID.ONE_OF.JS_MAIN).delete('type');
618
618
  });
619
- api.modifyEnvironmentConfig(async (config, { mergeEnvironmentConfig, name })=>{
620
- const { normalizedConfig: { resolve, source, output, tools, performance, dev, testEnvironment }, outputModule, rootPath } = context.projects.find((p)=>p.environmentName === name);
619
+ api.modifyEnvironmentConfig((config, { mergeEnvironmentConfig, name })=>{
620
+ const { normalizedConfig: { resolve, source, output, tools, dev, testEnvironment }, outputModule, rootPath } = context.projects.find((p)=>p.environmentName === name);
621
621
  return mergeEnvironmentConfig(config, {
622
- performance,
623
622
  tools,
624
623
  resolve,
625
624
  source,
@@ -724,7 +723,7 @@ const pluginCSSFilter = ()=>({
724
723
  setup (api) {
725
724
  api.modifyBundlerChain({
726
725
  order: 'post',
727
- handler: async (chain, { target, CHAIN_ID, environment })=>{
726
+ handler: (chain, { target, CHAIN_ID, environment })=>{
728
727
  const emitCss = environment.config.output.emitCss ?? 'web' === target;
729
728
  if (!emitCss) {
730
729
  const ruleIds = [
@@ -735,7 +734,7 @@ const pluginCSSFilter = ()=>({
735
734
  ];
736
735
  for (const ruleId of ruleIds){
737
736
  if (!chain.module.rules.has(ruleId)) continue;
738
- const rule = chain.module.rule(ruleId);
737
+ const rule = chain.module.rule(ruleId).oneOf(CHAIN_ID.ONE_OF.CSS_MAIN);
739
738
  if (!rule.uses.has(CHAIN_ID.USE.CSS)) continue;
740
739
  const cssLoaderOptions = rule.use(CHAIN_ID.USE.CSS).get('options');
741
740
  if (cssLoaderOptions.modules && ('object' != typeof cssLoaderOptions.modules || false !== cssLoaderOptions.modules.auto)) rule.use('rstest-css-pre-filter').loader(external_node_path_["default"].join(css_filter_dirname, 'cssFilterLoader.mjs')).options({
@@ -821,7 +820,7 @@ function autoExternalNodeBuiltin({ request, dependencyType }, callback) {
821
820
  const pluginExternal = (context)=>({
822
821
  name: 'rstest:external',
823
822
  setup: (api)=>{
824
- api.modifyEnvironmentConfig(async (config, { mergeEnvironmentConfig, name })=>{
823
+ api.modifyEnvironmentConfig((config, { mergeEnvironmentConfig, name })=>{
825
824
  const { normalizedConfig: { testEnvironment }, outputModule } = context.projects.find((p)=>p.environmentName === name);
826
825
  return mergeEnvironmentConfig(config, {
827
826
  output: {
@@ -854,7 +853,7 @@ class IgnoreModuleNotFoundErrorPlugin {
854
853
  const pluginIgnoreResolveError = {
855
854
  name: 'rstest:ignore-resolve-error',
856
855
  setup: (api)=>{
857
- api.modifyRspackConfig(async (config)=>{
856
+ api.modifyRspackConfig((config)=>{
858
857
  config.plugins.push(new IgnoreModuleNotFoundErrorPlugin());
859
858
  config.optimization ??= {};
860
859
  config.optimization.emitOnErrors = true;
@@ -869,7 +868,7 @@ const pluginInspect = (options)=>{
869
868
  return enable ? {
870
869
  name: 'rstest:inspect',
871
870
  setup: (api)=>{
872
- api.modifyRspackConfig(async (config)=>{
871
+ api.modifyRspackConfig((config)=>{
873
872
  config.devtool = 'inline-nosources-source-map';
874
873
  config.optimization ??= {};
875
874
  config.optimization.splitChunks = {
@@ -929,7 +928,7 @@ class MockRuntimeRspackPlugin {
929
928
  const pluginMockRuntime = {
930
929
  name: 'rstest:mock-runtime',
931
930
  setup: (api)=>{
932
- api.modifyRspackConfig(async (config)=>{
931
+ api.modifyRspackConfig((config)=>{
933
932
  config.plugins.push(new MockRuntimeRspackPlugin(Boolean(config.output.module)));
934
933
  });
935
934
  }
@@ -979,7 +978,7 @@ const pluginCacheControl = (setupFiles)=>({
979
978
  }
980
979
  `
981
980
  }));
982
- api.modifyRspackConfig(async (config)=>{
981
+ api.modifyRspackConfig((config)=>{
983
982
  config.plugins.push(new RstestCacheControlPlugin());
984
983
  });
985
984
  }
@@ -1196,7 +1195,7 @@ const createRsbuildServer = async ({ globTestSourceEntries, setupFiles, globalSe
1196
1195
  return promise;
1197
1196
  };
1198
1197
  const buildData = {};
1199
- const getEntryFiles = async (manifest, outputPath)=>{
1198
+ const getEntryFiles = (manifest, outputPath)=>{
1200
1199
  const entryFiles = {};
1201
1200
  const entries = Object.keys(manifest.entries);
1202
1201
  for (const entry of entries){
@@ -1220,7 +1219,7 @@ const createRsbuildServer = async ({ globTestSourceEntries, setupFiles, globalSe
1220
1219
  chunks: true,
1221
1220
  timings: true
1222
1221
  });
1223
- const entryFiles = await getEntryFiles(manifest, outputPath);
1222
+ const entryFiles = getEntryFiles(manifest, outputPath);
1224
1223
  const entries = [];
1225
1224
  const setupEntries = [];
1226
1225
  const globalSetupEntries = [];
package/dist/0~9634.js CHANGED
@@ -4,15 +4,15 @@ import { logger as logger_logger, getTaskNameWithPrefix, color, bgColor } from "
4
4
  import { prepareRsbuild, createPool, createRsbuildServer, runGlobalTeardown, runGlobalSetup } from "./0~89.js";
5
5
  import { getTestEntries, resolveShardedEntries, prettyTestPath, ROOT_SUITE_NAME } from "./1157.js";
6
6
  const external_node_fs_ = __webpack_require__("node:fs");
7
- const external_node_path_ = __webpack_require__("path");
7
+ const external_node_path_ = __webpack_require__("node:path");
8
8
  const collectNodeTests = async ({ context, nodeProjects, globTestSourceEntries })=>{
9
9
  const { getSetupFiles } = await import("./6973.js").then((mod)=>({
10
10
  getSetupFiles: mod.getSetupFiles
11
11
  }));
12
12
  if (0 === nodeProjects.length) return {
13
13
  list: [],
14
- getSourceMap: async (_name)=>null,
15
- close: async ()=>{}
14
+ getSourceMap: async ()=>null,
15
+ close: async ()=>void 0
16
16
  };
17
17
  const setupFiles = Object.fromEntries(nodeProjects.map((project)=>{
18
18
  const { environmentName, rootPath, normalizedConfig: { setupFiles } } = project;
@@ -101,7 +101,7 @@ const collectNodeTests = async ({ context, nodeProjects, globTestSourceEntries }
101
101
  const collectBrowserTests = async ({ context, browserProjects, shardedEntries })=>{
102
102
  if (0 === browserProjects.length) return {
103
103
  list: [],
104
- close: async ()=>{}
104
+ close: async ()=>void 0
105
105
  };
106
106
  const { loadBrowserModule } = await import("./0~1472.js").then((mod)=>({
107
107
  loadBrowserModule: mod.loadBrowserModule
@@ -126,10 +126,10 @@ const collectTestFiles = async ({ context, globTestSourceEntries })=>{
126
126
  })));
127
127
  }
128
128
  return {
129
- close: async ()=>{},
129
+ close: async ()=>void 0,
130
130
  errors: [],
131
131
  list,
132
- getSourceMap: async (_name)=>null
132
+ getSourceMap: async ()=>null
133
133
  };
134
134
  };
135
135
  const collectAllTests = async ({ context, globTestSourceEntries, shardedEntries })=>{
package/dist/1157.js CHANGED
@@ -1441,7 +1441,7 @@ const globalApis = [
1441
1441
  'onTestFailed'
1442
1442
  ];
1443
1443
  const TS_CONFIG_FILE = 'tsconfig.json';
1444
- const external_node_path_ = __webpack_require__("path");
1444
+ const external_node_path_ = __webpack_require__("node:path");
1445
1445
  const external_node_fs_ = __webpack_require__("node:fs");
1446
1446
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
1447
1447
  function cleanPath(path) {
package/dist/1294.js CHANGED
@@ -4821,7 +4821,7 @@ __webpack_require__.add({
4821
4821
  },
4822
4822
  "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js" (module, __unused_rspack_exports, __webpack_require__) {
4823
4823
  const os = __webpack_require__("node:os");
4824
- const tty = __webpack_require__("node:tty");
4824
+ const tty = __webpack_require__("tty");
4825
4825
  const hasFlag = __webpack_require__("../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js");
4826
4826
  const { env } = process;
4827
4827
  let forceColor;
@@ -4906,6 +4906,7 @@ build_1["default"];
4906
4906
  const REAL_TIMERS = {};
4907
4907
  const setRealTimers = ()=>{
4908
4908
  REAL_TIMERS.setTimeout ??= globalThis.setTimeout.bind(globalThis);
4909
+ REAL_TIMERS.clearTimeout ??= globalThis.clearTimeout.bind(globalThis);
4909
4910
  };
4910
4911
  const getRealTimers = ()=>REAL_TIMERS;
4911
4912
  const formatTestError = (err, test)=>{
package/dist/3160.js CHANGED
@@ -79,15 +79,15 @@ __webpack_require__.add({
79
79
  "node:os" (module) {
80
80
  module.exports = __rspack_external_node_os_74b4b876;
81
81
  },
82
- path (module) {
82
+ "node:path" (module) {
83
83
  module.exports = __rspack_external_node_path_c5b9b54f;
84
84
  },
85
- "node:tty" (module) {
85
+ tty (module) {
86
86
  module.exports = __rspack_external_node_tty_c64aab7e;
87
87
  }
88
88
  });
89
89
  const external_node_os_ = __webpack_require__("node:os");
90
- const external_node_tty_ = __webpack_require__("node:tty");
90
+ const external_node_tty_ = __webpack_require__("tty");
91
91
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.argv) {
92
92
  const prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--';
93
93
  const position = argv.indexOf(prefix + flag);
@@ -347,27 +347,6 @@ let createLogger = (options = {})=>{
347
347
  return logger;
348
348
  };
349
349
  let src_logger = createLogger();
350
- /*!
351
- * Copyright 2017 Vercel, Inc.
352
- *
353
- * This file is derived from Vercel's detect-agent:
354
- * https://github.com/vercel/vercel/tree/main/packages/detect-agent
355
- *
356
- * Licensed under the Apache License, Version 2.0 (the "License");
357
- * you may not use this file except in compliance with the License.
358
- * You may obtain a copy of the License at
359
- *
360
- * http://www.apache.org/licenses/LICENSE-2.0
361
- *
362
- * Unless required by applicable law or agreed to in writing, software
363
- * distributed under the License is distributed on an "AS IS" BASIS,
364
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
365
- * See the License for the specific language governing permissions and
366
- * limitations under the License.
367
- *
368
- * Modifications in this derived work:
369
- * - Removed async determine logic, kept only env detection.
370
- */ const CURSOR = 'cursor';
371
350
  const CURSOR_CLI = 'cursor-cli';
372
351
  const CLAUDE = 'claude';
373
352
  const REPLIT = 'replit';
@@ -389,12 +368,6 @@ function determineAgent() {
389
368
  }
390
369
  };
391
370
  }
392
- if (process.env.CURSOR_TRACE_ID) return {
393
- isAgent: true,
394
- agent: {
395
- name: CURSOR
396
- }
397
- };
398
371
  if (process.env.CURSOR_AGENT) return {
399
372
  isAgent: true,
400
373
  agent: {
@@ -940,17 +913,6 @@ const getTaskNames = (test)=>(test.parentNames || []).concat(test.name).filter(B
940
913
  const getTaskNameWithPrefix = (test, delimiter = ">")=>getTaskNames(test).join(delimiter ? ` ${delimiter} ` : ' ');
941
914
  const REGEXP_FLAG_PREFIX = 'RSTEST_REGEXP:';
942
915
  const wrapRegex = (value)=>`${REGEXP_FLAG_PREFIX}${value.toString()}`;
943
- const unwrapRegex = (value)=>{
944
- if (value.startsWith(REGEXP_FLAG_PREFIX)) {
945
- const regexStr = value.slice(REGEXP_FLAG_PREFIX.length);
946
- const matches = regexStr.match(/^\/(.+)\/([gimuy]*)$/);
947
- if (matches) {
948
- const [, pattern, flags] = matches;
949
- return new RegExp(pattern, flags);
950
- }
951
- }
952
- return value;
953
- };
954
916
  const serializableConfig = (normalizedConfig)=>{
955
917
  const { testNamePattern } = normalizedConfig;
956
918
  return {
@@ -958,13 +920,6 @@ const serializableConfig = (normalizedConfig)=>{
958
920
  testNamePattern: testNamePattern && 'string' != typeof testNamePattern ? wrapRegex(testNamePattern) : testNamePattern
959
921
  };
960
922
  };
961
- const undoSerializableConfig = (normalizedConfig)=>{
962
- const { testNamePattern } = normalizedConfig;
963
- return {
964
- ...normalizedConfig,
965
- testNamePattern: testNamePattern && 'string' == typeof testNamePattern ? unwrapRegex(testNamePattern) : testNamePattern
966
- };
967
- };
968
923
  const getNodeVersion = ()=>{
969
924
  if ('string' == typeof process.versions?.node) {
970
925
  const [major = 0, minor = 0, patch = 0] = process.versions.node.split('.').map(Number);
@@ -1044,4 +999,4 @@ const logger_logger = {
1044
999
  console.error(message, ...args);
1045
1000
  }
1046
1001
  };
1047
- export { ADDITIONAL_NODE_BUILTINS, _path, basename, bgColor, castArray, clearScreen, color, determineAgent, dirname, formatError, formatRootStr, getAbsolutePath, getForceColorEnv, getTaskNameWithPrefix, isAbsolute, isDebug, isDeno, isObject, isTTY, join, logger_logger as logger, needFlagExperimentalDetectModule, node_process, normalize, parsePosix, prettyTime, relative, resolve, serializableConfig, stdin, stdout, undoSerializableConfig };
1002
+ export { ADDITIONAL_NODE_BUILTINS, _path, basename, bgColor, castArray, clearScreen, color, determineAgent, dirname, formatError, formatRootStr, getAbsolutePath, getForceColorEnv, getTaskNameWithPrefix, isAbsolute, isDebug, isDeno, isObject, isTTY, join, logger_logger as logger, needFlagExperimentalDetectModule, node_process, normalize, parsePosix, prettyTime, relative, resolve, serializableConfig, stdin, stdout };
@@ -212,5 +212,4 @@ function createBirpc($functions, options) {
212
212
  _promiseInit = on(onMessage);
213
213
  return rpc;
214
214
  }
215
- export { default as node_v8 } from "node:v8";
216
215
  export { createBirpc, createWorkerMetaMessage, parseWorkerMetaMessage };
package/dist/487.js CHANGED
@@ -35,7 +35,7 @@ __webpack_require__.add({
35
35
  "../../node_modules/.pnpm/source-map-support@0.5.21/node_modules/source-map-support/source-map-support.js" (module, exports, __webpack_require__) {
36
36
  module = __webpack_require__.nmd(module);
37
37
  var SourceMapConsumer = __webpack_require__("../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js").SourceMapConsumer;
38
- var path = __webpack_require__("path");
38
+ var path = __webpack_require__("node:path");
39
39
  var fs;
40
40
  try {
41
41
  fs = __webpack_require__("node:fs");