asherah 3.0.6 → 3.0.8
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.
- package/.asherah-version +1 -1
- package/README.md +6 -0
- package/package.json +22 -18
package/.asherah-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ASHERAH_VERSION=v0.4.
|
|
1
|
+
ASHERAH_VERSION=v0.4.33
|
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# asherah-node
|
|
2
|
+
|
|
1
3
|
Asherah envelope encryption and key rotation library
|
|
2
4
|
|
|
3
5
|
This is a wrapper of the Asherah Go implementation using the Cobhan FFI library
|
|
@@ -168,3 +170,7 @@ The `awsEnv.json` file would look like this (spelling errors intentional):
|
|
|
168
170
|
### Go and Alpine / musl libc
|
|
169
171
|
|
|
170
172
|
The Golang compiler when creating shared libraries (.so) uses a Thread Local Storage model of init-exec. This model is inheriently incompatible with loading libraries at runtime with dlopen(), unless your libc reserves some space for dlopen()'ed libraries which is something of a hack. The most common libc, glibc does in fact reserve space for dlopen()'ed libraries that use init-exec model. The libc provided with Alpine is musl libc, and it does not participate in this hack / workaround of reserving space. Most compilers generate libraries with a Thread Local Storage model of global-dynamic which does not require this workaround, and the authors of musl libc do not feel that workaround should exist.
|
|
173
|
+
|
|
174
|
+
## Updating npm packages
|
|
175
|
+
|
|
176
|
+
To update packages, run `npm run update`. This command uses [npm-check-updates](https://github.com/raineorshine/npm-check-updates) to bring all npm packages to their latest version. This command also runs `npm install` and `npm audit fix` for you.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asherah",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"description": "Asherah envelope encryption and key rotation library",
|
|
5
5
|
"exports": {
|
|
6
6
|
"node-addons": "./dist/asherah.node"
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"test": "nyc npm run test:mocha",
|
|
19
19
|
"debug": "nyc npm run test:mocha-debug",
|
|
20
20
|
"posttest": "npm run lint",
|
|
21
|
-
"lint": "eslint src
|
|
21
|
+
"lint": "eslint src/**.ts --fix",
|
|
22
|
+
"update": "npx npm-check-updates --target latest -u -x mocha && npm i && npm audit fix"
|
|
22
23
|
},
|
|
23
24
|
"keywords": [],
|
|
24
25
|
"author": "Jeremiah Gowdy <jeremiah@gowdy.me>",
|
|
@@ -45,21 +46,24 @@
|
|
|
45
46
|
".asherah-version"
|
|
46
47
|
],
|
|
47
48
|
"devDependencies": {
|
|
48
|
-
"@cucumber/cucumber": "^
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@types/
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"eslint": "^8.
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
49
|
+
"@cucumber/cucumber": "^11.2.0",
|
|
50
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
51
|
+
"@eslint/js": "^9.20.0",
|
|
52
|
+
"@types/chai": "^5.0.1",
|
|
53
|
+
"@types/mocha": "^10.0.10",
|
|
54
|
+
"@types/node": "^22.13.1",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
56
|
+
"@typescript-eslint/parser": "^8.24.0",
|
|
57
|
+
"chai": "^5.1.2",
|
|
58
|
+
"eslint": "^9.20.1",
|
|
59
|
+
"globals": "^15.15.0",
|
|
60
|
+
"microtime": "^3.1.1",
|
|
61
|
+
"mocha": "^10.0.0",
|
|
62
|
+
"node-api-headers": "^1.5.0",
|
|
63
|
+
"nyc": "^17.1.0",
|
|
64
|
+
"ts-mocha": "^10.0.0",
|
|
65
|
+
"typescript": "^5.7.3",
|
|
66
|
+
"winston": "^3.17.0"
|
|
63
67
|
},
|
|
64
68
|
"mocha": {
|
|
65
69
|
"extension": [
|
|
@@ -71,6 +75,6 @@
|
|
|
71
75
|
},
|
|
72
76
|
"types": "dist/asherah.d.ts",
|
|
73
77
|
"dependencies": {
|
|
74
|
-
"node-addon-api": "^
|
|
78
|
+
"node-addon-api": "^8.3.0"
|
|
75
79
|
}
|
|
76
80
|
}
|