rolldown-require 2.1.8-dev.20261127.1 → 2.1.8-dev.20261128.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -4
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { builtinModules, createRequire } from "node:module";
2
1
  import path from "node:path";
3
2
  import { fileURLToPath, pathToFileURL } from "node:url";
4
3
  import { rolldown } from "rolldown";
5
4
  import fs, { readFileSync } from "node:fs";
5
+ import { builtinModules, createRequire } from "node:module";
6
6
  import process from "node:process";
7
7
  import { exec } from "node:child_process";
8
- import { createFilter } from "@rollup/pluginutils";
8
+ import { createFilter as createFilter$1 } from "@rollup/pluginutils";
9
9
  import crypto from "node:crypto";
10
10
  import fsp from "node:fs/promises";
11
11
  import os from "node:os";
@@ -76,7 +76,7 @@ function loadPackageData(pkgPath) {
76
76
  if (sideEffect.includes("/")) return sideEffect;
77
77
  return `**/${sideEffect}`;
78
78
  });
79
- hasSideEffects = createFilter$1(finalPackageSideEffects, null, { resolve: pkgDir });
79
+ hasSideEffects = createFilter(finalPackageSideEffects, null, { resolve: pkgDir });
80
80
  }
81
81
  } else hasSideEffects = () => null;
82
82
  const resolvedCache = {};
@@ -151,7 +151,7 @@ function traverseBetweenDirs(longerDir, shorterDir, cb) {
151
151
  // src/utils.ts
152
152
  const MJS_MTS_EXT_RE = /\.m[jt]s$/;
153
153
  const CJS_CTS_EXT_RE = /\.c[jt]s$/;
154
- const createFilter$1 = createFilter;
154
+ const createFilter = createFilter$1;
155
155
  const NODE_BUILTIN_NAMESPACE = "node:";
156
156
  const NPM_BUILTIN_NAMESPACE = "npm:";
157
157
  const BUN_BUILTIN_NAMESPACE = "bun:";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rolldown-require",
3
3
  "type": "module",
4
- "version": "2.1.8-dev.20261127.1",
4
+ "version": "2.1.8-dev.20261128.1",
5
5
  "description": "bundle and require a file using rolldown!",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -58,7 +58,7 @@
58
58
  "tag": "snapshot-nightly"
59
59
  },
60
60
  "peerDependencies": {
61
- "rolldown": "1.2.16"
61
+ "rolldown": "1.3.4"
62
62
  },
63
63
  "dependencies": {
64
64
  "@rollup/pluginutils": "^5.5.1",
@@ -69,9 +69,9 @@
69
69
  },
70
70
  "repoctlSnapshot": {
71
71
  "kind": "nightly",
72
- "commit": "b453cfb6f53671af20a4e5d5cfada19d02ed0727",
73
- "buildId": "45938693108-1",
74
- "identityKey": "460abc9a51f6805a3059bd96334359b5bf782c688a2a2b7bc965f4cd1ee630f2",
72
+ "commit": "ec17eeb0c156fc6691bcbaf95e8686ac419a6e94",
73
+ "buildId": "46104956345-1",
74
+ "identityKey": "f53748ff8746c04dadf1ec0a2e5eb10f2a35ae28f655c747062d631b66171144",
75
75
  "tag": "snapshot-nightly"
76
76
  },
77
77
  "scripts": {