{"_id":"@australiangreens/ag-error-jest","_rev":"17-e61f0e1bfc1a5c71698217367ec66139","name":"@australiangreens/ag-error-jest","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.3":{"name":"@australiangreens/ag-error-jest","version":"0.1.3","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.1.3","maintainers":[{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"dist":{"shasum":"a0b01ef113a1c93aa31353674b7f32e226c97f10","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.1.3.tgz","fileCount":15,"integrity":"sha512-aaTiuqAtCXj0PLxiOHBik1Hl3T4iENonvZyNOyEVTW4zzkjwagB+RUEogRSQ4/5smleWuoGb9TFgZqK2zlXZ/g==","signatures":[{"sig":"MEUCIQDJWT4pGImlntadJUPvfoMaeVrH4d2IDn5It4JbtLQ8ogIgFZQSoUxqspk/VnHpRiKZ4FiYRZSTJ1a1NdfV5hiWN0U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18719},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"7182c74d2a2da95c7781465b2c9aaf11be5647d2","private":false,"scripts":{"build":"yarn build:esm && yarn build:cjs && ./fixup.sh","eslint":"eslint --max-warnings 0 src","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -r ./dist; yarn build:esm && yarn build:cjs && ./fixup.sh"},"_npmUser":{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},"_npmVersion":"8.0.0","description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"_nodeVersion":"14.17.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","typescript":"^4.3.5","@types/jest":"^27.0.2","@types/node":"^16.10.2","eslint-plugin-tsdoc":"^0.2.14","eslint-plugin-import":"^2.24.0","@typescript-eslint/parser":"^4.29.2","eslint-config-airbnb-typescript":"^12.3.1","@typescript-eslint/eslint-plugin":"^4.29.2"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.1.3_1633680936212_0.11685050245970463","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@australiangreens/ag-error-jest","version":"0.1.4","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.1.4","maintainers":[{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"dist":{"shasum":"b000588e3913d771b6f9d3ee1296409caa36e697","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.1.4.tgz","fileCount":48,"integrity":"sha512-6iofoYmzLWYD5+787iJgMYw3jQzGV6EPLdCbz12hwGS+l/Zq4X/9Mha6tTOAHkn1EsQGphIm3EJrECt7pNDsVg==","signatures":[{"sig":"MEUCIQDjXGBYHwl3VN0q0p8CN+hj2qIEyoYvbYHvh07b/L6q6wIgGu3aef4OONHZTxaanQNeBtnV2MXXH6aqNFerB41abV8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32753},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"private":false,"scripts":{"build":"yarn build:esm && yarn build:cjs && ./fixup.sh","eslint":"eslint --max-warnings 0 src","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -r ./dist; yarn build:esm && yarn build:cjs && ./fixup.sh"},"_npmUser":{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},"description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","typescript":"^4.3.5","@types/jest":"^27.0.2","@types/node":"^16.10.2","eslint-plugin-tsdoc":"^0.2.14","eslint-plugin-import":"^2.24.0","@typescript-eslint/parser":"^4.29.2","eslint-config-airbnb-typescript":"^12.3.1","@typescript-eslint/eslint-plugin":"^4.29.2"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.1.4_1633682044801_0.5391100033241645","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@australiangreens/ag-error-jest","version":"0.1.5","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.1.5","maintainers":[{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","dist":{"shasum":"192a66a780e84d1fda41211a85d1b52cb9a77b65","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.1.5.tgz","fileCount":48,"integrity":"sha512-4E+S42KHmOofqyDQNLBNAzcOt2rC5fpaly8xKOngbFgSWUcD52QD06rRiv1SWdNYmUGQsqBRxDsRCLXpKB+hpw==","signatures":[{"sig":"MEUCICrugCyDCjMHWlW0X/oxZWOm+IpR24ShBcMgRscTZjaDAiEA4ZxmQGaBQhW5/WnK4flX5Pa5LHNQR0aEHZ+FXEWlRjo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32864},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"yarn build:esm && yarn build:cjs && ./fixup.sh","eslint":"eslint --max-warnings 0 src","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -r ./dist; yarn build:esm && yarn build:cjs && ./fixup.sh"},"_npmUser":{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},"repository":{"url":"https://github.com/australiangreens/ag-error-jest.git","type":"git"},"description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","typescript":"^4.3.5","@types/jest":"^27.0.2","@types/node":"^16.10.2","eslint-plugin-tsdoc":"^0.2.14","eslint-plugin-import":"^2.24.0","@typescript-eslint/parser":"^4.29.2","eslint-config-airbnb-typescript":"^12.3.1","@typescript-eslint/eslint-plugin":"^4.29.2"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.1.5_1633683559498_0.7658238408432043","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@australiangreens/ag-error-jest","version":"0.1.6","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.1.6","maintainers":[{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","dist":{"shasum":"ba09b18e5e4c95bada7041bd604c0d0b34b664d6","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.1.6.tgz","fileCount":48,"integrity":"sha512-ZzDcKvgpl7J+4jS1tLcIe56ydaOU01iFzXMGpWe6J7lLQyWOPKUyh8W2xqQ2UqQPvGE+IS67zV4f0d1/+8yQgQ==","signatures":[{"sig":"MEQCIGbUnJu4Orp3D5n1zfUT6Kq4hItMkEbQfaRc/B9LLl9FAiByNGMU4voG0iIGugCvOeRdkazB8/3DGyf2IXOTHUffnw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32940},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"yarn build:esm && yarn build:cjs && ./fixup.sh","eslint":"eslint --max-warnings 0 src","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -r ./dist; yarn build:esm && yarn build:cjs && ./fixup.sh"},"_npmUser":{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},"repository":{"url":"https://github.com/australiangreens/ag-error-jest.git","type":"git"},"description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","typescript":"^4.3.5","@types/jest":"^27.0.2","@types/node":"^16.10.2","eslint-plugin-tsdoc":"^0.2.14","eslint-plugin-import":"^2.24.0","@typescript-eslint/parser":"^4.29.2","eslint-config-airbnb-typescript":"^12.3.1","@typescript-eslint/eslint-plugin":"^4.29.2"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.1.6_1633684086321_0.4598934975535405","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@australiangreens/ag-error-jest","version":"0.1.7","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.1.7","maintainers":[{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","dist":{"shasum":"0b3a2c8cf6c99f516f31aaeee8d6aa3225219279","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.1.7.tgz","fileCount":48,"integrity":"sha512-JMRieTC20E7pGVVevsGgyZp25DEj57jZJLfZINcNSV8owiOS5EJZd/N9txCejHlO84cphTgFRGvVLtN4IwCx+g==","signatures":[{"sig":"MEUCIQDSmAgy4oct8I3KyznbLzHe9Lerzj8CI8QvJiS5vWmRawIgZbDHD/xNMGAGsfqLDFS6V2KPQ4MrpnWI7wFDpC/kN+g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32990},"main":"./dist/cjs/index.js","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"yarn build:esm && yarn build:cjs && ./fixup.sh","eslint":"eslint --max-warnings 0 src","prepack":"yarn eslint && yarn build:force","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -r ./dist; yarn build:esm && yarn build:cjs && ./fixup.sh"},"_npmUser":{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},"repository":{"url":"https://github.com/australiangreens/ag-error-jest.git","type":"git"},"description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","typescript":"^4.3.5","@types/jest":"^27.0.2","@types/node":"^16.10.2","eslint-plugin-tsdoc":"^0.2.14","eslint-plugin-import":"^2.24.0","@typescript-eslint/parser":"^4.29.2","eslint-config-airbnb-typescript":"^12.3.1","@typescript-eslint/eslint-plugin":"^4.29.2"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.1.7_1633916278624_0.18913725952212945","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@australiangreens/ag-error-jest","version":"0.1.8","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.1.8","maintainers":[{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","dist":{"shasum":"ac57a8fdd7344f4c540cf413bfaa212ad15118b6","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.1.8.tgz","fileCount":48,"integrity":"sha512-NMGi0ZP+EsuW0X9d+dFYGCoJUI28mTBTVwqNs1qKYgfl7DwBxlckamFfAFs+29N860O7hokcp+mBsXPI5bpuWg==","signatures":[{"sig":"MEYCIQCDKbexKuRrF6Hof6kRzkQh+2iFe1tc0kiZOgpFiApNGAIhAI4yHoc5L39jLJK61RINxxmm0OxA5CjRuJr49VFl8Cif","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33010},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"yarn build:esm && yarn build:cjs && ./fixup.sh","eslint":"eslint --max-warnings 0 src","prepack":"yarn eslint && yarn build:force","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -r ./dist; yarn build:esm && yarn build:cjs && ./fixup.sh"},"_npmUser":{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},"repository":{"url":"https://github.com/australiangreens/ag-error-jest.git","type":"git"},"description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","typescript":"^4.3.5","@types/jest":"^27.0.2","@types/node":"^16.10.2","eslint-plugin-tsdoc":"^0.2.14","eslint-plugin-import":"^2.24.0","@typescript-eslint/parser":"^4.29.2","eslint-config-airbnb-typescript":"^12.3.1","@typescript-eslint/eslint-plugin":"^4.29.2"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.1.8_1633917490808_0.011122357383229753","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@australiangreens/ag-error-jest","version":"0.1.9","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.1.9","maintainers":[{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","dist":{"shasum":"f8607b00e4ecfb994c28a286b89247a5e463953c","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.1.9.tgz","fileCount":48,"integrity":"sha512-T28ZWUq2DGv8hhTaA9n8XTw9Bj6u9w0wrGQ6+hf8/46hMHrJ5wBJO975dqg4aDJKertEBE72+F3R7odzHbsurA==","signatures":[{"sig":"MEUCIGxiKZU5DMdAqoPqhZN5BOeHN0mukWNGPkY9dlq33y8KAiEArRvRen+DoEQOKJjGZO3bR3mMxWGv9Lum8xHFkfoiEyY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzGnOCRA9TVsSAnZWagAA1TwP/iQgXiWNpMezBx6XgT1L\nwjv+UGgqqCFF0xlGEWCJLIbJTY6r2fPqz+RiqjnTtAh2JbYOM63oe6iwBdtM\n3r2P2ttGYpqKnxG08I9lxm+anZPKMeqODPb6v+KgbdufBIw+O28NSWieyn6E\nym0LUZzFfjik0KZWMcqiKEq7X+tpo0HaYDy7YyO9WGSOvroFTltbfSHKxJnS\nfmdbc7qi5DgCL9eQFCvyxHOAba51kL0JEpHxpiIMJecz/fLJHcERSsvABRh0\nqfzzyJV92KbVhhBYuH+QFcUCanm9YaZ9gErNdUHLM+jRBEq4iHlA+tALhIKk\naRUE1lKixBctR7K1UpZdsVgUdmRdGv/1uzCMXTDKt151Xea7mUuDfsUs9mqF\nPdeeHFQm8RJB37gsjUMbI31b0MnkRjRfd74wcBr4CV87cn/0dlEhizwSn1wK\nGXDkDcCqDS8PBLWXIHG+py4QlEwMdFcxp1PbGDZPdh3Z5K4LvTRmPuw4hiqz\naShvanEQF6BA+QXNAOMprf1PzOq/e/Zt7qKCybNktPV8JR8KSzro8TyOQ8m5\nqlocaaK0tZG/iZXNZ1u3QbqFAaD8Zl9B0BvTXpidC9tE9MRd/kHqGge/CWDW\nuPXwHbWIZO3Y/8CF5jZE4lMkcO5fHTZaHO4NwupjbNzwcbSmaaDP5PWriZNL\nMS9C\r\n=0v88\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"yarn build:esm && yarn build:cjs && ./fixup.sh","eslint":"eslint --max-warnings 0 src","prepack":"yarn eslint && yarn build:force","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -r ./dist; yarn build:esm && yarn build:cjs && ./fixup.sh"},"_npmUser":{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},"repository":{"url":"https://github.com/australiangreens/ag-error-jest.git","type":"git"},"description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","typescript":"^4.3.5","@types/jest":"^27.0.2","@types/node":"^16.10.2","eslint-plugin-tsdoc":"^0.2.14","eslint-plugin-import":"^2.24.0","@typescript-eslint/parser":"^4.29.2","eslint-config-airbnb-typescript":"^12.3.1","@typescript-eslint/eslint-plugin":"^4.29.2"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.1.9_1633936494854_0.6770680233578541","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@australiangreens/ag-error-jest","version":"0.3.0","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.3.0","maintainers":[{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"australiangreens-cicd","email":"webops@greens.org.au"},{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","bugs":{"url":"https://github.com/australiangreens/ag-error-jest/issues"},"dist":{"shasum":"78059e8efa4f1e6759ea1988695bd7887490e4c5","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.3.0.tgz","fileCount":40,"integrity":"sha512-rsAPVqg7TgunzSqtqlrnpM4UGhmhY2WDNOT0yX/OuqLElDCFHSJ9NWMSMLmgWjBU8F6KSLPKiRV4PI5CFTM9rg==","signatures":[{"sig":"MEYCIQDLMn1tF1mt3COtE0RKY48C+C82qnrKh2/l+/MyvHGfcAIhAN4OfZypN0n0+JKjrlSkAljkSeYXG7pNzdrjaSLYEqm0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33250},"main":"./dist/cjs/index.js","type":"module","_from":"file:australiangreens-ag-error-jest-0.3.0.tgz","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=24"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint --max-warnings 0 src","ship":"pnpm publish --no-git-checks","build":"pnpm build:esm && pnpm build:cjs && ./fixup.sh","release":"node scripts/release.js","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -rf ./dist && pnpm build:esm && pnpm build:cjs && ./fixup.sh"},"_npmUser":{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"},"_resolved":"/tmp/8d055e788c6f2a92208f33f289ca45cb/australiangreens-ag-error-jest-0.3.0.tgz","_integrity":"sha512-rsAPVqg7TgunzSqtqlrnpM4UGhmhY2WDNOT0yX/OuqLElDCFHSJ9NWMSMLmgWjBU8F6KSLPKiRV4PI5CFTM9rg==","repository":{"url":"git+https://github.com/australiangreens/ag-error-jest.git","type":"git"},"_npmVersion":"11.17.0","description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.0","eslint":"^9.36.0","typescript":"^6.0.0","@types/jest":"^30.0.0","@types/node":"^24.0.0","typescript-eslint":"^8.0.0","@australiangreens/ag-error":"^0.2.0"},"peerDependencies":{"jest":">=29","@australiangreens/ag-error":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.3.0_1786431267202_0.288341467361251","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@australiangreens/ag-error-jest","version":"0.3.1","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.3.1","maintainers":[{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"australiangreens-cicd","email":"webops@greens.org.au"},{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","bugs":{"url":"https://github.com/australiangreens/ag-error-jest/issues"},"dist":{"shasum":"d59caf6da68b1a6e62edf2aa7dfc59c915abb7ec","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.3.1.tgz","fileCount":40,"integrity":"sha512-kVHR/byO9FHp2Yrfya07dRXrOTfvGInva0V5VQBUOaAWSgS7YjNZ0gh1Ipx+00bAXy2Ig51U6yW/vjFcjzB4YA==","signatures":[{"sig":"MEYCIQD5rf7eFRoq4RropTkfqyDzM76QJY4i/geop46jwgA7iQIhALPelMW0A8VqgZ4pMwzOuxfDu54ENBXV8z2pPwU6oGO5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33252},"main":"./dist/cjs/index.js","type":"module","_from":"file:australiangreens-ag-error-jest-0.3.1.tgz","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=24"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint --max-warnings 0 src","ship":"pnpm publish --no-git-checks","build":"pnpm build:esm && pnpm build:cjs && ./fixup.sh","release":"node scripts/release.js","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -rf ./dist && pnpm build:esm && pnpm build:cjs && ./fixup.sh"},"_npmUser":{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"},"_resolved":"/tmp/9d2b8f2814b2ae87bcfe69fdd93015ed/australiangreens-ag-error-jest-0.3.1.tgz","_integrity":"sha512-kVHR/byO9FHp2Yrfya07dRXrOTfvGInva0V5VQBUOaAWSgS7YjNZ0gh1Ipx+00bAXy2Ig51U6yW/vjFcjzB4YA==","repository":{"url":"git+https://github.com/australiangreens/ag-error-jest.git","type":"git"},"_npmVersion":"11.17.0","description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","eslint":"^9.39.5","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^24.13.3","typescript-eslint":"^8.67.0","@australiangreens/ag-error":"^0.2.1"},"peerDependencies":{"jest":">=29","@australiangreens/ag-error":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.3.1_1786580904407_0.28623274671606636","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@australiangreens/ag-error-jest","version":"0.4.0","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","_id":"@australiangreens/ag-error-jest@0.4.0","maintainers":[{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"australiangreens-cicd","email":"webops@greens.org.au"},{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"}],"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"homepage":"https://github.com/australiangreens/ag-error-jest#readme","bugs":{"url":"https://github.com/australiangreens/ag-error-jest/issues"},"dist":{"shasum":"52bfa6f1b26121a0e96b70384c3d55d90508cb06","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.4.0.tgz","fileCount":40,"integrity":"sha512-FnVpdda0tRiOhQb9bVuD3kxQSwwTTTvpi1K2mJTPqPYFAIc9Ut2MwSaQg8pk4SbD+F0mjTTpyfvz13T7PIdOPw==","signatures":[{"sig":"MEYCIQD9GIjrIkYu74HQXpd9pEFfXwjJ30AoHCz0CKhNbxPFlgIhAKU+thHHTWXAnfgcCzm0ds13s9ml8e34lCfWsytdX/eB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33164},"main":"./dist/cjs/index.js","type":"module","_from":"file:australiangreens-ag-error-jest-0.4.0.tgz","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=24"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint --max-warnings 0 src","ship":"pnpm publish --no-git-checks","build":"pnpm build:esm && pnpm build:cjs && ./fixup.sh","release":"node scripts/release.js","build:cjs":"tsc --project ./tsconfig-cjs.json","build:esm":"tsc --project ./tsconfig.json","build:force":"rm -rf ./dist && pnpm build:esm && pnpm build:cjs && ./fixup.sh"},"_npmUser":{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"},"_resolved":"/tmp/e558587d8db22bd9fd63fa1545256b65/australiangreens-ag-error-jest-0.4.0.tgz","_integrity":"sha512-FnVpdda0tRiOhQb9bVuD3kxQSwwTTTvpi1K2mJTPqPYFAIc9Ut2MwSaQg8pk4SbD+F0mjTTpyfvz13T7PIdOPw==","repository":{"url":"git+https://github.com/australiangreens/ag-error-jest.git","type":"git"},"_npmVersion":"11.17.0","description":"Provides jest matchers to simplify testing of subclasses of AgErrors from the ag-error package","directories":{},"sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.4.2","eslint":"^10.8.1","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^24.13.3","typescript-eslint":"^8.67.0"},"peerDependencies":{"jest":">=29"},"_npmOperationalInternal":{"tmp":"tmp/ag-error-jest_0.4.0_1786923912041_0.554229538714571","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@australiangreens/ag-error-jest","version":"0.5.0","description":"Provides Jest/Vitest matchers to simplify testing of subclasses of AgErrors from the ag-error package","author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"license":"MIT","homepage":"https://github.com/australiangreens/ag-error-jest#readme","repository":{"type":"git","url":"git+https://github.com/australiangreens/ag-error-jest.git"},"type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"types":"./dist/esm/index.d.ts","sideEffects":["dist/cjs/jest/index.js","dist/esm/jest/index.js"],"engines":{"node":">=24"},"peerDependencies":{"jest":">=29","vitest":">=1.0.0"},"peerDependenciesMeta":{"jest":{"optional":true},"vitest":{"optional":true}},"devDependencies":{"@types/jest":"^30.0.0","@types/node":"^24.13.3","eslint":"^10.9.0","jest":"^30.4.2","typescript":"^6.0.3","typescript-eslint":"^8.67.0","vitest":"^4.1.11"},"scripts":{"build:esm":"tsc --project ./tsconfig.json","build:cjs":"tsc --project ./tsconfig-cjs.json","build":"pnpm build:esm && pnpm build:cjs && ./fixup.sh","build:force":"rm -rf ./dist && pnpm build:esm && pnpm build:cjs && ./fixup.sh","lint":"eslint --max-warnings 0 src","release":"node scripts/release.js","ship":"pnpm publish --no-git-checks"},"_id":"@australiangreens/ag-error-jest@0.5.0","bugs":{"url":"https://github.com/australiangreens/ag-error-jest/issues"},"_integrity":"sha512-1fm/wF9OP7OTbCHoao7ozbotLM76Urp0sSAlQvTfTLXtUTqJ0u/q/GPv0qQ0FAenesgSZtICUzHPsAiBLKcrhQ==","_resolved":"/tmp/e013446f22bd581d05940cbca58b1ba6/australiangreens-ag-error-jest-0.5.0.tgz","_from":"file:australiangreens-ag-error-jest-0.5.0.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-1fm/wF9OP7OTbCHoao7ozbotLM76Urp0sSAlQvTfTLXtUTqJ0u/q/GPv0qQ0FAenesgSZtICUzHPsAiBLKcrhQ==","shasum":"8f327b3c77d899f986cdb68608a5c4baaf7de8d0","tarball":"https://registry.npmjs.org/@australiangreens/ag-error-jest/-/ag-error-jest-0.5.0.tgz","fileCount":40,"unpackedSize":33860,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCZ/dqOKO0GHu6U8hLKiRF+/i78nHYGVgXywarpuEjn9gIhAIY4/9lW2RHmEMyTlIiRVRYVb3hwOkA01KGeuJjavjOl"}]},"_npmUser":{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"},"directories":{},"maintainers":[{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"australiangreens-cicd","email":"webops@greens.org.au"},{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ag-error-jest_0.5.0_1787551152870_0.11191408644156176"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-08T08:15:36.141Z","modified":"2026-08-24T05:59:13.178Z","0.1.3":"2021-10-08T08:15:36.331Z","0.1.4":"2021-10-08T08:34:04.956Z","0.1.5":"2021-10-08T08:59:19.708Z","0.1.6":"2021-10-08T09:08:06.462Z","0.1.7":"2021-10-11T01:37:58.743Z","0.1.8":"2021-10-11T01:58:10.944Z","0.1.9":"2021-10-11T07:14:55.002Z","0.3.0":"2026-08-11T06:54:27.357Z","0.3.1":"2026-08-13T00:28:24.562Z","0.4.0":"2026-08-16T23:45:12.179Z","0.5.0":"2026-08-24T05:59:12.994Z"},"bugs":{"url":"https://github.com/australiangreens/ag-error-jest/issues"},"author":{"name":"The Australian Greens","email":"webops@greens.org.au"},"license":"MIT","homepage":"https://github.com/australiangreens/ag-error-jest#readme","repository":{"type":"git","url":"git+https://github.com/australiangreens/ag-error-jest.git"},"description":"Provides Jest/Vitest matchers to simplify testing of subclasses of AgErrors from the ag-error package","contributors":[{"name":"Anthony Blond","email":"anthony@unfinishedteleporter.com"}],"maintainers":[{"name":"ineffyble","email":"dev@effy.is"},{"name":"anthonyblond","email":"anthony@unfinishedteleporter.com"},{"name":"johntwyman","email":"john.twyman@greens.org.au"},{"name":"australiangreens-cicd","email":"webops@greens.org.au"},{"name":"peterkmurphy-ag","email":"peter.murphy@greens.org.au"}],"readme":"# ag-error-jest\n\nProvides Jest/Vitest matchers to simplify testing of subclasses of AgErrors from\nthe [ag-error](https://www.npmjs.com/package/@australiangreens/ag-error) package.\nSee the ag-error readme for more detail about AgErrors themselves.\n\n## Installation\n\nWith pnpm:\n\n```sh\npnpm add -D @australiangreens/ag-error-jest\n```\n\nWith npm:\n\n```sh\nnpm install --save-dev @australiangreens/ag-error-jest\n```\n\nPeer dependencies (provide **one** of these; both are marked optional):\n\n- `jest` (>=29), or\n- `vitest` (>=1)\n\nThe matchers use `expect.extend`, which both runners support. Type definitions augment **both** Jest's `namespace jest` and Vitest's `declare module 'vitest'` `Matchers` interface, so custom matchers type-check under either runner.\n\n## Setup\n\nMaking use of the package once installed works like\n[jest-extended](https://github.com/jest-community/jest-extended): it registers\nmatchers via side effects.\n\n### Jest\n\nAdd `ag-error-jest` to `setupFilesAfterEnv`. See the [Jest\ndocs](https://jestjs.io/docs/configuration).\n\n```js\n// jest.config.js\nexport default {\n  //...\n  setupFilesAfterEnv: ['@australiangreens/ag-error-jest'],\n  //...\n};\n```\n\n### Vitest\n\nAdd it to `setupFiles` (or import from an existing setup file):\n\n```ts\n// vitest.config.ts\nimport { defineConfig } from 'vitest/config';\n\nexport default defineConfig({\n  test: {\n    setupFiles: ['@australiangreens/ag-error-jest'],\n  },\n});\n```\n\n### Shared setup file\n\nIf you already have a setup file referenced from Jest or Vitest, import there\ninstead:\n\n```ts\nimport '@australiangreens/ag-error-jest';\n```\n\n## Usage\n\nSo your test files for each error only needs to be something like:\n\n```ts\nimport { BoilerplateError } from './BoilerplateError';\n\ntest('BoilerplateError meets requirements to be a valid AgError', () => {\n  expect(BoilerplateError).toBeValidAgErrorClass(\n    'BoilerplateError',\n    'AgError:BoilerplateError',\n  );\n});\n```\n\n## Caveat: Different constructor signature\n\nIf you add extra arguments to the constructor, the `toBeValidAgErrorClass()`\nmatcher may not work. In this case you should should be able to use\n`toBeValidAgErrorObject()` which checks the first two requirements, but will\nneed to manually test the first.\n\nThe following example shows a test for a special CiviApiAxiosError error that is\na wrapper for axios related errors.\n\n```ts\nimport { CiviApiAxiosError } from './CiviApiAxiosError';\nimport { createAxiosError } from '../../../utils/testing';\n\ntest('CiviApiAxiosError meets requirements to be a valid AgError', () => {\n  const err = new CiviApiAxiosError('some message', createAxiosError('Network Error', {}, null, {}, null));\n  expect(err).toBeValidAgErrorObject('CiviApiAxiosError', 'AgError:BoilerplateError:CiviApiError:CiviApiAxiosError');\n\n  // This is the bit we have to do manually.\n  // Not a normal sort of test, but basically want to ensure the way we've done\n  // this doesn't actually end up using the class name even if minified. We can\n  // (sort of) emulate this by deliberately breaking our own rules using a name\n  // that does not match the class to make sure the correct one is being used.\n  class DummySubClass extends CiviApiAxiosError {\n    static errorName = 'NotTheSame';\n  }\n  const dummy = new DummySubClass('some message', createAxiosError('Network Error', {}, null, {}, null));\n\n  expect(dummy.name).not.toEqual(dummy.constructor.name);\n});\n```\n\n## About the build process\n\nOriginally the plan was to only compile with ESM as the target, since that is\nwhat we are using across all our apps. However due to Jest not yet properly\nhandling ESM, we need to provide the commonjs files too.\n\nTo achive this, we use the hybrid module pattern described here:\n<https://www.sensedeep.com/blog/posts/2021/how-to-create-single-source-npm-module.html>\n\nWe make a few changes however:\n\n- For the directory in dist we use \"esm\" instead of \"mjs\"\n- Rather than using a separate `tsconfig-base.json`, just `tsconfig.json`\n  contain the ESM definition and have `tsconfig-cjs.json` extend and override it.\n- In `tsconfig-cjs.json`, add `declaration\": false`.\n- The CJS build still uses `moduleResolution: node10` with TypeScript 6's\n  `ignoreDeprecations: \"6.0\"` so we can emit CommonJS without rewriting relative\n  imports to include `.js` extensions.\n\nThe reasoning for last point is that we don't need the declaration files in both\nplaces; they are basically just for editor hinting. [the handbook](https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html)\nstates  \"The .d.ts syntax intentionally looks like ES Modules syntax\", so it\nmakes more sense to put the declarations in the esm directory.\n\n## Releasing\n\n```sh\nnvm use   # Node 24 required\npnpm release minor   # or patch | major\npnpm ship\n```\n\n`prepublishOnly` runs lint and a clean build before publish.\n","readmeFilename":"README.md"}