Skip to content

Commit de49ab0

Browse files
committed
deps: updated polykey to 1.17.4
1 parent b1640f9 commit de49ab0

File tree

4 files changed

+6
-33
lines changed

4 files changed

+6
-33
lines changed

npmDepsHash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sha256-Qlb0t421b5vEVNipD4+9DSv8p4+3VUk2msZItehYilU=
1+
sha256-53xbQrJQVmMdxQL4MpZiZmInjR/Kw/LfVsQhCWGHMPI=

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"nexpect": "^0.6.0",
154154
"node-gyp-build": "^4.4.0",
155155
"nodemon": "^3.0.1",
156-
"polykey": "^1.17.3",
156+
"polykey": "^1.17.4",
157157
"prettier": "^3.0.0",
158158
"shelljs": "^0.8.5",
159159
"shx": "^0.3.4",

tests/utils/utils.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -88,30 +88,6 @@ async function nodesConnect(localNode: PolykeyAgent, remoteNode: PolykeyAgent) {
8888
);
8989
}
9090

91-
// This regex defines a vault secret path that always includes the secret path
92-
const secretPathRegex = /^([\w-]+)(?::)([^\0\\=]+)$/;
93-
const secretPathWithoutEnvArb = fc.stringMatching(secretPathRegex).noShrink();
94-
const environmentVariableAre = fc
95-
.stringMatching(binParsers.environmentVariableRegex)
96-
.filter((v) => v.length > 0)
97-
.noShrink();
98-
const secretPathWithEnvArb = fc
99-
.tuple(secretPathWithoutEnvArb, environmentVariableAre)
100-
.map((v) => v.join('='));
101-
const secretPathEnvArb = fc.oneof(
102-
secretPathWithoutEnvArb,
103-
secretPathWithEnvArb,
104-
);
105-
106-
const secretPathEnvArrayArb = fc
107-
.array(secretPathEnvArb, { minLength: 1, size: 'small' })
108-
.noShrink();
109-
const cmdArgsArrayArb = fc
110-
.array(fc.oneof(fc.string(), secretPathEnvArb, fc.constant('--')), {
111-
size: 'small',
112-
})
113-
.noShrink();
114-
11591
const vaultNameArb = fc
11692
.string({ minLength: 1, maxLength: 100 })
11793
.filter((str) => binParsers.vaultNameRegex.test(str))
@@ -123,8 +99,5 @@ export {
12399
describeIf,
124100
trackTimers,
125101
nodesConnect,
126-
secretPathEnvArb,
127-
secretPathEnvArrayArb,
128-
cmdArgsArrayArb,
129102
vaultNameArb,
130103
};

0 commit comments

Comments
 (0)