@lenso/workers-runtime 0.1.0 → 0.1.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/build.mjs +2 -2
  2. package/package.json +1 -1
package/build.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import { spawnSync } from "node:child_process";
3
3
  import { resolve } from "node:path";
4
4
  import { pathToFileURL } from "node:url";
5
- import { mkdirSync } from "node:fs";
5
+ import { mkdirSync, realpathSync } from "node:fs";
6
6
 
7
7
  // Paths come from the consumer, never a sibling repository's checkout layout.
8
8
  export function build({
@@ -89,7 +89,7 @@ export function build({
89
89
 
90
90
  if (
91
91
  process.argv[1] &&
92
- import.meta.url === pathToFileURL(resolve(process.argv[1])).href
92
+ import.meta.url === pathToFileURL(realpathSync(process.argv[1])).href
93
93
  ) {
94
94
  try {
95
95
  const options = {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenso/workers-runtime",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Event-owned resource and generation boundaries for Lenso Workers hosts",