From 59e12f862c6ba129590a06fd9c1e62460f89f19c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Apr 2023 13:11:33 +0000 Subject: [PATCH] Bump sinon from 13.0.2 to 15.0.4 Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.2 to 15.0.4. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/compare/v13.0.2...v15.0.4) --- updated-dependencies: - dependency-name: sinon dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- api-gateway/package.json | 2 +- package-lock.json | 278 ++++++++++++++++++++++++--------------- yarn.lock | 82 +++++++----- 3 files changed, 224 insertions(+), 138 deletions(-) diff --git a/api-gateway/package.json b/api-gateway/package.json index 905a009cfc..86b326257f 100644 --- a/api-gateway/package.json +++ b/api-gateway/package.json @@ -34,7 +34,7 @@ "mocha-junit-reporter": "^2.0.2", "nodemon": "^2.0.12", "rewire": "^6.0.0", - "sinon": "^13.0.1", + "sinon": "^15.0.4", "tslint": "^6.1.3", "typescript": "^4.5.5" }, diff --git a/package-lock.json b/package-lock.json index 9640189a3b..ce81697a1b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "guardian", - "version": "2.11.0", + "version": "2.12.0-prerelease", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "guardian", - "version": "2.11.0", + "version": "2.12.0-prerelease", "workspaces": [ "interfaces", "common", @@ -21,13 +21,10 @@ "worker-service", "policy-service", "api-tests" - ], - "dependencies": { - "delayed-stream": "^1.0.0" - } + ] }, "api-docs": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { "dotenv": "^16.0.0", @@ -45,11 +42,11 @@ } }, "api-gateway": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@types/express-fileupload": "^1.4.1", "dotenv": "^16.0.0", "express": "^4.17.1", @@ -73,7 +70,7 @@ "mocha-junit-reporter": "^2.0.2", "nodemon": "^2.0.12", "rewire": "^6.0.0", - "sinon": "^13.0.1", + "sinon": "^15.0.4", "tslint": "^6.1.3", "typescript": "^4.5.5" } @@ -94,7 +91,7 @@ } }, "api-tests": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { "axios": "^0.25.0", @@ -108,11 +105,11 @@ } }, "auth-service": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@mikro-orm/core": "~5.3.0", "@mikro-orm/mongodb": "~5.3.0", "dotenv": "^16.0.0", @@ -136,11 +133,11 @@ }, "common": { "name": "@guardian/common", - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-secrets-manager": "^3.264.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -198,11 +195,11 @@ } }, "guardian-service": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -285,7 +282,7 @@ }, "interfaces": { "name": "@guardian/interfaces", - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { "reflect-metadata": "^0.1.13" @@ -311,11 +308,11 @@ } }, "logger-service": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@mikro-orm/core": "~5.3.0", "@mikro-orm/mongodb": "~5.3.0", "@web-std/fetch": "3.0.0", @@ -337,10 +334,10 @@ } }, "mrv-sender": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { - "@guardian/common": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", "@transmute/credentials-context": "0.7.0-unstable.80", "@transmute/did-context": "0.7.0-unstable.80", "@transmute/ed25519-signature-2018": "0.7.0-unstable.80", @@ -2685,38 +2682,56 @@ } }, "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", "dev": true, "dependencies": { "type-detect": "4.0.8" } }, "node_modules/@sinonjs/fake-timers": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", - "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", + "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^2.0.0" + } + }, + "node_modules/@sinonjs/fake-timers/node_modules/@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.7.0" + "type-detect": "4.0.8" } }, "node_modules/@sinonjs/samsam": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.1.1.tgz", - "integrity": "sha512-cZ7rKJTLiE7u7Wi/v9Hc2fs3Ucc3jrWeMgPHbbTCeVAB2S0wOBbYlkJVeNSL04i7fdhT8wIbDq1zhC/PXTD2SA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", + "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.6.0", + "@sinonjs/commons": "^2.0.0", "lodash.get": "^4.4.2", "type-detect": "^4.0.8" } }, + "node_modules/@sinonjs/samsam/node_modules/@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, "node_modules/@sinonjs/text-encoding": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", - "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz", + "integrity": "sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==", "dev": true }, "node_modules/@stablelib/aead": { @@ -9926,18 +9941,27 @@ } }, "node_modules/nise": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz", - "integrity": "sha512-yr5kW2THW1AkxVmCnKEh4nbYkJdB3I7LUkiUgOvEkOp414mc2UMaHMA7pjq1nYowhdoJZGwEKGaQVbxfpWj10A==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz", + "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": ">=5", + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "^10.0.2", "@sinonjs/text-encoding": "^0.7.1", "just-extend": "^4.0.2", "path-to-regexp": "^1.7.0" } }, + "node_modules/nise/node_modules/@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } + }, "node_modules/nise/node_modules/isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -12024,16 +12048,16 @@ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" }, "node_modules/sinon": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-13.0.2.tgz", - "integrity": "sha512-KvOrztAVqzSJWMDoxM4vM+GPys1df2VBoXm+YciyB/OLMamfS3VXh3oGh5WtrAGSzrgczNWFFY22oKb7Fi5eeA==", + "version": "15.0.4", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.4.tgz", + "integrity": "sha512-uzmfN6zx3GQaria1kwgWGeKiXSSbShBbue6Dcj0SI8fiCNFbiUDqKl57WFlY5lyhxZVUKmXvzgG2pilRQCBwWg==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": "^9.1.2", - "@sinonjs/samsam": "^6.1.1", - "diff": "^5.0.0", - "nise": "^5.1.1", + "@sinonjs/commons": "^3.0.0", + "@sinonjs/fake-timers": "^10.0.2", + "@sinonjs/samsam": "^8.0.0", + "diff": "^5.1.0", + "nise": "^5.1.4", "supports-color": "^7.2.0" }, "funding": { @@ -12041,6 +12065,15 @@ "url": "https://opencollective.com/sinon" } }, + "node_modules/sinon/node_modules/diff": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", + "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -13780,11 +13813,11 @@ } }, "policy-service": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -13867,7 +13900,7 @@ } }, "topic-viewer": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { "express": "^4.17.3" @@ -13879,7 +13912,7 @@ } }, "tree-viewer": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { "express": "^4.17.3" @@ -13891,11 +13924,11 @@ } }, "worker-service": { - "version": "2.11.0", + "version": "2.12.0-prerelease", "license": "Apache-2.0", "dependencies": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@transmute/credentials-context": "^0.7.0-unstable.80", "@transmute/did-context": "^0.7.0-unstable.80", @@ -15109,7 +15142,7 @@ "version": "file:common", "requires": { "@aws-sdk/client-secrets-manager": "^3.264.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -15816,38 +15849,60 @@ "dev": true }, "@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", + "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", "dev": true, "requires": { "type-detect": "4.0.8" } }, "@sinonjs/fake-timers": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", - "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz", + "integrity": "sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw==", "dev": true, "requires": { - "@sinonjs/commons": "^1.7.0" + "@sinonjs/commons": "^2.0.0" + }, + "dependencies": { + "@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + } } }, "@sinonjs/samsam": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.1.1.tgz", - "integrity": "sha512-cZ7rKJTLiE7u7Wi/v9Hc2fs3Ucc3jrWeMgPHbbTCeVAB2S0wOBbYlkJVeNSL04i7fdhT8wIbDq1zhC/PXTD2SA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.0.tgz", + "integrity": "sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==", "dev": true, "requires": { - "@sinonjs/commons": "^1.6.0", + "@sinonjs/commons": "^2.0.0", "lodash.get": "^4.4.2", "type-detect": "^4.0.8" + }, + "dependencies": { + "@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + } } }, "@sinonjs/text-encoding": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", - "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz", + "integrity": "sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==", "dev": true }, "@stablelib/aead": { @@ -16702,8 +16757,8 @@ "api-gateway": { "version": "file:api-gateway", "requires": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@types/express": "^4.17.13", "@types/express-fileupload": "^1.4.1", "@types/jszip": "^3.4.1", @@ -16723,7 +16778,7 @@ "nodemon": "^2.0.12", "reflect-metadata": "^0.1.13", "rewire": "^6.0.0", - "sinon": "^13.0.1", + "sinon": "^15.0.4", "tslint": "^6.1.3", "typescript": "^4.5.5", "ws": "^8.2.1", @@ -16867,8 +16922,8 @@ "auth-service": { "version": "file:auth-service", "requires": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@mikro-orm/core": "~5.3.0", "@mikro-orm/mongodb": "~5.3.0", "@types/jsonwebtoken": "^8.5.4", @@ -19178,8 +19233,8 @@ "guardian-service": { "version": "file:guardian-service", "requires": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -21103,8 +21158,8 @@ "logger-service": { "version": "file:logger-service", "requires": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@mikro-orm/core": "~5.3.0", "@mikro-orm/mongodb": "~5.3.0", "@types/fs-extra": "^9.0.12", @@ -21584,7 +21639,7 @@ "mrv-sender": { "version": "file:mrv-sender", "requires": { - "@guardian/common": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", "@transmute/credentials-context": "0.7.0-unstable.80", "@transmute/did-context": "0.7.0-unstable.80", "@transmute/ed25519-signature-2018": "0.7.0-unstable.80", @@ -21760,18 +21815,27 @@ } }, "nise": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz", - "integrity": "sha512-yr5kW2THW1AkxVmCnKEh4nbYkJdB3I7LUkiUgOvEkOp414mc2UMaHMA7pjq1nYowhdoJZGwEKGaQVbxfpWj10A==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.4.tgz", + "integrity": "sha512-8+Ib8rRJ4L0o3kfmyVCL7gzrohyDe0cMFTBa2d364yIrEGMEoetznKJx899YxjybU6bL9SQkYPSBBs1gyYs8Xg==", "dev": true, "requires": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": ">=5", + "@sinonjs/commons": "^2.0.0", + "@sinonjs/fake-timers": "^10.0.2", "@sinonjs/text-encoding": "^0.7.1", "just-extend": "^4.0.2", "path-to-regexp": "^1.7.0" }, "dependencies": { + "@sinonjs/commons": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", + "integrity": "sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -22556,8 +22620,8 @@ "policy-service": { "version": "file:policy-service", "requires": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", "@meeco/cryppo": "^2.0.2", @@ -23472,17 +23536,25 @@ } }, "sinon": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-13.0.2.tgz", - "integrity": "sha512-KvOrztAVqzSJWMDoxM4vM+GPys1df2VBoXm+YciyB/OLMamfS3VXh3oGh5WtrAGSzrgczNWFFY22oKb7Fi5eeA==", + "version": "15.0.4", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.0.4.tgz", + "integrity": "sha512-uzmfN6zx3GQaria1kwgWGeKiXSSbShBbue6Dcj0SI8fiCNFbiUDqKl57WFlY5lyhxZVUKmXvzgG2pilRQCBwWg==", "dev": true, "requires": { - "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": "^9.1.2", - "@sinonjs/samsam": "^6.1.1", - "diff": "^5.0.0", - "nise": "^5.1.1", + "@sinonjs/commons": "^3.0.0", + "@sinonjs/fake-timers": "^10.0.2", + "@sinonjs/samsam": "^8.0.0", + "diff": "^5.1.0", + "nise": "^5.1.4", "supports-color": "^7.2.0" + }, + "dependencies": { + "diff": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", + "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "dev": true + } } }, "slash": { @@ -24731,8 +24803,8 @@ "worker-service": { "version": "file:worker-service", "requires": { - "@guardian/common": "^2.11.0", - "@guardian/interfaces": "^2.11.0", + "@guardian/common": "^2.12.0-prerelease", + "@guardian/interfaces": "^2.12.0-prerelease", "@hashgraph/sdk": "^2.22.0", "@transmute/credentials-context": "^0.7.0-unstable.80", "@transmute/did-context": "^0.7.0-unstable.80", diff --git a/yarn.lock b/yarn.lock index 9c01e72165..4c559f867e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1638,32 +1638,41 @@ __metadata: languageName: node linkType: hard -"@sinonjs/commons@npm:^1.6.0, @sinonjs/commons@npm:^1.7.0, @sinonjs/commons@npm:^1.8.3": - version: 1.8.3 - resolution: "@sinonjs/commons@npm:1.8.3" +"@sinonjs/commons@npm:^2.0.0": + version: 2.0.0 + resolution: "@sinonjs/commons@npm:2.0.0" dependencies: type-detect: 4.0.8 - checksum: 6159726db5ce6bf9f2297f8427f7ca5b3dff45b31e5cee23496f1fa6ef0bb4eab878b23fb2c5e6446381f6a66aba4968ef2fc255c1180d753d4b8c271636a2e5 + checksum: 5023ba17edf2b85ed58262313b8e9b59e23c6860681a9af0200f239fe939e2b79736d04a260e8270ddd57196851dde3ba754d7230be5c5234e777ae2ca8af137 languageName: node linkType: hard -"@sinonjs/fake-timers@npm:>=5, @sinonjs/fake-timers@npm:^9.1.2": - version: 9.1.2 - resolution: "@sinonjs/fake-timers@npm:9.1.2" +"@sinonjs/commons@npm:^3.0.0": + version: 3.0.0 + resolution: "@sinonjs/commons@npm:3.0.0" dependencies: - "@sinonjs/commons": ^1.7.0 - checksum: 7d3aef54e17c1073101cb64d953157c19d62a40e261a30923fa1ee337b049c5f29cc47b1f0c477880f42b5659848ba9ab897607ac8ea4acd5c30ddcfac57fca6 + type-detect: 4.0.8 + checksum: b4b5b73d4df4560fb8c0c7b38c7ad4aeabedd362f3373859d804c988c725889cde33550e4bcc7cd316a30f5152a2d1d43db71b6d0c38f5feef71fd8d016763f8 languageName: node linkType: hard -"@sinonjs/samsam@npm:^6.1.1": - version: 6.1.1 - resolution: "@sinonjs/samsam@npm:6.1.1" +"@sinonjs/fake-timers@npm:^10.0.2": + version: 10.0.2 + resolution: "@sinonjs/fake-timers@npm:10.0.2" dependencies: - "@sinonjs/commons": ^1.6.0 + "@sinonjs/commons": ^2.0.0 + checksum: c62aa98e7cefda8dedc101ce227abc888dc46b8ff9706c5f0a8dfd9c3ada97d0a5611384738d9ba0b26b59f99c2ba24efece8e779bb08329e9e87358fa309824 + languageName: node + linkType: hard + +"@sinonjs/samsam@npm:^8.0.0": + version: 8.0.0 + resolution: "@sinonjs/samsam@npm:8.0.0" + dependencies: + "@sinonjs/commons": ^2.0.0 lodash.get: ^4.4.2 type-detect: ^4.0.8 - checksum: a09b0914bf573f0da82bd03c64ba413df81a7c173818dc3f0a90c2652240ac835ef583f4d52f0b215e626633c91a4095c255e0669f6ead97241319f34f05e7fc + checksum: 95e40d0bb9f7288e27c379bee1b03c3dc51e7e78b9d5ea6aef66a690da7e81efc4715145b561b449cefc5361a171791e3ce30fb1a46ab247d4c0766024c60a60 languageName: node linkType: hard @@ -2811,7 +2820,7 @@ __metadata: nodemon: ^2.0.12 reflect-metadata: ^0.1.13 rewire: ^6.0.0 - sinon: ^13.0.1 + sinon: ^15.0.4 tslint: ^6.1.3 typescript: ^4.5.5 ws: ^8.2.1 @@ -4247,7 +4256,7 @@ __metadata: languageName: node linkType: hard -"delayed-stream@npm:^1.0.0, delayed-stream@npm:~1.0.0": +"delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" checksum: 46fe6e83e2cb1d85ba50bd52803c68be9bd953282fa7096f51fc29edd5d67ff84ff753c51966061e5ba7cb5e47ef6d36a91924eddb7f3f3483b1c560f77a0020 @@ -4305,7 +4314,7 @@ __metadata: languageName: node linkType: hard -"diff@npm:5.0.0, diff@npm:^5.0.0": +"diff@npm:5.0.0": version: 5.0.0 resolution: "diff@npm:5.0.0" checksum: f19fe29284b633afdb2725c2a8bb7d25761ea54d321d8e67987ac851c5294be4afeab532bd84531e02583a3fe7f4014aa314a3eda84f5590e7a9e6b371ef3b46 @@ -4319,6 +4328,13 @@ __metadata: languageName: node linkType: hard +"diff@npm:^5.1.0": + version: 5.1.0 + resolution: "diff@npm:5.1.0" + checksum: c7bf0df7c9bfbe1cf8a678fd1b2137c4fb11be117a67bc18a0e03ae75105e8533dbfb1cda6b46beb3586ef5aed22143ef9d70713977d5fb1f9114e21455fba90 + languageName: node + linkType: hard + "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -5654,8 +5670,6 @@ __metadata: "guardian@workspace:.": version: 0.0.0-use.local resolution: "guardian@workspace:." - dependencies: - delayed-stream: ^1.0.0 languageName: unknown linkType: soft @@ -8520,16 +8534,16 @@ __metadata: languageName: node linkType: hard -"nise@npm:^5.1.1": - version: 5.1.1 - resolution: "nise@npm:5.1.1" +"nise@npm:^5.1.4": + version: 5.1.4 + resolution: "nise@npm:5.1.4" dependencies: - "@sinonjs/commons": ^1.8.3 - "@sinonjs/fake-timers": ">=5" + "@sinonjs/commons": ^2.0.0 + "@sinonjs/fake-timers": ^10.0.2 "@sinonjs/text-encoding": ^0.7.1 just-extend: ^4.0.2 path-to-regexp: ^1.7.0 - checksum: d8be29e84a014743c9a10f428fac86f294ac5f92bed1f606fe9b551e935f494d8e0ce1af8a12673c6014010ec7f771f2d48aa5c8e116f223eb4f40c5e1ab44b3 + checksum: bc57c10eaec28a6a7ddfb2e1e9b21d5e1fe22710e514f8858ae477cf9c7e9c891475674d5241519193403db43d16c3675f4207bc094a7a27b7e4f56584a78c1b languageName: node linkType: hard @@ -10344,17 +10358,17 @@ __metadata: languageName: node linkType: hard -"sinon@npm:^13.0.1": - version: 13.0.2 - resolution: "sinon@npm:13.0.2" +"sinon@npm:^15.0.4": + version: 15.0.4 + resolution: "sinon@npm:15.0.4" dependencies: - "@sinonjs/commons": ^1.8.3 - "@sinonjs/fake-timers": ^9.1.2 - "@sinonjs/samsam": ^6.1.1 - diff: ^5.0.0 - nise: ^5.1.1 + "@sinonjs/commons": ^3.0.0 + "@sinonjs/fake-timers": ^10.0.2 + "@sinonjs/samsam": ^8.0.0 + diff: ^5.1.0 + nise: ^5.1.4 supports-color: ^7.2.0 - checksum: 237f21c8c4a8b31574c71b1b9f4c0f74a63dde5c0e86bd116effa4ce63c52467bd45fb4034a8fa32656a7919d9b19fc7b108ca9e1e6e3144f3735da96dad2877 + checksum: a5e262c59a891daea405e4c432c5d703f888a7f738c42cb353c08867c920da85c528742025dd3b5cf17897101c7d7f77c287dcc1590103c351be98704e8a51eb languageName: node linkType: hard