Home
last modified time | relevance | path

Searched refs:util_1 (Results 1 – 23 of 23) sorted by relevance

/third_party/node/deps/npm/node_modules/socks/build/common/
Dhelpers.js4 const util_1 = require("./util"); constant
17 throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksCommand, options);
21 … throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksCommandForOperation, options);
25 …throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsDestination, options…
29 … throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsProxy, options);
35 … throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsTimeout, options);
40 …throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsExistingSocket, opti…
51 throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksCommandChain, options);
55 …throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsDestination, options…
61 …throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsProxiesLength, optio…
[all …]
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/witness/tlog/
Dentry.js20 const util_1 = require("../../util"); constant
41 const b64Key = util_1.encoding.base64Encode(publicKey);
65 const encodedKey = util_1.encoding.base64Encode(publicKey);
81 const payloadHash = util_1.crypto.hash(envelope.payload).toString('hex');
86 const payload = util_1.encoding.base64Encode(envelope.payload.toString('base64'));
87 const sig = util_1.encoding.base64Encode(envelope.signatures[0].sig.toString('base64'));
89 const encodedKey = util_1.encoding.base64Encode(publicKey);
135 return util_1.crypto.hash(util_1.json.canonicalize(dsse)).toString('hex');
Dindex.js19 const util_1 = require("../../util"); constant
41 const bodyJSON = util_1.encoding.base64Decode(entry.body);
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/
Ddelegations.js7 const util_1 = __importDefault(require("util")); constant
34 return (util_1.default.isDeepStrictEqual(this.keys, other.keys) &&
35 util_1.default.isDeepStrictEqual(this.roles, other.roles) &&
36 util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields) &&
37 util_1.default.isDeepStrictEqual(this.succinctRoles, other.succinctRoles));
Dfile.js8 const util_1 = __importDefault(require("util")); constant
33 util_1.default.isDeepStrictEqual(this.hashes, other.hashes) &&
34 util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
117 util_1.default.isDeepStrictEqual(this.hashes, other.hashes) &&
118 util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
Drole.js9 const util_1 = __importDefault(require("util")); constant
42 util_1.default.isDeepStrictEqual(this.keyIDs, other.keyIDs) &&
43 util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
101 util_1.default.isDeepStrictEqual(this.paths, other.paths) &&
102 util_1.default.isDeepStrictEqual(this.pathHashPrefixes, other.pathHashPrefixes));
Dkey.js7 const util_1 = __importDefault(require("util")); constant
54 util_1.default.isDeepStrictEqual(this.keyVal, other.keyVal) &&
55 util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
Dtargets.js7 const util_1 = __importDefault(require("util")); constant
31 util_1.default.isDeepStrictEqual(this.targets, other.targets) &&
32 util_1.default.isDeepStrictEqual(this.delegations, other.delegations));
Droot.js7 const util_1 = __importDefault(require("util")); constant
54 util_1.default.isDeepStrictEqual(this.keys, other.keys) &&
55 util_1.default.isDeepStrictEqual(this.roles, other.roles));
Dmetadata.js8 const util_1 = __importDefault(require("util")); constant
107 util_1.default.isDeepStrictEqual(this.signatures, other.signatures) &&
108 util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
Dsnapshot.js7 const util_1 = __importDefault(require("util")); constant
28 return super.equals(other) && util_1.default.isDeepStrictEqual(this.meta, other.meta);
Dbase.js7 const util_1 = __importDefault(require("util")); constant
53 util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/bundler/
Dbundle.js43 const util_1 = require("../util"); constant
47 const digest = util_1.crypto.hash(artifact.data);
52 ? util_1.pem.toDER(signature.key.certificate)
65 ? util_1.pem.toDER(signature.key.certificate)
Ddsse.js19 const util_1 = require("../util"); constant
31 return util_1.dsse.preAuthEncoding(a.type, a.data);
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/witness/tsa/
Dclient.js21 const util_1 = require("../../util"); constant
32 artifactHash: util_1.crypto.hash(signature).toString('base64'),
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/external/
Dfulcio.js23 const util_1 = require("../util"); constant
35 'User-Agent': util_1.ua.getUserAgent(),
Dtsa.js23 const util_1 = require("../util"); constant
32 'User-Agent': util_1.ua.getUserAgent(),
Drekor.js23 const util_1 = require("../util"); constant
35 'User-Agent': util_1.ua.getUserAgent(),
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/signer/fulcio/
Dindex.js20 const util_1 = require("../../util"); constant
43 subject = util_1.oidc.extractJWTSubject(identityToken);
/third_party/node/deps/npm/node_modules/tuf-js/dist/
Dfetcher.js10 const util_1 = __importDefault(require("util")); constant
38 await util_1.default.promisify(fileStream.close).bind(fileStream)();
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/
Dverifier.js19 const util_1 = require("util"); constant
135 if ((0, util_1.isDeepStrictEqual)(arr[i], arr[j])) {
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js19 const util_1 = require("../common/util"); constant
20 …ports, "SocksClientError", { enumerable: true, get: function () { return util_1.SocksClientError; …
109 (0, util_1.shuffleArray)(options.proxies);
390 this.emit('error', new util_1.SocksClientError(err, this.options));
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs20599 var util_1 = require("util");
20623 chmod: fs9.chmod ? (0, util_1.promisify)(fs9.chmod) : async () => {
20625 mkdir: (0, util_1.promisify)(fs9.mkdir),
20626 readFile: (0, util_1.promisify)(fs9.readFile),
20627 stat: (0, util_1.promisify)(fs9.stat),
20628 unlink: (0, util_1.promisify)(fs9.unlink),
20629 writeFile: (0, util_1.promisify)(fs9.writeFile)