@modern-js/node-bundle-require 2.58.2 → 2.59.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.
@@ -1,5 +1,5 @@
1
1
  import path from "path";
2
- import { fs, pkgUp, nanoid, CONFIG_CACHE_DIR, createDebugger } from "@modern-js/utils";
2
+ import { fs, CONFIG_CACHE_DIR, createDebugger, nanoid, pkgUp } from "@modern-js/utils";
3
3
  import { build, context } from "esbuild";
4
4
  const debug = createDebugger("node-bundle");
5
5
  const JS_EXT_RE = /\.(mjs|cjs|ts|js|tsx|jsx)$/;
@@ -1,4 +1,4 @@
1
- import { type Plugin, type BuildOptions } from 'esbuild';
1
+ import { type BuildOptions, type Plugin } from 'esbuild';
2
2
  export declare const EXTERNAL_REGEXP: RegExp;
3
3
  export interface Options {
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/node-bundle-require",
3
- "version": "2.58.2",
3
+ "version": "2.59.0",
4
4
  "description": "A Progressive React Framework for modern web development.",
5
5
  "homepage": "https://modernjs.dev",
6
6
  "bugs": "https://github.com/web-infra-dev/modern.js/issues",
@@ -47,15 +47,15 @@
47
47
  "dependencies": {
48
48
  "@swc/helpers": "0.5.3",
49
49
  "esbuild": "0.17.19",
50
- "@modern-js/utils": "2.58.2"
50
+ "@modern-js/utils": "2.59.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/jest": "^29",
54
54
  "@types/node": "^14",
55
55
  "jest": "^29",
56
56
  "typescript": "^5",
57
- "@scripts/build": "2.58.2",
58
- "@scripts/jest-config": "2.58.2"
57
+ "@scripts/jest-config": "2.59.0",
58
+ "@scripts/build": "2.59.0"
59
59
  },
60
60
  "sideEffects": false,
61
61
  "publishConfig": {