@primate/core 0.4.0 → 0.4.2

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.
@@ -26,6 +26,7 @@ const externals = {
26
26
  const conditions = {
27
27
  node: ["node"],
28
28
  bun: ["bun", "node"],
29
+ deno: ["deno", "node"],
29
30
  };
30
31
  export default async function build_server(app) {
31
32
  const extensions = app.frontendExtensions;
@@ -18,6 +18,9 @@ export default function plugin_server_store(app) {
18
18
  paths: [args.resolveDir],
19
19
  });
20
20
  const module_dir = new FileRef(module_path).directory;
21
+ // built-ins have no .node and would otherwise cause global search
22
+ if (module_dir.path === ".")
23
+ return null;
21
24
  // check if this module has .node files
22
25
  const node_files = await module_dir
23
26
  .collect(f => f.path.endsWith(".node"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primate/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "The universal web framework",
5
5
  "homepage": "https://primate.run",
6
6
  "bugs": "https://github.com/primate-run/primate/issues",
@@ -31,6 +31,7 @@
31
31
  "@rcompat/runtime": "^0.6.0",
32
32
  "@rcompat/string": "^0.10.1",
33
33
  "@rcompat/type": "^0.6.1",
34
+ "esbuild": "^0.27.0",
34
35
  "pema": "^0.4.0"
35
36
  },
36
37
  "type": "module",