@blinkk/root-password-protect 2.2.1-alpha.0 → 2.2.1-alpha.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/plugin.js +1 -1
  2. package/package.json +6 -6
package/dist/plugin.js CHANGED
@@ -190,7 +190,7 @@ function ShieldIcon() {
190
190
  }
191
191
 
192
192
  // src/core/csp.ts
193
- import crypto from "node:crypto";
193
+ import crypto from "crypto";
194
194
  function generateNonce() {
195
195
  return crypto.randomBytes(16).toString("base64");
196
196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blinkk/root-password-protect",
3
- "version": "2.2.1-alpha.0",
3
+ "version": "2.2.1-alpha.1",
4
4
  "author": "s@blinkk.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -37,7 +37,7 @@
37
37
  "micromatch": "4.0.5"
38
38
  },
39
39
  "peerDependencies": {
40
- "@blinkk/root": "2.2.1-alpha.0",
40
+ "@blinkk/root": "2.2.1-alpha.1",
41
41
  "preact": ">=10",
42
42
  "preact-render-to-string": ">=5"
43
43
  },
@@ -45,10 +45,10 @@
45
45
  "@types/body-parser": "1.19.3",
46
46
  "@types/micromatch": "4.0.6",
47
47
  "@types/node": "20.11.25",
48
- "preact": "10.19.3",
49
- "preact-render-to-string": "6.3.1",
50
- "tsup": "8.0.1",
51
- "@blinkk/root": "2.2.1-alpha.0"
48
+ "preact": "10.27.1",
49
+ "preact-render-to-string": "6.6.1",
50
+ "tsup": "8.5.0",
51
+ "@blinkk/root": "2.2.1-alpha.1"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "rm -rf dist && tsup-node",