Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion npmDepsHash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sha256-nLhK5IFu56uMrCsJUJud9lYTIkwkS377dRG+tvUml0w=
sha256-kW3V5S8Cp+VdzE9+npj6pl/GXoax7l4W7Ks9bcePxP8=
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polykey-cli",
"version": "0.18.5",
"version": "0.18.6",
"homepage": "https://polykey.com",
"author": "Roger Qiu",
"contributors": [
Expand Down Expand Up @@ -102,7 +102,8 @@
"node_modules/sodium-native/prebuilds/darwin-arm64/node.napi.node",
"node_modules/sodium-native/prebuilds/darwin-x64/node.napi.node",
"node_modules/sodium-native/prebuilds/linux-x64/node.napi.node",
"node_modules/sodium-native/prebuilds/win32-x64/node.napi.node"
"node_modules/sodium-native/prebuilds/win32-x64/node.napi.node",
"node_modules/sodium-native/index.js"
],
"scripts": [
"dist/polykeyWorkerManifest.js"
Expand Down
5 changes: 5 additions & 0 deletions shims/require-shim.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
* Some libraries that support ESM still use `require` which is causing problems in esbuild.
*/
import { createRequire } from 'node:module';
import { fileURLToPath } from 'node:url';
import path from 'node:path';
// eslint-disable-next-line no-global-assign
require = createRequire(import.meta.url);
let __dirname = path.dirname(fileURLToPath(import.meta.url));
export { __dirname };

Loading