lannotebook 1.0.0 → 1.0.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.
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
+ import { pathToFileURL } from 'node:url';
3
4
  const require = createRequire(import.meta.url);
4
- await import(require.resolve('lanshare-cli/bin/lannotebook.js'));
5
+ await import(pathToFileURL(require.resolve('lanshare-cli/bin/lannotebook.js')).href);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lannotebook",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Shared LAN notebook: one full-page textarea served over HTTP, autosaved to a file, optional HTTP Basic auth. Thin wrapper around `lanshare note`.",
5
5
  "type": "module",
6
6
  "bin": { "lannotebook": "bin/lannotebook.js" },