{"_id":"@balena/jellyfish-assert","_rev":"1441-4c9924bb5f76a63bb55c91b4a3b66f47","name":"@balena/jellyfish-assert","dist-tags":{"latest":"1.11.8"},"versions":{"0.0.2-copy-over-code-a03318b8f2b1e5ae1c618e38d5129e81fff35774":{"name":"@balena/jellyfish-assert","version":"0.0.2-copy-over-code-a03318b8f2b1e5ae1c618e38d5129e81fff35774","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.2-copy-over-code-a03318b8f2b1e5ae1c618e38d5129e81fff35774","maintainers":[{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"dist":{"shasum":"2a01e3f09f929083afc4c9dc09af621e6d483538","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.2-copy-over-code-a03318b8f2b1e5ae1c618e38d5129e81fff35774.tgz","fileCount":8,"integrity":"sha512-mGHcGY2stj2EtHrF0FIt1w2vEjYdk2VofwxdlNRXdwXaoyBd0EngCmUixh37OWF8119brxmTlfNgccEsb/vgUA==","signatures":[{"sig":"MEQCIDYeq7LvLL9gD0AMpla0zhqRKA+7h70xQjcfnpif20wCAiBzTnmTWbyMMLDKpT8Ffl1JJ7hXkBBg3ow9tbejWsoyPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/BWUCRA9TVsSAnZWagAAj+UP/1AKwazxg5bOGk9kFoHt\nHSPY9+SUnhkVqGCo0VLei7ZeKCjnS9BYqTmGIhnTYDlWkFW9ae5hB71tTL/X\nvNSMEefzooNBnfYS4JvoiqH5//iP5Jz0XvGVuzGL9Iq9wURYj+7lJQ9rombI\nx9Jt+blY1gcFiPPQOeyAxPt8GYIFAXeCrqloenHe5vCkGfRU/0c+BcauDpiK\n/zfK6xldNi9gsfQjcSsYIrBYAb24cmiSif7tGPIdu4iVkRD4QVCJfQUXDihr\nP/qaQpCHqtfvAIUojVDaGSvEyos7vFjfqDU+hHYRmnfMy3J+ag32sIjIbrrt\nlStMlb2411gDsqAdbemSIwIrtlAiX5Ou0HuelzxnZl/fRwfYckoR6n5Gje9G\nGczzPdn43GXOd7wjswV3xvXxbPvQhquvFEBjcBWMehmSvB3w5BRovrkLvZjq\nU2I2p41DasauZmA9Spf+pEuFtJc66JXxsndivYLmXLGJ8Y81JlTiB+7FgBy7\nhy7lvII2NUcx1zIohW0Nm78m2hzOPqcLWrsLyGrdi/vfWo7GnajtOt5pjvDZ\nH9ZR5+kEkONlV6hpb4QvVxRsHfJDnA/WJ1ic6aiUpnmAgC07MIFvjEAgP4dT\nXIjQ4MCrD9KMHdxdfAEyU5y4TK9GvurE8G5CxuuCWZuhfENeEaiFmCOmUb+e\neKAB\r\n=TMPx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"a03318b8f2b1e5ae1c618e38d5129e81fff35774","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.2-copy-over-code-a03318b8f2b1e5ae1c618e38d5129e81fff35774_1593578900398_0.7218864495215249","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.2":{"name":"@balena/jellyfish-assert","version":"0.0.2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"dist":{"shasum":"48fdc2f9db2f1cea2536406c9e96ac8232921e79","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.2.tgz","fileCount":8,"integrity":"sha512-cIMyh3UVvLSpl5Bd3f+hAwl+ALZPXwUliLDBkbjwmNbB2W3V4oSqtBqtUPHroJn9nymF4IkwwYbhXoXi5rLzqQ==","signatures":[{"sig":"MEUCIQDX76o2XFaXl8LqWt6+89QXFT/aixx6OWkZOCDt4bf8qQIgYG/otejYygxs2Ki6ooc6ZQkIT11HQlXhUmbqpdt/+YI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/FHYCRA9TVsSAnZWagAA4sIQAJGVICMn0rGmEbi1oG3f\nXUnsNPruXBVfUpKIhqNe/so0AB+Vnl4BOOpPN3yadyyEzWs5Pjpl75yMo11j\nzHj87g+DhNuyBNqykCf0F25bLnolrUdc3mKX8s5SbSuEIq4yb5xVDJtYmgZC\nQgC+v+5OqfJhn22sXq78i29ZTt3CO/B6hzmPiju4gbQjCDWAVUJ9KwtenTmx\nG053aeHvkmrkHQHPat8BZbFvBxrv3DLmyV3L+tv1/0N+BcSKZhV4sqD71GOe\ndCLLDC4oFmY0PFfS2d17l7AA0DCUzHPFJHmS9ou76YJUDSQmoq+GkkrvO1eu\nIQXs3lpo9eHmit7/ASBdvc/Yv3k7dfVflCgObkfG1Em9LoYSLQTu/bp/yruI\nm/lVbNxhoDBqs6sW+Kan19+pRI/ndQg/sd56oorvMU6/xL4iK9zlK7BNmT47\niasxu6kYVk5Tl1FZRCZXrA4q3TZn2R5RxVPAux641FvYLp3KDoX4nj1Un9Ln\nKZHV8clPxv6fG0NzKMeQNeEdETgKiuBkdXqglmjeLKIOpyAr/h/7lYeIi+3W\nqwZLUQtGKzJaR+ZclThfVmHm6OfvCiqsPJQVxzIzAQww0f66DJXof0UAZwg+\ntkrJtKjfaIkqoMM1dSNFT2b+ZSPRs+ClkR88YBrPtVFQYDQT8iUk9Ferip4z\nr7Hi\r\n=hlfj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"3cd5fd27870cb2da260946b5807e1d81a965aa85","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.2_1593594327748_0.15006562992012373","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.3-improve-description-a7bd24e03fb63beaa28200318857e99c3f812515":{"name":"@balena/jellyfish-assert","version":"0.0.3-improve-description-a7bd24e03fb63beaa28200318857e99c3f812515","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.3-improve-description-a7bd24e03fb63beaa28200318857e99c3f812515","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ef11c0f97970ca43efe6ebf21946dc6e2ef1ead1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.3-improve-description-a7bd24e03fb63beaa28200318857e99c3f812515.tgz","fileCount":8,"integrity":"sha512-Z7lZkWh+UF8MkNF6+/p2E1vXQWsV1lxA1yq8EdcCHM9k6FVn7whPqqMU3HjAH327HqC0j3CRHGTWHIWSizK0yA==","signatures":[{"sig":"MEUCIEjCDssytHgHACiuLyqCO/kwGORndyrVKrE4QS8bj7Z+AiEAqON87YQbJk2ke6iqPTY8qQs+TZzAlH+ZQuTBobJT6Xs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/Y+lCRA9TVsSAnZWagAAAKQP/iiF5F5CN6/Y/cMCqGk5\nXIEqwJr3SNF0J0rZ03pHyBxZYGj6CT9ZX0ClbIfVUvklg5hGE4dfo1xtFaMS\nkZ3yT1ZXKsqASxxVJpK3dwnUBFrNCUPSxeOk2Q/+wh2clPPBTnipEHVD7SAm\n5kMPbPPxID8z2OhhZBFBDf7xZAfvGCxjez36UcVZhIJUnXWlVsmJQGFkLSgc\n8iCItapigWDPZzWTdw87scQ0rPaiGmRXwip0Y7snQL17lGsRLmLTGA6iGq0O\ny8ZI2CiQMCpG97JIglyKXgzwPjToYHVvd9eA60ANPXtAMcefiSGJm8ue8yfU\nz4ubgbPd0p0nVRX/2zvKZzha5UOeNc6DzCcLNbJTupzBCufMiF56SszkjtHH\nONT/aR2asT2FSJGXI60AZZeZC2aE4lQJiHWekbM986QBqDNfFTJkcKhckVQj\nDBZCN0K+bvu9WZT5npTRksTDSerkA5RNhmZ0sE6ed5ohyylwxKij2VZc0S2g\noAtOa/rVDJOK+uPAy6dpUreKW+sdAZONJ1byQqe4WDfK4YCoWm58s56JkVMM\nbUjCHezIRVpCNI2hyz7pLUslpLRwxgg8ZLtEikKn12m8xYCEWVEi1cLH3Cfk\nTGhQpit8xgazxlCSdMOuNVDsybf3pGj9ZowJ8BjPfIPuVy7lb2iqoE+Iqe2X\n6gZX\r\n=fFRj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"a7bd24e03fb63beaa28200318857e99c3f812515","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.9.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.3-improve-description-a7bd24e03fb63beaa28200318857e99c3f812515_1593675684201_0.21329350459233276","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.3":{"name":"@balena/jellyfish-assert","version":"0.0.3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fd5dc6463e54ece8f6a465cb06c6b20cca26a478","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.3.tgz","fileCount":8,"integrity":"sha512-B4OeKbZhsoi4BTduB/6NSxr4mbIBGyXXPHVjrRc9Q69NGN1DudvXMB7C1Jr7LwCq3KQdkfnKjLLlb62HDPQC7Q==","signatures":[{"sig":"MEUCIQD9obwNg/Y7ZqYetEfvZ+pUAztzc6/JLGezRnjGFncLngIgdRDuodQizndx+DRA3fDZZbt5LafBlBiNXHSEfDuO8Tc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/ZBoCRA9TVsSAnZWagAAj8wP/RTUEqZHEHmTvJWBsjfC\n/sRv4VwG8SJhCNPmJjyUVrPKCygg7uBem1b+uFAu9DSjISnzRlfy9vKxKxo5\nAzBJ0u2rSz2zCwhhIei3lXYnaM23m/FIGJrdx/Ruy+MphntIw511gvpGhU56\nNRf+awiA0b2F3ySluUt7ZYCmYWEFNTN/QCJy3oqYsN4frnnBRy4WYbUg2lu6\nN8zMPSLWFdR7Cd58qKkXgQlPgbgexm0rXRaVAVeBiTM+GfbewHLe2tc8uIo5\nbRt83s9VbcncINPW6beN2RrQERTz2KsV3LBanVaR4ad8rIPp3YongAf7gHTB\nRsHDxd2I4iexDgvddcKuBMgU+9pgzg6Ynl9cdZefx4Hm+NvL2iivbKrhvYUt\nHkVZksz88NfOfUc5lzsDOJK4kzZ4KzimdF9Fq06bVJDmgu+EJdZ9PuWRGkD+\nJTfbQ27705kTnTaKhO1Zk03nlYHRmwWzz/mR5YGp82YaYcbplyO20ZD8KbFH\noYLRxvDi/S/jMe/xQk38PhqqmCyIZqFE9+wUhcxay8JQ4wsJxSPTmEJNGZQT\nLEu3yO++3eU0FS5tqa7dbdqZOldmYSq8WBESkBOvjBvt4qafU+jPfYMhPk7W\n+igDw7wPlPVP7yV9vibRlFQ8H+mij2+FemuJdKRWNjGNKMtFmQHo+QCRhZyJ\n1jpa\r\n=h8Pr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"1434cf25bc960db968548dec5870c9d920c3fe8c","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.3_1593675880331_0.807520699768763","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.4-add-dependabot-442eeebcdb944ed8d89a9f94b6cdc3e2fe46c677":{"name":"@balena/jellyfish-assert","version":"0.0.4-add-dependabot-442eeebcdb944ed8d89a9f94b6cdc3e2fe46c677","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.4-add-dependabot-442eeebcdb944ed8d89a9f94b6cdc3e2fe46c677","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0a6a9fe10396151e3cde02d8d9192d80d4961ec2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.4-add-dependabot-442eeebcdb944ed8d89a9f94b6cdc3e2fe46c677.tgz","fileCount":9,"integrity":"sha512-skiWQLuGY7YEm7EU3Dg0tfW3vEG05JDyItSrlYNyGgSuFslPLVnilHp1/N1CH/C88VCjZlwDd0Kz3cw1BeVqGQ==","signatures":[{"sig":"MEUCIFRyaNrWnctZBvMXqwKT77JZpgdx4o7D/Fh14+udtuGHAiEA7+TaskCOFeBsnKvKBfuTU8R/6k3EehzPb/o1pJjYTUs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBBxuCRA9TVsSAnZWagAAP04P/2Gy5enzOdlUxsDyRoWS\n1IwG0e9PyDNDxSoOKkdVdIqFmddjMo9diOw0VSS0jyuYC235hBLNOWSJFVUh\nHRjKUQ0sRzTfjuT8MvwQP68uaRSxUP5dU5llCiK1m+ZAWtMmviaKYKwYfyrN\nPIB6wCzWL+Y3kErpBcw/Q0QCruWIpWmRVE2+Z1qhhKNxm3HttpKsKv4jKyWP\nPRev40Z2WFGrLSlmOvCYkY7Yz34h60IHibm4+GISr9Yslfpm10Y17lm64e/s\ndEadMGn9LclAFdwsmaZpHKaZgzNd3Wrp3zDfTayKeP45iUQ9IHbtIJMeYcv6\nYwDkcWQ/wBVvGmGW7P0BwHoLftvjP2Rx+aRI2bOXJXBg70sxE3i3gnGbHZ+M\nfbJQgCD5L4Ln/qyOGS4+ryuZ/Q2FTcQlklocwg67wvjMRk+xpEJY0nPrBZ1h\n1yiAUzJqmcSZb6RdiF+yntuDzaCUCe54pADF19GlIu7tEc8GHuPmawIW4fQn\nQ2biDLxU0ViqKkkVSU8x5jeBGsH/lApMLn+JVYh6j3KUCzzsjmj3y6x1nfVx\nyBedm6gyZ4NDK+AcTi9kq/d9Eiz10MiPkVQKRiNlO0sUz6slsEG6jP+sFJdz\n8rzHNbEh4zPymETW7Se0l/c1zOx5xwnouNOz+gY9p+A7rf50NIVvNEDsoaEj\nWDAD\r\n=yWLb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"442eeebcdb944ed8d89a9f94b6cdc3e2fe46c677","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.9.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.4-add-dependabot-442eeebcdb944ed8d89a9f94b6cdc3e2fe46c677_1594104942276_0.5817394364081763","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.4":{"name":"@balena/jellyfish-assert","version":"0.0.4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b8edbe65f2e740421b6e9ee781f0589a8134f59a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.4.tgz","fileCount":9,"integrity":"sha512-uFBNNpdbMiGz1ID2xcqjy4OvKBbECPFF3Xop+7OqxRRp/uA4SdB01U7ZIcJZ8EURmvqirJnc3ZOFfo1Nxcfkcw==","signatures":[{"sig":"MEUCIB54R2Wn8C8K3+u57fKR8S0/vASW0onxf1rEQyk1xk1hAiEAjISEmXNL1ksMSwRqKbEvP0WV1c+hBzau6hCZVOdhhSc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBB8VCRA9TVsSAnZWagAA7mQP/iLApZkhkrZPfU1PBIwU\nN1Tnw9wZFz+hk0UJfLTHe9/Fr+hLY+iTn41TAWwixf0QBB4t/1+iq6SJNjjH\nyYsD/UTznOWYS903f6gImQilc0glExSUy8cQS8NCAEgEEFITj9eL3yNJFLXA\nBdJaSb6Z2UjxSmrby9PzHCS2zQ3N1KKql29foxJY4XRETixWhSZ7LjD0mWgS\nYCd/XuuaV5/RjZNXJd1Dgdw+ymDiTwpW6ISEqnBhlOQXZfGdCt2kouQU1KQC\nBadKGTXKAKK48VBzvIYP1D4X4QStr8Ejm8DwaLNL0CgSQGGc6PkTq0ZPAtgi\nltdCGIkk4DQT2aizjpIHxfbHiVEhUDi492SLBF/5TutDhpXGP1Hx8J9lgYfA\nz7jF7CZC2J9pRtVgE7zUYhspEwbmNpMv0FFVBr3Xt7aMK1/+ygzIwg/rx+jc\n1+p2qewTIWoi2dFidm7S0IqMjcG8gOmYw2aYoNG9f1l6RtYrrSMlyShqCBmC\nFKNLf/59MmYJiHvYdBwF3iPurSw2fnKJG7Bz3bTLzzkEJSEy3MkKL+MGfr8g\nYkaUWTIxXDt/FVMnwvJE/dHxE5kRUtB8X67MCAB4nShQsuxEMyrOnjxVMkOV\nQQnsr1P9XF1Ko2b6FAhtaa8T8tInsYQdMW7R6zxMakCtjdMrDX6xwGN2DIRg\nhw8Y\r\n=fi7k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"4fbffeb95a97b23be99d42d25476947c86cd971a","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.4_1594105621213_0.15925558324798472","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.4-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3d1d06084476223daa05defdf2fc83fb2615c09a":{"name":"@balena/jellyfish-assert","version":"0.0.4-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3d1d06084476223daa05defdf2fc83fb2615c09a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.4-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3d1d06084476223daa05defdf2fc83fb2615c09a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"41cd813807ed1a4dc652540311e21fca132e5d27","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.4-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3d1d06084476223daa05defdf2fc83fb2615c09a.tgz","fileCount":9,"integrity":"sha512-5mBeNkS8JGdQaVcBxQJ6YLcg/E/kdgv0GjAMO5kgHx5Hn5dxZSXGIn30+KkmFK/h2NaevxbEeLxBXJmTJNPryg==","signatures":[{"sig":"MEUCIHuI9VzOL6gSwS6aWdBQMFqbcjXKVvcNbXN4EjeMOCVqAiEAnOvUsKTrExjmNgNS6BP3aB49DJpT1uvPU2S1SmLvLbA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBCpICRA9TVsSAnZWagAAf3EP/3twxCaAltcfwRn1roFG\nUNKtW4b/uy1ggfg8V0OiQYA9ehks8dTsrqdsNYpD0T/vwvfRp+R343fFVJoI\nVI57IIfqbuiIwV6KQ5sOcCvmpgguKDDySD0/Tn5/HiQAtjQSIVCw859IqiTc\nolJmmegF7iJIhidCCs31M0ZyxFrdE5US9ML7KaXiOaoMtaMNDWJOHEgaZ6F9\ntznPQ/XVU2sQxWpkqsJeLPrfKeOJrTCCbxhAT4rZ6c0G4D52SPAmnz+h+7TN\nMHFN/pLWjc6vHYb7op/XRgv/8bApJk6BpnpG4bibAuaeKx7GSHdoimfO1LNp\nPl6uTYRQ0D0Z3DSg70YrmR/yLq6tFCBcss895kg3u92VA6HC0QSj5CoOZiC1\nCWJY8PcUdkH2HFDr8kH9woXUWT3L9nJk6KaN1jf+9lPmwUG9G/gKZwmI71v8\nOqzKxwEm6kS4PaayBv2l7MhIo97N8FyX5eUVYL5ocDzDkM9Z2ep66Sx/uM9X\nTW99ZHbGgWywpc/3PEbzvG1wfQTvC800PFH+yaYsO0GZpnQGr5Pls35hIeu6\n04xkV0KQa1fHDNryy4Y1PKPnqUgDCDK0uadKfZpbdgYZFVarEJUnvDingBaN\n9Qm6riZmDBf6OB/F8LG2L9F+BrbwGG1539HIZLMiD0buveZWdlzm5AoEnMRK\nMZMd\r\n=53ET\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"3d1d06084476223daa05defdf2fc83fb2615c09a","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.9.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.4-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3d1d06084476223daa05defdf2fc83fb2615c09a_1594108488145_0.4150374008678259","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.4-dependabot-npm-and-yarn-ava-3-10-0-1c78cd76501ce830ba456749fa074f16bfd5e0e0":{"name":"@balena/jellyfish-assert","version":"0.0.4-dependabot-npm-and-yarn-ava-3-10-0-1c78cd76501ce830ba456749fa074f16bfd5e0e0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.4-dependabot-npm-and-yarn-ava-3-10-0-1c78cd76501ce830ba456749fa074f16bfd5e0e0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"55bb7b4e151bbc922a1836212246c49ce5cb1dbe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.4-dependabot-npm-and-yarn-ava-3-10-0-1c78cd76501ce830ba456749fa074f16bfd5e0e0.tgz","fileCount":9,"integrity":"sha512-cf8eYyhihiLxER4WOuRLlNdUIPKSSzK+SVnE1c9t1WcN+387AjmuSwK1PK7w1UupGTK+LLbbGgeDSa3PmvYYnA==","signatures":[{"sig":"MEQCIH1RlOzrqIvCmAxyvlMSvUAgbGSTCqyA8hWWMQG4e6TuAiBImBW4xL3baq7DrduVmXeplpCx1Da6dywifD6j0lChaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBCpeCRA9TVsSAnZWagAASYQP/2KJdZlZ+DS5p/1P5VGQ\nDMKLdDfiJT9yJOa+Sv6Npe1oAlxoZ+ad7YJpmOPi8B5iAIeaRgigPqeVTitJ\nkzo8zmwOQBh9NTskVbko5pkpw1AlU0Cr4UIYU281wlwi01DJ5ZmQ+Vl7tts6\nqXu9871Z8rRBO+rJRAf6pE7/d/oHCFFROyqE2fBGvGDdbYTBcm6UOcAPCDfw\nmb4rjyBb4lI4/iTMvPWRyvh12EsQoJvD8zVr3oTucV+dW2o29Bo00Y5D1xgr\np1ONOQYkQX/+6wkPXyQoHJ1gRYjipV6/VWBnIJEQNfm3otXO3hTifHBMJ11R\ntBjXE8pdEBMgQIkB9dHIRTkMRpxZC+MZ2M0i158DUlV1ZT/MA8bDW6U47yeQ\nAOopeS+Eot833g8zQGKdJPIQYVPewk2FHUSEM+DU5a2JlwPKIlmojOAVRKus\nAkfJXg5HSbEv2iK19V5GSR7BuDzQvFBeSXTx8ovBsfLDN6XbImbxEMy0OQvW\nhaMkbz0FdU7tvzfKSEfUm5tlPaJFOrf0Lbn/JTcODgBhWRRj8yXtvpM2eH7V\nt/U1IDfyXQzrRBagONM576ipEPtMs7PFYwlGhlVffP46zGy8lNfEg9TOzFiF\nHs54cfzqSFg23I5+OWQ5puMCQqdz1A41L0mbjl/MFJ0bz+LF/f6kCjt+DWAi\nF2sF\r\n=mvtz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"1c78cd76501ce830ba456749fa074f16bfd5e0e0","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.0","eslint":"^7.3.1","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.4-dependabot-npm-and-yarn-ava-3-10-0-1c78cd76501ce830ba456749fa074f16bfd5e0e0_1594108510609_0.044222550296896035","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.4-dependabot-npm-and-yarn-eslint-7-4-0-2f527f21881390519b0238efc9975c41126c63aa":{"name":"@balena/jellyfish-assert","version":"0.0.4-dependabot-npm-and-yarn-eslint-7-4-0-2f527f21881390519b0238efc9975c41126c63aa","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.4-dependabot-npm-and-yarn-eslint-7-4-0-2f527f21881390519b0238efc9975c41126c63aa","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f20fee34fb6820669b3138fb7f68925af7c2e294","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.4-dependabot-npm-and-yarn-eslint-7-4-0-2f527f21881390519b0238efc9975c41126c63aa.tgz","fileCount":9,"integrity":"sha512-9z5e0DwV+dGz8Z20VMZEsZ+ec1TfVlU0f2dgGbC05fwLdwfaYy0O5zTERGrQ31Ve5EYFKQQADxG7nVCcBeMYWQ==","signatures":[{"sig":"MEUCIB27gMrsI4OrLAjdrD2b7auWp5T4ghMmssZ+aHWWIrnZAiEA8Wwy7KhDqWvDfKtKvXmzkcBy/tNceQIVpfzlxPZd2NI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBCppCRA9TVsSAnZWagAAATwP/i3jEkozRBh71SmZZPMB\nSZGlDu2yRHTUSJpGpmSD94vPPM036Sv6rAW1WYTb0e7g9kg8Bn8xECLyAI/9\nB4l8wgNQMrXrCUjUs8atvfPBO62MH+jxIif6tzyrQ6raYddOsrABPCl0qHyu\n31W91Sivv2Ybl77CMyY7nU8Sfgni01+rFgaJtoRd0Gx94crqAlWbbhuck5y7\n+ZG+8Teq6oQ0bgQoSRKlhgXiE44LIwXyXDsz+tDqCED5YK6vxU0MNLq6HNxO\ng/d+sqBoGCEmWIDzLvFYG0/8bsdkq3QypuPwfptQasaZuWNq0R/nfBJeGYzM\noJv5Qbzl+z9TEa/5mivW3viH2cOrs5TmnUuca11CnQnirz1iW5u2O+VhGP6E\nsDHlYLKJ3DNky/KSQcObbLfXTzWGVYPV10XlIZYh7Q3JXQAIycKp1vQy2sUQ\nvGygNRE6hHU22S1RtqwPRrsp+vACFmxLaH2Bvnl8bHbNNn/F/BFDVr3f25/X\nB6OlguyBWYipIHZ4Cb8//1DgQdFQBrDMnNi+nmq/ltagfS/FAUyaTcR+yX6X\niMUCspSDYJc/3fXARwDxG5fys2u/nlh8bHW6lhanhpH8+vwwnib7KwMs64J6\ntp2yHzWy93inkVwrEhqLWp3QPAnevigjgmTJeMc5HadLFXnaVUKoUAMVpxkx\n2H80\r\n=8ZM2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"2f527f21881390519b0238efc9975c41126c63aa","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.9.0","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.4-dependabot-npm-and-yarn-eslint-7-4-0-2f527f21881390519b0238efc9975c41126c63aa_1594108520994_0.009075993977271324","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.5-dependabot-npm-and-yarn-eslint-7-4-0-86b6410eceb4d5515de2b9f957e94123bf21a24a":{"name":"@balena/jellyfish-assert","version":"0.0.5-dependabot-npm-and-yarn-eslint-7-4-0-86b6410eceb4d5515de2b9f957e94123bf21a24a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.5-dependabot-npm-and-yarn-eslint-7-4-0-86b6410eceb4d5515de2b9f957e94123bf21a24a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"331cb27fcb3e380746f8172525b73b982d109380","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.5-dependabot-npm-and-yarn-eslint-7-4-0-86b6410eceb4d5515de2b9f957e94123bf21a24a.tgz","fileCount":9,"integrity":"sha512-7VTnqga0ezd0Ezwh7gUwPwj/0bxNdNtXD5OadJNseKwGZ8xtd53MXtY2+lw55yilipp3KLx4rac6KgNKBbcIqw==","signatures":[{"sig":"MEYCIQCk/Bjk3eGakkpy2YNbciCSOCXBmPCurxfM9itwMTawjQIhAJv3ZVQWlsKPtK/U4jpNJnhqScHwsCA+tSsF8K3aKoqP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBRG5CRA9TVsSAnZWagAAwJQP/isqiZ4OEOiK5UaiOHwA\nsfgsWyiIhj3niaw75YRu03uwFAYMOc91MYqus/AX2Fn+iub81ncZIM5QMO4G\nHUtCpKONhzHdrjX0kJbL2vjTfrRHVp5bpz4ejP7nX2alhkOoAHXDSMEcG+Ei\ncoYxL3Z2kiIhIM9y3FTOJbzfLjcJcm3fgBlm9aPE5F+iEGveDIX2yglPsduv\nY9Hkd1kRcv65tq/gW7FpA1b4LBCMtu+q6r3jk1HKS5xCI9puiU3LKTNsaHKJ\n/dTsZEkcq1OpgSFnxTr6/eFIirEZWuMbooNJFRjEX8fCdf7q+bCaYMbpF4Ss\ndHWHzRNQpnH7E1gA7abqzJ6Nm3aHYb1wBFdHO5Dc1QZU/y2Ptjnbrw2Xyt2V\nk11bzId8tfl8JdZg0LN+xojuKWIS1Ry4PHKIj7h/khmnFuSKYp3tfcda4iPR\nqijOXieHXrCjNFpjuoiX7zCEsoFI2QBEZSgmM5pGzrQKL4nGrMingYjJu3dW\n4xl37NQTexWC2ircu2QCYI+hkjjCm+vU3qqQxncCUmPKsx4S9oPuajp0RLs2\nkiMvHOKa7WVfF11qySoYnyFKZqCe6vO4brw7lFFxhl84s0TyFisC3jjHIIOl\nfqnY4LTSkk9aAlCdC/FYjdbhGZLMUyime+5BPKQQkwvCcVEUs1be/ABQl2+Z\nZilt\r\n=2A3r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"86b6410eceb4d5515de2b9f957e94123bf21a24a","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.9.0","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.5-dependabot-npm-and-yarn-eslint-7-4-0-86b6410eceb4d5515de2b9f957e94123bf21a24a_1594167736777_0.1452413452041852","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.5":{"name":"@balena/jellyfish-assert","version":"0.0.5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ac318203e02dc1737696c87cc92201054a1a4e25","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.5.tgz","fileCount":9,"integrity":"sha512-MoQJt/wwX+9PMhCtUbDkzRp2BdKu1Lp2CXsSXms3DyBR7cLt6Nw7bHtrIYTZw9n0Ow7VjS4sTsqYsBFKQGHUIQ==","signatures":[{"sig":"MEUCIQDwTXUosCVGvAPz+HM3wknMMRGTdECF0aM7/fklzFkfJAIgK3zTnQLaFXki23NMhMUukonMGLofVB7bTHDu1fidgr0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBRJ4CRA9TVsSAnZWagAAPlgP/jarW14vBIhOvkTItyov\n69ujb62ZZ7FenptTnCqOWNYvJZ+nFEiFxRIui+z6pwox1lryyMDIA4pg04gP\nfcOrOR2DuUuxEBgiq4l0IFGKkwfZ5bVuGqOjqZeqP5sDi1oHYf7YrHd5PGfU\nolTvmUiA3mMHNoP+4VLi/AJNQaNKzXHDEnCv6T5+P8HF0xHBE71ZjGvg7JJT\nEU2VUuaMTpeMdti3EOOggyjd16zLGKZk7bL8ZH1KV9fa2y3P7/bmi+PWZM5B\nOao2Y7g9YUhapEE4Aj9rEFwh+jDaqvF2+yQK8fV2Rkln+bMC6PsBlO0P0AJ3\nDkalFPRpSOyXIKfKeP1/UiBXkNS4yTVLREDdYxLeGnCEwmqfWZP1x4tDXv4V\nN0gsQUWeBxzyPihA4j6BTzJBFBHM7bnwgtON7WGFsEvZ50s5AgIQpOmM7o7E\ns3DgY12lt1gfHbAwcqeDmkEeXb3IEmsd/ocm9yyxbAwswbyI82v5A6Teaa0k\nwChSBa6LFhAVrV8cUvbdLefiXYJeReIHt7eyyWaxGIO7+uyFfgOn+hoXUOuy\nszYgpSkzVNQWAv0R2jLqk0Rw/SYsjjlCuKvYDHG6tVh52FN1XwgSPuytEbpD\ncSIjt9+CnB/xIQeEtbCFlBBAL+chhc+iibtNjpcuollkXV0FrFEfjCFCIdSP\nL93t\r\n=1G/z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"cded15fc14b1c601d6ba3467bd8a43937b602795","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.9.0","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.5_1594167927932_0.4667917783028206","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.6-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-ee809b99302f079c8d5c6acbbd09468c07604ade":{"name":"@balena/jellyfish-assert","version":"0.0.6-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-ee809b99302f079c8d5c6acbbd09468c07604ade","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.6-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-ee809b99302f079c8d5c6acbbd09468c07604ade","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"87709c07104103ce6a6836a55134cba2694aad9c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.6-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-ee809b99302f079c8d5c6acbbd09468c07604ade.tgz","fileCount":9,"integrity":"sha512-91kEvGYVOUpHTyeLj2CVKuIQWCbvFp8OBHLKr+MCcc6QRfhO+L0bi3Mj8/i867UxD0inGmXqkazHO2G0NsXG0g==","signatures":[{"sig":"MEQCIEv6vWIVDsCJCNOzWBjZMjDkXevZu9UHpSICzSbqGZziAiBnNGId3rJn7ZEmYI9HOchRSPyUuuWITYcMlCrqLFCAxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBRObCRA9TVsSAnZWagAATBYP/i0cyIPgPss9uk48KqFq\n3VxiZiAjW1rUMA3y9fiHTeZ2ka4boTiXHa+qHZDuln8kMDdsewvYF+l+dUm9\njSx0bvU1ggfAxMhxDBtJwsw19lDFhB7DyR7D/9IoKeIztPEpGjvgjoH+nRzI\nOosAsWPiJPdbolWMdYjyNeZNjH50+6RacZAvx8F5b4LapT2VckMi4ONHBvXk\nk5oy/pjCuby/iu98zHzGmHs9OSDa9qgc1ckVQTEQo4CnqUZoldLdGoI+zLNW\nS1GtL+Qhz4FIeA2AYGeQNyqKeFMkrRX8I22/gA9EE6OEGru6LiPTWSChpF9x\nyAxFeuy8uVGyuXWov+2NMIEYNn777tnPpze7n/vtbjAJoH/IpI0MwuQkcUg7\nI0p1wOdHcdbFp9NFfoDmrUGZ6dfMqutQuj61MTrRr/2hyXOLhYRI49SVhobW\nOqfpfWVUO5DwA1vYTVuSf7GCJvgYy8I8RMytwA93Kav41GxOe9gd6pz2xOmy\nuAGzYXgdUAUXMR3me05zOuCWKDZejJ4sdoCqhABDSiqvWZNjAvQgfiwCKAEJ\nYuyLQvE7hkQwy/Zm18O2QEuMNC4MSo8C1QH4fZD53ksg9fuSPF2gBBy8ffZ1\nyhXJkITFNtj/vXES/IQ9W2G7icXBqzF6eMXiVtKTL5rCld5RbleRrlDKUU2b\njpvi\r\n=TV+a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"ee809b99302f079c8d5c6acbbd09468c07604ade","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.9.0","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.6-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-ee809b99302f079c8d5c6acbbd09468c07604ade_1594168218718_0.5596689596554132","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.6-dependabot-npm-and-yarn-ava-3-10-1-9ca547d18c98d7211a40f1b8d7bb01f65f3da639":{"name":"@balena/jellyfish-assert","version":"0.0.6-dependabot-npm-and-yarn-ava-3-10-1-9ca547d18c98d7211a40f1b8d7bb01f65f3da639","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.6-dependabot-npm-and-yarn-ava-3-10-1-9ca547d18c98d7211a40f1b8d7bb01f65f3da639","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f70e3461381ee7c0bc00e1c2d1cab83eb4ccee60","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.6-dependabot-npm-and-yarn-ava-3-10-1-9ca547d18c98d7211a40f1b8d7bb01f65f3da639.tgz","fileCount":9,"integrity":"sha512-YH36oK2Gwg0hepuMIE3Ry/lD3H+kzTsWZvCKKWrkxB61fZ5/bdQ2svgGPR/4nwhfex6906PkzcoaihbSbAcQdA==","signatures":[{"sig":"MEUCIQDExzm9PdFR4YnnAR1I7IkPnSjzzDp9i/ccPuNAzsg6GQIgVtin/3kmjXZNoOZSWvxMBvWykM+BhTRQYNeCk9Ere1Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBROyCRA9TVsSAnZWagAAAgUQAIpIHJglIzWGa4oKCoD5\nLRnTueqIxwLLh4PIrIK9W5/GM1Le7TCgYGLbvJX8szt+CV/qfl/5WfFPqvL6\njZ4VHTgIZhv4MSbemyyRjRjeEc+Pm3ht0TkrUToPeYjurVLetsASiv8d8X6L\nIeRxi2k+NUFrTDQIM39LNSA9D6Bj7Yy6scfArURCugzIn3l6fkOe+bj59BXX\nl85jWs+yJE7PcFrn2ZU/6pnJ7fxvvI7M6SjvWhxICLoJRdr0gIGEGJyowOEU\nFLMimskX4rHII5tNKWDdfM9B7eRd6EZFVoOlgHhVfqAH6EtpNCD10gtGKCOa\nI+8o1hrfcZbJsQE7ZrWRTB2odDx3UtHYAq6kqaI2tG94QHRkwgcMzlhWg4o5\nhJOEF3rvnPyVoeXYgSFSPWq6zzfqKyy90gtxa/+VgHFyRM39Z4NpXU0lvguf\nzOpcxEdzDJ45MwbbogLdGlU/SNvwy0YR5WReiYwl+pJqioGop7Vb/f9kfYWv\n6pWuTqur4+2uZn8I7MVHUVBUB3C/w+qSBtm2hN0McEjQiL+f8WEetcU+w4oy\nizWpQpqOJsSzUJ5fQCzqbQpXSOCL/JCeanmXxnAEyYFG1oz/mU2Ibfp9obGU\nJTJo1YJI07+c+NJtq9OO/OSLYN1Kx7rGhPRIzRAhdxEie5KxZETmiPLlIUC8\nLLEB\r\n=ZzP9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"9ca547d18c98d7211a40f1b8d7bb01f65f3da639","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.6-dependabot-npm-and-yarn-ava-3-10-1-9ca547d18c98d7211a40f1b8d7bb01f65f3da639_1594168242053_0.09727571786339628","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.6":{"name":"@balena/jellyfish-assert","version":"0.0.6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"218af9ae125a418b63bc5efc467ac42baa5bde49","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.6.tgz","fileCount":9,"integrity":"sha512-cuj/C0HtvMyMIpQrbIOEPbCZgxh07RadidCaHfERlQdTWnoJLswbHp8a7rKq2S5+aKcupVIP/VXEisyLwDpnQw==","signatures":[{"sig":"MEQCIFHU1l57Cn+NDvFsTMu3+gvkh9DLSQzE34vsncqr9WFOAiAQrdPJQkxr1ajm3XJ9MiyGzoQbkQ9YLNqcfY4zSrJaEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBRUTCRA9TVsSAnZWagAAHsYP/2dihoSHJrZajSbVBu2c\nqb0UZEKwoNKZRfz6WbzMLPQAN4CXuGofzhL2LWqfcF02iJdBoOAw328OjYRF\n8TZ8T8x38kMsnX7+zXS1ceFlAq5XNRJ830J4btf+gXMWLzAP+60cwqAQmnox\nE1xojsye4OdIFlpLykTvcjl83qCQPtN7Uxw8ZNJ9XZ+GHsGGwXbic0J221h+\nsnoMZivgYlfNaBmiON5GSLozT0xOKrvEUXPtVUgci8XBCMxIrU7YpeB+Nlyz\nSliz76+yfUoJ0foYzXSKkiIhoJzd0V4B2AcWugxhogGXhHKMkZQwhSoX8qxj\nvhEie6YJ8dDJVDASH/3Foimptcmvh5UlrM8dNCp+DlkAbfMD0BLpx4XVX8+6\nIXLwPxRThKmN71mn6G+rbdGOckPtyoytKV7p4FG/Ual/jh+cy3qf0FBWVp2Q\n2Cq9rC/8pn+je/5VMxmvdXIDGyQ8qjHVYA5VLJp21uqfhs/oDKdn2f6VOgmO\nxKzwpQ8f8Bk90slDoJ1mNHDR0UGUj55WwOeJgbo+tD43A5RhfXAS4azwhfEX\nw4k9XT3jFRVwVTZQxnb+3cPkCK4jcJjsexw5DRIp8kr44X1kHxSZeOnP5aI/\nFDYOzHQpPwI/vxS4CmbZmN/rD5yvU22bhednXIaySj0CjOed9CPDo/259prS\nSXDP\r\n=SeOt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"6a518b4bb8f8619933209ddd0c0445de45b2cd6d","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.6_1594168595361_0.5151233034760583","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.7-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3de40b982a32d1be88d5a1bc1946b72de23f9014":{"name":"@balena/jellyfish-assert","version":"0.0.7-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3de40b982a32d1be88d5a1bc1946b72de23f9014","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.7-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3de40b982a32d1be88d5a1bc1946b72de23f9014","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2e359a02ff6d83ac6e580017b223f617e84b63bf","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.7-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3de40b982a32d1be88d5a1bc1946b72de23f9014.tgz","fileCount":9,"integrity":"sha512-a7yd229cMnnL70V5IPKvmv9XztMsj5f2oV8zLy2UpndhaF/fjDuhIrqQeDL+HtVQxlsmjx/XQHB0GY1LrQRFHg==","signatures":[{"sig":"MEYCIQCNxSPiFPS5a3n6JA57k1fDzAGIQwuHxS5EYGyKuq+qdAIhAOnkn0owhq0WYpnW10YbOIAxeJIG1vGBBr8y9DbrqYcI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBRWjCRA9TVsSAnZWagAA/yQQAJV4OI6gsMWT5T7Yo4Ck\n58w2RzIIlhNv/LjyQfJKxtk2YqLYa/bWBvjfmdK7eTycx7Tu6QC8qwJ+21Mo\nsxQOJgzDgEyUr3HOkjizNjQGaJMspyuq3LncNSvH23dScfu7/xMAoE5uKYq0\n0YZT7gZOIu05jEibdcIxXFrT82eYonGCXBKKJqwnuwBL/P9OcKX1ARL6zHb6\nyLY9xYTSM4N2h/hTgw+9MEkL2KHFvM6SXLREO7+0P1C40JZ+4/5tOS+QbAhd\nXyrPJMD3yIkdGIo89rlU1bfKtIGHBVPDVD+NSlpeweVpiW/dP1ZJvdd0usJH\nLLhT8GDiVXtBeM+bUJON8hkxGnkj1wf/M38vAqVxCZeIhhkblI6KPmYYjRcF\n8xvWiyAv3DykFsQl26/UaPNvMLRDXiA24x8lyYfBZSQDYjjZuN4Orz97jXVX\nEvWT+0ydTG+PkeIFiTRHIHfITGL5fZOOx7WaRmo5UXzO2rP/WnsNMAy7BQ0R\njtnfVxuc7A9Jreu1HUSUoP3qet7sLTc61j82vAjMr7XiK5OVFsx1vSPHfPWE\n+/3FwckkMWMwLgZCU+odsaU2nlVsZDh5rPXyeGUVl22Ea6KKVrVsH/LmjIOm\n7GEeM4JKbDjAeLeHyxJ6VMudIsNimOKLfKCW5eo1iWpR9Y3lVUvEuNLCrfXV\nf+DM\r\n=Hsa2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"3de40b982a32d1be88d5a1bc1946b72de23f9014","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.7-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3de40b982a32d1be88d5a1bc1946b72de23f9014_1594168739294_0.8776751189369714","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.7":{"name":"@balena/jellyfish-assert","version":"0.0.7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9c814505a90aa1c062082736e9f2da5c0d42f3d1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.7.tgz","fileCount":9,"integrity":"sha512-GZgvnOk7zi6VLdpBBYJEoiHlLzHnrRgElQwIdvXKh3z+qspYauviGMSrsVMSls9E+v0wRzfpVbmCoa4v19abuQ==","signatures":[{"sig":"MEYCIQDvVDkm+WiwpWTwT2OpiheF0E2DU5TbxYd/S+vH+Op1fwIhAOH1V9dbNvI/0/QlG9adguIaV6DDWL3QrcfFEdtRWheC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBRd2CRA9TVsSAnZWagAAs/kP/jh1DWoQFbtK2JGZYC3z\nOqwXO7rIhwKdCminwzzFJ1sf38uqVD3XTOJcpRqjEO8JVKIx5TgudbfWTNW6\ni2iPPWHJXrRCWAM2xU9bWCG08sNBBZSgJ/rRCpg1bQYu1TcT4S4FfDQP0u6L\nEchmmKrcYDYMxUwgD0tJclN3Dtnyvb5ze7IjVf0O2TzcGQ6rSj6Uku3YDZmQ\nlCBB8z1ScMDI3GkQcbzF8YVHecAlC+skhqk1dc7sMGgUkQth3WsfsTm0c73n\nEjfxQD+T/iDdOkpG0xCXxbdfn0P2q9/uKoOUifdOqxjfOrlbPo8ZpcfIJTAV\nW6LGuB+aGHSoZNbwpNAlOQlGxLbJGxCTW4UHTihwrDYqmAD3RMGOokQ4rR/h\nhaSTn/rnlgSQaD+ddawAZFjqCPW6jX+cDucD8JQoa73HqVlScXijGzJ85QHi\nB0TAFHGDJPBiPsKIZ3RMBDJCjQaMVf5yeRDqVVKRHoWhd/T54vC8d0hvlSxu\nej68fT9wl/8ZSAEcR0WRidocjDUXQvvMwiFjWk4UK4OVJ4JY9BEvPIHxLtVQ\nuFja5UO3s4gDNnCt4Ai5KtiY053861gJSjP7eoJ/MT6Bvom7RYGqQhuYXJdm\nHnyKh38+iHXUd6M0RXntSRFctrzf3+6O1f0+TTM2qAX1ei/KosyoZ5yHP4Ue\nO1BL\r\n=jvl9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"86cfe17c8bbb78912d0b91078c3cc87f4a619465","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.15"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.7_1594169205934_0.7111436872952006","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.8-dependabot-npm-and-yarn-lodash-4-17-16-52023f10c4e9453070f2bc5c67cf723adb43d68f":{"name":"@balena/jellyfish-assert","version":"0.0.8-dependabot-npm-and-yarn-lodash-4-17-16-52023f10c4e9453070f2bc5c67cf723adb43d68f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.8-dependabot-npm-and-yarn-lodash-4-17-16-52023f10c4e9453070f2bc5c67cf723adb43d68f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0fdb81e08f83f3a4c7dfb1613a250aaf151a9c6a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.8-dependabot-npm-and-yarn-lodash-4-17-16-52023f10c4e9453070f2bc5c67cf723adb43d68f.tgz","fileCount":9,"integrity":"sha512-vbvAsdxipRQW8KzFA6805+35SwdHzXk5hqynm0yehgrr8h+5CbFaqhzyE3LWNzcBIoTjZpK7qvVhffnhPJGXcQ==","signatures":[{"sig":"MEQCIFvwkO5uwrKnlJtTGZVteRLPtbKykbR7WSC12OlwcF3JAiAAg3DaxKidEz1Ld2I6LysKab8/gdbyNJ3+mhRQJvt+WQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBbcXCRA9TVsSAnZWagAAzaQP/RhwzAD3WCPzdW/ZJTE6\n2MxAE18qZn6Wbj5NudMSd3bSFHQ6V9R4RYtLCYk6HwEOJ5ZSojQjLsCNwHfl\nFvrLUO17NmmKWHtXvdf8CTuF3ijbDr6SLGDi2ln3E5zbzEKlFnOHTW5DEa8/\nSkDDXN+tN9qLapQ+nLqTspvYs09f98B5kEHPWt/LAJfFjsPDhJmmJ+K2lX+Q\nCr/RJOQUTSjPsea3OEfUlweztrWl+/IF+eCRYNzXqjEOuHHToqqm3XzPwh/9\naBfJULaU0ClWUTMUMoAci4eK0VbwABTbwz8AdV4PTIG+vGzPskxsecBFJM9I\nE3hO7HDYRii4nCBRAZqOSjBV8ds9ujV7W01c+n61T2GLZH4B9f3M33UF49CO\n5rmEUJpeVRbjIGhMiRU5JswIhwMBn2T9fo4QYzGOTefPSAox6EkNiqfuJyjo\n8Ic5aNbsaRAeulBI5h7jt1g4Yb2BPpvLhypCz0AIY6FKWgOY/2b8MfaXv2F5\nIXDMc3Mh0RhbDvcAeOjx8XtGY+g5rUi4FPTzpSiUmbJKLy6UU4x3OmcYu0Id\nOQjcCeZ3w9Lfn24mhSPXH+HprZFq/g7GHWI6+FVdQVcSoKjR69w64aiGrbu0\niJuCPK389AHK0ZuZNq8U6ewV5GFL2Fw3FyQr9MvcIhD0G/3ZoQgcnIeoch3G\ni2C2\r\n=jcef\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"52023f10c4e9453070f2bc5c67cf723adb43d68f","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.16"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.8-dependabot-npm-and-yarn-lodash-4-17-16-52023f10c4e9453070f2bc5c67cf723adb43d68f_1594210070803_0.8182785696398138","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.8-dependabot-npm-and-yarn-lodash-4-17-17-58fa0663bd88f7c48ec8afb7567badf8c041fe76":{"name":"@balena/jellyfish-assert","version":"0.0.8-dependabot-npm-and-yarn-lodash-4-17-17-58fa0663bd88f7c48ec8afb7567badf8c041fe76","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.8-dependabot-npm-and-yarn-lodash-4-17-17-58fa0663bd88f7c48ec8afb7567badf8c041fe76","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e7dcc1eeb1a4f1ecb4c056c92e5803b842c3d85a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.8-dependabot-npm-and-yarn-lodash-4-17-17-58fa0663bd88f7c48ec8afb7567badf8c041fe76.tgz","fileCount":9,"integrity":"sha512-voYcNGxvf2VW39TvW5zDzNt2eOf1h1dkxigBPtQEjQBhrZL4NwXN52JK/h33TGUDEbgePMkMgAsUWdHs5pdVdw==","signatures":[{"sig":"MEQCIB7l2P8fZeSzfqufsqHYsfWrthOUYqN/Vev8M8ybnTkyAiA2hUbuHQpmQoxxNyxSyTDHViwosE+fPS20+ai9MJiWHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBbnaCRA9TVsSAnZWagAAzL0QAICB46PMAqh9BdlpOpQd\nOa7kgjYGmmIayeg/vLFg2Z+KBTQqWC+MmOegB9jBbgB1PdOFmqqyzP7dhOgk\nL9+B2JKRQpxGx4+adgUmBGymxwrwWLiVCBnuXE0WtAOz/OKzNOdlsBOKHWJo\n4VgsdU6in3C1dc44WKkNGbRqfqnsCpNGDKW126qnyDReRnEKfbw/mSM24Nzy\nXXaqlQrCSJI4eB0KnW10pIOaePmg9uPBPQENviO0YuenkW2ruvuJbRHkieUJ\nQpI53Em2DTzJUCbJNKEA9RFn4M+20s2Bg8JOh1o/tLHZT+0k6YVyfOLivc3+\nNjuH6LAKBwz1jdz+g21QuTEtmaRXsH35kYddMzQY7yXId6tHq7PnKbwdVxp9\nBRgaKRyO2TkKsyMed/fKH7OSsGO5OZ1zClyv/ar8BkYo+HN8WJCyUVRp6Nsk\nYNNgWXaS0Sg8wuH64z7mfj6AfK9bLLAtM6YtGjjBpca305tPZC/U40wiyQaf\nBKOPkB5FNmnWlpunl9wDhOm+SqvNLXO5Wma3FDtqJlvMRsDf/blWPCI/nkfr\nOFQFSA6fyVRD3YXzKQoO4vDwE94AQPmBDG9S9XIJqrmt9BJE6MWVXakXPWbU\nHKM4jGjz/t2OwYmyQKaciYWZILNNEc1V/94mw4NQSfqdeMVONtHWtysmlKBc\nHYRH\r\n=20IZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"58fa0663bd88f7c48ec8afb7567badf8c041fe76","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.17"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.8-dependabot-npm-and-yarn-lodash-4-17-17-58fa0663bd88f7c48ec8afb7567badf8c041fe76_1594210778015_0.3579027647659003","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.8":{"name":"@balena/jellyfish-assert","version":"0.0.8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7d8a9572e13d7026af0dc2a50339d70b1f5991b7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.8.tgz","fileCount":9,"integrity":"sha512-vJtfTkT4aH4HOxN/sJm6/TPYmZ+lzaTI0n3sfJKYKRqYZlvjQujiCmJcqp85ppCwo5EyLnFgLJt72lmVt4uVyA==","signatures":[{"sig":"MEUCIQCFF/IG3OPLTjQSV7tOGMGFAqHVkgoeiZmkqVHDv/m2gQIgPGXq/mUrPQ6zpS5jsV5nrMtyHzocXmeASCSJWwEdPyw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBlRuCRA9TVsSAnZWagAAboQP/ieqBkdWK1uVILZdpKKC\n+ZiLjO6aH2w0+FwTNCRSSuLkelEscTlp58/dYU9gbGqVnXUrVd3cUJS6osGn\nQEu45xdML2QRLVv6tF4dLWdpkduqxi5z1iXs68tfkoABeAsAbazqwXHZ+Q7J\nNoc79IKX1nc8kQCkbq1/hx22z8j+r9D7bnUdYSIlp6rdnoAZNIZOgOVPo1SK\nNpeS+mTVt5GdOdTkiPtDYoHFnCPsnOJ42ALzqfNO06igf/+Pze+ZfMfUlZfc\nCukB/h8n00D2Dr3/dN8pnmj8SrVwoT0++8Uuz4SM0SuADnQn7PdTnNKKcH5R\nx29C+HRu0jfYNLS39a+GF9eyZuUROfI3a6uMvuGPY3o9DaLGo/48AKHH2fhB\nUJxjuA9rItG+zHV6/BiV9BA1M1EQV0e3FbsoBjgnEQC2HgjgHwLN6DyR42qc\nBY8Su6a0Bm9DekLzzvQ8G4MQlLJBmup3xC75AADprqWX6J/TaJr0OlNXB/vi\nulGhd8SMQeAjB8PODGHcQK7WltZiYBepgQEQjizIRYHpqIyWzF83m/1BRfgh\nmNZG2vnRYgf0/bCexOd2+W/C9/iT82ppa/znYJBFv6oDnkgm5gcCNYnfyrhb\nox9MUXbgMdTXPAyM+z5f9pH5eGsKIXKG3rohsEPonHaMou1W5cjtP1PdWItg\nzjeO\r\n=drE5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"87f16991768e33dc2cf0187c094f9c95cda2b006","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.17"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^28.6.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.8_1594250350214_0.15865120526282772","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.8-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-af521b01034d9a94969fb954997f634b3d0f00fd":{"name":"@balena/jellyfish-assert","version":"0.0.8-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-af521b01034d9a94969fb954997f634b3d0f00fd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.8-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-af521b01034d9a94969fb954997f634b3d0f00fd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b21def2099ec5841d2d68e215a6a2462466e0849","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.8-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-af521b01034d9a94969fb954997f634b3d0f00fd.tgz","fileCount":9,"integrity":"sha512-HeNp6BK+fAounRl4XkdRLLfFrte6LAjiZlaPjANmhdwM7OWAuCZQj4qUsPn2sdL3M5nUc+7HRwDCzpy3EP46Qg==","signatures":[{"sig":"MEUCIQDiRXQ/LuUn9JpAKDnc9uvysa7z9GQ0BXz7OzKoxM4N5AIgdeIew7Yym3tXKVaYYJl/WuzdfHX0AncUm6NRevC8z3w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBlS7CRA9TVsSAnZWagAAV/kP/2gDwKxvoQOS3BhyRzDw\nFiv76fqoIyuGuKZPEyVCf6Xcwwrr2W31Uo6WH80r34pDedYa9rq8lURuGWfC\nN3a8neh2Rfhq6Z/JFXqeTdxW2O9jWkhVhBvRbYGSnOrc8RHTQBVMHC9kSqFs\n29ueSDZI6i9gY9aHrMhUrnMKLJGEh1bsKXCfr3jViDILkyGyxDbxc1tXQh9X\nSiTPGfo0beInuWYeigIPWOe72ZFhlvhbm6MtIXb8ZcA7daU9Ydfvw2O560Ae\n8ACY5BihEDJjwqnbgN5PogqpcOPdIsTKdJ8+OdBHQjK8AzkCjGL2isrPJqIq\nEWsEheMGKIr/dzclGSq1hlRGorcjF11psj1GltaDMbSWRVcyBjbDwXQAeCfD\n1ucIEnKJuXmpsWNvjeMuJ8Jd9mhA5Mx9KsFm5C8vF2h02ydKK+pgaY+ucloJ\n1oJQ2ytGzgarNgoBVlR7q3l235/5YTDxvT3uD3q1z5KsqKOXfgWva/eyxxuO\nqCEfcBoMbjxKarJWtQAoT+4FnOun9brzNMFFmS7LxtiWQH0KH+fEFImAKrUI\nnV8AUwZ0iu5UkyqMTMfW72q+9cwvfahBmOK/PQman/RsI7gzcWXcJp92Fodq\nia8IyOkE3TLzSnuz10Reinq+WwjZteoC6yKxm1+kBYZojUTnlAK4S2ujZGzO\nXTZa\r\n=f611\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"af521b01034d9a94969fb954997f634b3d0f00fd","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.17"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.8-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-af521b01034d9a94969fb954997f634b3d0f00fd_1594250426865_0.9381092059002014","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.9-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-d746e3b7bf12973d80a13a37527a1fb867fa490d":{"name":"@balena/jellyfish-assert","version":"0.0.9-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-d746e3b7bf12973d80a13a37527a1fb867fa490d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.9-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-d746e3b7bf12973d80a13a37527a1fb867fa490d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b7d2ade274d6efc03e4406f0b4b09b153c7ef0b7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.9-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-d746e3b7bf12973d80a13a37527a1fb867fa490d.tgz","fileCount":9,"integrity":"sha512-6mATEZU8isSOZDdmnoyqyjPWKkMprfue7yxDkxZcFxU2/V6tuXk7c2eZky+g7t0qEVUet++pu7U2FEP14W4yJA==","signatures":[{"sig":"MEUCIQDJJ8Qz9DVqvMolOk0NFg+0CHgXqYA+/Z6OVOFZDVyIegIgdjAIfACENYYmORR3B1Ex6gwpm98bPvLYx+q4Fx3FmPI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBlV5CRA9TVsSAnZWagAAnT4P/2AvReMrfwBqczL86CGi\nVzyb1p4apWGUDG69sKcTaLLv+Pdyj3dVb1BgpMr+W+PdvMdZPNHKOB+n7fmv\nrlU46Dy1YrxlxyYR9dYADMKu5IvbnKrtAd6Z5Vp4tttq0/EYZI8oF+USEcBN\nGhLrGkhFbW0PDEEOwjpFSdacXLC/369sYlJScjjE+60NISADiYPSU94ynMiS\nWkJGN1BTPs7d+nazspahf5ecbfhBOWzdlvt7j5fXZPWBmy4d3ysVMg7Q6wm7\n22qLjtJ+pysnpaSlbQJ1M7oEJssyoSvRCd04VEwC7jkikWIwIPSBfwm+MjHN\nrRb1RtydKlBOAs9R1duckb1bPjxB2+e0iau8zHKU/tR17dLdI450jHiOeVx3\npSO/xh3jkNsUQDDblDrE9zW7AR542wC6nwx03AARc6Zqj1eUstHT9PRsDIIt\nCfytReauysFyeDMv5PW/XVYUo6qbgqVEx2dp13E3AVIFt8qnZWAZZ5/fPE/N\nGijX0+lFcOqfgN3C6CsMCaTqE+8lxbqhb9Z2TitXgPIZdapPiILBaZie2uCE\nDB+v3o7BcRcoDnyiDoGmdf3PVdeCf+89N8YHryLjuDCdARFtWKovoicSaeQd\nohhV+7ajxhsJ/HXOD2ECQKrX8qdWk5nmmWKm4P9RNN1IcQ1AlCMqFw9+iV+e\nZ161\r\n=D9+D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"d746e3b7bf12973d80a13a37527a1fb867fa490d","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.17"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.9-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-d746e3b7bf12973d80a13a37527a1fb867fa490d_1594250617446_0.02894042215334558","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.9":{"name":"@balena/jellyfish-assert","version":"0.0.9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a2e05a00f81ea8b89c6504626cc22d8fa575ec3d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.9.tgz","fileCount":9,"integrity":"sha512-rEjyQhqM7ksGNOZEBA81PFXmZMa9SLBU+FUdiX/LOrFJGw5h7uYqsN9be7sFMSD8YaG0ohaDdNtbCErh0eBEug==","signatures":[{"sig":"MEUCIClWQt16X+CXZXw1tM+csZqFPnAFfhVbv+Ja5FAvzxosAiEAy/jdgwTRMmb7FcAwApd0CjKtR/MWEcH0Rjrap/bQDRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBlYbCRA9TVsSAnZWagAAEwMP/i0SS5FGy9pC6ouPSFbh\n7N6qyu+mPysRpLUui2VMVYitcjoFyfCo0NPCklnPeXqiG0gE1qm/OINcVsPb\n2ItHDN5lZPub1TlBURtTYBy1RYFB1mUkPVeodiI8ieeUminY8iBc75+olQsk\n0In9aYD4JMekgR47tZ7QUuVV74eUPF1+OwpA3HNEtWzJWzgIu4L/SE1RG448\n7lGnwt9yiQ1hufbX3UIqjtRsj5ZHrweZb+neH3tBcs2KMaF9AwrTI1UkMmdS\nKDHx+onPmvxOlIDXQJJgpgeI5NJDheoLpRw1xHmdFz2LiXiq3oSc/2V/AFH0\nxcHwfGtcFl42WocCNw8NPvEDJ//jqNFx+WMAAmdAMTaUSkUfLw5T4wUJiLUA\nZT8Lj3kuqf+uW6vCj0IasoU1RiUYlwez4pFR1DO9jzmY+uMo+42d5Ftl9U7/\n/G6uwi+fr+kuKxa6q1Pe4UVKs/MDYo+mYFRx8vYLJeJ2KdgyEy2Ui0Gp3xg/\nQ1uGmNBmfTqSe5wxrgkqLb2zkZSIQ6b9HjGRd9hxffuaT0O4tXCipIKpMea+\n/4FDw+jx+aDw+CMHJEAN+yn8ZyelTYNTo9X2Kb6U1gHdPfA/UMNfjVs0WoDO\nwVC1telESDuZjRvXrAGv7P9V19H0JL7puvEmgzEY+/up1Ce+7GVfWo/jA7Fq\nSDFt\r\n=TYED\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"6d38e1ba1f308795f5ec6fc9c5d7103794792d08","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.17"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.9_1594250779495_0.09030504082626312","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.10-dependabot-npm-and-yarn-lodash-4-17-19-58e0dc7c03bec14034cf85437b2ebfb5c263740d":{"name":"@balena/jellyfish-assert","version":"0.0.10-dependabot-npm-and-yarn-lodash-4-17-19-58e0dc7c03bec14034cf85437b2ebfb5c263740d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.10-dependabot-npm-and-yarn-lodash-4-17-19-58e0dc7c03bec14034cf85437b2ebfb5c263740d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"814cb36eb1301d58bf4888c1cf775fa846cc2009","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.10-dependabot-npm-and-yarn-lodash-4-17-19-58e0dc7c03bec14034cf85437b2ebfb5c263740d.tgz","fileCount":9,"integrity":"sha512-zybJoiIJjWs8aZD3FvMS1DPWXZPaoLXQ+iaHDlRohE0sACLOljsm2ITKg4iYD+SChfGhjW5+rcgtifwhK4YM7w==","signatures":[{"sig":"MEUCIQDu3FKu6gX+ASATvTw4tGcCQuhDHyqN5+3IsI++viEuvwIgR+o8SZEk8jmel81F2Kfv9gwjq7ZH4J75/BCkLn//cSU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBwhJCRA9TVsSAnZWagAA4/UP+wWzdamj2PloeHm/TsGu\nMN293xALgDYwpSvCbNkZKK6PlVwT226cMNHbhcuVag8QYDlGmnsIbYeOFubP\nUm2BaG0sRAY3xSnbKSsG/QsqmWs5jN3UG4ZG7DXJee0QbFthDE+ocjh/brUM\nrjmxgXCPd7zEqUXgzzKoKML5I0cE85IDnJr04Z4LvxITMLJFzP5noF7jZK8m\ndU+9VvhUyihJ/GCFib/8X9J7wx1VJY4b1ilqPxgKbndrqqHjspXBQ9PN1okv\nt3PwK717KuwrhF/jdU4JGjUce/fDcZarAK+XXA6A6AizgCaGgYe0CnasCBhA\nBFZ6LGL3/038gfQghaCx5xVC8EBhpPfiD8ymvNvlq0QhNQpG02Jh3zzqKxSF\nW2HBVgx2xQiGvt6z2cQOUh95m5vlTz0kkNT7fvu2xUYCxu6BzsQ1adLc/0Ua\nuQ0X0QXOgCsia16StGKBz0/Y7N3j/Jr5P4QV7HeExo7qPUHuth8saxnxjbet\nvv1FxDLVOtC+dsgxYBtF6G/Z9R7ap7UCZztEiPtXFZfwLYVY+74JO/G8j6p8\nkwIVXrOqf8fYXXrDgKCvES/EM7uTt3Pvp8Z1bTThll6Z0/bHglfCpsHqG/wN\n/bc/Agz5pKsQ8sc5kevWdeapP67QPEoWGhzFsuMQ56NVvsjf+KcQPDqlZ8iO\nGfuU\r\n=HKAn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"58e0dc7c03bec14034cf85437b2ebfb5c263740d","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.10-dependabot-npm-and-yarn-lodash-4-17-19-58e0dc7c03bec14034cf85437b2ebfb5c263740d_1594296392879_0.05573493770489657","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.10-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-2-f0813f4cb6c3cc4b328973e826d243b648579cfc":{"name":"@balena/jellyfish-assert","version":"0.0.10-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-2-f0813f4cb6c3cc4b328973e826d243b648579cfc","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.10-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-2-f0813f4cb6c3cc4b328973e826d243b648579cfc","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7a097bb71047150c4ea5f46c3dd3dfcb97b3fef7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.10-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-2-f0813f4cb6c3cc4b328973e826d243b648579cfc.tgz","fileCount":9,"integrity":"sha512-MOh7u200hI5Yaoeydi/F7+INoyS8RJq96bsr9IEXGqp/6DBQWN1y31LHjBR68myvfSZ4KunSaXNtq+tgXP8BRw==","signatures":[{"sig":"MEYCIQD0+cwnzXYOxSdvErmkMWM5DTx4cUXaUYJaQhmpt2y4ugIhAKh4TtqdL7HNpC3ZQkWiFfVS3TY1UGy/V9n6xexJu7EY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBwiCCRA9TVsSAnZWagAAytkP/0TYPIq0812QeMobJ0HT\n6Tg5+GBNwUn+0hVhgsyG/psJbOCZnC9RbaVpqzTJJeODk/DE3MSJbQnpMMo9\ni2kYse7xuYwB1zsoJ3m1J2eC5lpW8Nmee6KMkRK6oisawc8elT/5a/InJdWx\nd/9rEmZcY6fKNDdlDJnler3bKW2/z2dbiVt7NV0f/kJJnS1s2RyCqjtaOVvI\nn+oJ/XgTwIrYfW32CLVC608mddZSGbcPKmIGabwE1pE5elqIN0TNKu0XlaiL\nklSSrI1XMiHUKnsDF05AIRnXFaKjK3w8jFUEvI/8ynCY72w05XtBztb9WLm5\nyVXithoA2Ud1p2T7MzZgKcxupx8EideZvkt+bvP3HajZBOf8X6fOQr6+66Bt\n0wG0AkJE+xFzA5Pr/jGDCfXKKtDOUWN1NqVbgP5mRo5yveh+53XsjD02EUMJ\nUDqTGpAM9yngYtqi+SrXeWyPmmfPF7BwTzFAzF2/r9ZfTUQnx0oNQJZ5Mnt1\nvPLVBlnnunSDxtBLVrmAo6AZRlzr1Q9EphhT6aG7spwO4JE/EbB9CTDAYDfo\nHLGKMNUP0remsc4Y8dQAFoSq7QQjUxMQP3Ce2jbmAbUqn/UOYp1zki4oEBtK\nsFUDDI8BX9y7NiI7Hq9qs/X1IwsmTLkhk+AKqqD/PXcvcAqJY6fOalKFl3ze\n4dim\r\n=lYAm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"f0813f4cb6c3cc4b328973e826d243b648579cfc","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.17"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.10-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-2-f0813f4cb6c3cc4b328973e826d243b648579cfc_1594296450491_0.4989502196155471","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.10":{"name":"@balena/jellyfish-assert","version":"0.0.10","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.10","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"862028cd3f0877a82c9a484657207572356a39d9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.10.tgz","fileCount":9,"integrity":"sha512-kKdm1UjQJgbIqteSSrqdLyVu66SO2F30GUYH0ibHU/uZUM26KzJJR8qjU/G7X6MnqGQSsXigN3UnjPoRuC3TcQ==","signatures":[{"sig":"MEQCIDo6bm2v9aIXwr4w+02iWHRlPzUXg5H73/KkcuzvgEvUAiBqlcEz0Nmv649XpE/nO4+2HQRhr9+N1SQl8b5pXg2PYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB+/ZCRA9TVsSAnZWagAAfyUP/26vh2wG9/53hJe5drjH\nf3Y1hy4IYghStgrnB9SJzrv6IQHDZcjBAK9rV89aFh3ZtGuofnVI8GG2NO/3\nBPAelO4xsFq4IQup3Vp3E7ZUN3k+nnimTFzrpgi1YjLvlykd20ChjmRTek9W\n1KxsvEDl/3+zwoGaEt/GBN6cNU8MJuG25bhnuejPJhCm45PyedmeGX4ubIUI\n5Z9bvIxsZDMdW8wH7n3GnFUzKAPZCRm3q9Ax14BZb39IWBz3zujzgTocg4fj\nOCKsFBnArh8+XXWu5qIgaBAv52cPcbPfaQRSqOwFEMx7IGhA8VxyvEggLnQx\nw9ouJnm/W2m5KFjygQqA0h6WpJrIMWdN4Yz2LfBOyUx2yECzhaaH5De6CsAC\neIe7g9Z0WCsEP5FmN5pcGxLvQ/E9EFwjgI2cYEXGX4TK/sXAJSbTmcI/5BrL\nP2SwsIl7unXpgWD/RmOw25bseHawR9Cz6K7J+cVj4YPzo5jUcHqZfVLf/0JI\n9vxbdRNEEPoukkNJGSP4pDuyrmhd6RGeDxPw2rO7KaPnQ6cG1nPVU0xO7Zn4\nUwWqhtBnsrkX1u0NBzwrjfxRxCQ46xWK+TN0d9fP/J7JldMYbuDgKaZRINnD\nZAxPMYzHmXa9+yb3wSu11V1c00XJsS5x4PkDePLB+NiufuVGDhAnSg4RhRCW\nRsGj\r\n=zxrr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"de3035a938c24ba32f8dd2e95ec9eea2e0e08f85","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.17"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.10_1594355673120_0.5808712205783695","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.11-dependabot-npm-and-yarn-lodash-4-17-19-0c282300207ac5327d6d22d16949f84ae94692ea":{"name":"@balena/jellyfish-assert","version":"0.0.11-dependabot-npm-and-yarn-lodash-4-17-19-0c282300207ac5327d6d22d16949f84ae94692ea","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.11-dependabot-npm-and-yarn-lodash-4-17-19-0c282300207ac5327d6d22d16949f84ae94692ea","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f77b40253c37074805ad7c9f23b5aa4036ce7b18","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.11-dependabot-npm-and-yarn-lodash-4-17-19-0c282300207ac5327d6d22d16949f84ae94692ea.tgz","fileCount":9,"integrity":"sha512-7xlzINd2PlWM4JUNUgs6BawOi6vNVLb+J6ktiDD1r0ZgYFKfipcpyg/rjx25seRaEF6z6LRy+Nj6d4k766hz5A==","signatures":[{"sig":"MEUCIDWZcD2SkVOPWM/U3g8LgiG35VLHxOYw/RjHY4xvMqmSAiEA2PIJMQ/ulcwSH7A7Pc3ly7IiCCwbKZvWJxEn46jkQ58=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB/CPCRA9TVsSAnZWagAA1qQQAI2//WYzMviB6YiOZIs6\n0qh1rskVij9KC/Uz8zrDGfVio/qMcnngeqB70yJmi2hEE18T/Omrvt4f75rQ\nm71hhuyEoagj25noOQPX2EnKnWin7O02yHt9RALIxeJGsn7bkm/2yGCzPx+8\nFroMDk1Q0p4BxtVLgE4oiDIIRqQc2IjOpMDZ2TaBfege+EGtWTPkV9jaWi0X\nUHWRrP9EeDYU3VRK9OWNcvcm15ciXvGoOgO0wJLTf+3zUYwrJ0BhwORYurY7\nikI4FQNZSW13qcyw4X86GHo47dRNdwKFAA9W5GmkFFNBgvjNQFvF6R4A1sM7\nbzohKed2/hvN2mFmXXeWp2uVGsZn7wU9uOrB1+zkVnckA62qDDPXHlfBFReK\nYE4KRhuIiNUSQRQuhXIwVV1CCOM2W/gma1djLuItLSsZhwlb2J7MjRqhcrSK\nlweg+cgiV9te6XhWbwmbbADBYvTrktERZ+OqcVHwXjBrnDiTmxXi00Xy30Ry\nxhvRB+pMUq3ZsmexS2ULUZq+51Jf+67zmL9ua2KgR0gXgKfcthUGziuM3DEd\nJyuYrBv9ZWWGJIbvtMljKbO4EXkLRs/zyEZ4fKL5aKovHv6QdiZztoTFi3GI\nIhU2FV7uliwk+jFhoAg/sg2sMDXv/wgyYmTnjxSXt9VFTQmIVK1a1gkfU0bV\nJr1R\r\n=jX+U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"0c282300207ac5327d6d22d16949f84ae94692ea","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.11-dependabot-npm-and-yarn-lodash-4-17-19-0c282300207ac5327d6d22d16949f84ae94692ea_1594355855086_0.668232395877288","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.11":{"name":"@balena/jellyfish-assert","version":"0.0.11","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.11","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8925210b18ed3f09f05870c629d51e04f70cb1dc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.11.tgz","fileCount":9,"integrity":"sha512-0ZKMwl45LUq/NUqpda6AxlaPuE8bDvs+d+FYRv7VufL8Ci3S2nCVtQBJgXurHfPw1GzdTAqdjZHfjWgeXP3YAQ==","signatures":[{"sig":"MEYCIQDhCU8lwM5HIN1ruiVxdquMJkFD3ZGAM5DmJCUB9aNdSwIhAKFtTxG0Z3cPaA1x59K0U8o4naN6iELzZPfO70f+FJYE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB/FxCRA9TVsSAnZWagAAfbEP/RavwI8DY7Gl8Ca9P4JC\n6NRER4P2m1i06j3x7d/9yXLtb4Bpps7TTQSixoC/rDhICaxy49P5KObE+QOt\naJrnVbyITqeBkkdQIaVVbOaqm2r9OjIYZXLFeP0gN5SwBEK0QePe6PX0Ze2l\nV13YEoepGAVu35uwEl2PM+NAVukvhaUOycBTChJh14y9UmPekfyJ5hIHRedZ\nSLxkBokQ0eJQLd6FMGVU6p/nhERXyy3rAwOkADiXN0vozf+n8JBcbPmwfth7\nT5kdxuM909JXgpNw36NIJXsBWhh5gY5PNkIPIVcQIIZjKhSpJTIBhBDGwUxY\nTj6KASvzgx8j0kHU7ucd7HEFUKTGfjoUAIj3M3CynlebqKl5Rfqmr9d/StP9\nLxgebPlYy5Fp4Wv6KAE7W3KKL2l8r6BDBKZ/ShtHPhb2jLTD6ShGZ2SkqHXA\nMf2OYKh7Mmz8a+0nORVHnYX7jdRiKc1jWOqnW6iMlEcoqheXfuiSLdLjvjhf\nY0zCrehMl5M6Tk6mGwM0+p0XXYTGF2/zXPvMqOPNSga34Cj+/obZMGzUYViA\npDkGY2lmDEU92364RmV+te5PQf1pB7ZOwa+lbH4P9K7RV0rnmBcsplaLc3p2\n3Sy5aT4GUXLp+O70vlSJBEehOnZ+dbv05SfUwsRnstXHNu2fBZvphaLqF8sq\nU4TF\r\n=eoGb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"de9cfdb24d5528590fa19bbae14aecd79c6e3506","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.11_1594356080676_0.3812482552471579","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.12-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-3-6374551098fe8f70fa92b80a5cf9a45a0e73c89f":{"name":"@balena/jellyfish-assert","version":"0.0.12-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-3-6374551098fe8f70fa92b80a5cf9a45a0e73c89f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.12-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-3-6374551098fe8f70fa92b80a5cf9a45a0e73c89f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"93fe04de10a03242bc247dccc544fc965461c89b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.12-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-3-6374551098fe8f70fa92b80a5cf9a45a0e73c89f.tgz","fileCount":9,"integrity":"sha512-6iVwUsR4tj2qpQIc2KZx/NCqtYrxFaToyOkFPJiUkAWYoXAKhFqgTpRSs95kRyyNQiqa0yxLNPTWln6RiWRm0Q==","signatures":[{"sig":"MEUCIEeti3ncPiB8xFPzMVgMnbbuJtrQIA02FQ/hH65Eqha+AiEAmdcbYzK2owf/9stSj/b2FlXRNjK080d4CaPk552Jll4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCFmxCRA9TVsSAnZWagAAbhkP/iCcsmlIy/fNojvHDY0Y\nV909EPGSFtDW3Qpy4D/zm7btDr9zaU+4z3r+dA/fFYyRIgaH2aPQoezYEnnm\nJC1J1HaHY5UQEhbrSRU26kU7EQwv1++nrlxkqO4d66nCSuP6aECPsSnxJBS/\nalNBTPrakVhAqJ8VU+LykekcOXEs3Xn1CwQetaVlujNYKitZI5dR80K8X7Ae\nVdJzGyYfCcPJ//agM5HbSLHRsYvkpyJdfMgJAv2QEPDrsXOWShwbGiqwqxgt\nhMkh8FeghMDWDtgi1oULt+8Majned9s0a0f1QvIlrYcaxAqYCt+1dQWjyOa7\n8Wati9OwgZBkrF8vrm81cnwKAz1elOI71ouUa6rlWOHuWwDCKa14XFuZ+zyy\nLGly3bMJAF/vAHVx+nXBEaEXe5dD2iSqUo4NNufJEQG1Tqurnj0cBIw5Asg3\nZ5EF3nDjj2xA4/YTZBw+t0wRjAuowefyfaCnmhPFdbYNOOY8K/r+Z3ffAxWo\nUhOEHcy/+XIF8nLvTqAwbl0fygrcG0AkSWJ3HWpN1sjq5/JYmk9ejqYKSKwu\n1igzsCLq/7c4y9zUqwUrevGjObf1zdt97GVbyvp/jGAdrIethlB6iEGfeH2V\nSKioXoncEzwVgD2mKKTJrFW7F4IRSGC9PftliAMlhyVp+2IDgzuhD6Z4Z3IM\nyAqE\r\n=fUEs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"6374551098fe8f70fa92b80a5cf9a45a0e73c89f","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.12-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-3-6374551098fe8f70fa92b80a5cf9a45a0e73c89f_1594382769331_0.3396791194692579","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.12":{"name":"@balena/jellyfish-assert","version":"0.0.12","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.12","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"70a650abd596cfd2bf4cdc69bf0e969160c4dd1e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.12.tgz","fileCount":9,"integrity":"sha512-AuMZCfXm1mSQKSACef/DPh/KnYXQJ6ei3wmjMJnOL+ar7r5PQIdAbq1JsHSM8LjxNV5+vRdEceGouUBdh6DMRA==","signatures":[{"sig":"MEYCIQCUIxDE3educoYrInxNK9osilMGDjYSrlbbOaznPgHlhgIhAMxfXhKIw5/dFSNGbLytdKsiCsb/NIgawazZUoSg7BP4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCdZ5CRA9TVsSAnZWagAASEwP+gIk2sGgFmOkLhL8LlnZ\niLTqnDgcUE7Cn6+jQhPPHneHP6QBMinnYlgmFi1qenXJ4ggglQmtBRMwXeo6\n8FK9YVZG91H3oPhMoy7HKTHvs1jAN04sUeSdLsMx8ZyYQhXFB8P69W0cOhx9\nULYO6D1+zZ3JiMYZ7WhQsAZSM5MsLBatNarfh+UfWYHgPywScammp2gT/DRL\nAr9ZCLbGzPgfkWMyVW94ant9jXsouJyVlfNsdIBOR+/pgts2LwI5ffaA+NXr\ndx1k9N4AHCYVhqrrZsKq8zx0revalG6QEd/IkRgfZC2qXoFjsMhRxcy10lMS\nY4L7FACnueNa3hQe6YzBJ9MnbjBEI6MODPzP6BjuoI8tWEyFw03lvNg+5ofX\nmrzKmfiwp+9dDdhxR0i9RDi4qzT+fAD71PGSTK9sJpyODbuSQNWc7kst0zVg\n0w/L9eU3K3US7reVDpGshCBvA7L7G6i41h6fQpLcLsOyA41tUJugJu9Kb9ic\nD4qd4BbFP3MdnUGGXcq8ObhP43S84HkpuRqWiDN3lWHXHMgoIxq9GFm333Yi\nER4iAw1AFkYNYDA2c3+09jWoH3nGcEa8CssFpT7v1fvEbAWJ12qFesGEUXj9\nzVm/FDeG31yxaaFqb6shRwfzBNFM4i4JhZlo9bLO4E4aV0OsWWexL8wyquLY\n240I\r\n=Ruwf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"79e3cdf403973ce962a5cd169e0003bde3d42b52","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.1.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.12_1594480248583_0.5843103133936687","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.13-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-2-0-c25cf4c69fbd5b1147f1f7dc0ac597840ce5e29d":{"name":"@balena/jellyfish-assert","version":"0.0.13-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-2-0-c25cf4c69fbd5b1147f1f7dc0ac597840ce5e29d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.13-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-2-0-c25cf4c69fbd5b1147f1f7dc0ac597840ce5e29d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5228416349f7b21cd209614b258b17d1f472aee7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.13-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-2-0-c25cf4c69fbd5b1147f1f7dc0ac597840ce5e29d.tgz","fileCount":9,"integrity":"sha512-NWXudgscNwleqMkYfno8Td+lKDa8649Mt7uh2+dB90DadDkBDOnYaAebLnTqAnzkdNvVw4OnMWabGCYm/SU3kA==","signatures":[{"sig":"MEUCIQC9gJx17w1Yplni9g6COBwfzZIGJxUq9YMIiUg1sRpVEgIgY+nSrbbJQ9M27Ex2+auyBq10U90gCvMwLm+GSXZnyrM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDE5KCRA9TVsSAnZWagAABfcP/iuT8Oi8M50smq6E3DTt\nUhGoWMz8TmHRSm29wXN7Z9SKWMZ5Z2u79ZLOPZ9/rt+wl8L6BSSdD+BQpOYc\nrYewVf5qqTQ3txChohJn8pwRKIaK6d3dQ1o6DCrFJpfXP6ntDurL0nARtwMQ\nyIU94ERQl9UCwSgejpgk1NBOCOy1eraPS389pNKZ3t4qWTcv3qh0Sjbwheki\nXH+VHR+ae3OBL2jihFqPLjOwawjsMBOEXHgzrEuDByAxV182ZK/UrVdXPrPy\n03Xs2RIpSqxaE5snIYzlPQCIk6s/3g86vBpjxNAXMIgYz9qOxzNIVh6abQq9\notjEFOLt5PTRZQuBrMHG4dty+coTIOCINYkTsmparXEPsgeJiwO+Lpfyc4mR\n7ENyiO4KY9G1dhKDTl3gnrhqapfHGtHP4YKeOFVVsWWqkmiW54E9Kl8gQgFE\nS6VCBXQFJdwjRQcyHoV0hx5CMAsIBapNmlvyIVTEU3dGLkDp/2HF3QFltnBe\ndlQhuZ1+yG4/A7blg8cQmGgcpjqEp/blwJkdFqVdnSvby3E5xlNCf9BMB91H\n9ENVFcKpsFY1AJ1yB2AJQ5Grb4q5NE6faCN+oq6qXEN7usSCm0Xy2Aantrzl\nbAJTwPG5Relf0gz3LOGuasuCgsgNlY6W7ZNL8dJ9FA8aEz3rsahxTvqwkY2N\nb21J\r\n=irZF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"c25cf4c69fbd5b1147f1f7dc0ac597840ce5e29d","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.13-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-2-0-c25cf4c69fbd5b1147f1f7dc0ac597840ce5e29d_1594641994576_0.5033394190575025","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.13":{"name":"@balena/jellyfish-assert","version":"0.0.13","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.13","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e4724baafb9dd40edd68cbc4c505f15e1c52fd06","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.13.tgz","fileCount":9,"integrity":"sha512-gZrMYRm+mjKsD/jXrrg9/1HAQcxhMVZ504Bx++2ddf6rL23nq2F8aL7/ShXjahrdoPv3citfUAe03GEKwR/F4Q==","signatures":[{"sig":"MEYCIQCXytXrxuXyMFGDpn9tyAwEMbcph5MNgYqx+ekwSNKBSwIhANGa2kFcC+oUcBzgeWfdqx5MkBhvGwrwjd433xQ/kAF7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDOzaCRA9TVsSAnZWagAATyUQAKI7/+ryLlhsxmHOhjHi\ncipMjBg6G/IDnVSkE74w4mm7QOsOxriGlFR5nqazL50Wsl9vbsdn/Q/syDLe\ndC2ZvIiySykhWr5ftD26K87bOhXaK4NumQNo6gApBk26WiTXWcWxERNSd5Y+\now3ok3IsnO7ARd0zildarD4geku5SQPKBU/OgARn5oZ2enA+xSc9pzsglgah\nWQZSFMGdcmZcxlEEku4Mk4h4ISLNo4fBZq3dEsjfBjVIX4CowtdlrcsZ3nL6\nyENJCNgPY0YEK75f0SViCYHk+D+9zV8Me1+YiCPAC/Z1ODf84Df6dsLux3rG\nr7SbA2Ai44lODA2q7AHa+HucOmw57fS52BAU9kq3zVwqwg9odDUz29qovdrR\nv7rOqg1cGUtvqZaqfJWFtyVGXubTr/sBsZnFKWH0GAV+fLHrDvT3pmH7GN/S\nnqjpxHxzYkojvbSuf2aZSyXN8nizdmTieOvwArcTmV5ZZBE13/NWCFPiFYJi\n3zS6UwtHUL/XQN6kg6ncaTjA5b3Tx0MeBi1g+8zG91C+mN+bINLC1fZADeBw\n9ylxsyFdUxfNgc0fQbU202v5koi9fvjo8D2QdKjaJf2ROdURqqSwohGmPQof\n1kyZdovNVYwhOP1kGrtrP+mBXIel4Myg73kFqy9ZtsXofgc/P+hjfAeINn7+\nurVU\r\n=+Zc3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"d0b0b5a039a33400b42c4f29f873110fdcb4ed26","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.13_1594682586233_0.5034306730538596","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.14-switch-dependabot-1023b7b078fa891b9192b7a8ab61446ea236b9ef":{"name":"@balena/jellyfish-assert","version":"0.0.14-switch-dependabot-1023b7b078fa891b9192b7a8ab61446ea236b9ef","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.14-switch-dependabot-1023b7b078fa891b9192b7a8ab61446ea236b9ef","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a929bb5c9c111fb6e7a9fafee15826621134643e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.14-switch-dependabot-1023b7b078fa891b9192b7a8ab61446ea236b9ef.tgz","fileCount":9,"integrity":"sha512-+1dbn/cdw6valQIk95FmhP74mAYoKCMD+TWLUIfBGk6f09UJCGRC2S0HeFyhQJ8Ec2cYSAX/gpx8pSREHtAfxw==","signatures":[{"sig":"MEUCIQDZ9zSZqnxx+LCq8uq7zBhBhf27AnwRzYGusePd8AexsAIgVwJMR3yceckyg3ObOT5wpvs6z2JIuNiu8P6YpIW9vEU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFQNbCRA9TVsSAnZWagAAOL4QAIjdlbjUqWbgdzb4kbrC\nqu9SRB7NFTkzGjm6KWzdJUDJqRHUGRaPR4CJOQQcyZrixGM4jg6HCZzMQFcL\nNl8QpP9tH68AATLv9vb/9gQ+HOeSSaMHxI6aznEpfsgwSYwyNzrC30MZ41yY\nPCpWy/nPraSIif259MxVv6kJftFWexlUUrHp9ka7Wv+c/scM29jngNsV1BWY\n2aT2Q9VXqidw3bdXRdtug12mGTK55NSnHUoAFV0+FbyDfuyPNCZlnRR1bMpN\nstQ4n9RcCG+++k1GIshLw9VVr8AMdnH1S5098jTtNJuN+Vw+nHLAYyS2np6J\nNHR81avbcCM92XfCFqKwqtgBB2ZvUMw4iA0eBNwk+Uw9NT6QLSBkiNmqDuyg\n7csRw2cwPzsq/rlP89Lxa6eA8RFZQJAPnber+RrmTqbQXdOHNAxYaHyypT/A\nghi/6wfNgdEWKat0q0nwO+IPzsK6NGDHutrmnBedCcWlTEHnBD3LRHfhJDD3\nhd0JOgzpZglfunJbNILg3o6c7+fpKM1q3Ou6Z+nBelRy1mXHomJs3QKBr0Qf\nmWoz27x4Bt0d3FnQ4Ywavm3TdD9BdaX4dE/ye/5UdYsSkslKCt8Dgc44UzAn\ndXa3C7LikcXeUbIDROFzYn0Lu3VWATrmKqLUasxA27/d+YkyJ/v1FISOrYoo\n3iUo\r\n=JI8R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"1023b7b078fa891b9192b7a8ab61446ea236b9ef","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.14-switch-dependabot-1023b7b078fa891b9192b7a8ab61446ea236b9ef_1595212634571_0.3483041973048555","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.14":{"name":"@balena/jellyfish-assert","version":"0.0.14","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.14","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2ad90a3517bf6bd3bf5bd7f14efb0fefbe3a7664","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.14.tgz","fileCount":9,"integrity":"sha512-xg7q77zLN2uoGpd0bxzI5eK/bq6qsYdkSOWPBgugxO6id0W1Gev4FZe8tW/4Uw0llSsvlnZ4UF2M9lSvJCBAlA==","signatures":[{"sig":"MEUCIDWW7EVLGgdh6vkEyB0kSE9uyp1NVovGjkGmv+G6vai2AiEAoOoEBtleuiZVef2UA7Ic/LcabNglePSH7rWYg504+Qc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFQVTCRA9TVsSAnZWagAAHtgP/AjjYCp8arT9auWSS9re\nFY/jeRh2R2bTRl72VdWw4Z+4CxjG6zkobmJl5G8o/poPQZx2zWeyTWenYqxE\nk6QKhDT9liD5KDOKbrHTCPZ966ZvZhEAGUrAz+obXbiwqqsWGW1y0/6pPU10\nt+TBRVJoYXhRyz0m1Mn5pMpntUx7fe2RYhY+sNwX6bHTrCqDqmCqI1FMARAe\nn/Z9xsXlJjguqWCW8vJn4qqFnddkNOf9HDemYHenHMj0dbFkqHTrhn8nH2mn\nD7VCUpZWCVg1EbjcPrabz80VHjnmxvwlzg6xPNuyMeLisGwh3FuXofuyCLxd\n37bADv2pob63xRZKdHIrm8OkLuqzo84E8hhCHbn6qbqaj7T1TzqEyG+WCrSp\nOjKzOigvJqd6z0p8qw1chXwKuy8yw/jPD2EwW025aLoKRI9Is+SISVmIgcTZ\nxVIwjJtd0rSi9Zo1LB/i1rK5ukvkFAX+kIWHc8feMB4MGlugXtNMOyimz5AQ\nAH79sWNFChPH6tm8SZbhR0JA05zKRIpvsmr6TXlFIgqfyFmC7P+mhUaycQ3h\nsc2pDOqnO9x2Qi94AKD3xjDaDi4A6kLldpRie2DJ0aVjpFJVT4XpzP8b7YkD\njzQin5OAor5ThsTqKi9VP+nwCt83Eugd34CKlpBtm2jmQJyoHSjkW5PlV9T2\n+/1E\r\n=zx85\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"f9e0ed8b27469f7b90c125a6a7257cc519ce1210","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.14_1595213138758_0.9227849347710915","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.15-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-0-82534279282d61a817a7f40785074fed58894ff3":{"name":"@balena/jellyfish-assert","version":"0.0.15-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-0-82534279282d61a817a7f40785074fed58894ff3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.15-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-0-82534279282d61a817a7f40785074fed58894ff3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1357222f1e29897df23abb50725b6fa7b0f78a04","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.15-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-0-82534279282d61a817a7f40785074fed58894ff3.tgz","fileCount":9,"integrity":"sha512-mS5+3KB5Ba6Sf6tssaJgq9Xjfp7SQ2tLN2eftIbJnGFQP4T+7IFfeGMWOQqHd3A8z6nVYHQAXz+K/TCFi+OL4Q==","signatures":[{"sig":"MEQCIDHnmxUROGT7oX0f0Bf3J9JxGwJVPNueJkNO6UcvM7UtAiBAsn2hy5pVBxNfb1biGYDuKeU6fEHp8au9k7U4ArKSBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFQYwCRA9TVsSAnZWagAAG+MP/06PjggB2zHQp/lvSiuI\ngM0MXiawrpO+31/bvrCFTVi/StNxC0w79wnUMez062XBvE4dy/Xc8fWLauXi\neJHG5laELycn5AwE6UAWqVob3BdFXfPkH8q8/zafwFsVfi7Gpy4sJatQWiBh\noFXwo6wD4RZbyIhE3xTEb/ZVEETTNVrLkWrV6r/BUjJBAPmVo+hZwNbRp4Cl\ntaHd7ZGwTzWwnPo2GqbSIQgP86/IseLaSeeF5ulwrGy/aJJgW6i5P8Lowa5h\nUFmDQFt5tuaiRyn3N5QG0UASqvV0OIdpygPziB/yKHZ2CnABgJJKvleJkACI\n+itsO7hAzPfsGTtsylTzPB2bp/5YZ/C0c5fUidizGAZtw7Cuo4evwNkPnc+K\nqdwAPSD0jxFV5KXy//3LWKF/IumBS1Ebc1DLWD/soPfd0YA3Fd63jRxpwbSP\n2ZyJkGyLg0CkBVKWtSAyCZG3tEjFcdYDMqmDnCxBai2MNFbGEMUdPgavg6Yr\nO0JdQNtPM+8rX8G4qog1Fnx3m6W9CVpOPxt8JzMRjuU5EmB1/n/A1xBK+EAK\nmpJiwl3fvelvmJ1JTAe1HfIWn/aAAKjw7SGOdzdXsmpuUAmXj3JVyYmRB2rz\n8PpmvNjljV5ir0cZJmeEFWhN/B8C9f2QympQ1SZlS4wYFwixpNb0wB9zIhHA\n4MUI\r\n=z4Ke\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"82534279282d61a817a7f40785074fed58894ff3","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.15-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-0-82534279282d61a817a7f40785074fed58894ff3_1595213360075_0.09725492800825775","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.14-dependabot-npm-and-yarn-eslint-7-5-0-8213ce26b1fcd569a2bc2fc0d318dbcbaa923cde":{"name":"@balena/jellyfish-assert","version":"0.0.14-dependabot-npm-and-yarn-eslint-7-5-0-8213ce26b1fcd569a2bc2fc0d318dbcbaa923cde","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.14-dependabot-npm-and-yarn-eslint-7-5-0-8213ce26b1fcd569a2bc2fc0d318dbcbaa923cde","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"26919773cdef8f88a8f987a0513102e9db997170","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.14-dependabot-npm-and-yarn-eslint-7-5-0-8213ce26b1fcd569a2bc2fc0d318dbcbaa923cde.tgz","fileCount":9,"integrity":"sha512-75klzQbJs7jMc3Znt84TBkzSarmNT6ND+df1LF1t4JZdfkDJWDd7dBP2uLp11/C5+1N1LBtYddeM3usBvI94QA==","signatures":[{"sig":"MEUCIAb64CaHtFK2l9mlSS82Ph1HwiJlCdRICGQg3tvkXA7KAiEAs1aXT/5Wa2qYpwv7M2A2p55pkxSu6C6OISHm97yY/Vw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFQZmCRA9TVsSAnZWagAAQoMP/RFUZRaDQGBlcg64IVLx\nyNTtTYIpFs4sQ+JavjSraJBZE6P5eB6k5aj2dlXAL0FFLkK5lqjXdJRM57LX\n6baaVqndytkd37GaDedT8K+qjActIe4ykqI10bKwupXJAxPbYPM/abbAOxv3\n/ORPF8i00I/qoutpYfLm8TxtKdBXbdwJBGmqm2KunzVhevdBLL2+rTlvb0EQ\nOSWIvp9EqA+0EXylZT5riQ2yYEQxWL4VLFO/Ks3lNgtDapuHGqShdOwzOTbK\njlcN5PRTu6kulvF91V7vFwitoWmwGqpVSzuastLI3NZAY9jis1B0mUpjtekh\n7qh+9colj0lyO5TvyXC/cUjgnRsJlaXDy7ZNDebSmfb5JKPHB51Q0NuaIOy3\nwa7N4M1pfIpABCi0PVa6xSLuTLgAGRhGoltFtB1H718cN8/CXAxnS5sKWu2L\nXIi/QQZMcj5vnK8yRn/1Y9zBP7G6FrwPrSfN0JTvNE3IHWReOdtCPQg03iDM\nxYbQ3KYA3jZGqT2H8eJUCmG5pA8Kmkpc4n2tyeJLMVnnIRz+JVqOE1IOWv+V\nj38S/iJq4hoU2mLGHP4MIlLhGlmQbEs5imBMoUnd2YTflu8xbMZFD34ftCNz\n2XSxnoUfK+sNZLHP34bMguiePG6hRhmCZtpEwWqu4DQxIsuX+3qP+pCYpxc5\ndfGF\r\n=lj+j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"8213ce26b1fcd569a2bc2fc0d318dbcbaa923cde","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^29.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.14-dependabot-npm-and-yarn-eslint-7-5-0-8213ce26b1fcd569a2bc2fc0d318dbcbaa923cde_1595213413860_0.4290762045617149","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.15":{"name":"@balena/jellyfish-assert","version":"0.0.15","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.15","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3e6739f556a4228bc4a81dc1e3c316b55c08534d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.15.tgz","fileCount":9,"integrity":"sha512-SwYxy5npM+WESn4+rMq9UE7nw317dZG9pXNNcBN0lx5/pjQRo+NpMAtEqy6QQ8kZnUBFc6t8d6v+O1oFNU72Yw==","signatures":[{"sig":"MEUCIQDWuCYuHzWI7xLN5tUt8eFEJq9zjeXCRS0sYZKHCSASWAIgTXzsFvnAcj4jm3p0KAWHgvlHd3aJ3R1eeUmZfqo3Lbg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFQgLCRA9TVsSAnZWagAAa24P+wXYCKCcWAryzQpfUJo8\nOgPmrckhzio47H2G98E/W9FqPFcUh1LzGgW/IQ1stby7qgPOn+uq4OUD30IA\nCiJaEQqDxuTNbQfYHG/YdOVhL4CARvCzXHicSNROjbHVWkQ/JZEyNKzDVMlg\nKyT9E5OlXPsc0wFGnKbZT+ZrMuA3VHuOFalUw2U3oULrCAOR/VbH1WyPBNVo\nZL5eX4ZB5a41QzXcdp04EGr1SzCWM0sdve0DCvbaWGUjKpJtfb6clBE7gnus\nzXdJMZbPZpX8ZHr/WndqoyugesOUuvHzdn6BtsHvRXJAxBcIdw63P+0CE+YK\nSIGb1YXm27EPQtMluRxnIOEs81ZBU+Wrt6CYfRvDlS6m0Lx7oB2d5BZGsWnk\nciAl+OhUaOGfhjJVJT2AYrIftE+ZI0K4wi6F4nckVBiu8FUUK1Ka3Wpf2hzZ\nn9jhbgNbgVKo0P6DeGAdwvFG+n3fb9+Do6W5PC6p7U+v7lM7GxPbH6ZcUJGO\n2OAyCdsU8n1teuoq2JJm7oBmCQYdQ7BBDqzlihYPNr0oLljtHwlIKAeXzXG1\nRk3JZmvolJedJYKnHUgLKt9G+/OfIkfBRKX7FMyeSj+zs5op4P4A69OzLB8M\nez5qx7eqq+t6F9ngWeo9Yc97dAOKMEgyrgQCXb1hlKii9PMmUTZiF7GyKqBv\ncTOE\r\n=thbi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"ce5215b2280c4c1efede9f756258d145da523695","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.15_1595213834759_0.6226874528030173","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.16-dependabot-npm-and-yarn-eslint-7-5-0-d86ec0df058a7f40b2b791fb9866a3ffbed50370":{"name":"@balena/jellyfish-assert","version":"0.0.16-dependabot-npm-and-yarn-eslint-7-5-0-d86ec0df058a7f40b2b791fb9866a3ffbed50370","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.16-dependabot-npm-and-yarn-eslint-7-5-0-d86ec0df058a7f40b2b791fb9866a3ffbed50370","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"572e45627c5efeb6d7efe67fad0e7b51e3a73d84","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.16-dependabot-npm-and-yarn-eslint-7-5-0-d86ec0df058a7f40b2b791fb9866a3ffbed50370.tgz","fileCount":9,"integrity":"sha512-dJI4VQ1OEiQsKZAbGD78JL3ArkDq1yMMZtXIvElzBQL20R859dov66CdUlUFWfnbg1jrFHT3lE9vpq0ryOH9HA==","signatures":[{"sig":"MEYCIQC5wp6pBjMapE+6lhLBVhzW0ABdvKiT8fawuLdh5MkT+gIhAOlImZvijuXcWnyZvXKsFBw5U8JHugq/nRj7IYnd3KcG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFQkLCRA9TVsSAnZWagAAYyYP+wTw+uRT6Uu65svsS+1M\nnbuE3SeK6LdqeNMBgsJANrSQA2bahMz390jpnaL9/LwMatYLrdrNK3GIYj5M\np4+cICbjCtXRiziVOpKx5+naTamkE5tPSIueUuWMy5ycZHSpZX/f3B1regFf\n0T1HCeEi9M+fCz3YpAcEc21ex63jlkSPj4dSSWKjLToR2EWPiyMrutST3EbI\niFiSLSOKFHt+W8MaSrlmMdhhW/9lFIOIv5bixusN6VKLon6pvzJskx72LAVV\nA/SC8mYFjlIPA7q5GAjRZu99ISG6VF3MBlsQg2o2gP/qjRtzl8aA4JKmHfv1\nWXCHbYr2qMJ3m6Dhh1pXLMrMiMV37jpk0tlUwjDZCgm9j8cUfTwwUs3uG8oe\noiDnWrOLq3OLp3Q3RdD9/r43sNGS6z6XKECxR6MkyPHawFkq+YF8VEsI8f3X\nCOg7c3+3MoEngAX69dpeIkb+zn+k5tBDFVSXRO2LAVgKqRIVKYe+S23fIpss\nqDvUzhfZfDI9+9pIQ5ed9tRU6BaitGbO9q8MZ4QIUZZMAq5qNQzWPP1AUPLY\nA3F0TkrzhqhQXZFYr0DzJyQ9jAoVDsy0I6VoDor+2uhHWKQYwHEFcnYFi5mu\nC7xNHK9EDYMSddo/8/CzeW3eW8QeWiQQQQFOAH18PqDxs2HvSEyowfPa3C6M\nVvFs\r\n=dLwC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"d86ec0df058a7f40b2b791fb9866a3ffbed50370","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.16-dependabot-npm-and-yarn-eslint-7-5-0-d86ec0df058a7f40b2b791fb9866a3ffbed50370_1595214090924_0.9493256590302592","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.16":{"name":"@balena/jellyfish-assert","version":"0.0.16","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.16","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"aa48a498c947f4ee47023d5d7e0d9cb66692a564","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.16.tgz","fileCount":9,"integrity":"sha512-eIrXxrllChZqu4mV/fbZRSX+zxHbtlOajBt9XPDXTMgCqaNufdpAbsktFOwCHDxXNaglQe6GtAiIoLai1Iatow==","signatures":[{"sig":"MEYCIQDYjqBaFj5+Ec1DHkTbu7YS34TsdZPajXZ9vPBM0e7CEQIhAIQgOUPRhn36fekFvxpobEKxyYv0FN5Q18ZfS/fXGKds","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFQolCRA9TVsSAnZWagAA/7AP/1FGI4q1nW9nYhW5DftW\nTj6eiF2zcSUzPcXzgQa2WIfynBw3a+8sseTVWbUbwBUpxGipbq9CXNCTyM8F\nP8t5H2T319Bl3QVkNqrCBTNkH5bdM9BWxtzCVwD/df9e3c6iElNQt0j5QtEs\nmVNostagfTnfc7r7yEiGJhy2ep0SuT/x9nLV/9DHcgcCH4HQrKi36ig9y1Hf\nX8sZLNR7XCDvw8QCz83b9Hufp4yiMuRSJKuq9QX1X1cSqIIoyb5QkSWLWKgG\n6gfLE890yhaK2pNmxcEjyPSQ843ym5gbw1nwmZIrYer3JokskVVoRte9gC78\nA6XCyB9wsugz2gkVKxl/z1Coe1O1mIMrcnXqbhiS4zB8DzyFefSgN/jGm49T\nJJ6kxv6Qp9wkc4kpkYYRUsN2jpc7jCPJxnqqLo1ar94KU6cp3zSOLBzinSBf\ni2SKjmg/Ae/UFOxH3XJQLigUejUPK1GVq6qsyqD4GCF/N429PPMCnhefGW92\n4Fd1+nNl/TNVlQNLxeGLeOtkVCgn0O/Z1hyi+oo44cC2NDpHgtHJ4fxycLQ8\n4g1Cfei/iKImF/M0I/BONRvBS9j1Jj75g5tArlW+7q3+hiX/ztZo/1zoCKdn\naEWuiG+vQzDg/Daq6m6fJZiHz1J1a+aU6Jhgo44CHXBlOZ/VtN1raF/6GqqH\nAg2n\r\n=tCLN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"542a013eb5632bd2be58fc1e104e5a613355a92c","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.16_1595214372978_0.030435422821144975","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-1-7d1048a67b21d327f3fdae472ee026d6e78aecb0":{"name":"@balena/jellyfish-assert","version":"0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-1-7d1048a67b21d327f3fdae472ee026d6e78aecb0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-1-7d1048a67b21d327f3fdae472ee026d6e78aecb0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"74d55a41ebbb73d5de26bcec7fdf8b6005e432f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-1-7d1048a67b21d327f3fdae472ee026d6e78aecb0.tgz","fileCount":9,"integrity":"sha512-JEv1u2ZZJz3y+0nW+qIGVhHnpsTocQ9gRsB8HOQh6J3g3ip2ytEjcY9yMzMeKDzhETvbp8pG6cRTEkj3Scs5Sg==","signatures":[{"sig":"MEUCIQDKhm4kxxHER85Q72GNefuYYuF/YrmEqtFE/Qoi2MAOEwIgPDYrYzeJSqLeeFjl8XJdtmJlhexYmQiFgMwb6hyseBo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFa7BCRA9TVsSAnZWagAAUJUQAKEmMHjD1ns4gl09lNUd\nQIoYsrZvW40GHbjqmRBvjjhDeeGzaBdk9VzB92/RJNgd5/dkGXm/ZJB58/wb\n1OxKePdmf10cvFaJlr8kby6y5Lvpm3Th+i7hAyk5x6F7Oq7GvevPNG4GFwx+\n6M7HpyCN4rUGKKS9VOhPYHj5Fa61Xjep4fnzJ1R8vgoudIxyUlPuvPLnG6Tw\nR71ZVl5cwMmWGTEDu5rC9OLMUgUn3avcW3EvLAaM6XBUY5CbpnqOOUI7CjZ8\n22s9qhtO6q2yWv03G3xy6r9qeQo536wU7qJ81EsPNKzH05GsCWku0CCQCU+P\n1PLoTtG114yJanBOxsWcjwJ8pmZE6DsuuePMja9DLrkt6YmxQXDOYYWE0W0H\nKmgs3LoBpkB6/zXLiicQf21wft83Ii5YJsxGbBcdLsZc8cD7sWm/Y67f24vW\nMxPvH49yXvva5WWdu1w6g9/c3S+z+Zagdnt9JAkuKGM8byXHvLkygqOWZ+Ix\n/V69c6FJ5WEvWn+jmP5SJlaLCzxUzzRli/jKtfXKdTkWSp2QC1CZjiJ/6BuD\noV6ER3wRIVFmdAHr8ebJH/yvFCMytki/8Ui8JVciBnkzpFNZT4tPdRPcXTq5\nDrefP7Oz8/h/8Xw+n8yc/RsZnfuowrMeybs8UCcl+QxS9i0QbcLt+6Hgs2qy\n64Xp\r\n=bgHp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"7d1048a67b21d327f3fdae472ee026d6e78aecb0","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-1-7d1048a67b21d327f3fdae472ee026d6e78aecb0_1595256513199_0.3061297388680926","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-3-b8bcbb747b458f68b8b00018a17a01a9c4d3827c":{"name":"@balena/jellyfish-assert","version":"0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-3-b8bcbb747b458f68b8b00018a17a01a9c4d3827c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-3-b8bcbb747b458f68b8b00018a17a01a9c4d3827c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5974d4f1bf4e82801fe6ced96a3bf945804af37c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-3-b8bcbb747b458f68b8b00018a17a01a9c4d3827c.tgz","fileCount":9,"integrity":"sha512-UHRfkEOACCpbapy4g80tZWayeJO+zVTDd6OAQUuV+wKyZc9xE58UVz2KavupZcx+p5ZoFOBUkQAdTRUBMPzh/g==","signatures":[{"sig":"MEQCIEGEhbFKju2Q09kyCnEuAjr04gvKIj8II3XDMf1qKPKGAiAueUOPqzcLMgaI7qRV0O34bV1V1yKQL5Bu716xcUOH+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFg7+CRA9TVsSAnZWagAAJZAP/1DlVGbniPcIrpUwGCVn\nypsTPLcAWiG5fUeW4mBoH5Nolf46giUUcXU6ktcGvkwG1blnZO3tpfc/HRGZ\nB4NEQFxO9/cnxeQ/2h+jzmCXM1VvzHlG43SPDe0rQnC9zlOsBAaWbBAY6JId\noO3yKPwKWtmoRlwZSeLlFpBg5PodE1gspWqC+NUlIsK//SMJzkhetxx9jOGR\nohCOW2PXoEksmU9yA7mDFHFlmAU8jw3xlHfejRmgzQYzYfbqQzsV+W3fSwp6\ndHAIr9dYEL1AY/wbtUxvLG/2nZfgso2N4CxIBoFF8POgsTTD4B82HQkIZAJQ\nWMNUt+3KflV/UnknzYixAP3saMbf9QbgW2WEqPJ30pYigi/fanx7XrsE6jRZ\nyX6gUsSD/UPNJl3cKijIB4HgwzjomrNUgAxidqR9GiOS8xAz4p7OcSTv1Jb6\nJWSlxNR6JS45Hlwylhl9szkCH3qvwdVkL2p5K+D4Si6wrt8fDMw+4QlmmlDE\nVC8D3oC5/rqXvwvdZ2PjmM+PBDRwgiLeVcLkWtZN9n3JxWLuFXswq/9VNcv/\nlWl5DifjHXCVKiWilTt1zoWrF45FvJIFV1GAr6m2+PFukVQbxuyEFGDVT1qY\nXN2dduVTbCpfLU6Rm49jPWX0Aa6O+ASLDmJ3VSTvlTILJvvtAoEnacGNz1JG\nNm7l\r\n=hOtj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"b8bcbb747b458f68b8b00018a17a01a9c4d3827c","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-3-b8bcbb747b458f68b8b00018a17a01a9c4d3827c_1595281149682_0.621777497007526","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.17":{"name":"@balena/jellyfish-assert","version":"0.0.17","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.17","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8e80d17ba6b812998f49641303e7904039befc21","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.17.tgz","fileCount":9,"integrity":"sha512-PXlv0cvS/o1w5GTVF8+dgd2K9rtsrZFcSZnqtiysFnEXqbf327N/7H+GyBlQPRMVFWiwxkhxMh050kKTHgAJUA==","signatures":[{"sig":"MEQCIDhfvpEA0yiynnxUgPWDjbmlWrXOLJF7JGnfOWuL1KZiAiAmrknrSJ6UbD8aILDpnUNkaPavMMshFLwVuBM4QYUHPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFjT2CRA9TVsSAnZWagAAMgMP/2Yjix6bnEDoq7SVGyMH\nZ0UldP1VGyC6BbZS9WKWflg4W8iKvYGmuxpI16wmch1VHiKcWHfc9fTymyqk\nxZ3mxJCahxnmjToDDFWdlXW0VMyh9x75LhzICFJB6fHGJYImVVFtDyQse2YY\nC7qmgo3llJrfNbPPvbXwC9QhugD1NhQdQoKtOIWc71RAc8Oge97wh3cBk6NC\nFxrFbOwiJe8gqwOAxRQ2LrGduSTGBud7DRdjb03Fys0n68w+n8h+h/EtiMPw\npaTrUHcZ1XwHi5Tv2NZ+wopFwD6TiLFavTsICXqNWHdOIWdzJ7qBSikmphNv\ngWk4fyDFSwnyv3IBaLrkojp2H9KSy4n10HGVLgKqDK9UPqgwna+E/8JpwY7f\nYaFcX8scl47lysi9g0hRQ3fIUDpQFjH0ScNkxSevfP3EkwZndi/SzYQmlQ4G\nJIwMwhNJXUgbcRrBCf8SObfXW/rwWf1FxonILj4j5baUNHYNvGZpPzq5IOo9\n4xEMbUU91vloaBY74kQPDLjke4jPJ1bPvj2mxZ3GpDlAG9vRMkPKANBDl3LP\nS4Gyihg9AtK1UxeyZ2SMFtA80YhrPPvEX70H/k1sQnlvGhBWz6mD9myuUeO5\nYOvh3r+BkLilmEk+7ePmH3/EV5zj/WZ80lseB87IJJXKfic/rIB03+PKd840\n31dd\r\n=EE4f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"b0a352d6e0160f7e9a260e24212bc128d69690e8","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.17_1595290870034_0.00014416580606502194","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.18-switch-to-renovate-d9e78ff75c8b25b1e50895954cf2a26c3c24d718":{"name":"@balena/jellyfish-assert","version":"0.0.18-switch-to-renovate-d9e78ff75c8b25b1e50895954cf2a26c3c24d718","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.18-switch-to-renovate-d9e78ff75c8b25b1e50895954cf2a26c3c24d718","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"34198a91474df2f1e5763e9b29d666f43ce93953","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.18-switch-to-renovate-d9e78ff75c8b25b1e50895954cf2a26c3c24d718.tgz","fileCount":9,"integrity":"sha512-IyyX4TNS7o4zBW13Ij9FJUBI4PhAxepZsKyIqe+4WbMxV0E7b3I8xmg3DIfoQwMDEf+DpfEJz+MeYz3kCPBk/A==","signatures":[{"sig":"MEQCIFTNj+0B0121rxjgwtPFJagfP51ZQuJih51nvwgip+DeAiALrepHGrU+C3m1yfEHvwLAiTClYIjHPCsALp82pBVfug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFpZOCRA9TVsSAnZWagAAiM0QAIM+T2befqFshyYcEUu5\nM8M3ZH/ggfumhUHytUrmfJ66rhPsZQ91tCXUuz9O+MHPRYqAAl4jkYx6R94k\nfPwQqQvSJ5goE4s1w+AOoXTq3uix7BxyyGYCuujG0i/o9qgXqlasPymuurhJ\nsNQzCyTY0oBDm0e+jDukF763p49JbBQnXWJZ91hVtsgB2TEnhjq2cUXbSc18\nCAtRAptkFMt0PhhP7umAcPggS/SZQQxINAqXmoEzMdN5E4N/lRKwNJ2y+GI+\nMm4bWBxOcY1t4P8FG7G5zPuAuOdLoUoIquOGlJApdFPBfIGycDdK9plqZrI/\nFWwhsFJNtIeOJKv5uBHGZbePJ3Wi28x0XU5UIealZogI3PerFpemPde/knTT\n9IQ3wPb6qJCNJ66IBL36Zh4IEE0um9WfNJyUsbMC3IJdI/zTfrXZM1fZqI4s\nAomkKoxWg/+s7v5DTplxQb1Qt7Uq478WC7ytkYRLLGgsCskStnPS6ZvMxAtY\nwdYLZNuwKipKHKfOlIl2faJJu6O/4Z2qRBYvy0uLozuc2fpHojVCIgWXfdPU\nEAIXHwYczgEQ/N/4/XHj8z+MHatR7XA2h6QJSg701LgqWDURrV5KEQT++951\nOWzDqTzNkl0xAynPk7t8W7IQznzH8oVHVlDDwB8NwNWrApVDE/Ibx6u7HpVE\nfZ7G\r\n=DXik\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"d9e78ff75c8b25b1e50895954cf2a26c3c24d718","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.18-switch-to-renovate-d9e78ff75c8b25b1e50895954cf2a26c3c24d718_1595315790471_0.4757354236398801","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.18":{"name":"@balena/jellyfish-assert","version":"0.0.18","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.18","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f9d72d7c7a804b62c787d7da571f9623b050b6fa","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.18.tgz","fileCount":9,"integrity":"sha512-H+qtgWx6NNifDOXsH9/iXN03JKFSfyAnx1TJX0nfI1LlPDS4FOSuVEDIaoKp+OSN2q00ciGdEROhnc5ftxirfA==","signatures":[{"sig":"MEUCIAxsQ0v9jSFtIkHIH8wn7skco0sd+mBPY0qHxxdzlS60AiEAo8lmFHIyWmuVkYBvoE3cck6oJEvA5Tu2IyfgmkMN+D8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFpcOCRA9TVsSAnZWagAAwuYP/RRFMkunCXoS+zVyfc5t\n3MMiWT66jSYCGo41DIrUbm2guti3hp/OyC/AaUHJJX6qgNdFCYjb8noNT6AE\nyDgplORz/5OHS35es85GAOVVGe9X8OG6v2XUu9xtZJTXA4dYXxdzk/72Izwp\n4Xla6EhJfGixm1mAVLOIw4JrYBEm7zlrpH6KiJ4lt2sVkAydKxnq7SadU5dr\nVRsNT4eSGvx7QNoUJ6nhkxf9aUu7yWBg6O7WjRbaDw047nMlEzApvCY4iyLf\nm06RvkqNFioM0Pm3pAJxR+V3oYE1viPM0c+/nUHoTtNni3jTM1sHE+IVSRcQ\nemghDRwzszZ9smF2b71yYxuPzdwLk1/1ebkLV5W8iEP5TeNyTEd05aESWOBG\nwBNNYWoJmXaPGlwxtz+XTKDp4IEb593/2XizQ/k6XiklF+gCgtUDRg5uCKPN\nHvMIK1LpN3lwIsz32qZbGXR/LEoNnyzrrSxGsaUxiZ+rMGkgaLf8d0xALokS\ntyu5RZOBzjaMbT2xo9TjURSkC6+Nfkn2teVnuwiIyjemuSpVHLfOuoiFz4q7\nYKesfkIpPRP/OBiufQV1o7QDosaQRAAg1QFpxaHi8Da7bmEtNdqE7rG70yBI\nFkr3MnTw8G1sRBsj6OJkuud720AXShJtG1RIleNMHe07W+ncdMahpSuVeh46\nwU2+\r\n=v+j6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"4285a096ca01ecf6f46fe2f4c0940e2ca491cc01","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.4.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.18_1595315982333_0.7392963761354208","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.19-renovate-non-major-b7ac7c7f2f6607be11d5f3a8922f2c3b5fb630f7":{"name":"@balena/jellyfish-assert","version":"0.0.19-renovate-non-major-b7ac7c7f2f6607be11d5f3a8922f2c3b5fb630f7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.19-renovate-non-major-b7ac7c7f2f6607be11d5f3a8922f2c3b5fb630f7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1c81a2d0bee91914bfb8f6e592ffd47f3703daa2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.19-renovate-non-major-b7ac7c7f2f6607be11d5f3a8922f2c3b5fb630f7.tgz","fileCount":9,"integrity":"sha512-qBZPxWr6TtklCp3ELHC7avie+VY7QqsjArtjuGLgTboPIJN2+NdPo0RPFzYnAdYhXPV9k1u7E6gqtSAM/gzHrg==","signatures":[{"sig":"MEUCIQDoYEUi/qLClYeioZoIN+CbjsQjek7XP3UnVyqdNBk5XAIgLDomMfNIW/bCfmI2+307wA0zpf3r94kJ5wE2wEPfs5A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFpefCRA9TVsSAnZWagAA4cwP/2zgTtaCUBUuCbp3i85e\n2TRT6WXuQtIiLWm/vyvFbjt0tBRMasFEBiaHijc1VEBfNekuEOpH9Ss+VwE+\ntk9hHYjAVX9Aw1JLmA2NTSsPcWyS+1rGLO8b2AVb4HKoQXmTCZ83b8AyEzDK\nuQOI+POq+4IQiPYd0F20tifOIp53KlOhN3nGU9lTtFT43JZjZNK6NhVu/54X\nsnntfjau2WmuOb9nIf701ZYJUtY5k4KzS2PJhHpELAPExulthG1jM1HzBtXD\nWQNtohzpbXjBRgKIja+ALXxInxDRUPEmacZdoWHSugTr2dWRWdfRD7dfHM42\ndh+Q+S+k6HxikfV5Yw08begpDuq82Zd1R6OfZz8ni2ug1hrLcENmcY8Elv1w\nlMPf9cSNhTp8revwy9RjFCaGIamkaGnLc/u169u6swiEwi58ERkN/Cswl4FN\n+oKKORQgYhrXlFKrkx/KC6kYSP5bJA0iNN1ED8GKaaGmuss39aRMuzX08396\nncdd0luCdH8TZ4kWYtnYMYcnxyRgy+4PYdd5wBw6suZq/jLLo4iIu2c9Gzdq\nrcZ1VkMgvfNNAibRSvgrQlwx46b9uwtNQvZf6/1bIm/JJoVKH76FD5d8NqVj\nuqzYYOolb2tFLpNHDgYYz9SKbrC0qZ/DppTPFPyC/OHeExnnwPx/e6Suck2h\nYPu0\r\n=qMAJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"b7ac7c7f2f6607be11d5f3a8922f2c3b5fb630f7","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.19-renovate-non-major-b7ac7c7f2f6607be11d5f3a8922f2c3b5fb630f7_1595316127550_0.918300600514574","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.19-update-ci-configs-25186f5f9f1135161a6f876303e62ce32adffa0d":{"name":"@balena/jellyfish-assert","version":"0.0.19-update-ci-configs-25186f5f9f1135161a6f876303e62ce32adffa0d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.19-update-ci-configs-25186f5f9f1135161a6f876303e62ce32adffa0d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d852f1750d657d5edb988baea4815e5118ca5af5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.19-update-ci-configs-25186f5f9f1135161a6f876303e62ce32adffa0d.tgz","fileCount":10,"integrity":"sha512-vFn0zWPlGlRRiWXEFbhX3FoH2r0QXzy3z2GuhNvOiavzPEdWXA2VXiRig3y7xHP9KLvuZQowwVmQFf4TNWggfA==","signatures":[{"sig":"MEUCIQDp5tvnSaS3/4gylqnIZNRmrpYtFidLOIARF58kbe4bEgIgeSW6njvX84nwp4OWADCCT2CL1b5tV9ZQc5sFgvNx+Jw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfF/ugCRA9TVsSAnZWagAA0FAP/2uNwnjvgPLhSaJFzGQ4\nlZWUm/TSszDhRskaPZzu02rJ3oYdPlIr5EHN2+Sb9qQHDn85NG4EOZ5xotLX\nkwPRqoad+mP1cxKmK8UcQ5f8rYnJlMtfyeuW0l/3ojf+0fmpqs51TV4902Sz\nll11nb/CbIiA3nvRBW5cXNe7jCQ3dw6HQgqHXmhQg7R16xuNHuT95zW0/zt2\nJiKkNJKi7p5e4rXfuTGJC1RCo6XkHynryTd4PwTc9lpmB8HqeCZcBZ5CUVix\nRpKy3wAwvGY3MZKT0vB7585DsopbVCkG206JY4cMZa+ebxwBiu+3FJrplhCS\nvDJ5n0Orb924I3IPosoZ+unPSyp91n2dTye9HZ66OVs7soyrjcItVXnvSLI8\nw9VI4ekCp48eMlRFfz6n/Fo5HSWkTiCgox0YA37pGeDelN8532SoHHmJxSLV\nJ5L7rAFbnDrF+9YUehIzg2YU8jvFKt0UdOD/g7Ix8Fqe0XIZ0PFvEzh/xJOM\nfSFRa+gAAWgk93SO3CIrCQVNeM7XomWVx+jVYRizViaX7KDIVs6G9JknWOvD\nmfPSH+9wOaq2Nf5cpmcHA/oi2wlL3GcTbT2swI3q8QALLZqVB0T3QD/z/KbN\nou+2pXR3OpEYbTpzs1sp+F0mh4oYjqJISRnaLUo32/rh4VIAToDgII+dEcFf\n8KBC\r\n=3sgM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"25186f5f9f1135161a6f876303e62ce32adffa0d","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.10.1","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.19-update-ci-configs-25186f5f9f1135161a6f876303e62ce32adffa0d_1595407263565_0.8769864189591097","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.19":{"name":"@balena/jellyfish-assert","version":"0.0.19","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.19","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"67866cbb00fdb9b07b4df2147ad7bf04ed636585","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.19.tgz","fileCount":10,"integrity":"sha512-OcGlF+RrrWzm62kSzAk/+Yq20v8Wjhv7DG2MHs/SszR64Dv65ZI60uQ8zITlgxaYb1fDTuYo5qDS5boIqU+Few==","signatures":[{"sig":"MEQCHxnZaoWLZ4fB9eADD/g7q4ZnaDQhk4RbcgK7TEXoILQCIQDbzhIJiBDcYnhADexoO5ETrz2h8mHzNfAnHD+41foQ2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfF/y6CRA9TVsSAnZWagAAfOQP/1QlWRZpYdeBABpqql22\nbIKHzbgDeJtjHSy/ufNr8yfCCWpZmXanvuaxCnuB0ChaWskuVZmyfJnI1yed\ngTx9Hkf+j+WukQESBV/NaxKcf4z0IwFzkJfj3/ygp45yxXHyPM0J+qWvcpIC\nOLRRqcr3VUdaSOpDANv/IYeh6BUzK4OocQhLbP3WNzGlgJtliMxFw4x1ivW0\nBL5TnIJW8wzGetxuybbHKhZMQP4oc9uBvAE2PU1ntZ26tRPZuMEqPouzi29a\nZOut8uTVEgTWq7/N0AGGt++v5ZdEDboV/FuTeyC3NkjJ+fyXaO02jJXi/rb1\nqmnIseHkdN76AFLtrnJS3LUPg57UpmphQaW8XV/CV/WAI5lAT/8G+WIJuiQJ\niQOlAyAxi/glGj8uCuubYrGuyRf5UOQWJMQ/sCGCRSuf8qxHbk8roCvc7tql\nBq2yCF3TiJCKQENiL2lbJ5Ezj9zPruNJyLS2hu16G2DdlDCW8x4BpmITdTOK\n3HCFYZ+JLiaT4CdZzQOXbIs+05PKQdVnKOrFivzBU6vqJCI05PH9NAciflUT\neWxSMH6KhLpCgXP3TrwoUSG661TFY3/iZsjdloV19HktzioZqlRklEW+wMNu\nTdjkI7i+Q7qq8iH8lzoXg+8n5BzG8zjFHOP7CgEHwJoJg7+KojDNJnvQ07ZX\nfCsu\r\n=dkPE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"cc17aba59fe6aa3bd07b7cb4e3842e7eaaa40d13","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.10.1","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.19_1595407545724_0.516012722768558","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.20-renovate-non-major-b36a96b2cd6a27fa663ca090437ea9e2c79b41fa":{"name":"@balena/jellyfish-assert","version":"0.0.20-renovate-non-major-b36a96b2cd6a27fa663ca090437ea9e2c79b41fa","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.20-renovate-non-major-b36a96b2cd6a27fa663ca090437ea9e2c79b41fa","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"28b8bad625f7244660b8837c5219ec17af6b0a2a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.20-renovate-non-major-b36a96b2cd6a27fa663ca090437ea9e2c79b41fa.tgz","fileCount":10,"integrity":"sha512-dLChwTW/9Sza+l0rTLM6CYIvz+LIsHZHvnwMU5wpoJk427IwQzY2PaRmTujoRfrxAZqqU8xAO0yxXfzm1EJBKA==","signatures":[{"sig":"MEYCIQCyTZR906NDMqvFEcwg8QvJgpDgpoWgAC5TPCoVCZWEnwIhAMi+OhLFT/VY9Ecg3nR/0jMFkh3OsGsUxO42xTXTotyv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHsfRCRA9TVsSAnZWagAAVtEQAKCsm6tXpUodFkMSDG/D\ncKCODv394YMbh+xlv3ZelsYpPHYtXgyBe/KLslnFI+dIuOf1nSsdbyw4ZXUI\nzyE5Y1TUFdV6Y2JEwi3Jph+l6tq35KEoHADk3sGid/ROyxDKp7c74NLOQTTJ\n8wZFzvg6J53eV/Nsjwnm+vDnqDtxyL5GiMt35QuaBUZP2HWKLzWFKj/qa7uR\nd0ZANq+fx0iNTXD9EG529D7voJKg5SEvLgMGQ7mEWyTwgdZdT536AuqWo0Ey\nvw66xpxxFB3pUteAgfaZg7IZxqfxAJck15X8wZWhJ++/ePO9fCUmcmQ50y6O\nvogloRip2CC4T21pVsYUln2q0PQNPh0n5qzC01bxPl86GRIRFMeg3HiHOung\nRBm+sieSKKt/ZTTPBkD6k4lGgFDlERC9F3fp4VeQt/MxIwb1r6Ehuv+MiZ5Q\nXC/6lTWYga767i6u/eBFbpwvhXD/xH2yAcFII2WvS6zQq1+0xhbj0X/N/woC\nG+17Zb0Cm8be3GKhJ0la8ppPi0GEanF5uYxQz2mb/6jRabWx7AGJaVGT8ZKj\n612de699pzH/fRLwMeulQMZULZ6aQaQeA0PAhr5MjaRUUB6LkRQ3HqQSNjZN\nE+YcMnlfi78xbTMkfHz2lGlZU4C3mmQstUAq/Ufk4IJmPjIrLmRkou1hREsT\nR8Sm\r\n=oH6I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"b36a96b2cd6a27fa663ca090437ea9e2c79b41fa","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.0","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.20-renovate-non-major-b36a96b2cd6a27fa663ca090437ea9e2c79b41fa_1595852752675_0.4136195867717454","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-aca1b928b95b7c41a0b53f5e1777724ef014665c":{"name":"@balena/jellyfish-assert","version":"0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-aca1b928b95b7c41a0b53f5e1777724ef014665c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-aca1b928b95b7c41a0b53f5e1777724ef014665c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d0de5bae7cb9efee54d482afd0c430c89d0f6e72","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-aca1b928b95b7c41a0b53f5e1777724ef014665c.tgz","fileCount":10,"integrity":"sha512-wCqWsUCs5S2ckh+RJNCMZEQWAXgohxjuVn762/9xDxU+YrNeDTY45UZwnNb+AVNrab6AzN/jbxO7cExtDlVjPQ==","signatures":[{"sig":"MEQCIClP9UAj5RPwxIDMf+FM2acQYrg5LsMRIdNgkDcma7vGAiAYPKKJ4erlnCNF0jtFNmKU2sWJBWF0xJ1sduQbbX5WTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIB80CRA9TVsSAnZWagAAtQ8P/Al7NbtRKLqQJmGJ8U9/\nx22Xyfzra5yOehID7plaWqmx3kw54mB46A1gMh3VsgLZkpPhrR2zhHwDs15S\nzF6yQEPuFHqtQJ5RfUmQN5CFbA1ICfTmZtF2YFNuAcFC15QoPsUV4X7ke2Ao\nmuX37tN6hgZrceKdb+mKE87kZ6uAxYi0lwT88UjCPXS+PozYz2UR0bHcWonn\nJNBe/noEN56KpRwgcN8SmbgCLE+y1ATIyKJkkzzrO5NGciTk+0GeAty0+2kX\nTRMP+uxNyuV7i8g+R+imz5OZ6UZvGg4w0Xm7L35gWyNRrIBwcxQyAN5hkm/D\ncI3QGewvqdLeMmQr+uC5wNZngwD9rNp5WBJ8tBqDyBTG0Cp8omtKf7IxwsNc\ncmVJprEuvUu7O0w/68jTqc842e+1R2+2ihXwhxO6BbF7KHRjvOi2WnGp2gXW\nHRN86SleYIi2rPiJW4AVMAoUljmKrXE5rMtl/hQFHf87Cx9hMNQUNF7gQ7zc\nQpEqmUZJGjbaTUNuaMAQAteuNZgUUrB5nU3ezi5dgVcZ8tHh5oFwMTWrMT3z\n35tbt7lPpRN0XDTwH4iARvMsYXKSLoFKCbqfLB+lh3G5hDbp2b2Qo5SsGnUZ\nFrsIzh9wsvsHO+tPzg8kAtHZGGq8PK+N8hAsHazBt+xuwH9Nsr/H9b6JMmFZ\nueS4\r\n=BRfh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"aca1b928b95b7c41a0b53f5e1777724ef014665c","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.0","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-aca1b928b95b7c41a0b53f5e1777724ef014665c_1595940660582_0.8703315715484621","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-2a7936f75c8b293923f349ba343b8e2efe97d641":{"name":"@balena/jellyfish-assert","version":"0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-2a7936f75c8b293923f349ba343b8e2efe97d641","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-2a7936f75c8b293923f349ba343b8e2efe97d641","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"db6432f5e39edc8ecf4d1eee9864389f73c9f18e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-2a7936f75c8b293923f349ba343b8e2efe97d641.tgz","fileCount":10,"integrity":"sha512-U5ugOLc/lcWkQFnQesbKiD+q5a0BAT+bUf68ClYn67WQOFXYFQChBwu6BLUB2rzZ3iPPBrqLMKBYi6IEKhOA0g==","signatures":[{"sig":"MEUCIG+hqMoUs9oj2Hiptx/8XCedOEeU1jhIsZgMJgY9fHgaAiEA83KAWIw0ooQoIPc0DR0yNNPiP9DWhBhRp82nkaAENdk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfILcGCRA9TVsSAnZWagAA4dgP/jyqgNRcUm/3/pj5VHBQ\nOUWTn818p5Iu7BlBRo9FXXPSzDgzg+QwZJbX53RKhT02ihtQhHLJn4SGxoi4\nyaWMPXxMvYezWp5zFgkWEFv9XRMgjbEwAfDVZ8qaLhEk7bFD34/mdTRWPipm\noMFbnALZGjXfv/tJpg2ukOICU65MOEu/NPRikzrQ5xQGisIlqPnAhTAiKUey\nVv9zqarlN/wR54+5Ts4TG3trVr3HfJ/zG686D2tJJS+E+yIoATzHgkFFix9O\nZjjRu/RhtJSARhQVdHgsGLsg9BQ1ZvLmWQhmxJp5MF0cYZoe1A+5eRXRlgvj\nfpYlJYc3U1nedRYeiwgsgiA55DKg6W61rQwSS7sVC1mVUpKK3dIjMfGuh5W9\ndV3ur9TcjWgJjqSheo5i9U7SiEvGr48AWcKDPIUYtI6uBSoZx/993Z1k1Ro7\nEMUOOi/F7NwExHC+kBq/Z7zOkC7fSaNP3eOTsP+mFCnMkt/AXNkxzAiYUJ9l\nmxK5C7XF9LjL48PwUJQmG+W9Wuh307UNDgFNdXV2p2Doa3CGaruxdzEXFpxF\ne9zOLovpg05NYYh+cZbxSn1z2ggzexn+2G0nNHP6D5xRXsH3t76VyMjqVRTN\ndwvrqWPEasgdjVowVEwEP0yWdFX+4KyZsv5ILIAj89M0ZRjB5qNH3qNViMEw\nqOa+\r\n=C8Yv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"2a7936f75c8b293923f349ba343b8e2efe97d641","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.0","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-2a7936f75c8b293923f349ba343b8e2efe97d641_1595979526252_0.8080370580240301","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.20":{"name":"@balena/jellyfish-assert","version":"0.0.20","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.20","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dc2b462ebfa7d395cd01d17735d7905b38fca4bc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.20.tgz","fileCount":10,"integrity":"sha512-3wdb4VuFOWlMzuUIyJD3AM07EuyzpGKLRBKu5ZQ2EDMwrPjPGJgDXOOoQaCbYxYfzDKK1ZP7iZVrXQa9HwNhcQ==","signatures":[{"sig":"MEUCIQC8Wcj/bDD3MSV6PYWGbmVZKJzyavzv8LlH6dcaFddT4QIgYX8EdMfeWSGPJOE+x44zRmHmAHFojqid1BT6y7FJpfk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfILgqCRA9TVsSAnZWagAAK10P/R772iXklKrnVB+N1hHC\naWe5nKHyVo08r0+8zdx9xUZIP/1qaIrE4gpAjscfIP0UhC2vgjBLDUcvXAVl\n27xzk9NKETOsAhjNkz7tEwLqyoGWnwWZ6AioT0o0WzlPHhKsOSWNVjqh/MPG\n+oEkjDNMCgbYZ0R9r0G4uZETy17012wllhrpRWl36gDBc7uZB/hOzDYih1tw\nd1J3k0NSwXa1frZ/LTQEUDqG4j5d8VCV/CDa4FiCZUAtnedR0s25fwQXY1oX\nos53EqNSq8I7dLA54LGwDTJD+RI7aXhipjkaU8nHOFHAjtxu/WqTFI/q0KB3\nO00itA495juCM+CZq0qoygQ5ipm5itc5dwWtzZGby+7/HNwxc4WEnLpmnHHa\nVxfYCOcMLx6mVfFLx2T3AzalalD5ME9jhduyRUcXrb5+KtNUlTlngols/G6O\n8JHh6srTtGvTxhmOdubuAk/YAG29FM7ank1bIySFXe0WF7oS3JDBiG+UBrJr\nW46t1HNUzY0kERNxL+q9GhUxB4c9RnDkjY2IJ1P2vvLY0TOczFafjxYNzytm\nx1t2Ex0bgDtK1jXm59qTUK+8EAv9dH39p3ufNrYVeoNdvGlSbjjha5Y608+q\n94LJdVFHjzJeapR6M9JfeQov4EGxR6B8TpBBAL+5kkNovWkv0pitGcBiGQjv\n/1eb\r\n=wbv4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"5bc5cde56e90c413dd5cc2307a420d3076601dee","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.0","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.20_1595979817759_0.12923467518092657","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.21-renovate-non-major-35f0c9e1c913f6b294d5a397dc30baa40745ff97":{"name":"@balena/jellyfish-assert","version":"0.0.21-renovate-non-major-35f0c9e1c913f6b294d5a397dc30baa40745ff97","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.21-renovate-non-major-35f0c9e1c913f6b294d5a397dc30baa40745ff97","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e1d538919dad2d73b288fdcc07274ff72c54abc4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.21-renovate-non-major-35f0c9e1c913f6b294d5a397dc30baa40745ff97.tgz","fileCount":10,"integrity":"sha512-b0EeNB8yRla/tML/y/TSPT0EqrcvT7bpBtBgp0IH9mKzwTD0xEjZz2dZO/eNP/SGLzTKsGPV/aT7r1yk4gyxpg==","signatures":[{"sig":"MEUCIQD9Szauq5osRH3bOtewK9FiD1iovsQFByzr8xdsjHAz2AIgP5IT2YjoUKGMPWflqfYfIzSJ0n0o5haRq8NN4N3ZXXI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfI48WCRA9TVsSAnZWagAA75QP/34ZZar14VnJpLzrwl5+\n+/u2OZSRP2PGBKw0N5xpTGGMorlgMpO7v9qsX8R+2c0U2mU4AaC0gMp5hvwu\nfnoO1pZGfFS7kQfX8/SHrkW/RN3gxBRTwVjy1ErF+TDakznriItr5+Lq+Sw7\n/GfgiHbw5m7xc5cEpcQPP1cXxv/SOrX89WZiYyrSXX1NcY7Zx4iUNfzhfOWv\nnXoz+QZ5aTTBPQJgkqooUgnCZrK/kQvCn2oTYhfaAqN8A3N0YIaxIjIQnqiM\nR67r8w5e8DYZA+ETiZZmcB2vL/UdC46RnNpiBlCSaW4BsXaEFpP4EboGTTwA\n4daf+urKcOta36d/TYVqR827NO8s77+TghU7bv/kszdHpSmdEIQdIw0VuRSx\nHZsajoErDrsKXJwSNGoO4JAAV+geug+br8bO3p2ZLJQX74nHuRzWjnHROcw7\ni4hyXU5YFiFx5Y6M5+0/bUvXmIlNWAwePEHFx0n4tgFdZsQtxgKDiqV0YN1H\nIGaQovpFK0vEy9VbNSfQxzqXhFKlp5nMHx/xfLpDBK9gNt0wA6SriIyv/33A\nH6ZhslmNgklX0WS7B44hQCUM2RIITCCsP9V/7zu01DypHWYOB+uYV3Bpo6jH\nC/QypVK/RVmEY70jhYNllFPTmi+UgwZnmnyaeShjIWMurCSFrHBif9/CUk+y\nWkm+\r\n=cYhk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"35f0c9e1c913f6b294d5a397dc30baa40745ff97","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.0","eslint":"^7.5.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.1.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.21-renovate-non-major-35f0c9e1c913f6b294d5a397dc30baa40745ff97_1596165909605_0.42606202132217463","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.21-renovate-non-major-1ef1022a33582f2f8bfab3d75a90816677356f64":{"name":"@balena/jellyfish-assert","version":"0.0.21-renovate-non-major-1ef1022a33582f2f8bfab3d75a90816677356f64","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.21-renovate-non-major-1ef1022a33582f2f8bfab3d75a90816677356f64","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9ff4455778aacd0ef6ead723ef7a49ef7129b917","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.21-renovate-non-major-1ef1022a33582f2f8bfab3d75a90816677356f64.tgz","fileCount":10,"integrity":"sha512-iY8DNwOKl3bD72Agrz5JLFwYbxxejEIap5Fvqaugpzn4qFvOQTeVVeVfxw7eGmKSYdU5c20ebD2CEmHqF1KtRw==","signatures":[{"sig":"MEYCIQCBxr46exjsg84k4c9AT9c5gjLtSb3M6TZg+L6Cz6uTkgIhAKEcI900N0vlNGqU3QAo/OJ/+4PEhECQpy1fqX+/Ki6o","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJK47CRA9TVsSAnZWagAAbZkP+wZ+cDlz7egv9jDDd3Wu\n2or+tP3TX1S3yBoWJLA48gbUpXyoHNO2HZYPzhaeTgjs0oNiA0FPQFxHHYep\nJPMIz8cIVg857ay8ZMmbRAdf8QL5ThdjGqUqbK8X+F5UM12rl7/uEbrc/NRS\naxEnGFzU/iILfWn0ZRG/08iknc/QfgF4/zVZvwcFgRIc0jkH1gJtnuJoqteB\nsrzOUg/ZXqE1mV6Oh1o8gaP7zy4Mth5RuH8r8ek4DbTLMVMutrxS+mJrILRb\n8wg8Y+wryK03MKoRu2dSI8mSpx+n18G9RbLDppX5d4Oth44O/GirBVNSNHZ7\n148eSjiVFa+CXWyJ5b6xaohtQaRM8jNn1hLctzc5KuE7v9xAYlVTWeoncHiJ\nJMz2JiYgO96SJaCt01hTg+ql5karosl1y3XHG10cz7zuLtjeRl3NCuzMEyGh\nwHy4jRIBQ40wWoX3mzVcgr3vD+8OGvTXvtg5Ec5NGe0nQL03AbYcfTxpWAOJ\nkF5F5q7RTVZCeCZSH4tmISsCQkSbnhmHqdTOUObGBHYjWjBYI+BoP/eC3k9e\nsDmzHdZjbbvYo+vVqzAe/modc+E46fkuwTqRXPS9Q+c2X7hfbpJndQTLqbU8\nq2+oidVXFDqjWjAlFbuFSpHONY+72yC7k727FtYPMp3kl+/bskQZqeyBcH0o\nKpmT\r\n=YOuQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"1ef1022a33582f2f8bfab3d75a90816677356f64","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.0","eslint":"^7.6.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.1.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.21-renovate-non-major-1ef1022a33582f2f8bfab3d75a90816677356f64_1596239419122_0.4053127705575583","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.21-renovate-non-major-135518854536127ef4ef571716b10bef65a57478":{"name":"@balena/jellyfish-assert","version":"0.0.21-renovate-non-major-135518854536127ef4ef571716b10bef65a57478","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.21-renovate-non-major-135518854536127ef4ef571716b10bef65a57478","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8eb6052498e59ad9a135a24df572916862607f3f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.21-renovate-non-major-135518854536127ef4ef571716b10bef65a57478.tgz","fileCount":10,"integrity":"sha512-lbwiNtzv3+cOeFvnbCBJvXK6HNivJukpJSprCaqMdmBY/O739MXpU5m5Aqif1AZY5W8IS0W5UrDRIk3JcZb4jw==","signatures":[{"sig":"MEUCIEw2RzrqbMwpK/wPxqz4xoGjtSyZxHfGUNucGC1fl0TXAiEA4l0MMYr25xcuJx2OvGp5PKMEle5VUNX2diNaL0oNexg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19505,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJ7+VCRA9TVsSAnZWagAAFxYP/3QUIeiW1p5mu8vMWdPf\nc5l17mklDCqgUCdqb57MJgrSjJUMpFWjUN/n4wdKJdiBFhLEjQMW5zx9Yqay\n1v29eQNgTF1Xl+Y9N/A8uhWSju9PWNdNCyIMM+jiAOkIxwZ1+9q2M0WBwS0v\n3pHpCakn68eY9c+tUleieSQpbC86ltp+liBTxFddx/lspA5Wyy2RvlKDhU2x\njgI3Cq4b1A+fywxD5n6eNm/kxr1YdOLxrFHGNVyg71h7mKM/vGbGbwGEDYlo\n/PX7DcNinp2SNEAiD121r00efS278YPQomHc7+d9OF4qp2vpXf5GAHf0tjDW\no0crA1jjvBbWkyND7f0yUCsj1S0pYDPBZ3RaKKdUgwCLsZ9NyzcJkE5nsRhl\nFguL0dwGZLz+xU5cwXMGpJfEtwp8M0RwTKYWv1MFP+nXrINztNOEOL3RU/7X\nbsKZD9VWFg235YipO9Kyyb9TAVCOhmS0+pmmhai2h640u0YGE5SlYKUYrgCg\nyMov54EVu839YlGWJJRG1Ufhx2cP+l2KuzirtjXgNeX4lr0Cw/bknAwLMgRk\njrF3nFHNGSKtJ+x6gvT1WVAYyQguauUacsqwwFzvHjBL7uyWDmu/rbDJl6zS\ntDBpiDHDjcgONl1+82NWbgTJllaPjwmlEmf20Y8a8KQxuLw4cZQy3LwuuUEG\nm5jh\r\n=y7Nk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"135518854536127ef4ef571716b10bef65a57478","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.1.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.21-renovate-non-major-135518854536127ef4ef571716b10bef65a57478_1596440468924_0.8918334820349418","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.21-renovate-non-major-2f4f6712f6ddc34075413a27e8832793078993fc":{"name":"@balena/jellyfish-assert","version":"0.0.21-renovate-non-major-2f4f6712f6ddc34075413a27e8832793078993fc","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.21-renovate-non-major-2f4f6712f6ddc34075413a27e8832793078993fc","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d3b7780cec97c09b9ab14581c119be80303bbdff","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.21-renovate-non-major-2f4f6712f6ddc34075413a27e8832793078993fc.tgz","fileCount":10,"integrity":"sha512-yuiY8P81vjQTGE+SB/qB3JAzxtaIzA+CRzln4eAQ+U8fXAXJSgVEcd9f5yfdi9nt6DCZm0yLOcq/WB/s45M/oQ==","signatures":[{"sig":"MEUCIErel4B0l1/mL7cfL9jg/1BX/wHDXvbK3mVIr4smFZWjAiEAh2eYPExvzpjImNoLWOEKhUW8iwAKS62SJ0ErHfnhYrA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKWwBCRA9TVsSAnZWagAADLAP/3v5NkNpR9VNA3u7Vk58\nyIf5aGesc4w3O9BOIXc4MEdM/vDS5jKGlIy5Bw5IpUOgix29iF7en5Z7I9g/\n0lYdoWn9UJaM0mYsMqKZsvOgk3S9i58JsvNDm/JFAwlEUBXtYi438bX5wJnH\n1fSemiOgr8zVXao4Nr3lWPsK/dnHxbiierpd3shsr2bLFtyt1kv2MknW1Xmy\nhsmQ+BBafJcUgh+w7BsUyZUIiNEoWNHATK3noo1rjRRZfYh7FWGhLS9/9x0q\nvHzPoxVKTRX8Q9AHl31NTwiN3zew2KrhO7B8VSKu1wUfatdwPeRJXbumc/cZ\nnZbKa/qyJb30cl4dfDSpBKDq3g+bE0JuBNRTE3J49L7wENaEgM+RaNfw/n99\n1cGYPxkyAFZi8KSrkgiHwNhsxqPQEjTNwMvqhPdHOn+th+C8tv/tYMS5wtZN\nvN9lgbkjaLkTGdU1yzPGHN3uRxAXbOfh1WZmsBBF7mG1rK+Cb1C+iTUzINZC\nOW1jE0lzKxAWH5mu/RE+t8cXSAlY8GoZyOgxlX3agmqP6HkgHpq39u6bfsR5\nP0e2k1Ab7/UnNkvAmbC/1ZF3om49VojXVWBIVCOJ28J8AwnEUZfuRxc89XLa\nq4BglhTZaM5DftdUCsFLzJe88GrVC80yoZtbxN/i9ERLYGgmQ2yJOA4WDx7S\nXa6k\r\n=7LVc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"2f4f6712f6ddc34075413a27e8832793078993fc","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.21-renovate-non-major-2f4f6712f6ddc34075413a27e8832793078993fc_1596550144882_0.0137093464168907","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.21-renovate-non-major-a3a54738bd4334c8359b6c03e78451aa5f04f5d9":{"name":"@balena/jellyfish-assert","version":"0.0.21-renovate-non-major-a3a54738bd4334c8359b6c03e78451aa5f04f5d9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.21-renovate-non-major-a3a54738bd4334c8359b6c03e78451aa5f04f5d9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"12247ea47543260cea9def358c8a021c03e4a3f2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.21-renovate-non-major-a3a54738bd4334c8359b6c03e78451aa5f04f5d9.tgz","fileCount":10,"integrity":"sha512-oSu2e2XLJvqU19sooZbJACdqct+mrXkaHKlxMUiak1NBrnAJqSdfh3490C9W59bJFWY4NoheNUSHSBr4pMeaQQ==","signatures":[{"sig":"MEUCIQDwhWYxKooOT6JEBUAf9buZOrpnsMlegp1jEGM9B7LS5AIgVUbMtEWBdIR/+0YX9Uzwx9rZuqNECq0N2TxInzbOmco=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKgllCRA9TVsSAnZWagAA3aMP/3AhI29WjmaVEpdg/DEP\nedZYAHM+EXB1ovZ5ddLKbXShx1e6zVfOh65Klr/HvcTGX4um6mzirzMm/uVp\n0eXUNCKw6MdJCjAUfXJ/700uHwVmUBRQT75K1zsmpPobGwupOzMHtQddu7H5\noe6ApMQu9FycwL/gqLAcpIL2/D+8FR16kc5vTjYigpmzlT25sb+wjbgUuDDK\nGf+6Eqsw2cTgF6TCnG8/cbmOTplGoC1OPAnzQ8ZiWUKKzAnUfuzFLp17tKVR\ngof6YuyZBU7HPnIngfqKp6nKf+f7s9tZg0tXbUUvBciaSDAUbCTieUdqJrjw\nNohmcvbylTbc6pQQQwiOg3QbeZNo2x6rYNVJdSsheKt/bNonBivSQrQFBgqx\nPjc32+CQJkxOM8uPQEfJ11cWYdc0d0ZnTpaIOzo0+wEAoDiEyu9T7f07LYrz\nkmLaT6Sh0XuOTn4jeTSMQqoaL7QOHQCf9TEwDD9EjIyLjLTifDPPg1h3bLcc\ncTClwL1OLIVZ+ivrPJ6ue2U1hV59e3VZihTT9MgzcH8L/UGhNX9DbCfDP3j1\nMG6PF0oQ7YXk0T2VyZnqS/DzOZJ48JH0bMu86d+1Az4324vrMQU9HvlFToMT\nIyRYy1ewxNmxtrnxG9Ev+jGUObFO+2JEsRE2zZBSguWQgie+iHUQALW7VoZZ\nINZg\r\n=hnZI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","gitHead":"a3a54738bd4334c8359b6c03e78451aa5f04f5d9","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","lint":"eslint lib","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"ava -v"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.21-renovate-non-major-a3a54738bd4334c8359b6c03e78451aa5f04f5d9_1596590437210_0.24943762075220244","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.21-increase-linting-f59046cf261b940897e1d2f106e9853d98d4edf9":{"name":"@balena/jellyfish-assert","version":"0.0.21-increase-linting-f59046cf261b940897e1d2f106e9853d98d4edf9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.21-increase-linting-f59046cf261b940897e1d2f106e9853d98d4edf9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fd4beb8f79f71e4726c3f425739ac716eba3833e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.21-increase-linting-f59046cf261b940897e1d2f106e9853d98d4edf9.tgz","fileCount":14,"integrity":"sha512-iblKY3YmCtK9mqnClvHhru4URB2+4/kpyz7kJcUhBiBxmPTW3XS+9bYdfGRDxAgUn8CZ3NEowp04+Feb04trfw==","signatures":[{"sig":"MEQCICLr8UDFRmJvb3A35wftBW34g0GYPD1KT5S4LrPZts8ZAiAX+fQ3g8YDYlZBKdVlpt23OTsgAjEPpOqXofcd5O/QrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKjiFCRA9TVsSAnZWagAAYLoP/icJLYr6QjG+HBPFoYLk\npO6IwpxQattd2dIqcq0BBQQNOVNeipgof2h91S7yueFY/nUu7jiqqHn2ZCHz\n/5uRXyXQtFr8sLQg0y0s/hms3xwN/Yca7/E2qmkRxuZX/TBVjeKhleZG8R2d\nHWWVe6I4m9yZ9aAXoXJPzX2RrTLTgpH3furOGaA69/JwCx8Z98kq57o335a0\ntN74srNA85t7TFsUniRW072Na727vktz1HGbbPx4ItymdpWWMtztMPJitnlC\nPF5BO7rJnNanD7w4vjF+1Vyy4Pr2+gn8MGiLIh5sqWnu7IeAb8OQZsLzPbM2\nfAgrmjHjucdnADg9888WYgbehwCMj+8PmJHtOXcJXaBvznozNai1DkhAtbFB\nVjVW8PH5Vf7tus6DOhDtVjQj73aZtZu+fPqADB77uxEmeWbq1tgR85UsFaT6\n5ivNUQa6LfDDesfjOgtRLmhTviEnbECcbotsHI9Lqtpyp54+4ozdc8WoMTKw\nREwsc5fcvzszU9cZUE47znF2c1dHpLUzgJfiYkahEN8qkTQKjB0iWkuyRAc+\n8eXFBWXFeEH5a+bVyC6eo+t9v9JumoIUrVK3gdtnv/WsY71zsxOwdHyzkwHi\nH+VT/20UscSdJsF/qjiW150IjJkFzCUIkRmTbr0+BDb23A2kyh+xmrOGmq3d\nMMvB\r\n=S2rD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"f59046cf261b940897e1d2f106e9853d98d4edf9","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","deplint":"^1.1.2","depcheck":"^1.0.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.21-increase-linting-f59046cf261b940897e1d2f106e9853d98d4edf9_1596602501501_0.49317451927024547","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.21":{"name":"@balena/jellyfish-assert","version":"0.0.21","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.21","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8273d7ae5bf6d60cda92f5b1a2717c887e662b15","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.21.tgz","fileCount":14,"integrity":"sha512-StaN6ue6Nv9uGi055S3w8m44HRqdFjgPiumJ5wDzijNni+iKlb5OszdsfBe4BWh7A+hJZ7e12xt0SScI40axtw==","signatures":[{"sig":"MEYCIQCfHHriesI7YnjPNzlBKG5tEoV/4Yqa1HOWdyRCiQIniwIhAL/9ZRd4WLRk1yIKgFv71j2P4x85Y1EzEVvpAHJrWDR3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24012,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKjmECRA9TVsSAnZWagAAEskP+wXG+MoEz0PfiEXMNdw9\nQiOcL/bI0yAiSovpisGkdtVIi2EsvmIVRoi1dsWZCo0lGxwkCeSHA1lj4j1o\nqrcJUqmXC2u3jbSP76YxgSzAsOhMrZYzcOTVoPCsEhEDsiVd0kRAbTzwqByU\n82iiXn5oAXJVhfv8HNmArf+1WH8zh9cAduzoI/kyYchZbg0DC7TseZuWWI8m\njr4D8HopbRLJBsTGM+MoQ4kg3u7dICEQSL4ueQg0+28kku458GC8nLC1H8m6\nI2pN/uAB3nBaIqJEZk8T2vMRHpyrzdXXuRNNS8HSuUsSsyL9DcF/waE08Gq7\nKhojjd3aHSAKdphSzpxPG5iOequAh21yv9rVKi/8fSgwFVAeI2+RmHM2Oaga\nj/45VsbJUrb9ll8HVOX3F/SXdJidcDxIogZQKkaYn2eIE4KnQGe+wqsoJxKy\ntwrzy1gGABGpfk0sXr9u34i/xYc1MMGeRPIMGdXYyhbeYR9kKY4/VKLufzfl\nayDZFoCK0XWpio07u9ys6Ths3ZDrN4OLiFsWhkZmimiQTvHW77TIrLdb3Mu8\nTuA9uoulyAYPbZ9+WdT0qu2oDFxQuYlIib8337AKIASLY7hL3L4VCTiaslkw\nS3/bqNdbmiiOvkgYdyThsYkqngBEr0XRMQoyfiEbfCffh/TC8eHNq0VPWelP\nyWjT\r\n=QJn+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"88c7e5cdbf8a29bbac82e9697161991bb6c4aafb","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","deplint":"^1.1.2","depcheck":"^1.0.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.21_1596602756294_0.23746418668654057","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.22-renovate-non-major-cbd593a72a85d44a786b38389a3be9dcfa72ad44":{"name":"@balena/jellyfish-assert","version":"0.0.22-renovate-non-major-cbd593a72a85d44a786b38389a3be9dcfa72ad44","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.22-renovate-non-major-cbd593a72a85d44a786b38389a3be9dcfa72ad44","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9f4b0d646c5df1f5dd8fd47226850a73cab0eb38","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.22-renovate-non-major-cbd593a72a85d44a786b38389a3be9dcfa72ad44.tgz","fileCount":14,"integrity":"sha512-hCq2Mk/TLoIp9BUUwb7/0t7KhGiyhIotnt5FODg/Ns6W+doVFPuG6BoMm/dwAqf9u5n0EvFeduESVy5ex9jfZg==","signatures":[{"sig":"MEUCIBoQOqVBk1Hjc1djzI8y8hmtFoZ+LYmyIV7SJsGy3SBOAiEA3tuplT07qnpzqNZcdwfdxkZCTE3sX6L+swFqMTHRahY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfM6+gCRA9TVsSAnZWagAAEpcP/RNcls7PXvJUYU3TQedq\nmGZR6zIAKWEsxzGk1kKxBJOt6y1P+X1nMjlnRFxtYZv6jjl9uAx2lya8EvjM\nbpaS5ODl8PQ9pIWN0rQ8TboghLNvR+k2/yEIIIQbi+BkImuePc5ZAjBgBDV+\nWUopRaoZ7nhOnhTnw2+Fxnj52me/oFuwUUvxyEFhdob6wV7byxCuCDIlnh16\nWYiVuFSebzpC2eyZkIWqbuK53tcdT4PqP79UWjItoIWM8QV5edK6NAVSvY5U\nzg79kksj8KqWrMOtzjP5jatC07OmN3LXsS50ty3FfnaPCrftqWgSJV691hpm\nFlkhj4Vq6plCB+gb0dNBmh2BC5rZh9dUxA4hCqcVpfBFBs0JCwu85iOqIt0P\ny/z/Xf5AaLz31NYZ9j7rPvIp0KBErHcS+E5Wnkh3iNaNjGQvMlxf/KvKSNUL\nBBaTeSueCQkHhD2GTTlrqUonHdsRMg+K42KgYsKZ7gxStQGk0XD0gWZ3zmg5\nVAsc5ZLdkYhJTF1QyjlvXtEYAhcfF9+N9NJLuSmopHYLzD5QSIlhzg986mkm\nq2o5T09qNnNr/6ey2LSrLI586DD5d9pUqfFUOam+xzONH+neOG626B7RF+hO\nSP68vWpGWcQxUNH6Te36gWWM/HQBDN2UbjHbOPspsJJRVSi4sSWtXuwLguEU\n0Dd0\r\n=07XQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"cbd593a72a85d44a786b38389a3be9dcfa72ad44","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.1","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.22-renovate-non-major-cbd593a72a85d44a786b38389a3be9dcfa72ad44_1597222815825_0.44545140481287016","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.22-renovate-non-major-6f2c12256c80c7888748e72abaef8f63dc26d386":{"name":"@balena/jellyfish-assert","version":"0.0.22-renovate-non-major-6f2c12256c80c7888748e72abaef8f63dc26d386","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.22-renovate-non-major-6f2c12256c80c7888748e72abaef8f63dc26d386","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"adfbbe5fd20c0488d9d09cb90280f66095e6eaef","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.22-renovate-non-major-6f2c12256c80c7888748e72abaef8f63dc26d386.tgz","fileCount":14,"integrity":"sha512-P2VMWioFMuN8sGCtulR87MH9Dihn2hujOz982nyGwZnd7Z1874x2beg9ma6ukDhSu8Nq7tAt2OwXiBdMRDHyog==","signatures":[{"sig":"MEQCICPXJOjK9IW1PQCr4YHkC0eQZnj+UyD6dDJCKSsXJgQaAiAwkHeFRVqmgw0N5TUFHE+vO4KVDxtZ/45Ox/h/U+K+KQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNQFuCRA9TVsSAnZWagAAUQsP/iNfZjhvECMcT5ZUsS2z\nwNkXzB9fcZ6Hn/B/JfpruY2aqtCSeshCOhkUUozjJhqKokLpeAjuhl4MINs2\ns/Gj2uSDxrCUwUgrc/RCqTAvEw8re2yDbsqFpiZn2+xvaC4jHnJuGOlWupCA\nkMsXKZct2lS/mLkjqauLhMYfHcHPELKNiQ+2BlIU4RCkp+7qFBsmH45YYsbu\n+jsUuLAFlXrwuehkkCWjs/BMvDtiTrxej8HDvMOQvy4PfIQXmD64AFEP9Uiq\nWLTHwMbypa/qAmlTV774Mkh2ui1fl1C2PC0xlJa8kKosZjShvRpmBCKH15RT\n8/UmVRP/Dr6jw37VaDP1+PaKfzzzc/y+ki4M4G8KNLP+Uev7CJevW7bHFb3/\nzZYcEABRTqPkDw8SczrYaE3kfe/dZjB402g4gXyTYKBJyxQKG7YcC4Kg6LJR\nnrDAzxoMXmlefTFhEwLk85k7u9jP4UDjvo4/GfwyoXVFw8elqQ4aVoMamaUn\nE+4jOWJ/dwGUEVpdIAWtcw2W5yQ6rgODGr5QCsYqJs+L59svdqhB9byifaiv\n4d6qSKDh4ne5+Y/H8Sh0YBLzPC//qOmlMaxM9Ogwr/BM5PJ9EVzNxEJp2uIX\nz2AXEYoQOC/6JewRT68uAaJSxJmATLiI2q7jZkHJjR9qblvIrCbeek87/itz\nCksE\r\n=uM97\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"6f2c12256c80c7888748e72abaef8f63dc26d386","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.22-renovate-non-major-6f2c12256c80c7888748e72abaef8f63dc26d386_1597309294260_0.32295277572187886","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.22":{"name":"@balena/jellyfish-assert","version":"0.0.22","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.22","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"74975abef42d8be4f784dac50f2c2c31eec6f24b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.22.tgz","fileCount":14,"integrity":"sha512-4n8VI4Arg+Z4zVhtpFsdC5i9ZkakdVsceUPwQCjYP5JjAwxNBuc4kJ9xt1W9xOaX2qaecRDpa2RB0Fx2gezAig==","signatures":[{"sig":"MEUCIQDzDPRXdQ3Zc4Jd8dOa7VKB1kJkAHFiDmeXetLRSKwolgIgd9Sqo/zdwfz3lzwZIXuXPfVdYcEAtEFcPBnn8k9NGq8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNWkhCRA9TVsSAnZWagAA56UP/i+JGFX1YJP40McEtApp\nSrbTjSWZ7quGEa8PnB+zMTUhWNshTpBGEAG+Cdmemo72X6AU55zkcm7Y4sv5\nWFBVn0FAunsjF7FJvGP1/1VokT+Jp3b6rz7xGCmNKEdWCKd4iLHKYxhz+56V\n19Y7lulSQHjqyEzt6KiuUY/RMJctUWuzrLHOdZo4iQkzkFC1F5nm2KtIFvo1\nJC0yqJqvnLW03WzWP7lyHyQSkZwXCH+V0xw3nkXss9BN0oCbS11ae+5pA1C8\nbOZaxt3iIszbZ2Sb4uAoTQ8uAUvEyZ8qhd7rwK7Gu1yEXqLzFck9/z795Lzt\nZV/aez9DqZpYINTXShcYDL+3zXcd87zS7tzn+tL2dgQrJiMD3krou0RIkktJ\nF41ZVChZXnbNqgfM7XHaTtBbTalVZUdcbKG/a6k9O3vg+KbWDIU3/yTlPNXs\n1CscNeocTE4oEDCGbNAJW7hL9lEKsft47c+m0h3UcryRhKAwTatlY+rPeLKk\ngoKnOToWM4H+MUXX/iVSqCsHqKJYQvGGfMGMvNYx4oJAFYqBdRh/rjpjewOH\nL+LCy7rWTB06qkre+bCvYf+KcziP5qpRlMWnPE7jektWtbxc4A8jkSkC20mw\nfNr2GOmeTbKOh2I2lx+00lSMdGUU3Vm6Ky7RdTcispbgEwrro9zBcgW6Q+4n\nhVkd\r\n=FIG9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"a06e5791fee623736c5360e82dcfc24afbd10d7a","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.19"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.22_1597335840552_0.9470470651779417","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.23-renovate-non-major-9d9650859625aed29bf84e1328a4e8c82c0522a4":{"name":"@balena/jellyfish-assert","version":"0.0.23-renovate-non-major-9d9650859625aed29bf84e1328a4e8c82c0522a4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.23-renovate-non-major-9d9650859625aed29bf84e1328a4e8c82c0522a4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ccc736e933c5bd1332b9e0c9b4828b9a70be0659","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.23-renovate-non-major-9d9650859625aed29bf84e1328a4e8c82c0522a4.tgz","fileCount":14,"integrity":"sha512-xkoKs7V0tPffdETs0LzVtKvO0bPEEcAW97kcUFPS2U06SBEDe0x4hfXsTpl0JILl+U+kN86sQ06UHhTe191i+g==","signatures":[{"sig":"MEQCIC+h0bI3qInoro20av7I06fucmc0hhKQJzDdD2p+CIOTAiA+bXEbr1DKECwQC6C+FtYdznyKOB56+FAMPUBkLo+OXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNXY0CRA9TVsSAnZWagAA2cYP/1Diq0RyjKva7qDpkOcq\ntROytXULgWnh5Ib9OwNVQ0dBFovKyWjgJ3+e+nF38tC9oVSEZ4T2kpLhDOM6\nodpExmxWiL0uGuxTtYkoa2XUFfQXOSsHlKoengRTuB9p6HGzEyQqONkEyKPE\nE07/KXGIz5fi+Tzfc9W2n1RyEFsw6vzbwcbQSskHiINyQ36H12UBGxzrlWac\nAigMv+EBqb08jI23IrJCB2Ui+Kh845Nlwva7k8MgVDmnlcyM9L6s5xmPxLkV\nfGg6gKAgGEsyfwP5321NiSKuCDGxiSdV5jD/0ypG8Yd7NJG6sIENIbSP3235\njhO98Wo+dPuzcmQaWD7ULqOu6vcq8nc/hjKHHVlFN4RPigu8sibxwZhcExLT\nsklGvNRQCIeeII6M/miORAN/UNpa4LlBL15Y1pBHL1CjqlubeW6+SQnW9atb\n/pVwtNOSvKkTViIeQ9MsEVhQgW/59e0ADqkfPoPZSd0W2r9zyucpsAdxOy60\nciMjNyGOfR3j3hWYr5wNp5eMcTSvW2pEzwbjJCgQBEnXvlgebmf2MPnlDkQJ\nbBmnDg/b0R4ssOtcCiCwL+XhaZ6HfuxierDVVrNj09opRb9668QKdN2paZvR\nMjRmGZ7M09UkyptZpU1daZ3dwdTB5bN5P5Hv/SL1iVdAgiat2ZFn6/UQZvEb\nIUGX\r\n=p3be\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"9d9650859625aed29bf84e1328a4e8c82c0522a4","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.23-renovate-non-major-9d9650859625aed29bf84e1328a4e8c82c0522a4_1597339188056_0.33816621585201756","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.23":{"name":"@balena/jellyfish-assert","version":"0.0.23","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.23","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d562cbbc9dc2d5afb0d1085ba686712ab33352f7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.23.tgz","fileCount":14,"integrity":"sha512-NfoP73gGS3TBXQ78WR4fDhEdtQ+qQBDAILiDq6qSizEgz6cRDEapTJ5gB+KPtp23RzPLOFLJVkcsUM7YL8JrUw==","signatures":[{"sig":"MEUCIHKA+zHhCJ3cGPEqkRhyN77Z+/LSYjYdV8EpsgqgZsRmAiEA/yOS4Pxmmo26sSFc/ioQ0ki/yX4feHJ9CR6tI5m5w/s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNc+NCRA9TVsSAnZWagAAm5UP/Re+umi7xN0H6ZFgY1vx\njPSncj5L8JOe5zJ1/WrzcmuCur+3vqcUNIDVn2QAIKGa46L4/+dEt2KHJkIU\noHC08ied4GXHf5BXs2pdMZLXAvoDYL/wWPboFLCPBvhoV5uzF0h1QWoorhPA\nB5uNlIfqjhCYk5uzS/c6Txu595VTw3W+HOYFf1Fp4ibxgV6U2GYk+C01wPs3\n5AMATgQlJVAe/X9bjKTiaik090XdBsUhWXoIn184TBP9QLERdlDEgtCgR3bW\nKwBRWEn+bjlokCBGqBsju0RacmsGlpK5JAuYkAzQXSSDwgj7Pjr/8eiGq4Un\n9yP0xrb/v2jmsk2bxTmkDNJ3+py/mkELlKEPLRHBIVs1Yw/+O7dVQAQLa9S2\n1w7bRNj2Jk3OdRuhC91RbxIyZBWsVD6RCZGicC+vhxvJtYHpkstTtK98qas1\ncwBL9BgwFyMIJa71kJ6+/Ja+2yQKBVGQw9/n8et5C9+kOmJqzhx05k2aDXJy\nHOPany77l5tBRbKZTY5F/LvBWFu1IdDyF3Ba8QR5GGZMjCGmhpGP60iwwKXK\nwGKAaNAIlfUZOt3QMWXGH5bzgzZaTz78WrxE0GzZV8D8y1EosfCMKK0yJIA2\n29+YftxYeZiZJi7cWNTvHpwqraAuCd7TjqaWza386w1ZhQJ3GOjEB6xleUhU\nKLWN\r\n=6wIM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"7549eb6259267c54d9462541e54dda604c8e7ce4","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","eslint":"^7.6.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.23_1597362061017_0.8913987603796591","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.24-renovate-non-major-daf771436e3b69284ad64a3279b5afbff142d5b8":{"name":"@balena/jellyfish-assert","version":"0.0.24-renovate-non-major-daf771436e3b69284ad64a3279b5afbff142d5b8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.24-renovate-non-major-daf771436e3b69284ad64a3279b5afbff142d5b8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"21e644298164aad7d7a59452e8fbf0794a05a7a9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.24-renovate-non-major-daf771436e3b69284ad64a3279b5afbff142d5b8.tgz","fileCount":14,"integrity":"sha512-/TnXMOzkmerpok7WkqUAJTb5uJRwyPVQE6YNkwaHd5EotCCXHD5li/VoFMksIHMiMomWQ0n6KT6fOOOOJh6sLg==","signatures":[{"sig":"MEUCIAoezcI7gcn8M8mfIkt1u81jJe8+fFaDhjFQuDpioHgvAiEA4XR7slBffYJpKNXkqsRI5/z3lMezhMLJO3CX94ygCJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNwhfCRA9TVsSAnZWagAAtyoQAI+5eJ5vrQBYYDAC/6Ba\nYaMh8cHAouuKJYlchwOSFUWoJ1Ojt/5c/n1K1YpExtmDoFfTOVKofhag9iLy\nwSypWdFzioGd5qrmwJioG2DnarvA96EwTKhAAns5wbsH7VbWf1gU+By1ep53\nO7HqRnCuNwk8aZGV5Yxmid2c1P0zhTUKWC2oQqiwyvRzamyKYdV0gaavIFJt\nHMHcbtfxh+Vu0kof+ZG26Xua7ZfLlqmG5/n8PKmNV3b9M6IrLG38ibb9cXkd\nzlIjCpUOB3JZ/f4IdtNb4NYtoMlXQpIDoH7iZigxjqRC+mchW0GrRX7n34pp\nWXOj4BAR/DXQdNkUtUrPqPKYHlkm8rR0nkI/5iEOmfSITIjnFLqsfxpqJegU\nieJdA68F2fPNxnWU67RyMKyrlTDhP6dG0zRgvd+J7czHMYGp5noLFMP0F+sh\nSt5QwGC05fk96Se96U9tTmi3MjOZ7K6PNWyYT50MYhc0E8uZrTPTVgKLU2T7\n/TKqTSc3jVCIOScel3s+zx6Nz1VTFlqq5RSgjmS0j8CEHLgH9WOvPw6r/CCY\nOwPY6c69ApS96rWfbCCLmV0dGaVlYS61VtlDtoH/gfTp7ipP3fT/8l5HkMu3\noDAtsXoVRW1l+exjUXFDzK7I/j6BoCaCy0c+/GQVWGFXoltCDt/KWlwVi/li\nuqI5\r\n=htex\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"daf771436e3b69284ad64a3279b5afbff142d5b8","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.24-renovate-non-major-daf771436e3b69284ad64a3279b5afbff142d5b8_1597442142997_0.589434057411448","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.24":{"name":"@balena/jellyfish-assert","version":"0.0.24","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.24","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8a31cc73f7f9375ff32619350477c0bc808d2f3a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.24.tgz","fileCount":14,"integrity":"sha512-BrzpxUS8l4yZYmHt6yAeYGq6fPKTT9nReR9SS2B8Ev0tU8SQ5JLtS9pX1zdiOSCBOg/juLr6oovmF/pPAAZPXA==","signatures":[{"sig":"MEQCIEL/JiseIlexp7BE40vJN1nkbniXu4YI/hKZzThT8oFWAiAIpxoI5npV2W6DALuY0V0hGGTJJDi8jSA2JEw5GBwUPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNyjGCRA9TVsSAnZWagAAfCYQAJ9pjf4TjQD+iX2Z0raq\nqxArzBQ2KhFTM/e1gUrmN7Xm6QyBEAFgXBSD2GvIlqmAKcvP5v2o+9qm9hZR\n/+nMfrhKshpEOqXm3F2zoy2JEsSoZ3G3nmloi3Oufq+/aRecICWuB2jADRos\nq/xFYRdo89yfbD868QsgfZUyV1LZn3XB8twQH3LK2HYlUQxbxg3UcYF1INah\n1SdT3cwGdXobQSBXhlkrcorgsz3fMCfyPJpnA994e+oBZ7lZt32rrZ2Nz1F5\ngUnr4Ah2bQn44mxckzErqAq1OrJSjf4dMqaVndOejCqJ5SEqWw4D7ysomMqF\nims24gTMQdYopBKmQWrEZGJ4p6HQ1cVUy9c9YmqppDIq6Wuu9KiPT80p+XLM\nyR/BrYKPCjhsdBuqSLXex1ajP2o8+ia9KEL1C+yJmXo+mXh3gLduejYxdRKI\np7V7bYAsPFDn8o7E9COa/bAOSEZtdiIFoCMyAmwGlPquVQzFEaYGHjVRocqO\nmMYfiHojMMu2YJJwKJjXj7xLlYyeHp/EUYUEnGHstjmA1VBhDuH5K603xntU\nuBQsvnVP/PEvh4Mz4uhlKY3pnc4SXDztUXyYOAmeLP4Y4AMPvzIZySVP9N7Q\nOh/Hl5lU+tntsQQ1kPe2GyNQlUJx1FY2DgN2qNY4z6xUzZbmnWV42MpiH322\nsM1S\r\n=j1hu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"e03d17503a29196e4aab6af8aeff13cb17212d34","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.2","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.24_1597450438252_0.4518789497481268","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.25-renovate-non-major-7506a39713970787107376e2f042ad1673920326":{"name":"@balena/jellyfish-assert","version":"0.0.25-renovate-non-major-7506a39713970787107376e2f042ad1673920326","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.25-renovate-non-major-7506a39713970787107376e2f042ad1673920326","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7f0bcc56a9985b1e3c1a7625748d34df9a11dd4e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.25-renovate-non-major-7506a39713970787107376e2f042ad1673920326.tgz","fileCount":14,"integrity":"sha512-cLzJ2+BEzM8P7pBOf44N8EvNGmzGYtgzgZPvzSeAfJuGtu/wlRg4AbzlPUy2T+P+qOphBu6vzKTnVglekQ4VmQ==","signatures":[{"sig":"MEUCIQDA4RVBu9r6xUq4vfB7oLBu/EZRDDEVQfLULMkLwUjkYgIgGuikwYHn9oEX94TYxc5zNdczs4tv09dNi+02ZM3NYhg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOKmdCRA9TVsSAnZWagAANuYP/RL2z50wQf1zRRrK48yr\ngfAFQPKt9VwTvbfTd9LZ4P+cigOMff5LTDEB6GbHdfImqHNy5KS2dzKOimGi\nfC3QxsotOLXJQkw7YOOA28WoAy41F7ZlfxwL6mGKRa6+GK2SjowQfQshSBy4\nIFvfFGewu9EHUtyWZesAcpRacZofJKWYmSFkuDWbL2oa6MreMCezppRxmWzn\nrzbl07DJE9cSPIiWD8e6528t2da3Tpdp7VpwAD0ako0zbZeKL3D2opYt14TY\nbgLVDckq48KqrRg0m11vVkprV0/JiKkZ694CauMAZjA4A2SjmaLspsjHxuL6\nBf2vOA61SfbTiQVStSrSTnANGe9i1wMfIbHvdna39cKQZ6k8vFbvSQ8+d78E\n9F02OvySwHT88Ic0l9AGQwQ9LBm9re/4VvwL6e1w1x8KV9XiZQ/PNxi96D/t\nTIoUq5cEeZtcPoQqyQBwhHR5nj+/zrGRzpdrwrrGqcZp0CUEainNa17Auigc\nJdDtJVuk3cn8q1bpuMcbJWiUF6YAVpfQfzGYzinDqbnpgsflHNERwN3rFklx\nAHg0CDAlWkGIu+7UcKgvEA9h0OD5PgWlw+Yw47fD6UFs9/0r8Tzqv5nw0aXv\nUZWB7rZsREwPCrCAxyuvhYecGStF2Glldj+ifA6dS6/UdAAFbG5EVv4DJBhq\nbGW3\r\n=RE4O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"7506a39713970787107376e2f042ad1673920326","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.25-renovate-non-major-7506a39713970787107376e2f042ad1673920326_1597548956756_0.2917853600044278","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.25":{"name":"@balena/jellyfish-assert","version":"0.0.25","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.25","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"aa0e58046b17ee55f83e81a8dcb14aa887c08a00","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.25.tgz","fileCount":14,"integrity":"sha512-1F1hDE1qsZrZ49/1WI4wvkNI5jD855kTmjrBLiIoG5+lQrndWFjqsHqKHlF3UpkimBAV9xRYI9hn1/oPGmIhAQ==","signatures":[{"sig":"MEUCIQCCdsqphFcNrA5D7/rokeIoT2hYls26Rfuh7HOaOAq9jQIgRkB393ugBjWTucWqJwvrVtr6j5NoGW2oG7ZHWtZDPFw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOKpyCRA9TVsSAnZWagAA590P/A/NXdyPI4K6nA4anJ9x\nO3LFEkgdLk6I3pqbnvqP/BoioK9zTZ74BU1Ry1NmUQwsExVqnpNvALTD/2tT\nBO8RKtc6u57mXGlvEAt3fR5gR6VQTUIiu5VSBbeV06yD+vLlpH4grNrp81C6\nA3dhG6vke4AyMrRCCU2JlinYkGUphtrgLJxqZkRvx9uMT/8wVBTO9YHLp/9k\ntZget/7t/DCnORPqiGJZaMLz2YS+1HgcckjiMghLsPch5XmMO1K1zrq80OP2\nreRUXKeaZ5o/0Tmlhuf2rginCmlz//oCsnvdymTkHV916iLEMRO2U0of/53w\nQli8bvUqDSWfYJvXr55pRBFmCFBExrA2i2gYQ8MhMclh2aIP/f6mGkUXLnCg\nR1oPwh+3PZgbprGVfbkCJ511vkKWCzh84oIsB8bEg8aloUJYElt5Dlzda95y\naePLd6ZF4jQzU/Q6y8KiGfDYPFCJ2/EK1IwHqnDAd3ZMELhjE3Fg8XpdI1uP\nKIOMHTQx2NLj1tGVT5j0hzgDojNscvLJDhx7LOWvE9IMbpM5iUI5ycTzciYZ\nFj2eqHOyEiJOu87eD2gaMPKeZ7T3Ul0Lrv1JehiMU2RvHsZU/P3H6C0K1n03\nkzDbAdM6AgRvw75M//jG17OqGa97U9p9oyGvOPSBQqG/YQ8v05uH7X9GnwXi\nR6Uv\r\n=sUR6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"a3cc7a682a7fd4d5c674ad1eadfb4a82d20a0746","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.3","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.25_1597549169831_0.4134589887346074","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.26-renovate-non-major-ecdd4fd93646958a619544b0bb66d7ebf8f959e3":{"name":"@balena/jellyfish-assert","version":"0.0.26-renovate-non-major-ecdd4fd93646958a619544b0bb66d7ebf8f959e3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.26-renovate-non-major-ecdd4fd93646958a619544b0bb66d7ebf8f959e3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b7e8cfb47b7c54d50ccd4c3ceac50d3031938e7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.26-renovate-non-major-ecdd4fd93646958a619544b0bb66d7ebf8f959e3.tgz","fileCount":14,"integrity":"sha512-cNU6y2ZYepJQxSGnHaQnU51eTFbbhurhGKxgld98GfU7fFzcY4vGp1xGO4wOFEIrMU+JNxeMKV48jfUSQ+x0vA==","signatures":[{"sig":"MEUCIBRIikor1qkX4zR/wvTJQdA6VJrBhS0UVXuiVaavK22rAiEAzw8w6TsCbg093UIFtxzrUgLodMI6YB6Lt7uYNIV7gTU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOrQdCRA9TVsSAnZWagAAvHcP/i3NQHQXFKW6o+xfU7cF\nP/PXV+bzdlR+g0uQqEqP5O1icawWU+lKN0xp+nIa3ovTHKNv7tCd6fKRhDBa\np2cacFn/yh9G8GXgCitMNbYHE0b94W1uTxlzPNDB2Ic/lwoqqtBs+61+VEZJ\nTsBmdLNBzyU0VTn4SOGsQ3UZ4RE7NOpPGPtc7Kp7qzgaoWP7OCq6Uy+6Wwdc\njMnl2hOKgOv+Un7b5/j/uUATdv4s15XQqqauxHgW3Y2pbnJMezlcwndoYbnk\nei8uHjCHqYamU3PtKtY0T7BB2aEYIcY+YXjAn+yB+gIIjNgunCbRlMM+6/Ne\nuGF2536tJN9OaA8jigrro4YA89tvV5RHXDBzdnMx0AEaNZfN/Rps57Df0jIB\n6lDT+9q60HAiS6XNmyjZ8W+ZoerK7sOq/J3dH70EgHbeJTpCd+kBGq7t70V2\nWaIt6/s7dHh4ySRXKBeXQZZtQzimkK2sw1U0TMZOxcI1iPNqVrMllbZ+05iK\nJ/U6xDYSPPKGFeMlMSt0HMby8jQj/vDTYtZSbh1ZHgEmYaPZ6/x9nOpj3ppN\nJcaIBApJAEJPb5Wq+3dTEum2ckxUND/0GcR6YxQkgfaEx60mRz6KAuFt8XSZ\nf7CgkP6ZN6CUqVd3AANTDPD7PecDJNW0GnNlOVlqjCOeewl5z2oLfo7b8gOH\nk877\r\n=q5K6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"ecdd4fd93646958a619544b0bb66d7ebf8f959e3","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.4","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.26-renovate-non-major-ecdd4fd93646958a619544b0bb66d7ebf8f959e3_1597682716612_0.08063822019616707","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.26":{"name":"@balena/jellyfish-assert","version":"0.0.26","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.26","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"771c48d91bcb9063525c198ffc62804ee144fc70","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.26.tgz","fileCount":14,"integrity":"sha512-RXmubAcDw4QEhJ/2crQNgbbmbVlu0PVWtJgYQ7oCz2TfRj63Jz3BHZbLkZ4HpewQs79OTr4JxdG1ht222CEInA==","signatures":[{"sig":"MEUCIQDIBOu3PzxpkEo/kCCG4/UVCEI4mjNGr/nJYCu/7VabtQIgGxsl3aIbJt3iud8X3QzlH0EIMxCM+TpsWoHpWPDNbXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOrS8CRA9TVsSAnZWagAABzMP/AoW061xGic3NmUpGihi\ns5/yNo1mlnWKoCjGqLUD0Ngbv6fNeAOmchgVbHgR5Tfg+Uuo1QLACn8OvsmH\n7TLYL4YUvJqtMv9Xedf8kGf1zMHz0RtIebLka69wagBKbxkMzdVqk66rwtSG\nNPDMUt+G3T8+f8DL97dxm+AyrWlrtEi+ElfgJ9Z86TI6zrNi6wyeDvb6xsxG\nPMsABF1uBzh0QjNilqW2uJKS75Q53/YU4EmreFrs1Yvkqdry55FUkKTcJBCg\neT6rIUMtiF8nYL/kWhaG9rDnI96/wOnqC+oJLZJ35yrx2EPB7bSUBxNEUve2\n/cbJnPNBh4Gt1mY4rvJq6oukajggA3Q34DTP4FY+83/bhdClKtJjxFTTRr5L\nAetkthnppkp7lNNPaepyfytGHgUWF/Z8rWB7lgcE4QmVQCGDBjvUnuSNuzOS\nnZczo6NZU96N/UU94XBJJDpmyILWy/e2E0QkiGbSsI0UkBU3v+9hAubJlUD/\nVVYxrAB2om5qmqw51MzZ0vjzysiDQdwKgKYhkCa4sn/hw+GqFZkd14SfcJkd\nyqef2IYn1GfWJ8ssswcAzBPvk12b0f13BlAPVealsb4dlvprNOh2b1WvY4zQ\n0+rAzsNIesCjROcc02/qrlZ9uEdR5uBMVLEMYW1o+6ar7yTusyWCjLDvb+2t\nDHh8\r\n=cw0d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"e896dc91afb64acb2e7b02a874057d773e286f9b","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.4","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.26_1597682875903_0.8143663150200879","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.27-remove-dev-major-af50e21df74d99d1690023eaa4f3d004e2915608":{"name":"@balena/jellyfish-assert","version":"0.0.27-remove-dev-major-af50e21df74d99d1690023eaa4f3d004e2915608","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.27-remove-dev-major-af50e21df74d99d1690023eaa4f3d004e2915608","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"86731fcc436fd4c010e64586f0e503b0afb084c4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.27-remove-dev-major-af50e21df74d99d1690023eaa4f3d004e2915608.tgz","fileCount":14,"integrity":"sha512-T4AWDuPc2EsagElPDBRUkaKtU1VxLKOFzlkRa3LSynx8qCWwc3PPIsaLsuTbNK54ATSZzZzIv4CpceJyMciObQ==","signatures":[{"sig":"MEUCIQCV3IFHqqJU9WCIdOcY+q7mrdU3xZjSSnnamAc74bLD/wIge+0ucPVsxSwZjz1X6SuYbleY4j33fq8wxDusfvUw904=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfO0AzCRA9TVsSAnZWagAAgGkQAJ/vz60HAXXAffEAhvkX\nDMgc6uVHvWgli2K69NxNpQKYwrtL7VezY3z8v8pM+mjTA1tQ6SbbSo5fVCTa\nVo7HTM4UzDzWSCRTFbqyHFWBjhnCQGVKL+1OKOh1FdOgptI2fLWNMgjbL/Tn\nlHAwih4uuul/CUa+rj2HG7+D9UGBZ3kIIBfbW710dQIw+d7G3vZBX6EOq30p\nHrLRSWnTtYaX1Eeq8dR+pgexDIwfi3uSjAGSclO8dpFdDn5c0Jvgjd4mKYwe\n1QV8Z58MJmxsHrmCruwjvmb+uWxmDYYv4huwDCrhg6FH2cAOk31rTrdkV19i\noRZKMQVDfJntFrZ9fhaabyINJIvqhvMZ+KNw5LStHfq4OCMwmowWIjwR3poQ\ngrF0kYErSdApoQKutwW2Hi3qOtMt8Nl7uqOdLqlJjvN91QDieF/TqZgy/2mU\nVpg7nU9HAgusqOJo8ZnBJtXaA8GUJvHjhwZFIzuL5OpLtkUwRD2joJeiFhyn\nB2CbM6Mk5FclJgWk4FxZpdUOwsUjb0qReJRf2Q6R5d+dQNiVb4RkGCLqXzAu\nZVBFonJFaBfNqtbMs3TKGn59uCUAqPzNfeVxUZqSeDiHSywPGoASTBN2xPbJ\ncyOaUpem/o1YGLn6UAlcBSp6avys5RGGA8LGEcSw3gN83y2/xCvoYa1SK/qx\n2pj8\r\n=C9WC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"af50e21df74d99d1690023eaa4f3d004e2915608","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.4","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.27-remove-dev-major-af50e21df74d99d1690023eaa4f3d004e2915608_1597718578767_0.8471672517879905","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.27":{"name":"@balena/jellyfish-assert","version":"0.0.27","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.27","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8274515cfb194e277c74a1f2566e2b8626cfa0a1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.27.tgz","fileCount":14,"integrity":"sha512-l6ZFd6PMS933QUCy6kCKEzsMjM0qDp28cIQegq3uneDm+ZS9EoT8SJ91YLhqFsHc1zxdGr6QqyTvKSJpKXJmag==","signatures":[{"sig":"MEYCIQCGmNFfrW9jIGMKiQ0Bsr3KpBwpUDA7SPaguNMCn+pQKgIhAJmKFqnfW6QQUXcdo1iYuOkD+UDwtBC63wsCcmEIQhhK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfO0DtCRA9TVsSAnZWagAAqnYQAJ6I2E3/jVyCHlMQvK9q\niGfF3oRNW5rpTETIahn+ku0hGUckqZ6GkwuRI3KzRX0AJRflKH3Qmc8IOOBG\nI5TBBteow3kozUsUFy+txTr029ZDxNIZ8+o7JKXyAwOLeZC2/4cspl8KRcae\nz2PJoZ69px3mHvQ/mm+a7xnDuLBFLZwlEOX7kGD01iW7aIr21wfUy8KMHIwW\nd5unUJeHJ1qRWtGP/1s6ouNBzYn0LSzyT3iwJ2BLG63Ad5cGQxfW6bioi/N1\nKE+S1I4KQ5oxT4IgKKem/C7B5vnzYUgjGKdtQsOiHM47vEmavpro0Znc3m50\ndE2mF/SXj2LPQRUVK3iEY6Z0+yzSqBN/uVVD3oGRbf95k6nWV7sWAfXKPffA\nYAcVr4yPkRvDiS7CIbq7P/poVB/mQqrXbT7nbjON39NdQOO+mP1bUqjxhc0d\ndqMCVnoFat5yz9zEO5S/UTmr1S2PRsiLXES09cmKkMLnFWKbPL53czxY63Qm\nFZ475n5qImSbgsKOXNsqCsbvLNUC3DvLYisTyT6k7FdnNZaa0zhSs9YmCkku\n4IPjzfwMWJPs7aS0dNSLxQ+3Nk3WGRMzKbi0wbMX8RzJdxGrd5hPUiNnBwu4\n6FIw7GmaeNjIGQq9gy5GC3YkufiaAHjmPki2cclJQPPXd3LyrCVKinqVALl7\nYbFT\r\n=3+Nf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"5a102c2d0d5ee12b460bda038d24cda7e3741d17","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.11.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.4","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.27_1597718765429_0.6865616825112619","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.28-renovate-non-major-5338d10106963539b915b238e1c67e8300f62bc1":{"name":"@balena/jellyfish-assert","version":"0.0.28-renovate-non-major-5338d10106963539b915b238e1c67e8300f62bc1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.28-renovate-non-major-5338d10106963539b915b238e1c67e8300f62bc1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3cd3cec40ef857deced9c6964195b60ac5416a93","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.28-renovate-non-major-5338d10106963539b915b238e1c67e8300f62bc1.tgz","fileCount":14,"integrity":"sha512-lREK8oHjodw9X5Gn513MlUWWY3+ugpOLN/gu9uzWGsFe//quW3nVD4jQZEnPSIJZ8aPhwE6LgrXgCWgupo5R9g==","signatures":[{"sig":"MEUCIHDDY0U6agIxETndBjt1m8rDr9R/ovcNyEl6m/XEYGOPAiEAyXc5QsAYtCRNjbs4RPoIMPOfMwO8arkx0gtsPd371Fo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQsiACRA9TVsSAnZWagAAqeYP/3ro4zc3muElfHkliEnW\nx32t5OEmd5hB2y3WDCGXsp8TWGFMStEUyOExo7FCtmkrrV4wAFexJ+g/RFlM\ndiwKX66zXClNET7URa+sJ4v2I5lMo8n4ZNRiAhKuaQlsTt0JdbZOYs9TFxZ9\nKE8V0KPwIDoqz2s/i6aX5HZSwNKn7Ymk6SEv2jqHZowBlUBsO7j3x9mtQNlp\nrY+QIAeYEnyo6CEJqwcYzW5pB7GIKlQEnEO6VAPl5L5VvEaur8NnQ8O3NAHk\nMUIxhtd1rmdL1Ty3Aw9y87hrVgddvo2uFBtb0jJ9JCb925Z1Ff5MS8e6VGBh\nfdWSw6Da9Muy5RQNZdqD2xoUKQ56TvPnFk4jXY32my7bEjaMO8N8aOJalhcg\nLeM+veQ/slLKU2wqRajhpYtY7WMoHJFDx0IBe8UVF5OLqdIry5MVQZfj2jXc\n1rSmZgvkcNLFR5UwuWQR3TZZifO0pTucNDRw4I0KmjE2ZJN7F5yAoWrJLdkr\nz6EYY8xbK2grMPnre6wkPiFVJPdMIUhLzTN7vzMHNjxAzkCnQ6VNAU1Zoty2\n7/Jf9UNrZJ1yWV/QgDtJ08KaFU5ALvJvdTGUER9lFGUjtehW+4Wy+VvNDM5s\naOcbUoP3Qm1d08QJe+Cde3Tvjz1cpeO77WeiFl1tc20r3PbONLyeCSbZwtt+\niUo6\r\n=UqxM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"5338d10106963539b915b238e1c67e8300f62bc1","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.12.0","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.4","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.28-renovate-non-major-5338d10106963539b915b238e1c67e8300f62bc1_1598212223543_0.1046942389191956","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.28":{"name":"@balena/jellyfish-assert","version":"0.0.28","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.28","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8e999bc57e65a13a45a709b22aabc3d9c9dba5b0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.28.tgz","fileCount":14,"integrity":"sha512-TzUX88mhhHTh+O66V5Gk6Q/ykPP7flkyiLTnTyEb+u8X+UONYPAwKKvconNUjMkQ9hqZmHq+AwnV97Gvq/F3tg==","signatures":[{"sig":"MEQCIHPBfXdJzOEn46yWfBtbqqXlLbsWAPVlyIg//YR2hVDmAiA7xQak36Z6PML+4gqZqJ/dovfhtTa9ShB7fgWlWgbkDQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQslDCRA9TVsSAnZWagAA6d8QAJU/D4LwyYwcFtlPfJN5\nzqiK/+TbNsrCEkiIvyVn8Ycyc2+Dgmg87uzPJL7FVuoX2npcAbycTwN65kFx\nnYDJ/4+YZvxWaOohkWfOl6Rd5XPx93qRFgroj8yTo79JexiBOd+LDepHN3CX\nWuJEZZjLFH3s5dftm218oSjH7CSBmG50O1hjuyuIUkgarafRi03gAE2NpERm\nrZMob6UDIkug6TRQTgLXqNkDcX29LlpQzmB7Joq3EzrlpdJ0VD5pDKWaQhvf\nTyny1P4lk4GGAcVU619E3nvH0jCRVASeZUr/ogsSIm8YxMAojvHbRZhVSEWP\nOZVtB3WK5TQKe9p2YCp/5uy30KZB707kjkCO3hS9qvlhqCkY6djgFcIrpGLq\nSEghnh6WSGHuj0CjbYdAN7vpvAs4lNjN1vrEU3iQiSWh3R870KrxgX+SarHy\ngoaFFMwpxBF2b2P9fRYpEN73PjU0PfpGW74PO5+kSeNqIXwGav3X5cQiQgJK\n1iJitOdYvGtRM64/Ovf8XEgTxzfNU0GV1o1Br5VLC+ibdVj2PVlgIxhXeCVk\n29WdcvxNo92Y+Hpdwjdkeav2VUzAFEERARMoADaQufMFMznL06nSGuCUdMJJ\neDN2DiOxI/lEGfObv6DjnoAEzsUkvfPjLvQZaP/2MlNU2uq7YtSiWCqMWhKP\nZaht\r\n=qILO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"8f13ae472511bef5c46e155710c51db66cd72f67","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.12.0","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.2.4","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.28_1598212419168_0.9504264435108625","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-9e668f189c6b87de81bf60ad2ee0a10ebbc83f22":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-9e668f189c6b87de81bf60ad2ee0a10ebbc83f22","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-9e668f189c6b87de81bf60ad2ee0a10ebbc83f22","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"115821b634e1c75186f399dd5a47fb9ad2c734da","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-9e668f189c6b87de81bf60ad2ee0a10ebbc83f22.tgz","fileCount":9,"integrity":"sha512-1LAxhuy4QN300FRktUpSLzNNfb+tSnQikQV8QJ6qnZRoz6enMMIS5Dqp3pLrViTbUbdC5CtPlrymBe8pzrdrhQ==","signatures":[{"sig":"MEYCIQChXA7aSrQMrFBFYcBbfA+160NOCrBsvI0Uy4F1QIU5+gIhAKdYAR7nlIlyh+peHJgaUbG5xo22qR1HBl87pyraJDL9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRKrMCRA9TVsSAnZWagAAECIQAJFhKub1887VKS6X5zl8\nWDu2b1Z4Amqq51Llmp8ZNQk54iGi00b+7kUfvDrNnRV+lFLXnSfXHI4znu+T\nIcPJuK4SKmqkPgNC1SjDxAyUzoG07FOl2zzNICUoZ3noHVSB7phUz5OvwmVt\nyduKi9pRhhNaIPtyIksuhufIPYN1IL2CukIf+rex9JqfUomBEL3ZJ0jNk7IW\njExMEhhC3p25EXswLvuLnTLsMuOVDJYxodVl4mU2WlXorrIMQI91Ms9Xji8s\n7LXh6+0E3ki1dXY5izXiv8poaN2ZqCT07zLh51n+h7R77l2ZkAm43MLP1D44\n1o630uMS0Uu/Gl+8gcp+dBIiuVSJxW+O+q9cguV+hqXMvqqX+TUinBxENYhX\n7Y6acLHS1VIcW4QqFMlJBLogZuBhNEjHQcIvQLFeADh5htoFbOKNJh7HXWPV\nqgsxbjEnv013uM1w4c2rapx75WobtEyxUD8SiJ5sdKNDD851MExA6VL38cQo\nKUES3gRnsFJdH/p1owWegCa/BWdtB5dfLTZGWySZotNbAy5eeJs46itq/4hS\niS/4OHbTJyEvy6kQDXM/qn6PZF2jzGac7m1PpVUzAZuFD5pD2BNPvuNg2Tzv\nUN1SjYZeAWLgwFMj4oco3H617kbw3uTY17xSiFMiFMi7wYQ5M5S0uKP7u17l\n79xm\r\n=7IVX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"9e668f189c6b87de81bf60ad2ee0a10ebbc83f22","scripts":{"doc":"typedoc --gitRevision master --out docs lib/ && touch ./docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","@balena/lint":"^5.2.0","typed-errors":"^1.1.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-9e668f189c6b87de81bf60ad2ee0a10ebbc83f22_1598335691837_0.20061213204850636","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-8731c1c10bdf01432123868e840b79dbb3d02ad1":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-8731c1c10bdf01432123868e840b79dbb3d02ad1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-8731c1c10bdf01432123868e840b79dbb3d02ad1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5a86a7110df20adedb4746f52d3aad25cc1b4b84","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-8731c1c10bdf01432123868e840b79dbb3d02ad1.tgz","fileCount":9,"integrity":"sha512-H1dQ/f+tZiyhBzeV0/deCYnC4Yg/gpT7Oj8RLnEYabyDpwhIGVWp7KqaOMUA1nFa0LC+2jLw1PrLyJgx/XRpCA==","signatures":[{"sig":"MEUCIQCerBMydSA0HZb4rRZ9ZH8r23+OU7JTOIzIWpnalG2KJQIgPPxPCSXgBo8MA+BI/KcuWtQqpX0rV+mhZ/3J5wQMOPw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRK+8CRA9TVsSAnZWagAAQZ8P/Ri/DTydWKNcHeYQD8qH\nhJ/V/hTAPcA0UFJiFsh6D3oO6aCy8IHFBNYRSz9I3khqwyw8rvZg8QZQkziy\n5/AWvsl3DkaUhndIg4DsfX8MaA49cT8KmYhM4TE2elIO8T7tGoFjOcnf+SzJ\nFjFdRYK/6B/XryF1eKR0dcfs48zb8cJwizC3tPY6sRUpjKzjmnY8M9kgFwC1\nfqbwtsw7wXoy7MhxiTM11zRgBVRSCq+RsOKVghUvxe7lMc/0RMhkhrnaw69e\nb+rjJ1QksklYWprlfQvPjjjpHINu+toLIDXtM3LZAdwlJqHRAS+MByQf4rTy\nx0lYln87xgR/zS5UbFlXRvbFpYjEWHX7TULUTBD2a+0sDhT1O1Ce/SrshIQH\nrhpPArJWydr4A3H0petzfn9k4yPdR3uZ7hLVXdOmf7J0Bc14439YLasMDLNA\nKpjSntDLMGcJJRgvZzsw7DIVWxSMQDKxc+2a6ZZYUcBJkSB12hpg7D/Rv37o\nwsbRLvDeSA8wtBEERuNNPZ4ghdgR2AQQl7MGgEAYcU8ZDyhqAru9twDorGBx\nHYXyusuRnbTkdeFY6hfJrBSmkwLiGXzvSuvCOKubV793vvkRrHozUxn6/1Uw\nKU2Zg3xhjXUgF9vWT8kvniYbyNkep5w2/6+XabHcYQx3MHx6BN3Ii9fdnAUT\nuyaT\r\n=mRa+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"8731c1c10bdf01432123868e840b79dbb3d02ad1","scripts":{"doc":"typedoc lib/","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","@balena/lint":"^5.2.0","typed-errors":"^1.1.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-8731c1c10bdf01432123868e840b79dbb3d02ad1_1598336955828_0.5595563692813048","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-fd54a636b9f4f4493e63af9c222bc640218a732e":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-fd54a636b9f4f4493e63af9c222bc640218a732e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-fd54a636b9f4f4493e63af9c222bc640218a732e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5d4ebc46741a34fd4e7247d7a4e9bcb5a8b24848","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-fd54a636b9f4f4493e63af9c222bc640218a732e.tgz","fileCount":9,"integrity":"sha512-mutqsegUKUS3mCQQVOxMBaPO3vwZaLWCY7T5ajywZNCCALSbSxGfPl+QPpfTWpVwR8Chassrr8AL3p3g2hDMyw==","signatures":[{"sig":"MEYCIQCZrFhy/nuXJnXhyDeGhC0gsLjyDOfd6R/Izd6h/TRqwwIhAM9mAbH/qWvW8aIr5sBuT8oNBiC8ZQPpd+CM2o7GmG5b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRLbgCRA9TVsSAnZWagAAj7EP/Rsn+X+C6UlZYgLlkY53\n2adgYncQt2VP8v/ZJnrYygBU8lbR5WOFmXjtE04rRzO+sLxBapVORiteW2VY\nmRcFnAu7f6kDe1GAMgalBB4wen/fEhbsbGlt9OAPhxUX/LSWScj9Pjo/d9ih\npcxa2xFITGyYQRYRhQ2d/is25mTJ1ZRV+MP/lCz1vmQuaqvv+KGeOob2+s3v\nuGjaTTd8fnJV+4w62JWik8swrym9iXq4oHMFw7+Ht3S5LbfntZCR898WxvoP\nEct8GfpUdtpyHgQfTLPkYu5gvCNM0CjFFRIEDSvdgz7UKfufMj7B9LU3wHvJ\nOQgi0Q25zJjsjMFXqJHaOsIVQgLTMjOm0lzF0LzvAXlNZarNuc17VB7gutC7\ne/tw3tVaIxnt8cZqHxhtV9i+qAqQFnDch7MM2r+uZ0dWift9r1qN38V/xZkU\n9oA6hhRV5ugbImL7gn2VGx2aNch8gkz6O5az8oYlE/IZORl2ZmEhyTIRGHGH\nRZvjTXWR94HKolSociWAFImt/7H0jHSt2zODjn23k/hfaB1BmG1c7j2BMHrm\ni2I6MbdCt1P2Q/NEFlxJCRe0f0AKSGoUGt9OekDy7tEHDeEOwqPEXjoClg00\ns1qvQN8rNhqyrQ9mM/DSL/niquUEMs0Q8husrP6TyxB4/n/fE+h/QOUhdSBZ\nvut3\r\n=bseB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"fd54a636b9f4f4493e63af9c222bc640218a732e","scripts":{"doc":"typedoc lib/","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-fd54a636b9f4f4493e63af9c222bc640218a732e_1598338784034_0.5461062710283049","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-1ae3102524fd030a00d890ada8e35c2f858a3a99":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-1ae3102524fd030a00d890ada8e35c2f858a3a99","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-1ae3102524fd030a00d890ada8e35c2f858a3a99","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"112a9a6490d5ea284cefb6abdc9b2367bd2cec15","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-1ae3102524fd030a00d890ada8e35c2f858a3a99.tgz","fileCount":9,"integrity":"sha512-aG3gZJfIZWUFwHfWDRAjQg9L7r54JSzuwJCF3RcJmxQ7vEm3oofsOv7iS+R0L0uUSPOkn17ATDx0GtlaO1RrpA==","signatures":[{"sig":"MEUCIF+02b+YkJSf/OjsyxJslq34v+iQ3PFV2vPVsFxF84y/AiEAnkSTelr2uo9spbT0ZHEivlAjgwWVrqO7Y2b7qD5Qr4U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRLhcCRA9TVsSAnZWagAAdEEP/jpN7B9uZSWXMQ4Ip7bl\nqLKDdSg5oIeiEtNmkKJ+Hijo6NmTI8oa8sV8ZKKZU946olB+3MlCMjCQixjk\nduTOjophSjUJobVRZdgfUVJsyBI2wxoFPKzoCR62fee6SHZlJqiWcph04led\neX4anMs85l8DX6EPMUKZMmIwIX5+1cV4RFMovrMqsNVUD3LfL6ROVYeosR6q\nh3/8JH6l+PwkSEzhdIjDy22LBWjJ47FLj/4ya7Z+fb7AFFAA2Iw2ffuxBeji\n7kH2P7xQv2JUXYxfo8HPkoXBshFPHMuao7MjdJlO42wC3lhPZ9VoyDgOOeUi\nNz10UcGsN5TnYIPMXrkf5lYpM0X2HeQFIC5YHcmequzCKHLqOxj237HZciz1\nD6o9Rv/Ab9kgM3BiyEzNR97nm5xwPsnx17rifoD39mouZX6xgOLZqwuqXPLY\n11/LFO5FapsdXYZR9axzXOdYVS8urjaC2O/hTqQuw+1CYs2+xsYgb1Wutc61\nweNBuFiOWOfI1/+8YPrVNIbpI/HoHeCS40OBk4ZIEOGHHRkJmbiuhYF2hcO5\nGTiwN/TwR3zgEcZM6iCzKZv8jSIn2XAz0xsO1wz+YXfa80ahU88AM/o2xz9c\nxC2tPZgeekKjX6iK1q2OinVEAFLjR+SUYJUpcjMxJy2/+AiDpaeNcetRvlgC\ni6LE\r\n=JKzd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"1ae3102524fd030a00d890ada8e35c2f858a3a99","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-1ae3102524fd030a00d890ada8e35c2f858a3a99_1598339164132_0.8373714034457178","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-84423295038cea97da67c538c53d9326a198f91d":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-84423295038cea97da67c538c53d9326a198f91d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-84423295038cea97da67c538c53d9326a198f91d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"79b8a6f09b0a7492a44f592148fde37b5d56ef02","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-84423295038cea97da67c538c53d9326a198f91d.tgz","fileCount":9,"integrity":"sha512-Q2H4+HCrNTIoP0Hf2hP9ul1alGs9LOuMs1OsL5R2PspSvySsJIgNmw8HSNRcP5njY68R/W6OYXSc3DHg5DpuWQ==","signatures":[{"sig":"MEUCIQC/9/0p4MHbMm3TJ/jEWPezoadrAvlsCsGKYG3MLvSODAIgcvC32Kdrsa209ZY0ShSEMdW6k4Nb7Bwwm9bArY/SuYg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRLp0CRA9TVsSAnZWagAAEowQAIeGou9V7W8w6lI/B+PI\n/z3khHfDqnT1NEMZM6/bSafMldK/z4mnCQTIj2YVqUijtstTGTVCYIdkLm2U\n60xJxXYeyx/CkYPP869W1ISQUksantNdBlbO6hfpC2cZ8elLP3Os1z7nfcCN\nSF2giK8HRMsfoxGghkjb8MpsGbVrUFNeonOtWDdm5tXUlWc//zmnPPXqUn2B\n3UmRJ1vJAA/A0440SAgEOXtWCkHMH+YhFDCdbrlTGG2gGPkhLeX6XIjfFDyD\nSxmbvcm8YCdcwq6d9TN5aIAIMMiFDU7lZWFvGlONhVla72H28ww4/PKywKJX\nQjXge6L2CJ/7Zmcgku5nxDNRv4/KWHFSQpZegP9/TP+dRwJjG53DvbjiGXi5\n5zSwtwRCB+ZLpArIA3mNBURl89i9A8O4itHQUxXQUBJZNTS61W9Wrhc8fL8n\nBqduwnHaKrIsjkCdj3DwA/FHXb3a1LBO39d2/S3ugVeLGntuEUpi9isHbJET\njaYUWEfFzFU8neDKmYmkXqY2hkB0j5/FzQJc8NDk5dxyifL3/5X2FOdyruNX\nco/K7bsodbqx9q/kmStskLEzk+DxTf5BExDGRr2LnoHHIORsZSV+3ekeSg34\n8/tCguIazuMdrCzEjqD4z4CU5yNpJ7L8hQO/zi+yqRPSskIQKZ8ow+zjrex1\nlKL+\r\n=geN0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"84423295038cea97da67c538c53d9326a198f91d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-84423295038cea97da67c538c53d9326a198f91d_1598339699994_0.7847960871158528","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-1508b1bd451dbdc19b951705b8b9d31a20a37731":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-1508b1bd451dbdc19b951705b8b9d31a20a37731","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-1508b1bd451dbdc19b951705b8b9d31a20a37731","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b0eec243d6081db6a7fbbbef8a6e34f9b79e77bb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-1508b1bd451dbdc19b951705b8b9d31a20a37731.tgz","fileCount":9,"integrity":"sha512-AxT6oZdiPdHlebfi4v1BNLq22EGMbvSFPXLM8MmmghDtUoJsdog8R6QKwVtrVFLHwG0I7o2dBE0XDASpXISapw==","signatures":[{"sig":"MEUCIQCIZAuMnTr2ro8HubWH/9qKNlk7xl10QjeXNbZsk2zZQAIgIuSm9n817uAI5U1MPWONm5vKOdbwdnNPOpaXSMgKzdQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRMKjCRA9TVsSAnZWagAAgUUQAJk6rksPAsLgUueziMfE\ngR8DT0y/xWQ7YVeNNCLeztvEN8x7Zrjs6hSgknmCPTD6XrejXDlEVFZsaE3f\nv2jkFQSDuZK94/Ub5gW3AA773nA9+cXm4EoqV+cKx5rGDYlBzUwTCdbjw7FF\nWl81iMRgfHpkoMrAtiADzd1pGwix4h97VEUDTGdMbyU8USJkYVsizSTvbWY0\noxXI4uRsh/Yjl6oUcoVhmolyDd9j/fckakvPn0AHvJcDoz7FtNh0Agz22Z66\nVZJwh7eJmWF4KUc1FBjizps9wUElX1/Ca3QvNh0DcLhDdds346QLkUQpLzht\nSPloaK6rhHFMEBTX7UDj+csXkIzQ4sOhwqjwiE6jyCMkRtVmWUO9dwoihMSk\nmbxg6Y0tomjhfRlINml07IdHIM2NzSSKMDtuVBGrBqPejC+Yt1MMCOMYgpVe\nDNLaHeF/J6THC4gFs8y5P8fufyBM15q7jalPT57Ij+zDu+sQeEmFiYIhcf03\nDuewIDEVfwecul+MgaBNxkuxGUeGIPyyoPV9fMMZkDJxCw3+9k18wXXE8zad\n1LT0bO73KhMSaeksx9yyhkMOXRQwB3z8onx7fyh6WsWTclWLI5NJkybL9tMf\nQWHkGCMHWbrvphi+pFWLG4WSBRd8iW7ALWqriAdGuOe6GStIUkwLYuleQQng\nO16D\r\n=vw2b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"1508b1bd451dbdc19b951705b8b9d31a20a37731","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","npm run doc","git add"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.11","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-1508b1bd451dbdc19b951705b8b9d31a20a37731_1598341795079_0.649130658541099","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-d40491f20ae68628a7c424c5bc2bd544c8fe42c6":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-d40491f20ae68628a7c424c5bc2bd544c8fe42c6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-d40491f20ae68628a7c424c5bc2bd544c8fe42c6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"84f09949b78bde216cfe00a8d6eecd9dc68629d8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-d40491f20ae68628a7c424c5bc2bd544c8fe42c6.tgz","fileCount":9,"integrity":"sha512-F9fsOj+fa+kH5T64WkTdBy3bBj159TMVAOZ+nuXgKdUk8sKGN+323qXqgJmM22h8yXb/nk1s7+ofiO6/7JdVWw==","signatures":[{"sig":"MEUCIQDZYNgVuc88f75vHKBZ8K6VHgrOqBU1o8yrlFT4Uzgp3QIgWRj/w75ZLlkTSM/OlBFSALxhrqqk26SgFHQyBMUgCMI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRNwJCRA9TVsSAnZWagAANiUQAIdDu8Cp9owK+Hr25CZM\nd5dB2LOZVfy6oN3HPzv83CwAqUIrw7Ye3ubcNqvt6Yb4jDtmx+OjHDbBxI/r\nl05oiemQp6cb8AiGJGG+eT6vPh93YRgklLFwqTfEasxQQeljvO7zLp73X79v\nDFwZ8SXXAK6T/rvb7h4HzXAuUmEod7DxCaTJc3eZfhyFZW9q9zAGKZdEC98A\n0wVrTboMUCH81c2L8fbido7RUQTlotD2/gUBXe6mnbbuCsc2PJoFOYyujWYo\nZX0mD6nvjfqbe0HV5f8/WkCZAJtPUzz+Yjv55Rs1hra5OGflKWDSzfERyM2v\nqtLjoP4tiSC+Dg/Ru38d7aSOwZlcJT5AyG01HYcbVKwZp1kRiH362jiSgpCV\nd5g/Kcq+ZFwlpS6IYx11m612tpVvJsoSKOK1Rw+x/PDDw2Qf750UKRNaXlyq\nKNFeNErYXi5UjUKeNHIkU447Z9brKzw6VR09Z7ClA7Lq0nuLniY0Wmyqndub\njIen5EAyQhw/TQBqn4C/jHqIbaOX5diHspnuBeQdetqCeJ828S76Xv0HUBSw\nEli0aCUWU2FAa+Zt4iq0pu8JJAAUq/PFpkOOkLQE7N+Le/lNyke7yB4wEHof\nXg2amiPaQ34oQ3etero1rf+6kVJLkbjh87b4vWuVO7wsihW/SgCMeAeiK7vi\njAaw\r\n=TMYD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"d40491f20ae68628a7c424c5bc2bd544c8fe42c6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","npm run doc","git add"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.11","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-d40491f20ae68628a7c424c5bc2bd544c8fe42c6_1598348296877_0.9472797112749907","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-44de77127d3b90f700347cad5786f1e388c25135":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-44de77127d3b90f700347cad5786f1e388c25135","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-44de77127d3b90f700347cad5786f1e388c25135","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"31a00e9fab5c24605d5bc939fcb3bd41ef65a5cd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-44de77127d3b90f700347cad5786f1e388c25135.tgz","fileCount":9,"integrity":"sha512-jQo+ycJMy5nQNCkrfaGqLKJ4GI4omuF054dMv+MZlqGD4TbRxDSgemWrQEheSVYcrppStJ1g08qKPxV0NJfRpg==","signatures":[{"sig":"MEYCIQDfT4QK23uEe38n4oWzlDVg6/imnFzuN1BdAXJhKpf4LgIhAPabMMWanZj44k/2owRGUareWY4gXzNVOkSUpogO5iX3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfROsCCRA9TVsSAnZWagAADgMQAIM7Mzkxqaxqr1I8DeOv\nwSPzEQA1K64so17bA7givIv5/R12mqid1Oxi6TXwhyfZMg9p8taFGnnIBBRG\n8bVk6xaEESJfux4VQRhFOw9AMHyRenUzbLenkZcR9gNI2Kq5LOS9Eo5cnaPf\nXvPyVwAyvFtNAJMr7KAmDR7TxYlKA4RK3VKRytfkFBbIOvFRONSUHzLeMSys\nvTJixfqO5H3Apbon4ND2s7OYf2RfWlF5l8qEw4F0t2SB0iYWb86aFu8fQe5G\ncLLuyfqDTKqCWkj4JFBHVvScp8bMvVfn1D/ZcBagiNyaj4efhkiNd+4n1Io7\nKCmlnlk9j1xBnD8rW9+EOdWSH4Aaz14/T4ZHVfzw/fn4vwZCc1DALFaE5o5H\nMHJ8BtVh58+Z7k4hFr/vqIDdnrjPCVmtt8F2jUKHgCOwugcC3UoiKz+xc6aO\nq1nSN4P23WTaR2vdmZoZgXnRero0/wJDQ1szCayIe1fgfu08HcbMJNo6ATJq\nCm7u9HwOLK80rjueuRDkJj53Eo0K+Y8DIMtMXhX2MW8ThYgHp2fa+mQ4bH1z\nXh/ETcBpPk5Uyzxu0fURR+Q5BmyZMOZ5/trMsjNrXtv1EaYSvF+9vQQyKFwF\nd5K+OO7P1GJPU1sB/WeUZpDFPZVaIz1UauvvKhGRlvFEcvyBDKwnn8iIIdfX\nu3Ah\r\n=FujA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"44de77127d3b90f700347cad5786f1e388c25135","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","npm run doc","git add"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.11","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-44de77127d3b90f700347cad5786f1e388c25135_1598352129593_0.9809852932580441","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-865b4b433c16afb78314217099a09c07eb6d3557":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-865b4b433c16afb78314217099a09c07eb6d3557","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-865b4b433c16afb78314217099a09c07eb6d3557","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0e86d009d3b67595f1496ec15f13903c555fca2a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-865b4b433c16afb78314217099a09c07eb6d3557.tgz","fileCount":9,"integrity":"sha512-CuICgC8LaEQVNaYGEc1cDM/MNwQRgaTCEkPM8mG/k+vsQZEwTE5BwaXO/YQ8WMTmWKD7j/EUpFu8L0/gK/zMsg==","signatures":[{"sig":"MEUCIBeN1nCBunj2xdf2ySl/XbzUA4OcsH2cZfPZe0uuP3AnAiEAzzDxO/g+gdyfxTXPlB/Qf/UGc8GcQcmjsWPkKDb4GX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRO0KCRA9TVsSAnZWagAAe9wP/31BRrgJiIQXxZ5EGI/X\nYvNH/jxTT9KsDeIgj4QOjFcV4oc/kdfI2lNWBWDwjayCK4OJhA7DudnnkOnn\nssj6xCjMXvFhUjpx80Q5LaLtBIDxLhQpCNUTI/YC65s/iSgx0mbw03M6bUq6\nlo5NhH1lQSVCzMUQtYMxFWp5wMJg0Rsslgyxp0BoK3jP1ZMkUhpKgEdAiLq0\nWXmbqICAAFUrdOyUNDlYyp0gHDGQuYXHc/3A5UnyQgU9l5w1K0C2ydpY2k9S\nFNCuQPPJLn6N2vuK1W3GLQchONBlZVz1xUVZ6q5xs/JoM7XA/fsCKXW4cado\nllURet4t5Jq6Caf2rsz62jjs9B/5NsKQ8g+3ZXL/ec5qIpkh++8E949Plurh\n4oc7COUSmiPP8NpEtBjbTxkq1JAka7yhmmn3sSruanY1hdcrfNhjevzJ4zTS\ngoa2Nr6nyFULrXqXKuJd4zLhbSQwT74MxQGRcQLX+9eCN7uMYCY0sUvm8AZQ\nE+KZ/cX/6gWJohy272EIXY+nmJP5ipDrR7iy9Wb2cmmKCRB6o6u/fhxGXEdp\nrqMzug5rBCj2atIhTBeX1Ped9mX+u7+1oRrQGKooXRZxrqHGfBEC3mVvMPFj\nuFi+OEvKMDQrjiCymJX1yDkydNBHAI0vtZzZalPSKs+AjAfIm8pW1rfLooGm\nkE5l\r\n=4pdt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"865b4b433c16afb78314217099a09c07eb6d3557","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","npm run doc","git add"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.11","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-865b4b433c16afb78314217099a09c07eb6d3557_1598352649532_0.9345703743959193","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-82ffb481fb36edfd7d00397c3e04b530c1589682":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-82ffb481fb36edfd7d00397c3e04b530c1589682","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-82ffb481fb36edfd7d00397c3e04b530c1589682","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6bb8d3930d9a6d1721a78ae8e4137a7d949c2da8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-82ffb481fb36edfd7d00397c3e04b530c1589682.tgz","fileCount":9,"integrity":"sha512-60Xj20BY2ywTI59hkbJJIQXFC92g7oGHQCPOu9RC3uOx16qbsib4Wh7aclR0ClP5rWFMrI0V12Z7iGOQOE9wWw==","signatures":[{"sig":"MEYCIQDeQomG8F4a1XptOdPplvkgI1d3jqg7awgaPElQgGoqaQIhAIOo88RlgI1ftQS1YOQf4Rx01XviX3X2Omh/spxRDV32","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRRyxCRA9TVsSAnZWagAAKxcQAIdX8T4sLdzNMoW3YeqC\nOqAlgReQiNPI5cS6MewA++TX81deGgnVVonyEq6OmgQ72zieD8ZolCVGwrHz\nO1acoklGIVmFm/3ytNjtcw4sHOGqd98I3gxewaRdhm40tIfSXbdhy2X/PDVd\nNpo994MVTpP3wtIxhgPCLg/HsdRK3WrLd8qY7Bw0Gb1h1kvjJgYZm20/ocAZ\nW15L/CzojpqePlsek4Lu6JqQEMlupjLAWyXDfJGwLapRd+99SKx7u4YEx9uO\nVqBlp2bjbac30/KCz4Kxe/gZd0aWEEPePD/G6Okw2kpmH4HetKNAAKWS8cbq\niXxjgDBUGCOgjtERml4c8Xwvy2AQmWvXPzxdFpcp8yF3mB8Ur12EOPrInS4T\nXGdYNEx3ylBEmdKuop8THS8mm1BkeOrB8i50TEQa5Oa2AmITAKGLJA90NrpY\nsAJWqshuZOq/GoKfZ4gvtSHPlk11O72eO7BVlKqcMMFfM0+q+lXTVOKcXX5y\nXYdIOxdABjd9gMb0mnZ8b4irPI2auNK8Wfoy00auYqw07eHGU71hXFyoO7Ze\nD0LUTGeVW0TbBMR00bp9HnkN8Csq8373GXj6YMRUJbotCIp9LskjHqAoEfvJ\nWQ/+KwlKXE8M1/Pp8yz98qohrora3JcZrR5hVaV3jim9GX7IKTczs7aGO0lG\ne/Ge\r\n=eGNF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"82ffb481fb36edfd7d00397c3e04b530c1589682","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.11","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-82ffb481fb36edfd7d00397c3e04b530c1589682_1598364849399_0.22466798957894452","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0-typescript-5917a9ac1c861908f0b48ff3709e303f031d4f2d":{"name":"@balena/jellyfish-assert","version":"1.0.0-typescript-5917a9ac1c861908f0b48ff3709e303f031d4f2d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0-typescript-5917a9ac1c861908f0b48ff3709e303f031d4f2d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7bcdb928651137a95ee30c7ab450c5947f28c0b2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0-typescript-5917a9ac1c861908f0b48ff3709e303f031d4f2d.tgz","fileCount":9,"integrity":"sha512-V+sejWfkGbPwr91hD+JPHT3uh23ts1sV3/oylvwQWubROnH3d+Aee6DzokPXssBut3bB6iiipQ8lKDtyiIFu2w==","signatures":[{"sig":"MEYCIQDQDklve0C4pFmJFZKKY3G7OVDAsN6lNlKdP+XdM5UjOgIhANL9YAV7yCNsLFLXooZv+spIDxmz0CYdhQOygK6hUBcv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRSB6CRA9TVsSAnZWagAAuCMP/0cfP9Tdl5wq+fKN9Ob+\n20eD/QrWNbLZGDBiAf46/ES+haQO0aqYp9QbIT0fOGHFMom0AI0gbEyBnBWy\nlyDsyVfCGrC4wy6aH1dW0Rpl8SUukus+H8u4PyCVV5LCBcZXjpVGSFkyAvon\nU/tLbtEBlw+298nBlxFW0tTFxKVq13K5w/rWB7xjDmS5ZgUdOh1SZ/qOT3Q2\nXXDvPrSf9sKfAYRpyQ3kFTsgrcknE/ePkeY6AZW2y0m++cpzBsXv7ygX3efN\n70jwYt7qdcV6V1BYcAKxMn2i1vuxwNNHOHyg4ERrPjPLIPEM6/QWldLVAm9m\nXnkb4v/XxZeW4nUyNXqwhzo0ojb/jTF08jvhfh9j7DAJSX9LSQ1r0IL1h3ND\nkYU1F9TnlHd732xaLa8AQAPRbPXdB64OTJHfQU2xUF/S3www8Xtcu8rrupbN\niPOUizduxeH2fq9QBYibaoqFYy+tAcDpgnIZl24a3SzN64uV8m7jPQA4DD0L\n/w18dFW5KwqG3nZ55kqRLCzptyP/3Wb2DUvckCr99uTNRLKGdyp50SvMVG59\nTptYWPN+JAfZaK8uBbAMH0INW/q9QoCfBA21Cn6vWLOoIUP2B7x2k4NYO+v9\nDahgA1hXG/hoWGXwVHK05TGiIHpnUG96qDyqg/TyGr9WGdgauDjNKNCFPNNj\npGj/\r\n=3ggl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"5917a9ac1c861908f0b48ff3709e303f031d4f2d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.11","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0-typescript-5917a9ac1c861908f0b48ff3709e303f031d4f2d_1598365818355_0.12074897103673354","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"0.0.29-renovate-non-major-4a7e798927880bd7575e065bcfd93bbc02a4878d":{"name":"@balena/jellyfish-assert","version":"0.0.29-renovate-non-major-4a7e798927880bd7575e065bcfd93bbc02a4878d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@0.0.29-renovate-non-major-4a7e798927880bd7575e065bcfd93bbc02a4878d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1abaf987cf99d008c982f36f0d345e39b9e50dae","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-0.0.29-renovate-non-major-4a7e798927880bd7575e065bcfd93bbc02a4878d.tgz","fileCount":14,"integrity":"sha512-JpJ6qxa4JJ+zBizSHxgTmrMaAX9fJuyn05rrSt+vjszTyxnhz4MzrHGj5/EdbD/fRbK9fAEybNUsmXv+g8ibKg==","signatures":[{"sig":"MEQCIEgvGd9mkJxfBZkSLu0W9UMrT1c9/emnnLmEtKq5/Vs2AiBhYnT70iLgjgSZpSGNyJLPVTcbybiWMV8fPX+VMBFA8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRbEsCRA9TVsSAnZWagAANskP/RLn3zBYznSaUEAGaRkv\ngz8Dq1pr6avLPbrvIU6+E+6keaxjpt4c+Zp5gIht6zUeTDkacFwgeQ89NQVs\n4dC4Nu8Ni/A+lQAN0bpWivTVC+EnMdZA6p4QSXmJChmyoEgXgxXrhemhmlan\nCMFTZhU9CVgqIYmdj2GdYWH371vVfxPTbp6SQTL83QQNsKiQeQRRBjSjF380\nFUECJcRaVX1SfXKI7okQ1BjGx6po8JXNkd9FH10QOR9NTyKFVorEQdy0d46n\niH9m2Tlac+Io7bK6MBTQ/68779O+2T1osWV+KF4Njn6v5tknbVXegPWGFKQ8\ntVC5MCd402iZ5CaLW4bgiL1RGzJshyIkjD2erGq8cGtvN52hpeCP76/A1L5v\nc2+SPiBpcC2z5K+g7EQXOdiY6cBITXkVGgo2JWWmkQvnT7FNF5DPtX7cazKJ\nZfOMaR1Ii30mtjLHA6Dh6EHGVOSULU/dLsooXtfsmP6bM5+vBih7g0v+Yx8R\nZALBUuVvYZGqm1qgxbA4WsVTudSd4ZtG3q8fZar+LXgA7UskJeE6mX1mV4vr\nByS7AxikWzdb2cdqc92eggmC1Jw6Klct63hfNh64B2I/klyX1Gt8vB4dU773\nvXnnu3dzQS0xc+QKthXfbe445hnxX4br1+KTKp5Xn66tf+qU3eTYz5Qxj/tg\nB5Ks\r\n=PDW1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nA module for running assertions in Jellyfish.\n\n\n* [assert](#module_assert)\n    * _static_\n        * [.USER(context, expression, error, messageOrFunction)](#module_assert.USER)\n        * [.INTERNAL(context, expression, error, messageOrFunction)](#module_assert.INTERNAL)\n    * _inner_\n        * [~createError(context, error, messageOrFunction, options)](#module_assert..createError) ⇒ <code>Object</code>\n\n<a name=\"module_assert.USER\"></a>\n\n### assert.USER(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag on  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n<a name=\"module_assert.INTERNAL\"></a>\n\n### assert.INTERNAL(context, expression, error, messageOrFunction)\n**Kind**: static method of [<code>assert</code>](#module_assert)  \n**Summary**: Run assertion, possibly throwing an error with expected flag off  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| expression | <code>Boolean</code> | expression to assert |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n\n**Example**  \n```js\nexports.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\n```\n<a name=\"module_assert..createError\"></a>\n\n### assert~createError(context, error, messageOrFunction, options) ⇒ <code>Object</code>\n**Kind**: inner method of [<code>assert</code>](#module_assert)  \n**Summary**: Create and return an error object  \n**Returns**: <code>Object</code> - built error object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| context | <code>Object</code> | session context |\n| error | <code>Object</code> | base error |\n| messageOrFunction | <code>String</code> \\| <code>function</code> | message or function to generate message |\n| options | <code>Object</code> | options |\n\n**Example**  \n```js\nthrow createError(context, error, 'Custom error message', {\n  expected: true\n})\n```\n","deplint":{"files":["lib/**/*.{js}"],"modules":["lib"]},"gitHead":"4a7e798927880bd7575e065bcfd93bbc02a4878d","scripts":{"doc":"jsdoc2md --template doc/README.hbs lib/index.js > README.md","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && make lint && make test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.12.1","eslint":"^7.7.0","deplint":"^1.1.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typed-errors":"^1.1.0","catch-uncommitted":"^1.6.2","jsdoc-to-markdown":"^6.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-jsdoc":"^30.3.0","eslint-plugin-import":"^2.22.0","eslint-plugin-lodash":"^7.1.0","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_0.0.29-renovate-non-major-4a7e798927880bd7575e065bcfd93bbc02a4878d_1598402860445_0.6989367586987292","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.0":{"name":"@balena/jellyfish-assert","version":"1.0.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c3c4a5f96ff12d17bc954a9225df36a33c9b7de8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.0.tgz","fileCount":9,"integrity":"sha512-hIkoWBNTU3iNdNWCdgo9Fb5sDRJlPQhOXtHMqNWNmiaYg6zjgvoMDUN+rYdIhEL0HtoLh74Cw0Y63m/fzGcTVg==","signatures":[{"sig":"MEUCIAt2wDM11o2lc+z8OnJhzNcgwhHjSCrZGAsxFhJvHnEhAiEAmuLZdiBqVD7IXycc3nXzAtW/9p1ylvB73Mc7vmVCjnI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRbxoCRA9TVsSAnZWagAATv4P/0k7rpXTaCtOqvGUjmkb\n3HQkZpqej8TO0BcRKbGQMFAmgFBS0ZPExYjRIWDkjyTlJCz52MrnkkigxjMZ\nafwMHkwBoynnYWbvpfQvZd0TVnscsCBAEvNlvAt522cxCPZYpWTZk7pKarmG\nsnd4Bfnbp7soe2PLFM+LwaY/OcMo0boEQM5PE18q4ePx8TkCCllL/vdSR7HM\nINSCBHSKzYv1vb6tX6HsHyL/ijTxoqxJ6HjbemgPZNN4C/SbFv6BwfPb2rKt\nOvAx1MS7AI8kObwm0CQuCHziG/vQto8MvGEQ+vBrhVIyO27dL8dnW83pe+uZ\n/aikhTZA0JuhkrtdKjwr8MK1dBm1IYTJvPdeenG7U1lmhD+MMbGfLsw94GFl\nUxE65TlGBkxewf+4y8tk2v8/KLRA9BWQlMWHGU6RR/PyIRPvV3sUZGdAFr99\nj4rZQMR9L/oXuyKhoXvhxmHaO1MzJCtk/0SxVnY7EVCmmmgrRIWjKlqkLu3A\no57OnDzaNrJm4FUYre1EAIzsjCQBDVRI52TnrLDFE4yyNqPHZvmmcU9+UN/8\nFAqxDHG87mQ2vrsRM3yJ67y1FzM2RAS+YjWYZNaMG35hm3KBEXFfZRi7YQeS\n6M5YuzX3VTt52ryzezpu1PI79tcC5I2oq/ugUfnnaehGCIXYZibXzoT1blZB\nK7tJ\r\n=g42/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"82e019ffe015ec9a1445afb214767e291443a748","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.11","@balena/lint":"^5.2.0","@types/lodash":"^4.14.159","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.0_1598405736139_0.8930352749902395","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.1-renovate-non-major-fa2723a207df82a9293bbc8f71aba901255a7100":{"name":"@balena/jellyfish-assert","version":"1.0.1-renovate-non-major-fa2723a207df82a9293bbc8f71aba901255a7100","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.1-renovate-non-major-fa2723a207df82a9293bbc8f71aba901255a7100","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cfc588e6f802e5b93c37d1a5a685543dc13b8c4d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.1-renovate-non-major-fa2723a207df82a9293bbc8f71aba901255a7100.tgz","fileCount":9,"integrity":"sha512-vzACUw5EN/j4NrJ6fpPtMoxmNXg119cEhpHJVsSlfGeBN+vk5FreKqcWAqnd5mCCwO0OzwWt1h7402cLF29koQ==","signatures":[{"sig":"MEUCIQClD253uoTm3OFD4C6SVH5/YIFsUGoC64w3hHbsJr5kvgIgBUnWbTyZ4CLcLwAzH96ScHoTwldWL2wJVVNRTg1NoJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRb0uCRA9TVsSAnZWagAA7bcP+QG30q/w4lz4m3bN0SMg\nkPF8SW7ppBBBIK3IZ/FBrCrSyJjtp5OsaG7n2PXCO6XJY6UrZjHHmXjKuQ9V\nkHB2dwt87gtReXOJ3wg+B7AyXpCKGgq0STCz/2VfM570pwKFJ2DK6BITx6LL\nY2vWX3vRdcq9/4gCdym8eEUgHCVWv6lFbJuH3YkKvpVSFNddPI5L0eTFQGDS\nDTVxFG+a56aziM6c3Nb9x5/kY7laHOhH28wBzNaBC7cTLMlHUxg7Fz3/i+UO\nJFsJJ8cIMHwSXxxbUTDOB7Pxo0V+8058VXepnag5j7wZt4L0SiLepUJISUkY\n91ygrmGaIqoK2vjDsPhkjK6t6BKnq0YLMd1XiRSA9X2j4UYhlsVKgM+/QZi3\n7PdQNMg/lbJK4yOMWp4uVj5fJbh4w2Yt9/+p2wdiHAb0ZLCoYeF64vWZHtGO\nQKB8Xf9SwUP8aB60gJD1mCeIju4QCVKVyIu8SO8jfulkqLV6afoFkZp6TRVj\nD86UUpdPA+4pT/XqITeCTduLG1In8ucHK4dfI6rbf8A8zPWc2fP5n5iO77Io\nR/kqrsrTCbLhcleS5OfVEn+AIjrP+RCDqwrEyvflhdmnDbt4iG2BINaXTD6m\nNa8p/IZFlFAzt06ZNmbKdKFNdBvkJHDG7O2lqy90au6IyetxjLu5BfqPxagO\nkId8\r\n=NTlW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"fa2723a207df82a9293bbc8f71aba901255a7100","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.160","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.1-renovate-non-major-fa2723a207df82a9293bbc8f71aba901255a7100_1598405934362_0.7650721941513352","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.1":{"name":"@balena/jellyfish-assert","version":"1.0.1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ff53308ffc10448320a45c37f16b50f858c34416","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.1.tgz","fileCount":9,"integrity":"sha512-AtOIbSNDZS3Chd5iK7CanDQ4ALlti+rSjgp0yz27v0DBZ84O1ocKAmo3UIl9SuJ0lSGie8E95S5moOvTNiSpmg==","signatures":[{"sig":"MEQCIGdcGTqRF3OrtD1DQ2hNpvOWuOLjskx1axLKAYp3OjpHAiAPAaDMm9GEpBTCAAqgccmoGIxZpCktSJewtq4FrK1XHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRcFACRA9TVsSAnZWagAA4c8P/icWY3+eVlbY0bKK8fAs\nvdPCgZtMjc4twyzLJi4i6dMAsbXhmvxwu83G6Stp82Ub+LT4G5u4BDhnnU1O\nqAPStC+SULdTdB5Q8j+UdNyaJ+EuvB5R0GIWLcssX+7EflL0Rr7Jkb6OHBAK\nJg5pp1YA9hy6DHq02yJEMb39d9bWM/pDcKtdQOJkhvqBWTUf0jWRwPmnuIHu\nwxLK7cScAfiJ3peeY2k4+f7waFGXLwIjicxMwKC4wRk5ojWm9nqvr9RgncME\nb5Ml077h3cMlSPGeA1skVEvVDF4Fhb08Zxxv0x2FVLTUaItDeTO1MsFZsnmf\nU6WT+Ue8vGdEjWFSuPrPdRSk/gKJiUJl4kJG6/3bgxMLsAydxpyAKNcEA8vO\nC3yDrD3KKmKeDbi+/5aMoiiSaAPfTZbKaNpDquLfC4e9fYQq06IBam1FUA2W\nF6rjJ16AU4dtJNj21uqqKm8ABN9PuE/NJPm7cILHaOMuSbxR/IHT+95hlrjP\nxgqTzBzV/u3n4hGJ5B80rT9tvSZ5C32IJaDcNtLpD160+i02OMirjbh16Eky\nIu0aUOwQxyW1ShUjfWzdsR6msPU/cJpiTEgucyjmsWNmZytUOPrtnPPxWY2Q\nSrPqzB5qWxKlIamqyx7DqaeYvNtU3lpkbmmmBEszfOy8OXAn6KuP+mYAsFYZ\n9KVz\r\n=KhaP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"4fac8061897f86e3054abbbb174d8673cd829e28","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.2.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.160","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.1_1598406976042_0.1526715811758188","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.2-renovate-non-major-a1edd2fc4e6ff8627dcddaaabe845ceb3af2b1ce":{"name":"@balena/jellyfish-assert","version":"1.0.2-renovate-non-major-a1edd2fc4e6ff8627dcddaaabe845ceb3af2b1ce","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.2-renovate-non-major-a1edd2fc4e6ff8627dcddaaabe845ceb3af2b1ce","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d73e84541700844df37c450ee2252854556c3086","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.2-renovate-non-major-a1edd2fc4e6ff8627dcddaaabe845ceb3af2b1ce.tgz","fileCount":9,"integrity":"sha512-ILeYU29bY+LETZ1rPpUp7Opm73V5cT0ZFMItibDNGm7TK0rg7F/k4ZuouXXMndIR4qc+trdBmbm9rPm7+JwjJA==","signatures":[{"sig":"MEQCIB7L1CKFxjgThjZq/ohrQoAOxrw4nvBn8+cMvz3DsnF1AiB151br9OgthS8U7Zrd6Md1IZJ7n6jyeQH3vf6jQp4ScA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRgpACRA9TVsSAnZWagAA0EkP/R61m+IfQo7/xugegNT7\nK0Eg4ZTP7WPRHN0DRy2yph6LxP4T++pMyW/D+VMZyLlLzFxJmg6piFJ1E1y6\nexAi2IBrKtl/wtpNmLleigFM4/vTU30FDIpWYxLAOgu5LXQYqo1f+hPGAU7T\n15r050CXwEXoiybUy7Hc93pLQiVKPzud2n5hkxV4CCVTW30KChvkx+YtqH8v\nbr/nkaqbAl4AHHF6IQKmUQCEUCv2t6ZwDJo+kzhHp6DfuMlcdZiPVkVsSvP7\n55c9KVPSW1XC/2xcJ7SBePpT916HP/KOEj+iLkWkNtY3XFjLh8O8JX8EeQbE\nlo2qidbPxyo3vbTnShRfKSDWQ5rAv9Z9/GTWAyLWX4Sg9d8uwB7S7LLjolAt\nbyrm9rZdChzrI//K+Efnb9BY0Jb2u6CKP1VeZmNQICSHd5JQ2ZCDOCvwS6Eg\nroMQy2umNr5NQLfWqKpmPYsQdUqFwpSWyNPxtQNXKzh2AGd5ljGFpg93QWrv\np9L069+LAStFSP9vTHGWS2w8DLuutg/LDK/1G4/n3XMrzd1xS+qhOlsmf/xf\n+U14I1GVzYmTs10vZIZ/9uYhZOfNY+bAv81pqsqEri4PJcQ5mTO7cTmk42U/\nweQaTm9sOJX65nxvk9Ni96aJzuIWrk8+JwaYDF8c5CIWx3XE+9BVWcKyVBOk\nEeDp\r\n=6ydu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"a1edd2fc4e6ff8627dcddaaabe845ceb3af2b1ce","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.160","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.2-renovate-non-major-a1edd2fc4e6ff8627dcddaaabe845ceb3af2b1ce_1598425663778_0.599482266888689","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.2":{"name":"@balena/jellyfish-assert","version":"1.0.2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bf379ea8ce3c70566b3e334b18ac5f2b7dcf85f4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.2.tgz","fileCount":9,"integrity":"sha512-6GiMbsQlv7/LE/xxQGy+rv/eCqplqD7gWD+5L8MQl+qXjz3cV6qKEL6Sohp2MUn0bHPWY1oMR8EKKCD2+r+ofg==","signatures":[{"sig":"MEUCIQCm5JoJQPTY8XTZRmSFWuygALNYTsRoDenkq7IyZEcz6wIgL6Pw6yD74Y+IPpkqum9Jm+YBXk76aZxDtz1XzqSwopQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRus9CRA9TVsSAnZWagAAUPIP/3ynp49W9SKeENCpgUSg\nQeyY3v1rMEiQvTdlX+26CVxtbyOSqyPqHbFobrImz6xyoq/BxIWg3QJIyZ6q\nh4RlZQnQY2FXxsLj/+bMnjAECVeqpuE7JhjV1Rmeo8urkXFU9FPpqjj7UTHE\nniYHjfkd/46UJgivU7UaHQzxiiC2uI233XambwTsK8a6oVzE4/nhH1dlucIT\nMDbA3OxbpV25I50lNZuhmjWI94t1BjteMr7PutnWnBAAPhKKHfytzxu7duoL\n3eAttjDUeR+SxIB8UbKzsqm4xNPKdebO836FtxalEVjFmWauhzFQXupA5H5E\nwVL1g8kuoO3a0bp0JOL+YgMCMK4qqAKpk9Ymi7OPjyulhDPYPj42iqsEeqA/\nOah+oF9Je/YL4wjRFTL8PmOAszTHqjbdlfOGSOHeZsNl3IOxj9k9ZV6RHbi9\nhkOVwdDAj3cS3j5UsooYCeWnIYhmExqkDkpBv+qJXpvpN9IMMuHg2kNdvea4\nYaR3SJgPPYaWzJkzyHZiawUtAFIHm6AxxAt4thJAtbr9RZ/jxNS/DPLWBqmb\npUYYzT64ERPJ7xw18TkaqRvX28SwA10e5Cp9G3Aqf5t+KYRMteBybAlbohRw\n5hottMBaGP9Z2ZukX0jzKKjOfQu4l+RwfP9ajtqu3uyJiJ2etyJXhOz2AJA5\ndO+2\r\n=cmRU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"e622c8d96ea2148a69822afd9761b083e7ca97dc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.18.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.160","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.2_1598483261302_0.897190944966582","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.3-renovate-non-major-289544a55730a091f1a92e4df034e74a323a2648":{"name":"@balena/jellyfish-assert","version":"1.0.3-renovate-non-major-289544a55730a091f1a92e4df034e74a323a2648","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.3-renovate-non-major-289544a55730a091f1a92e4df034e74a323a2648","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8fe69646b8b9f6e427703172f4aa832c998ed4a5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.3-renovate-non-major-289544a55730a091f1a92e4df034e74a323a2648.tgz","fileCount":9,"integrity":"sha512-gY5JCNJqknwG/vEgc91DnTbCJqE3DgBKUUL1daqhqMKuNhVIKR5fuQgzcP5YEdMXvVmmS3KI8GI/kixdDxNEVw==","signatures":[{"sig":"MEUCIEgs/daMG51erhEDS1NwFlXh3iYs1nVTwurGDqQcQgUYAiEA+YGVGA7SOrwJ+c9w4nm25TYa+l/JK8IABQCWerNJzRQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSbNyCRA9TVsSAnZWagAAfAUP/0+oAVcECctzrt+JL81P\nS/RJrW4zSRuylTUHNFQHNHV4ItJuP2O0y6kqa6c5l51wXU/8G0+qK392/65o\nakh1NuMpBY6fIIA2YpHedmuPQCqVMW3xgZk7JQvo8uDdUi3GfTyk+cwzhkCK\nLLJCH0RQntR1VI7DP8Woj72ivAhT76smgOzUod//JRBA/itYFb2rgo+g3KFG\nIYiHo2b730KIiyWtxbjNAtHttf7mfnXJc7FGqWs6QTtedmxGkq7LA3oBhQmK\n9SXpJer9uha+alaGGBhbc2SHqGIhIJl0BkfOq2YsXakolnCF2WRRIWlvEDk2\nLAPFRJeYp2kaGHfwF+s6cDVX3Z/xdFsmeFT4WEyeQ3NRwtXZvjM7NvNKUwHi\nxGYEoFiPBmlwtKbzBz6ZkeR576xHBhMkoTO8xIDXH1h/uMe019QVsCKCBC9S\nGiiFP9JyP+gHWCDK8ZrqsIv4nSlkz1JvN/C3q8RcfeP1Oxhc+GTNouB40E/z\nA0fGD8ZOpRy0PfSfbEdiCL9O0E6ggn4TCI0O3M8ftuwrvfHrr3ivYQ9bJPco\nKIX/7gfPfyYYZ3G83OQFsc0BdxSUyLpjaPL4V7sCe3FHolVHo53IVjaLc+yV\nDXTdyqGVdQf1TRpqA8GBv2KJj/6nmoofcdykAVDzJRBngmNgz6ysuvFrU5gJ\nGFOs\r\n=EyWz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"289544a55730a091f1a92e4df034e74a323a2648","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.3-renovate-non-major-289544a55730a091f1a92e4df034e74a323a2648_1598665586239_0.5536155087288273","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.3":{"name":"@balena/jellyfish-assert","version":"1.0.3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f8a90c6c1a62d8a5547c16a74b3595c056e64847","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.3.tgz","fileCount":9,"integrity":"sha512-6hBEG4MVMBbXWwUA4OKBYA2s2xDnMQBYGBM4hCDBEHtQVNwJTmzJ9EygG0aD6dpQlsqrUK5IWpTHN0aDTYnZpw==","signatures":[{"sig":"MEUCIH0g/vrvx7rW2UEkix6ozwOPbjex1LIuo1MpTuc096d6AiEAk0dBVEhjWdZMsMaQjhiqOL0omJmhjaTcyTXtj6veuh4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSbQqCRA9TVsSAnZWagAA4EcP/3e93HVbK5qM6nYK2pZT\nHXGEKe9KFoKyNj0m+MxAgKaE4f/RBPOYrM3+wndTZQi349Vv+cNuxn5WNnYw\niz6y5hSz221kphNKta3Q6qnjGwwQUjnIJdED6WaRT4YxuyNc4YmFl2kNE/uz\nH+63xCRxuQStAopeEyvLsxeAiYXpJAce4CvaU2hujhEp/PDb2PbNG1Pg9K2c\nwh963Zi1dWf4Y0J5DvjI7IsvR4HPcCvpJXckpniNFAfiifJ9xHCCgWAzuEd5\nwjAClNf2k6OKW7FUrVGG68y2HhpEb7H8mwZ+DSY+uo7godaWau9EJ+JksOv+\nn1lXQdpU95mv+JupX2U2roJgGKhxMAwBUFDtCC+YZOeyIZ0VS3K2112+646y\nWMDMOgfNTtjFhVmTL+BmLg2OBK35fNkXCTaPTtFQDSKGhcAKzsh5SHfhzTWi\nr0nTGLEZ9Dfjwe0vT3qC5qfA2A17UgVLYfRzkKewMO9Xxvzw66CJ2aw3ThtI\nV+dxPMLxccq9eh+BDZioGDwVr0h45RWvGeSIFHsUO+WTWjtpE9fddCLgFYb1\n9ObwS5NSmmrHjb/8LRQYv2aHZl6gcKB3+7huduJk+CoO1AS4ZhQzga2siEPZ\nc4zYIvrY0eQykFHD0+3kqVTUQ54SlD6TtkvkJET1pZJLmxf5P+Pq9cvH8q6d\n+zdz\r\n=nfIb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"d80d72a9fe73455875633b4ae03d9db1236cbb20","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.3_1598665770285_0.457076320154032","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.4-add-makefile-e9704012fae10d55da976e634d2a2e04567bf75b":{"name":"@balena/jellyfish-assert","version":"1.0.4-add-makefile-e9704012fae10d55da976e634d2a2e04567bf75b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.4-add-makefile-e9704012fae10d55da976e634d2a2e04567bf75b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"78b212a9ecec8bf7da49ec0c2e2142cdf0fcd4c7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.4-add-makefile-e9704012fae10d55da976e634d2a2e04567bf75b.tgz","fileCount":9,"integrity":"sha512-mdjD09Z0oJXtTsg742cG+Diz+F6mH5UER2m1d3o8/1KG7ULwRrl+6ze3rtUbS+nREH3DmAen+jSbJnkZiFkcBg==","signatures":[{"sig":"MEYCIQDX5Ad4RcIpRQzjDicySiQGcBUAQEWW9Ch9SgruN6ensgIhAPiXntwNxYttHx30nR6fc8Em4YUkvj/vEYQMZOfCe2fg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTEvSCRA9TVsSAnZWagAAmFMP/29wHAaUNYGzeX45708C\nQskVz7cD1fiB65AN5m7JBS4dbKHb/x2kBSIj1rjt7k9WSN9WmS8N4vj1ZvSb\nuhcyPpJU8pVa2KPOjclCzYhtqMSEL/Ay0+sv6Zil2c/NOE7Oa5/AYFB5RVpJ\nbp+yZEE7Uf4BCIH7dS/EDEhf+uyWj3oxHaT2zI5Xz5e/BcGelnX0ntZrzSPA\neq+YtQ4C9/HGGOe1Oo89yE5EUl1AhiJp9Fs5J2xM4/dnSmXhaeW4pmWu7s27\nsAcY2cR6L7VrKl1sevImrB3Xe/9BaBrkKwB8hsqB+E3DY6DTW6EZLsghC8ga\nX7cejKmKkGOg0eUu3m7T/ayBN9O+QHZ/tjSnW87EYrfBrNU5SMVLveudOnBT\nBWRinugo5dtpUqQR2D9ETbXlzt4o9p6LflGBcdEPsZEdLVZaoR3wbBVotjQM\nuKjC9ZdGbFSniwqAdrfgog1wSOzwAr4bk25kHtjfu1TDc6tJeher9IJra2F/\n4Jcnup8IqYn5UIYKfWYPabsWbmNpoTuvgK/XOLff/fDVu5pdTtYm3jx8Loqi\n3r/Q84OTvj4qpzYRq/z4rAWLjlQI1QIOAWdSYm+WYwqeCf4T3SyVuwrMbFNY\nWSyKvPFLiA+pG60hBlbvW3Kl3ZS56wvkIE+sVdBxuR9o0p9Bj+0OJPqyQyZk\nECQK\r\n=i+Le\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"e9704012fae10d55da976e634d2a2e04567bf75b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.4-add-makefile-e9704012fae10d55da976e634d2a2e04567bf75b_1598835666051_0.7965811068766939","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.4":{"name":"@balena/jellyfish-assert","version":"1.0.4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e2fffa8950f87929277183fb63af64821e856f59","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.4.tgz","fileCount":9,"integrity":"sha512-wq1bErRigf7QBvtaCiMQo53AvCf+wGqSS8VGOWCPzogj3WTjpRA7USYYC8Af7r49N090ExmblgQ7jhcZHhButg==","signatures":[{"sig":"MEUCIDUKtO6nuaj9ULxZKzh1THuB8HbnAd3M1awS4mBu9OhHAiEA3DtqoVfiWFdjhpZwJ04LlWtMedBHOxXOEHWrCcwmepI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTE1ECRA9TVsSAnZWagAArIgP/RD63/jiBd+MSFteH8+q\nJ14g/nahHMZo7meyiQVQVwvWISUHf3fVdXpMNgnLri1Cd32Sf3GsV34d9iSr\nwYSMF5CZ0bzGbkgXOntB2Yx+6of917ureBHMzs+nDWw+meyzvJ6p+nZZSzoA\nkLYc2tHu1lHKhtRA3YgchAst78Am/TjtxH+SzqrMDA7Gwk3BWhhwpdfGcuAf\nCLMP2uyjwY4attEN9PjOUnwmJbPEviYC1kuiaEKkxyAFjKuZaOpAlIIoq5d4\nIcgAOuHOsaSYNZB0He70QsMdxQRqu09F/kbvGnoNWPJ5k5A8ExcAYYSTcs3k\nM1TrO/oD0hC/ncy5le3OGXsSEC1SQJgF793I/NlO/xxABPdQWWhaSWh2igs7\n4T0TIIZicxCS6Xro0vvHteY5ZaAl6CC05Rx5NasfDfz6nNUm3u/jMK9woLof\ncdIRmLxbUG9nJ+ev5YdsyJea8EI6CBeE5PDt6kOaNPDpmrAaeEBP66iqytVX\nM5zBhbf/bv5erR0JTuvKafd2M6EvT8kQbr7HYgighXp/PeU5+f9XlU6YSlXi\n3U5rb+4wioSOXmPUIsFPT+LqHLrGgycBjpPDBugBv4SdqXktwSdIdz096Vdj\nGLjYgv+6So+RbQiQGBiTjITut3oMMDeM8ie/epfQ9IuQzPJp5fPH40+9ab8u\npa9i\r\n=YrZM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"8f9ddf5d40cb5b13834afed50e04a58400043cdd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.4_1598836036294_0.0007117927837503313","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.5-set-commit-body-0018e9048f32a0080ef2fb96889c07182f78b380":{"name":"@balena/jellyfish-assert","version":"1.0.5-set-commit-body-0018e9048f32a0080ef2fb96889c07182f78b380","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.5-set-commit-body-0018e9048f32a0080ef2fb96889c07182f78b380","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"eec311564830958405f95e089a597ea7a4478951","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.5-set-commit-body-0018e9048f32a0080ef2fb96889c07182f78b380.tgz","fileCount":9,"integrity":"sha512-Q5F8NbQ5XJZETmsAWz729Sf5xZia+UqTE/6uhvBhkZqMScAV+eWrUz7ypnQ9X3F3/PJRepK8epfAhQzTgDXfVQ==","signatures":[{"sig":"MEUCIGPqUdHcPX3BXrU2zXjfaN+5WIv1Widm/iw19Otf6CArAiEAjtDNZZFuhZ+MOuGAGzfhofCRdqOd9r/X4F20R6sQPDU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTJOxCRA9TVsSAnZWagAACEIQAJyi16Cqvj/w5VqWXY3p\n4OjO0DgiXGTzbdtzXzCDgTNURLl1hZV7LCxhL3/nuXY1xqhyeO216Fh36+Qx\niHTTfx949wmMamr3UieTqGpS17UFnqpyaFltoIQojV2T4XKOZNesLt1OcuSg\nb9RB5Ei6wW6T5fsKflYdxLfEs/V0My8stvKVGlJbVtMCW80GZ7M4GicbHUQv\npQskIAeOH0i27d8YaPCsFVHst1xBbobQjSVpfPPfAyqCwn3UgKvvL1lvig35\nyPnKdyRJN31BKZzSjAKfJ0Uru3nCHoBEN8XnDlqIlXHIV8jVkGDw/53XoDjC\n/Y9T8drQpDmsn7bvOJDMz/0jcAFOpKRu+eRwj1QetmR/zgVZ7DP5C9JUzMP2\nzgu7cdfeYxa0qh1JI59GYgrDy43i0yyChNjyVpEF8YK7ErwfMvOzQxzITfQ+\n7pIaQfhqo6ZNQudxg1tb4ttZrPb+uql+ZcE0XlkAL52qJy0rNR/g1g54G/R3\nbzQ4h6Dcv/06Fy3Cz8PEkFIJFx1cemjGgcVsZ7ylXLIUYPkUNRzLB2TF9A8M\nIx1tzWSAQCFv647qfRJWQ+8KAUpVZAEO1YXefoGroOQesRYLSS8L4/xewpoH\nDVV7Mu4xR7YZCw41PI9RrWLE4aN5HHYOpux6kUIGx+bF956bodCYUFlIxPJg\nuaGR\r\n=StWf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"0018e9048f32a0080ef2fb96889c07182f78b380","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.5-set-commit-body-0018e9048f32a0080ef2fb96889c07182f78b380_1598854065498_0.4514504065157683","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.5":{"name":"@balena/jellyfish-assert","version":"1.0.5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"96d66d9ab245d1edbfcf3ecb3f2f9a5b85597819","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.5.tgz","fileCount":9,"integrity":"sha512-mlHnCx2V5xwTKiqsHeRLfLzSm6Br4urynioxIXdwFw/gEGA9U2S2/r99MpQAh7hs7s5JS3s4mPbidvCKG5UOrA==","signatures":[{"sig":"MEUCIB9Zfy6nWcPyASMez6kQps3x0REyrUkaKufqEX28QRrBAiEAjB4AZ8XDA9fG6ClnorUHUmMi84mdqgCtE6fleEv1m1Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTJSRCRA9TVsSAnZWagAAQUQQAJtURDgsereZcMtffPuX\nmuOsRHmEwB0LMGG3crVoM7CUPFyG/rovxA0HFhbJ66qZk4GBgJ58LkaoXHHe\nJ9eEu/rexlY7wp5vhhls8aB/ZEUtsvYinE74RO9scy5xf7KCpcHDfjhSBwBt\n7iU5QI7LtIC/l0b9R2TA61TadPdAb2yCg28q+e4yOmGBBeBGaFDK/C82iNHk\nn7OPKRU1Bi6v7Z0DU4mI0YLGepzJL6gYYS7RElwrsuGPGiPFcIx8r4zglvUw\nKy6gss3TwczbhLICTzNileCF2ZYVCYKfAQm/R7LIuKrX35eZsEWWvB4aOYqU\nrd+sq/0mg6wbsyC76Fk+N4VdIAmhUO+G3toN5LOsrLMI5ycVkNfk4S7uBFrS\nvsd77d0PjSqxySr1IJMod/YOXNY0OjU3PcNYz8dxLRogW4ozn5tNzwj7sPNK\n1G45eevjj4YPom1IhgjtA+YSQowq23z8FalPxRs7FTInlo7ArY+qDTfLJQfL\njmlH18BOTR79Io8lS7MqxAJudkbqFDZsvBwAcs24Iwf5Csve7zqxxv+/BOXd\nHWKDf2BLqH8SbD/LbVBis/p73IYi82uvbOorcaFBn/Rx48khFp1BYOH7IY9o\nHReJ/To4ZNX1dads5vSeUqGI8xPBhzQc7Atc9AAE0Hs1da49/VfDRTdOy5h8\nS0s3\r\n=q76o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"ff7dfff3a72751e16f6beb4bf7a38a9abbeb7824","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.10","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.5_1598854289223_0.6637744053608172","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.6-renovate-non-major-5bd9fef53a211aa030060ffcfeaba409f0562654":{"name":"@balena/jellyfish-assert","version":"1.0.6-renovate-non-major-5bd9fef53a211aa030060ffcfeaba409f0562654","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.6-renovate-non-major-5bd9fef53a211aa030060ffcfeaba409f0562654","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7971f6a1445d52069dd27fa78988afe8d38bda50","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.6-renovate-non-major-5bd9fef53a211aa030060ffcfeaba409f0562654.tgz","fileCount":9,"integrity":"sha512-PynYKLA2RqnRayqTH30CfNRMlFW/+8vP7xfNNK+rYh06+1dQbkZw6t2ELR9DmJbmriTTy0p484+byaLiLeTuZw==","signatures":[{"sig":"MEUCIFOftyQqAd/KZ8rxcFKok0+GdLZD4vBThgKoPCXnqMi8AiEAlWXSMtBlcllmrTB+PH+6AO/fMJZz1pn5pkf2m9SV/yk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTZbxCRA9TVsSAnZWagAAbC4P/2E0W2lKcgWYh02+q9Vg\nnhh3qY6NzSFTvSFddar5ij+ygy1V8sovTiCWTcCAHmTdYlleBgK/rbVMFQtf\nHmsjdKKnWIUtTdhl7C0Rx47BBvJpJOutRc3I85NWumj8g81tv29O3g9hgP9N\n3NC+LlEpuhNMqiUtZxG7hznicoPcHsDKUjP7EEDbu5wkmiJnaKv+ywr38N7w\nO7jB4BgAynDWvYhMTjIFpSe2aaCyhoaMGB9qYkpUr/2LnzlG6qmF3qck8wil\nY1tHtqWF9uY+eUR3yzGDD+RfoJjRznObbZmRcx82wHOlnK4c0c2ZaKmd/Luw\na0/h11SNMGhgxxPZ0+WiY2Qw1KVrl3SElfB9q9v9tKZRbHbdFBw6YPCPPE6g\nFiUu1RW42S6mAnZHOrP3G923LTKBDlDA4hDzvABHzWHNwMHmnKG5quZQ+f75\nWnpUDzp0LL5DdO/Dvvd6RFyNPjIWaIVx9+nLd1fYV9ZrLeDZufyEoLIXDa+v\nqG6lRIkpTV5wEQYSgOWAtTqozzPKef5b94oAk2MwxPclSMV/nYGQ220tdfLt\nNysSWY2QUNsaZTFNab732BTRK5sC2ghUZvnrf/y/DWKK1X/HA4gjXcdWEahL\n9l/OkwJG7y4NbgGMJxjz4qfKl4No0jHu3FT2WvlQ7hWHiQn1owCXGQs2L6C4\n1HfB\r\n=omPH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"5bd9fef53a211aa030060ffcfeaba409f0562654","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.12","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.6-renovate-non-major-5bd9fef53a211aa030060ffcfeaba409f0562654_1598920433134_0.27325963196451997","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.6":{"name":"@balena/jellyfish-assert","version":"1.0.6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e51a5b42067c5b988b5e5b7ad53004aa6f5d4761","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.6.tgz","fileCount":9,"integrity":"sha512-V5WEJvS/WZASGVMY3me2es+FLHeVow5aLgYFKH2iZLoG5/JodPQWsgTETVTqDw9ULp0ILnJ6aI0z3Sk0/1/jQg==","signatures":[{"sig":"MEUCIGit8LZSeEDAWu9+OjwFsANmxWmfZN09eiDIug8zW6BZAiEAkOiwHRRJWQtuAr+HKWCNjujdgrJdpTQImPI4XwPQI9M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTZfwCRA9TVsSAnZWagAAsxMP/jSVV4uhv8lGnl1RcuKF\n4tdhRMguUAXbT2K8FKb8k5oCyJ2a75JrRAP3cJ0nyAw2maSVy9RlIEi1GqgY\nEBfnKS5u6eZn+1kBFUI9T915kKfBJ4soRhPaee8A4/0cPQvqxhOVNXlduZDq\nN45s88x/E0f8VPR2VXnieQLw+3hmUOOZ06P4+p6tMG3xRzk6o4ueNv4Oi4Ue\ndhk/IfevNYvUvQ68WguAUX68dOG2RfqJ85UC5hb74Kn5czoi3wwk+ljWOjuJ\noxHymBz2N3MsxVh/Qg+SBSustJft0Qc/fwM4OA2fp72A1PkqwKvn34tLGymL\nrTluLaRyEfqkh+YYRqnzmGJrzjcBvUedUMFm2MsuvAxxHq7lDheHmvUt4jeg\nZrf8RSvfyxdZwjRNzfvssAabB2EFuA0xqjDz6NlT7LvmcREhfGRRgfKwSMe7\n6UC8XKWdkH6Ke5D/WPdgBM4HSMfunctKmR9xIpifH8RwHewrvIfIPKVT2Bc0\ncwPFxXfUTuu/GN8Lgl1Ro19uIhGsrpgMt4BTC3zPojCTtcrql+v21KbgGIn5\nlOG57YApqKxR+UQCrI536js7bSfKCrVV4fAXdwO852d+y2Ubh2xlL7f9zNmI\n7rJrXX/v1AWbf1ae/OoQkrqP5pkI0GbdBltL6aL/pTTEAHVKNLA2wyzZtLq+\nnbIk\r\n=0FIX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"d6283c893965e1820be9770d1a0e08d0d706d6f1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.12","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.6_1598920687860_0.10224741010169591","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.7-renovate-non-major-b17bf02572f98fec20495fd2728a76289ab0cf1c":{"name":"@balena/jellyfish-assert","version":"1.0.7-renovate-non-major-b17bf02572f98fec20495fd2728a76289ab0cf1c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.7-renovate-non-major-b17bf02572f98fec20495fd2728a76289ab0cf1c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"343be911990a178092567abbfad9dc2fb4704833","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.7-renovate-non-major-b17bf02572f98fec20495fd2728a76289ab0cf1c.tgz","fileCount":9,"integrity":"sha512-aWLK3gtxl7FajByBqZAj1SnjlI/ICRYF5shCzlA7Xk1M46VBBFv2hkFx1MbuJMNn8mtwE9ijrCwgkwTGVPfJEA==","signatures":[{"sig":"MEUCIQDZr+5lhV995D3QH5EZhhufzGOHTA817WBwgreceTwiRAIgLPe1FM+HEpMn8gjAL6FKMZFWH7XszXvl9VHMLRw2d8U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT8C0CRA9TVsSAnZWagAAMbEQAIgdwgADM1zrJ5J0dHXb\nPR3GAmEN3qNvGQtyyo/64C9C1RikphFNKIKg2+cyL0EMLUcSilOnjI7FsLBH\nEJNQyrEfkeDE23NFk/Vo8AyktX7f998WyHMJ9HJpyzfR2qYUAV7H99m3y/XQ\n1z+0e/A00lAvyywuSx8Mj3POuYh2OgwOxEFHB5VJYmt/Jq776VnHWMIj2LWF\nqK+7EE58565PLhHNREWRjA+PZObunlT5sPSCpNxp7uNN83uwD3VD44GxLe91\nCk2OckwoTdQC5y5QyQfTypw1zH06zC1hWVfyAq8KSTQwrEWrm38jqn8Wbh7h\ncShBhAKDbqao0EOjC1Pdt+HTDQ3ndAvNJp1fv5RrG+ms0x1ZPsoSNGxBGK49\ntkqbPm6nBSS6ftxegi3GQvARZ/yi3V0ACgUsS5Z1yuIkJ4zZVCfLyvzHWVHk\npJXyx/rwhqwauIb+IbXFa+pOJzeXWseNsJrKmoymuEYm89G5DBdgZdtcYDLB\n48XNDzmEz/JIIwMkN8JsCxcfhSaGe1SP/BknsG7Sw23GmaIej0YJpbAYVOBt\nUI3rm4sDOLbsxDjWa0f5D9qFnDvSclowOJYde2OScPWJBeW00CXeCwgZJrgA\nSfuxngYxtHRSvqWRCnhu/h2Wmb5eU6U++H/3Gkp6EkBh+ygxoEf551u1mjP9\nAXI6\r\n=Em9r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"b17bf02572f98fec20495fd2728a76289ab0cf1c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.7-renovate-non-major-b17bf02572f98fec20495fd2728a76289ab0cf1c_1599062195770_0.6927707630665372","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.7":{"name":"@balena/jellyfish-assert","version":"1.0.7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6ab65acc8ead26d89c8b79a8b6653da4c254cc36","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.7.tgz","fileCount":9,"integrity":"sha512-YFn1OppDt5dt+vAhRCaqXDgvz05pJL359RpnANPSIWfYTnAUgTqtJ/Zr3Wo7slbjPHb0EeiG/pP6sKzql3wwCg==","signatures":[{"sig":"MEQCIDi2HzLnlTRS8shIt/c9iOS20qN1lWCNKjskDDUojzsyAiABDekFiu4Xh30t/S6mJcULvniBLvJAp4qPupWaqlqfIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUDWzCRA9TVsSAnZWagAAPMkP/1oQ+V5NVCp6W6G8tAyS\nYi66arM0GQYj3TFpS5c7Syt7Dl/zdLM4Tk4ZajX1eqjEqy3ea7e9gPUMdLmH\nnVAE/bcmQOJMeLnMZbLpHgq2dIOOU4oQ6wwF4AHtSens0LSNZr6+UXp+DErq\nf1oQZDtNXPdmp9PD8El/KHAbq0cyLZhf2tSS84EgbIKEleTS5vivYU04q20S\nZYlDiRF9xcDx/znHKfYrn+PDWPqSAvOnPxd/tUbwhsrGEz3SgGpQy/Bzi06x\nsWrT4q/wVAmJDzhQnogi3AAwNQlLbmTAuJ7aMr4+WNd4EWxNBJ/XiT0BEb3R\n/oaFQhsy4NA1JsbD80YQsURBbORg6I2OdDSgJxfSQTPuHw5DYAQfjmS14/f+\naoFHqEuoMEb6inXgqmY2EmoJVJuouJnE/hbvRAcKnVT20G+H6dYRzBxpqug3\nHxw9g4qlhVBGfEpQXuZGaRRgy2P7wnVb3XFxqah8+pwZqE7SEU9yliHuCPY/\nyGFLFSX8A7SqabUffUw0puOqApWJ4r5yazWBuRThI82JrKuu/pRl9vi00md9\nAq49LAQ5YROoVb6CFB4VTOBXd6oTtTNHriObSP99vqbyEdM3vU5lVRBu1I91\nr8VT4Q9gFQWoNuOZE0OZVfUOjJDcEMufp2me05Gwg7YjbcNTNBcfgQNOqlmz\nvtwq\r\n=KpO8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"3372d01fef01c9c962fc08cb6cad8de99f8f7c76","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.2.13","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.7_1599092147016_0.8583569086187128","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.8-renovate-non-major-84237d01bb50a1ac28143df607177fb637a4c39f":{"name":"@balena/jellyfish-assert","version":"1.0.8-renovate-non-major-84237d01bb50a1ac28143df607177fb637a4c39f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.8-renovate-non-major-84237d01bb50a1ac28143df607177fb637a4c39f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"870129d5404c4dafa83b83c5574aea9e2f6d5ce7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.8-renovate-non-major-84237d01bb50a1ac28143df607177fb637a4c39f.tgz","fileCount":9,"integrity":"sha512-2OX1IPBPUrUOkTrVfvy0KqIj7xyQc30TkyNmpjBEJrZw2mTTPzUKuZzpSDdwusmZFIT7KLzqiQJgt54gWa+LkQ==","signatures":[{"sig":"MEUCIASwcnSGgLHfvN/JaOa7KRSjJNiudyc2r4/KQB97+YgHAiEAnHhbB0Im1wqoCElZAkenAn/2qSLwvMzuIt6v6bO/lTU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUKbmCRA9TVsSAnZWagAAEe0P/iRxhNpQ5HUUq4e00kmq\n+4WrLzv5zFauCToEKEfUhYmHihrZHD7NJkE622FuTxddZTKd9yTsYlxesI0U\nD9hmoXkNfrmA/eM9fPuvmHN4toZ/yDH0OptsvLwVtJr6JTF69Io1525Dk37u\nfFKtAENAdGhKg7aPct5DzJGYd89+RAPQ/bVA/AtIo9o6Omihk+en56FW+eBx\nCF4nRHYelxdkTLlZ5h1GkQuuwpTYlY692qjN+Rx6MZfdbRp5Lf6pFmznGE1w\nRFJ7HqWoIsOI4eNv4uvi1I92/vNwUqAsvY0dg2WTqj5+xblKYBSYNyFGVsCK\nICIjuFM5wuV/m6g/goJ3eRzyt6g2SXUcjlkVmiQgOC8G70nddt2PROR6gZjA\nCv5BIZsnVsjCPrij7ejk6pLJ4VhZ6ygOFFEt8yzhci4pwwxBQuwyA6/NVy/W\nvSYc2T0v/yiPvMR9MUsUMf5L+sAFH5lZPPxUElNT9rL2SiQDtVnCBiaC4bPo\nu5mP2iRpwYMNtv5y8oHnrYNyJJV6XqM+zotNtm/PKxDbQioCxeW9G6L5Azo1\ns9yBhGDEZ38DCaQSDL0V396qt5jSHuUte9whLfM3eer3jfiMwMIupAqVh8JL\nENsOhnEwlfoUh8lZbJU8Z26kSMS9ppWFu8dDqpvDf/NJXvh4vR+1PH1zz3N5\nelCt\r\n=KUJc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"84237d01bb50a1ac28143df607177fb637a4c39f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.8-renovate-non-major-84237d01bb50a1ac28143df607177fb637a4c39f_1599121126140_0.7298573215670026","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.8":{"name":"@balena/jellyfish-assert","version":"1.0.8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5328e7382cabc1b08ad49d8b5a0e9432275d21c5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.8.tgz","fileCount":9,"integrity":"sha512-7mYVVucAKMSMVwJva1dybMyfJtci846bnH1P+sfETKDYNbHvvLA4F0N6yEp5GRhKUC8GIRV8pQNVuyOwBj5KDQ==","signatures":[{"sig":"MEQCIEHZcf8KT7zfCf6PKva3bzhJyNu2lmheduWONn1kUeyDAiA6ZA1bTHFSPxbgylYDF0mO1lxWcxI1G6ft8HoFCKfhtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfULGxCRA9TVsSAnZWagAASGoQAKJbSOgo1qnvcBmnH7Lt\n3PvZbqiDT1U2UL9w8bmtM2cnON8IxYhjn5+qQBhH0GU58/wWp6JKptCUj/NX\n9To0KqXsrEz9v2D9lMK7YgWvyDagG6U4hsBWBdgzEr+AiRtQS34gl2m/B29S\nZmEnyQvZqp+x5bUGvZKwFVzjin/q/LFOP72BQMwYjHAOoroAOTX5cRbHv2AN\nsLxlm8q5WzjNZlLSUDgzI2eudjJYG7AOT9gFVi83qQ7+GM0z4c5qXB0uvwwl\nNZdLzgDaqF0YPkk8tPd8bj68bCauY5dhY0nHjDAADk4HETM/x6P+2K86gBFh\n8rnAXTPHMzrmTNf8yxNmkSjQFHKf+9thtRh4NtD0285GuJr4kbTiYRKC9DFj\nDfo8iygq5lCXJoaj600FSyfCrsnpcNkLGZNuulwPMQ1SXtd+uXMzHpJBPaM6\nno7Fp0aZv/GBrGfHoaaN9jAfr+rDr7Cv6h71Tkxumt9tVcn4XeUKJi+/yWXT\n6cu8McFNnYR48zeNtwi55nwK6alyW2+v+q7gEkchAPdPnX30/vGl5LXIW6fZ\n3v/XsRmpuLCwmjjdk13iVXGV8VP5Ly072pv3/u7xrcd2qjFkSJGECG/rzGPb\n2j2gOlZXTM64P9Co3bukmZFoOh+OikLGWi486sQGwkax41HL/BxbsIA/t+Rh\nU1lP\r\n=/IFF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"54d0a52e1c25951092966900d3f8fc60a6b664ba","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.0","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.8_1599123888950_0.09346900603579278","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.9-renovate-non-major-be642d67183566dd0c665b9b6cc9fa0ec301f27f":{"name":"@balena/jellyfish-assert","version":"1.0.9-renovate-non-major-be642d67183566dd0c665b9b6cc9fa0ec301f27f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.9-renovate-non-major-be642d67183566dd0c665b9b6cc9fa0ec301f27f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bd1ed7bb561de512487f9238d0ae3d03f2ce7da0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.9-renovate-non-major-be642d67183566dd0c665b9b6cc9fa0ec301f27f.tgz","fileCount":9,"integrity":"sha512-DrkIkx/hVA9cloeEWiFT2DFtOyBrmmpy8jWG/MyIahQuWNqFxnOLiqNpQRAbNXh04BRfW39WYggFvqqp1BaWfA==","signatures":[{"sig":"MEUCIBx3ypSMOpvsi+0vK399CluvUIhtNcMBiVmBkmJLveQLAiEA19bWNw3yCSgUG1vifHPLOv5lv56szSnMRKBhK7UN6wM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUvmwCRA9TVsSAnZWagAAXckP/jwENErk8ObgJ6BiSsTY\nLNiRT5T4UNc7ZH6pDls8oxYXlBsXCgGTfKenwDdtk9it+l8zUxh1yYWwhZHl\n5rN6UQtJGDouotcPh6HwMedn8ST2OYLE3xsoGgGXt+hWNqlEtVM6t7GBTMwI\nhwvbTNzj1qisKfdnUMVyIJXAYnJpEv1eWthVS1CoqjQF3E3tnVPEJwqUQJiw\npzS4ZzL63JL1ANZ1iJZpcGDcTF5rgYlLztb4Px3O+KXxt1GWaJ+oI59eknBW\nfvdjzWk0HSqZIBcYi0NfPuhz9YnC8hnE+wGiqJPtNMntuGTeWLvF+4Sr6oM+\ncJNFIPe+M4SHrlm5Oc8o+nweArXkTJeotLA0/qFhlepULDZh7P7Iw3qV+Ykz\nyjwJWD/srJxn54X2kYrNsV8QxEQ569no5Ikbcpeq2CwolBn67CxHR+fPGJuD\nLX+b3b8EuahxZM4Z5ccrCP+Q6L0ev1Cejtx2EdCIg8n0xpIyb8R6yEB+0xb1\npn0biiGXdxRDCLfrE+cUPsrpLVkLOXIiJY5b+o4eUogY9ZourD/HHWdr93tq\nCNVq4JSompU7odotRz/wB669nPb8WPI0yCWu4RWZa6cG8xokMjBDy+x9oVRy\noyJmgaC1/h2h0TEOVn0zP/jrwhD6XJKzAjkL/tD7G1CklgTjGzZi+c/N80Ff\nXwQy\r\n=4C4U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"be642d67183566dd0c665b9b6cc9fa0ec301f27f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.9-renovate-non-major-be642d67183566dd0c665b9b6cc9fa0ec301f27f_1599273391806_0.07271501896541932","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.9":{"name":"@balena/jellyfish-assert","version":"1.0.9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cf9f0616e159dd81d88ecf4cc0bb6d635615dcd2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.9.tgz","fileCount":9,"integrity":"sha512-9YQ8IvuUT0sYS9WcZZbO7dA0qHO2HhPZj+mwRGW/Wgk5g0m6x7F3VJptR7xSVsVSiAwU2alircwLOORavG+sWQ==","signatures":[{"sig":"MEYCIQCFCsjcK8eKbNUKL5EZKl6Ow6Io8/Q3dqUsrPjt/7dkkwIhALcIbIRh2J0IDei+R2v7iZ4BFwqV7EP6UciL2KJec3Ib","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUvp8CRA9TVsSAnZWagAA5UIQAIEpvLmGObgxnp+WYFcT\nh6bD/VK4CkyBrSiTx/hjwVmyJFeVYisIInOzqyQnuUrajK2qQA5AK3obWjLo\n9T7+BKOJD+bauOPTfRzoWT0FUqQllbIg3KiJJeZrQfIekB1RpwGAQ79sdUq7\n2eWxkwzW62lHnbxK1Yb0V/tQychRtk4maNP0MO4/mTWyenZhhM+AZBJ5RATo\nosWWx/UO0nWGTidwx1HsVrf1qHwF0wMfFSKAXAOsDBlkh9WtGfAOh/nTrYj3\ntDNQ+o7R4PDxlP9LlwfpH2aDSkCJyi72scx6jhPpbrs6TkFPjUIfzK2XptDj\nxA9LlhjfqmssZN0+7EyzdqEgZlfQskxwoWo1o2aJsHZaEn434s+8s51eBMg6\nts1A+80GB59sXwVyAziDrV+7oYOyWhu4DOcH1tirEjwSgmVDiAbeEbbvPe4G\nsl60AAH5Wi+WIJVbnUCqYLYpbkSEl4zrRhwGQpgcB23PS6XKNNe5I0R9Z78d\nt/MgcNAcq360WamQ7cw5+JRlrjrO27azWoEpYnHFndqIHlLZ7HjHyK/zreEv\nVTcuWPgiE7U8+q8TRj+Z1J/rycM1kXokkR+6Yq2yY0TNP+2twdVQbVP4Le7F\n7iUt/cwSIMNNvtRUxp2Gvg8Ukc1FpkOA8Cng3YXn+wGKWfklhY0XHDbfDe1K\n4Zkb\r\n=yths\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"06855fa8b8cf9b8d30edb4dca142dd3385892a96","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.9_1599273596336_0.5002766991943963","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.10-remove-node10-tests-3b3c471c57a8d011a2a872564b3eea2dfba4c16a":{"name":"@balena/jellyfish-assert","version":"1.0.10-remove-node10-tests-3b3c471c57a8d011a2a872564b3eea2dfba4c16a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.10-remove-node10-tests-3b3c471c57a8d011a2a872564b3eea2dfba4c16a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f5c730005b7f10a2a5d2f4629086a4a68d3f62e4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.10-remove-node10-tests-3b3c471c57a8d011a2a872564b3eea2dfba4c16a.tgz","fileCount":9,"integrity":"sha512-KlDDyOFIo0SQ6CYIdPyQpi9waqa7fLk9rmvjMZF2zcRXSU6pGyU6ATMCYwECsWan0ZRE5ku5elrb64unqSQ/1A==","signatures":[{"sig":"MEYCIQDKrMX5Frxcx4gDqtfFCZUPU4pT2C0k3NUcxFRUBqOvLwIhALUn/ETtJUDh2u72XLe+pedos+k/rJFmoFmjKgilE2bs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVLZECRA9TVsSAnZWagAA5KkP/3llrB4a6uFofEsMjdKv\nQGfJVJb9FQq5caEfFVa0/w9yacND6e5tW7GKpECxumEzXrLtfXbja7yY6AVA\n2UzhA2Tazcd8ikn/NJ9FMhH3x2O7rjzXOOTX+FziiMJievJxTsKF1WyBivRv\ngFGlt0t8gKb2mih2Vpg0u/WqU2DB6y3UUJ69JN/VIat9hNJKJzc0q53GBqOh\nNsdB6GwcIStnOCAxwEjpc91g8bc49Y7SgL1L4wDRbkKbHmfoE1TaJFUXwu24\nY5UkksXqpLQPCSkzTEpzVUV7owDNom5TbN5Xs8as96yAT7Es3DQSwnfCGVKb\nvCqxiPzICsgISOHKs+dE+bf5ttlJ8nv4CTM/V1Zx0kB8LJ906anWLqhiI9e/\n4JTAJgOv5KLpCyxBAeGn7uzBEcaJ3zLt43oAI47pLAs0dInR2vzjk352U6EO\nD7CtioE/XXyOL4ndZ+O8YopPGZIbM6GTkWaZiPdycWN3LqDTmItM7EZIRT82\nuhXHsBmhNFMNWevwUv/AOGY0s/GZhwVOYgCiVtlRhfBBHeVwaIqZUh2hn0xh\nHxjuAy1Op6n6S/8C5lpRKHxRJJzN0F54t3iP1DkY8oBFZRUB+COaPF3yT9PU\ng4s8Nv41/Fo9QWBTJ0g7jrQRIPX3PMMaESygexxkH02bNuhXYNYyoqb3dZeG\ny9/G\r\n=eNng\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"3b3c471c57a8d011a2a872564b3eea2dfba4c16a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.10-remove-node10-tests-3b3c471c57a8d011a2a872564b3eea2dfba4c16a_1599387203687_0.3234618930076578","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.10":{"name":"@balena/jellyfish-assert","version":"1.0.10","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.10","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"petrosagg","email":"petrosagg@gmail.com"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3b3cc0ce949ad7b631c58023ada2ce1108f08abf","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.10.tgz","fileCount":9,"integrity":"sha512-07wCbdd5gQgvZb2wPJ8MzLdny4sTjIo/7TRzl4FsYyoQ+Pn1c+ID1IiWDdgXjhPanIN9QkOjHAI050ajjANo5w==","signatures":[{"sig":"MEQCIFCBXRgsWoWiFwV1zSZltvjb4BcLMnqyMgPwowZ4rrWrAiB1WbOQWN+Ot4eNaUPiP1gQrnzhKuNkHDgE/XMXPQzong==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVLcZCRA9TVsSAnZWagAASRUP/0ULKRuRtLKtFCY/D/FY\n87NoFcThzPUpl75sXvMI1Q4kCCPZCXgRuR5OmGyGjefrfYcf0Ij5wf8J1kI5\nmNh6ItE4c1AhnNTDHzBGezXfW7qvoRdiIsBlnxXzZBo+hJYCcEalxTQlRuku\nkuXoZJ6KxELBob0G+/JnYc4rYRbWBtMXpQWU7uM8nOI0tISpM4ahISfLtWR1\nl4P/18s4bn/vxweEL2kz8DcJDpsGbmgi/PAkubhgvfq8IgnA9djGGkGhy8oz\naL66ZRFyQs2FSnDEw33xU7mtb20a0QYu6bx3zWKFCm3dI06Oi6F2OCzQrms9\n9is+Dqku8Ufp/sedy0Jx2UAHkLLKdYOpb/bXN68YOb1Jj2H4uG3WnZ/vHQ3V\nCwhRfOKVnZYSM9DtbcOG2Dn+SqdYVAgxSG9gBplo/dNmWzoRxmdE3YolYTY8\np4QpC7IHqbtm6NW6u9ULALoUwev/5UBEon+cdoKF9KZZ3QZh3Uam8zH6JiUg\nvfXQ6xhLYnwO5FCEBshv7tcZVQnne/d6MLgJMm5F4hqJpMkIEmXycmQuZb+n\ntQDc0OMhlWPEqRlE4+ZD18vjbKFDdznAJaeDVkPWRMDQcANN1jDAVto/1Qdw\n+bOleQT5MxzkpIMUhsOlV41/hnlXOMzSbBzAEmo0HI2fQaNKyiDwSnyErIv/\neol1\r\n=FqHB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"398b24689cab6eaac4c7ee2ac8e9350d8757247c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.2.5","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.10_1599387416954_0.8005264206244118","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.11-renovate-non-major-456eab7ed17c718631108d257efe00d0c837d815":{"name":"@balena/jellyfish-assert","version":"1.0.11-renovate-non-major-456eab7ed17c718631108d257efe00d0c837d815","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.11-renovate-non-major-456eab7ed17c718631108d257efe00d0c837d815","maintainers":[{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"84820cd0cfec3add2f88d9eb6bc73076a108db52","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.11-renovate-non-major-456eab7ed17c718631108d257efe00d0c837d815.tgz","fileCount":9,"integrity":"sha512-b7pBQyrSvQ1q7rYZ7B/8Pf4TZJzJoo75TGr5Rmiix6IBH/U/gDnxXXa6opAUnX7ekaFI7q/xaILTH/NrHSi9hw==","signatures":[{"sig":"MEUCIQCdn24O5GYVr2XjAGZmlyHP6xmlet4iku82ldmDt+OHHwIgeA25iKptJEydEgun6lh55gy1W7vLE45OOywj8yS+KuY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWCGMCRA9TVsSAnZWagAAyUwQAIuQj/QvRndb2YaVexmt\nLNcb6TcWF5xDDVkVdy9eHvrcVr6eHNhsx9cVKkcLK2BpCBNIkXSpapD3KtCn\nH518OKlUpxfhoOmeFUrX+TGTWnixE5vyO346Qqrd0SYqo6ORDIgSQPqXFMol\nD6ifENMoo0J8abp73kbdbXE6yLrkTY4PFYtPOBL52wCG/q/lxSWDY3XSIkXz\nYZm6fuomT/XNx1XjenTDjHNI09pkE+cetP5LZVKALiiTkjr+wgTEiFXjRQla\nvXNje/Y8Y91+xG5eFg5CNQW7wLOh+YYwN95XUbPN+mDQuyvuYoCJn6ZRysuH\nhwXiVJl5qA6iCse7k02Ktux186mPaNmNqGLM9IR1/eAqi8HbwAVUmRhwBw7S\nki3dGKcgL5fZ0sZManR0E/22TzhA4y9Hcx6lObAb+kLEG32JmDZ8R+1DIN7W\nbNnlon1Eihb5Dtdc+EeAQXNsTOwHykKAvUABx5rJSGx6ibRSvJQAsZk8ySYS\n2UJcNpP+W47sXczmAqf3YGTVD+Bc4D2zLtID2yvwVU0kyIp3Rhy1gaycr05g\nMQFLPMLAiFDHIzKbYt/Bb5ClsTQ4BcGfsIoQ8zhI5dxALNqCce2aGRqLgwpN\n12kbRxz0s9yQxmTRI96IU03+mCwflGQ6BrL8R705hET8QDoUfbOg5WmVBvlu\n1TFQ\r\n=5Ezj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"456eab7ed17c718631108d257efe00d0c837d815","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.11-renovate-non-major-456eab7ed17c718631108d257efe00d0c837d815_1599611276083_0.8498563545575417","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.11":{"name":"@balena/jellyfish-assert","version":"1.0.11","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.11","maintainers":[{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3d56f06dd93455c9f5c5b10d9e4302a44b803fbe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.11.tgz","fileCount":9,"integrity":"sha512-Z+FnaX2k7ILhQC7Z2Ouu5dujV5m4+H6JkozTg9dfZ50HUMm3Ww+T3+KYN+L2e//szpVpUQ+2PDCAIrLs0uwZUQ==","signatures":[{"sig":"MEUCIQC4hWaxVbmLTB+l+kD0u/dXB3LDCI1Nd80DjM6D2D74VwIgVOB8Zu6oqw0LjrpipecUxQHALXc3GglrHZoqiLaTD60=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWCI6CRA9TVsSAnZWagAArN8P/23yOMD8k+TuNjJBsycg\nOUXbNUcPiTc1VwiJEkPFwGPC/abdSXgZFjBxrRtr/IxTF+earyFM88FeSbvz\nHES7J3SNI41qd6XQ+XyRrDneNsi20B4pKeIcHmKEDhGjQXo/UPXJTy1x77P2\nRXj6HsYQNIxxa0A1ngwQnDzLEerxW53HvBj1k6KHCKugmvrXHNs0PAyCrDyo\nabpNTA+xCkHx7kKx73nBwGBCxgog66Uz7DyVSjqSg0x61MypUaQz3mRPq1w1\neiGp1DDKyO3dMohNF/5V2BsExRPVDlhZlgxlWhHvFWRgy8MAUvVocFyOIEW+\nsTNWO1aGTXhj1JbrflaS06+ypcUjblxcTQa7oOQ2REr5vqFRIF26BdKkWxbT\nGUzxQBclHD3LhpN9ILkxMhgt4MbFj2Ibs35N3t/k+dRaQTaWVF8Y0+mwhSXO\nQFgu6zZLqOaq02/FmhcCYMFEnH4jNkG0jRyOy+Gf1f0FP8fw6V0f6DO47Fis\n9kL2XiTDkyGJ8M1p9p5OJwtffahhFjVuuiDNJv6pkStzvvJTkbS0aG8GH3XY\nUpTuCtGkR9WpcblFOyXSu30TdRd+E1W+hPjRnbRHXMXvv64l8ww0Zna3zRVq\n/SeSZth4f+p1P5WR5WOux5dM5gkjzKGsjTrwwqykWP1HkAxMnuJC+kMXgzTO\nfj6P\r\n=2KKL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"0ef8cdc86d9813e1c765d33bf7d69a80c6581934","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.3.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.11_1599611449538_0.9469809144985282","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.12-renovate-non-major-a8c767a5604d5de3a9ea0f1b9dae7f6edeef343a":{"name":"@balena/jellyfish-assert","version":"1.0.12-renovate-non-major-a8c767a5604d5de3a9ea0f1b9dae7f6edeef343a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.12-renovate-non-major-a8c767a5604d5de3a9ea0f1b9dae7f6edeef343a","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8419cbb1611b4387b2e8974bae4f4c4c4b7f7a77","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.12-renovate-non-major-a8c767a5604d5de3a9ea0f1b9dae7f6edeef343a.tgz","fileCount":9,"integrity":"sha512-RJYDqcqEBxM7ZV9qklpv/nB4SanIKWgm16NwUOSgq5U6HHCmsnljs91magXqxYqFZheGWv7HRkN22DV9d56l5Q==","signatures":[{"sig":"MEUCIH4dqkXRcRZhRiShU1n0WL5Ob8rqP0K1DXGYc1FkL2hCAiEA1EOozxKRx3Zc15Z6t1RQxq4+j0wuJO/LeYJQEZy65y8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYhO+CRA9TVsSAnZWagAA3FgP/1XinIbfa3FAOJsmSyVf\nowvbF2GJTqfdGcsaEfibUR5ybm8rqaLbDwfi06hXGBabzLluCZqqcVYxrnJd\nZCfLPslY8YhSAM1ID1uYdTc5++d1GdUI41h9bn7ZoMmIQYoadFHqR43j1IMS\nsyedT1Mba4PIjjmYUzmMppfnYZQz1yF9o9VtFtZY/RNv4q2thfmsqqrR8bVZ\naey6kEvAaBIAUVM+qvBoMvXh3027HOUWhK8TxWhf2mU0jjaVuHSTPgBEZo5L\nglvM3TufOwZcvHGj1G8V1qtv5CM/TR5L6iso+k7rXxit/2LPcsVGfpJwxzPh\nPrlwn9AHsrapOqkNhYcuv40lO/BKouh0vmWyi+abgo6ilubDuaudQ9Vi1xOR\nCAaxlLH1FxrFXdji2m7Lg1iu8cTGpHE3OVLfciwA19sZqwK7RsahhjQJVOhV\ng1zBP/t41P9RzwtNUNGcOjAfkSec/odR2O/lGbFnSZlbO8xS1NCmVsy31UVk\nZHfZn3pPYsQy/PKNJhCwiplBTAlaEdqjiM26d6zJiEq8DUdjta7SXP7fjZ2E\nRmiOYOHIQzUjj3oPtQp4hpNaJ8zI//wbtjRPQpXFFAHoNUGQ9JEC4rUNsZvG\nYfjZsO3eDsBJjne6edc6ou+cJvXEmi740yNfrx0pLOBklOcx1HedczmKwEPM\nPaci\r\n=q2ar\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"a8c767a5604d5de3a9ea0f1b9dae7f6edeef343a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.12-renovate-non-major-a8c767a5604d5de3a9ea0f1b9dae7f6edeef343a_1600263102399_0.5694173506344162","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.12":{"name":"@balena/jellyfish-assert","version":"1.0.12","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.12","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"28e5aff74a330f6abd12cb8402b326d906ce2498","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.12.tgz","fileCount":9,"integrity":"sha512-A6Nps2jfy7mHqa9pWOYnWoRAjfC3szyGu8peDs79kx/1uRYD4NIC7CRZ7NF4vT2Gud7onkyh5uSOtjNUy2a/GA==","signatures":[{"sig":"MEUCIQC8chdzOp4tnR6E4ooBbe6bcgDR2HhJ/Bc1DyC0jpI1kAIgN17znj09IaIqfD7Hdd+o73Wv6jW8Qkivvk1wsUYR0H4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYhRgCRA9TVsSAnZWagAAdxYP/3VZmqc0MGBWbt4/93WO\nSxgV3IWc81pduXq8zlcjU1aXa/PFOpoYEIeuY7y2dGsoGxb7RMDges9+r8Ey\n4KfsY5URPgLsfNdXo1dG1sbC/cWmkHJdk+d+iFisO5NF7dRiLktSAM8moECu\nZWOVXyyKq/gfh04j8N0mam5yeyWg598PbOPeu4/wiILajaXX0MCj7gRCDznP\ndV0euQyjOHyhVdbyE3ERYZjAEp7SFwY7BsWi7dyNVQG3Lko5JpUBeoGvgo47\ndy6iVcwFrfvkNXgWfhqATFJXDSo8ryxhSZ5yGGfEN6KpT+1X8D1g5uH7ZhM7\n3WVyj5VLeXeL7rXeRnQyDey+KwSNDOmdjcpsktZBsvvOoKTeCWcgD5EPFVIb\nRKuQcp8sC10439y2KU53P53aVQanR8ldbe64+JAEvv4+slhGXDZDMiXtm5Pg\nBv27GpCf0Iz0o4wLoy9DGA01PiVWb1lELgwdKvpxeGbIEyv0RhljYGwpSxJu\n8bF8T7KGgnT73aQLIJVHcg34r15olROBc9K1mMbZ+PTKhFzd5Wz1oPGzRJ9G\nOr65waqZCWKa9OgPZsGe5aeoackYW4WQTrQyjQtNvrGvlKtDOvQNoQfSpGaG\nfsRhhK+5JiXCCdCB5Wz6JoatzxErj+V8P1XZmWNrsYjBotNz9dRN2K9sZmdu\nHNNC\r\n=U0DL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"f6d6de51b40d16ef66b9804a557ac40ea249a87d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.13","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.12_1600263263760_0.8034107438819855","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.13-renovate-non-major-90e9559ebedfb4df35653ceb948ffc4d1737de74":{"name":"@balena/jellyfish-assert","version":"1.0.13-renovate-non-major-90e9559ebedfb4df35653ceb948ffc4d1737de74","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.13-renovate-non-major-90e9559ebedfb4df35653ceb948ffc4d1737de74","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8a7e5930afaef4f1c494fe77985ca0f3cb57ff16","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.13-renovate-non-major-90e9559ebedfb4df35653ceb948ffc4d1737de74.tgz","fileCount":9,"integrity":"sha512-MpeAk4KCGCH1AUyMEuGYBFLM3SCAKyJ0Uv+m1xAg7eq4/IdA+ub3NfrSdvsYel09mD4jq5OfSF0fDdWQ1GZ1iA==","signatures":[{"sig":"MEUCIQCZaScUmdSQnsws9UekEzmkOzJfHPZ0YoOe9UbIow98/gIgUbBVzK3lEfS4PWsYP+9S5Dm6rxw1ovIy6cI4iBjaPVE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYjWbCRA9TVsSAnZWagAA5/IP/0L1PJmR2xX1q8V0nsaA\nwQOdZYdUZ7OrJONLCVgubhEQDOCHwwFeJpD7q0r+3xYAc4H/aXsAI0bxnzjk\n2lIW5s2uRN9MYL4JrFgN0HbLUdmQU/+swYBUQ/vVpkWIJdvMg/LrXySSRe8C\nUsqwQKBiizITMBbPtncIgpvRODKqEAN82Z2NyFd/9T4eyNG1lhS3GwzLJ1L3\nxxXUDvcf1P9pfo6+8K0DXO0F2tMJI+T5KVbtWqcDA2zbuBit4xk0tGC55K5u\nljrOtfCaZpFkx6ENjiWhtzlBgrwPuhPPuMNMt2pyPzEwsYZ0AJ0mYmPwtEqu\nLiKKAmo7SXsNBEb9UK4FJhO1ViEchKgAQktma4NkGcU/Es3eI4gtnY5210/2\nPC9j6Dv4pB1zbbGx2bgfoGE/zZXzsj+rUvhBEe+cgCB+GbnDDVIkDW8PwXSb\nEu7/9koExmTmrTEwGXeyvOpVkHFm9RpUFzlu1/vsT2pOlo7DYULtk+Sx4sZm\nDGx1rv8My5GeWAfJNLsL6xSaPiMCJWxiL+JT97iOQEhU8MrCIEWtK2PgBdxe\nvfv1AlhPME0qLpZDRKLarSJOB5ZLciLpgsJkjGFJQcXical0hMPDgPcvnTcn\nX4E6rkcsD3g38HgY8QM0pKoRtuAWA1DzAZbw6IvQvdbcBYFd8Rg+YKzbX9cH\n3xtt\r\n=aUDh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"90e9559ebedfb4df35653ceb948ffc4d1737de74","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.13-renovate-non-major-90e9559ebedfb4df35653ceb948ffc4d1737de74_1600271770891_0.6002814890005135","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.13":{"name":"@balena/jellyfish-assert","version":"1.0.13","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.13","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"44df204317e7ea9d4224c7c7d9e34cb92478c607","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.13.tgz","fileCount":9,"integrity":"sha512-joAPV+zj2Ka8vh/7NgdY22q22DcbiFQ/7FP+pHn6sMo2pJlWdUIKhi0iShp9KHKP9+GFTxbWPXSFWxe4+zisCw==","signatures":[{"sig":"MEMCIFc3oKwHLGWutLZlYbZVlDAatGHjdiavkvYeZxTJ83qCAh9FH0NYlIzEnFTlvcZ91D6NcddM2LBZ0m8uIdViP75C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYjZpCRA9TVsSAnZWagAA/ZsP/1rDBl3Iz78cX5xp8YPd\n22XltgxOc4R3wOW0gGClpTGIj4zDtF+nr2bq+Jjs8rwec2eXoF+R3DKNO9zo\n0Cv1ZwIWzBvRrA5wwjT/7Z8fuTVRv/6naSV9PONi0IG6Q75HvcJEKi+Fc4MN\npxIDsS/JyzFAy86T99Pd0qu10m7Odr5fF+h0Wx11ZePqAAYgZm/dLdJViYPg\nDSC3eGc8sH/+cWphUHqfkBFz8f05pu2wmtUeRGsFNbpPVJxHzFfcVlcxIPZ4\n7IiI9Dfdo9THmTl61FqRMkpBRTMVaDQUbT1VfB1q9GIBOVau995iPw1PzhRq\ngd765iaEM4unkWJ8SF2s0lBgrAvM1Ldwoe4EK/tVRqjITAScWpcrbCfLV3Vr\n9rUY9VJAmW1Dw0mnOT8B3MvsV3Dwk3JzpxiuurrtBeCJkCSViqK65+ENSUGb\nXdxFDZK/+M8R+mfI6RqwCe8lsj3whT/iZr+JHQg40tosD3N/qGiSYnWPNNRs\nL7ith0XE4mCKlLfOBXxSPnHCppgMwpqBRBfZkzhaelVO3KhKcxU6bhlsqL+K\nuDAIceU2EqC0aqd5Wva9nriO4bC2g1g96CgNdJXPM4CtsdBVd1ePBQBU/Q55\nN+VHsTsSNKac9UMVz/pNGnnVhz6DcbBbR8Yh3ShsSLKkGCLALbdbXtuMm3Fq\n0ntG\r\n=zlNM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"4742a2ddd2c92832fdc230254d863b0fce1b02d8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.2","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.13_1600271977054_0.553332091032606","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.14-renovate-non-major-71958f4037cabda121e21c537311851fbc4ef7a1":{"name":"@balena/jellyfish-assert","version":"1.0.14-renovate-non-major-71958f4037cabda121e21c537311851fbc4ef7a1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.14-renovate-non-major-71958f4037cabda121e21c537311851fbc4ef7a1","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6178861ba4f386b0a920bd2cb941e1219c5e78e4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.14-renovate-non-major-71958f4037cabda121e21c537311851fbc4ef7a1.tgz","fileCount":9,"integrity":"sha512-VSyvKrXuXy15OjE1MpnNQ0me9QCtVAUq2c04LBlUd3/uSTDiJb35Ehhff90x/TDwE2MkZE95Cg0ttMU/EWdlnw==","signatures":[{"sig":"MEUCIQDodxSrJP5iWvtqUnX1r9q5ekdnvQtjrytxq3ccNcURZgIgFeOplmZhfN20zBa5BbnJsqRjuqNzaxd7cnK7uDjW7SI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZRPPCRA9TVsSAnZWagAAYdUP+gM7uBr5Er8yE0Qp11Xr\nnoUgF8hsVpjF2h4cL4iWHAzTTojXVY1JS+r/ON3Hw5G50hqMuNW5jNxC6NSE\npijEF1iSeFz2c29WcfaSXqdiKgVAfgfPbCaE9HnYFGjFozbwdklAJrsEKYmr\nmc9XFh/+CKZ0FklY/d4fdc2ov3Hu8q7ZnUs8qTMEtRtBFVCWK/IPbtp2SN3j\nmq3fYbjRRgCVH/8WhDHbFF6DCZ4CLlLtfqcLRWxsSeZ3jgxg+Dl58CO1CtPY\nGdLmOSqf6QWm6wHobXhtZ35EAM6LruNISr40c/QcT8w3I3XC/Q+eiXqs1lU1\n4pWs+oisrIV/DKRNNH4WvpPupfBAIgNcVidekGS/v3SNTtDZB1WcZOm253mY\n2fV7P9mS++JQ2XE2XNo4oS4392Agd5Ac6XdjIH77PY9XKZ2StBCEwNDrAi8K\nWvjJrVc1741UKDzM/mUTvXqa88Qa/5T9OdBR/YHu3mtIG5oee9J5Pa/vUR91\n2G7Zeofj0LGzhSBsWnyTsUwYnvw+2yOJsr0/bjO0vX+IpeGqxhchgCtplM4I\n5jkixTXhmVv3ibg6E795+QViWXAHvhv74u4I2YRvAk03o/jtLH4JLJur2HHB\nD42BBCKf/bLWih6fwxZzp71UZ3rK3Sojd5EEmH1cQyLEpp3ngaT7oYzwY1bA\nvDhy\r\n=TcA3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"71958f4037cabda121e21c537311851fbc4ef7a1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.14-renovate-non-major-71958f4037cabda121e21c537311851fbc4ef7a1_1600459726633_0.9909387636369811","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.14":{"name":"@balena/jellyfish-assert","version":"1.0.14","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.14","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c265a664f4dcd5fffeeba1fb63a17b869f5d8422","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.14.tgz","fileCount":9,"integrity":"sha512-G7HO1WBp+Z9BH393s+U88Xyy3kCAh5hwZsPEPAH2RZn8KrZGY1bp4nvW49jVjRF2vnhxKwKa+TsndPfa/Thp3g==","signatures":[{"sig":"MEUCIQCxkyx77rpviLRPZDbUKWi0u2EpukMtM0J62FKC6DNQRAIgSUwzjIaT81zV00W7OJkE0VIYpGiZG+QRHLD/nSZGgnI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZRSCCRA9TVsSAnZWagAA29gP/3pCxV6ZbNijoyOA1hqQ\nCyLQzhElshhaiOkZrRTbHu83xxNDokyv6NJXS4B6CcPKSHVcYlTWdqA3rjTH\nl57SWfJ0Exe9E4+UoqUumrmielvzcFoJrxjlLJHOOMWxaNMpatNnfuospWHQ\n3POoWNHTkA3fOgz6OViWzjmFct44y7IErRWUrtSqVqNip9KQhFN61ClxgHSz\nQgn/aitTS14pxARepKey0OHGtrBtZXPRP5zeVehKLELvu5TLwEz8XOSiZRK+\nGZiW1yYte1a+0w9VLl3c0ALPQsPFDICFyzckgLU+8VyiF5fhdIa6Lm58i5ek\nwtcoyGLNFVK0hrtXuVev4CgO/2kyGge1WQiGZdxAXM+6D0P4FoO/CMpxE0js\nNfLtfAJFLtmyC/2iKmsXWC5xt/H6tGwbTdz3tiIF5hfliYzbZ5UuzAB5YOcW\nergRO7IcHi+lN6wsj+d4OymicxbGvOxI4V078qqsUjnXQmAratl2nULpGt+0\nCCdsHST3wO6tOqfH60uZ2RRF2WVGvLBXmJlxVJvjULdU8AVSVKEHaw4TOGBP\nlSBCLo+PdmqhNd+Pf7i9rZivFFr/j4AWytHq/2wwkscBeZw8U4c9iEwHDUHR\ncrmfZoWZA0wd2/15+AN4gBe6P8hocuAaTb7GStQjJj7bQaV00oAH9q31DL7G\nX9Lh\r\n=bo/V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"1d8747bcce7c260fab0db89da7520400e727a403","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.3.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.14_1600459905870_0.39989337019558024","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.15-renovate-non-major-16598016ae9222098908b26c74710f83e928b519":{"name":"@balena/jellyfish-assert","version":"1.0.15-renovate-non-major-16598016ae9222098908b26c74710f83e928b519","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.15-renovate-non-major-16598016ae9222098908b26c74710f83e928b519","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"78c23d6ad59b68e7a0688840f9b5c479170225d0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.15-renovate-non-major-16598016ae9222098908b26c74710f83e928b519.tgz","fileCount":9,"integrity":"sha512-zSKqxgufq/RzoxXCKllJCvpOeHm/0J/5k8M7oe++JcWetzAih5G3WYVWR5jfxT/9mCjOXsc58IGcTMRZoeIUbA==","signatures":[{"sig":"MEQCIHclr6Tsxux2Ri/dhy2QMb+/CrtK3HcCIhfT+yymYskUAiBTnRdJOd6kFvHnWnyfFsY+QsH/s0fhrG4cGA7oRD2T9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZzWhCRA9TVsSAnZWagAAVxwP/1BHCpNEqLL3cTZYvWwM\naZlkqldU9KixgRCPdNEYiSP6Z6DHyPDL2gMiIgf9dj+9KqiVxJ8Bew9C9f9G\nr4W7IB9qBZbG5mMmROJwL3bwiTiJ+PcyLcl9wxmLsGYN107I7YCdlXdTWGg+\n0BY/CoiO69EMxHXr7cFOtaaIz+qePbU+VqefFasAUJ4m2MJjNzCzfIrhi2S1\nyytVrpissHQnjf00V55nRQVT2a7rGdZ1a5S8l7+o0mBSqmpskT+y6qPnDmyS\nlHr2E4c6wnbxo68rRBfV/bkGexe3GWlygmGcFa7euu8yjiaVV1KdooAKinNb\ncaPLtXVzpzSMFWjtiXTRasi+Ys7TIbrwNTZwfSVsuz8zJG/PR3TBNqbz2QRb\nD3hBIcW0RGr6+S+yE5wlo6S++JBQFVRJC3M+wnc4Hfs88+2exQGIjnuVymag\nntwn7XV9F2e1LOhfuqJSI+pfd3RZYbgQavTYdm7pmWmJfoz8/dNE3c4M/4mS\n6uDuVy3cQUR5T4r0V4fEyWT6i1WZCqHyDgNN5EQcqzFPt6fMmyjCag5DAlAp\nkPy/F38fSTRLAH+nJMjhLIahtFA/Pk286lfRYvrrFApBhMjX61wWcA7pGuxf\nEK2cEPJciawrJLz87qsgt38UUF2qx8PhGKT/Hf+VWGROH0wu+wqrxeHAgbDa\n1mJv\r\n=SD0s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"16598016ae9222098908b26c74710f83e928b519","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.15-renovate-non-major-16598016ae9222098908b26c74710f83e928b519_1600599457016_0.9850892684988393","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.15":{"name":"@balena/jellyfish-assert","version":"1.0.15","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.15","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3150bcb36cc7238ef2416743018ced241a040443","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.15.tgz","fileCount":9,"integrity":"sha512-oiKqswnEjwOm1fj27H8jW2r7tLrVTFyVmTfnaxJ/VLS2FJFiBCMLOQYk1KC6Yb4Vyjza1BLuFBnC9OrQME5uNQ==","signatures":[{"sig":"MEQCIFfFtCZKFsHecmXKLvYrBTMNRbIPMa3OWgOP2yiMtDwfAiB3Uby9FdevrM2kb3zdcaiE7U51IZEygtKhIIkSqD+/Aw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZzZiCRA9TVsSAnZWagAAIngP/0VBw37T0YsbdXTos7Oc\nOSV+k5aNGh4/kpUogSKgUmX0Oh1kpMszAd0u6WHcPVGI++Ciha4Y73SE18s8\na5qirw8wrMZdYEzNdiSY+5NVVv7dXIJ6xOUs+i9rawHRMIg5KpwXwPE4xoYC\nB/K5yCWp4LKHPbjNg3BcH62BjETTBq1ESBaD1s5szfalQkvAA1ywt5XY2GyC\n3JYHF42+SoiceF6Ib0GhzNOqJlgmNqF8TzN8pzdsIMVClLXPDbnOUcAlMf6i\njbewLIFzKqoDWfAZf5U4QGXgsxEUTVH+zIeub4+kEABEDEHe8wEA2yXTv8mD\nO8l/22wTUMYqbA6vexYeuWxDB0gVRURxt0by7dbV5cI0pDtkwTmen8T59he2\nolq4VnitBCP+PnLmzVE/D0BrWerHJ5yk6z/wCPipw6YQQ5upP57f1bq3+s/a\nC0khsDaJ/473KJLcFrGnZ+Or0/AxndPNpug2XmSuLlNNnEpKnGyYZiXtVtPO\ny44zKrmlQFRMWf/NbBDbbxkZkGyJhOnNwtv+jxHfYgdY4xBI7W/E/fyHoYOm\nk53O5kDU13vrbm2F7ZVR9SS1jDWHV83fBwt4Ul3YfCNyEd7rGT2kEZ1W9YjP\nILE7lWlcJSfI5dOLki+9DtDAB2wmHhgVbM7y5ZK+f9o8mi2oZOmzLF0Ej7Yi\n2Vck\r\n=8z1v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"ab53e18f3685cf3c53feab9931320efbb3520c6b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.0","typedoc":"^0.19.1","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.15_1600599650146_0.020601824714420403","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-fd0605d19fa2689478326bfc7829ef350b270580":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-fd0605d19fa2689478326bfc7829ef350b270580","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-fd0605d19fa2689478326bfc7829ef350b270580","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5af7ac6caca67037ee6acbfa1dd082f38d3bb5e6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-fd0605d19fa2689478326bfc7829ef350b270580.tgz","fileCount":9,"integrity":"sha512-1Nd25yzkWEUeI+DGqKV+wNK86EYEPdVXW24gY2P/vaEVpiPi4+46QAGDz2zWlX6pzWC/ysOUlJ/fpuJT+Y1Leg==","signatures":[{"sig":"MEUCIQDUDxouQBnTXdFBAc7w1Ykk1rUAJsjMcxNDpzzv8HW/jwIgZ6qTmOq2WCfLKDVwCPuUluyY5NsJo3Tg1bfzuZdUvrc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaCOWCRA9TVsSAnZWagAAooIP/2IkpBlqm80uGh+8mJyF\nTFgazCEbu6d2xhQUioU4emwIqdOeuMkCuMQzkRLlXedvmP8lBXqU4J3YdzOG\n7J8ydcxglMlQE4dguAFsxLqcTmGJr9/O2Mqp/sNvIhI+yfcaQYgSjp1qKOua\nhfXHhxZFN6udZB2OVnE3nsf+f/FGE9J4r4WziLtW6DcqRpftcv8th9yc2Soc\nSXdIU5QG7qvtpbGViZaV+3kkrlxikzIUXdurfcFt3cmAtJyalOmyf7neXNs4\nur6oEZcNKOXB1L3m3TsGjv4dQLJNazeaOPcABn1Au99H8XejfIE88lCYgqi7\nv6Qz9MWybwnk3d9z0/TxztQaFvCdDQMPF3TIS1tnJiT0GfP+h+RDsP7V0Dsp\nunGiyKdgKQeTYZMabi85lZ7gciv0fFiWK3woSVg8KsKiijz55IIlJ+23xpY9\n4f1tVSQHYhUhlog2yU/OJBE4AKNYhl+GdShKOLIu1EQeWcMfHQ6l/+gsg3jm\nm8bnGFXxaLySvF104kkGMEaii8zh3vuHAHXt7l6zye5LHMU+dgl3bgsLCMYC\nVQOyuxmaxCTKDKO99iIkjKCV+AbgISmh3+iSqRYt0DmAUk4jR3uH2/s07tq+\nCs9AByfYHcY4ldqvMrlXcF441FE2wpsZPQIjnl+dOzqVZJblNzZQMVosn44W\nR5qv\r\n=vA5v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"fd0605d19fa2689478326bfc7829ef350b270580","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.0","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-fd0605d19fa2689478326bfc7829ef350b270580_1600660374343_0.6035204299112844","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-6a979032e7c0f78c63051a51a40c97517246b0e4":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-6a979032e7c0f78c63051a51a40c97517246b0e4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-6a979032e7c0f78c63051a51a40c97517246b0e4","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b533d2505062604d6b99d2f109b803db7376d0b2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-6a979032e7c0f78c63051a51a40c97517246b0e4.tgz","fileCount":9,"integrity":"sha512-04XeMUyqfiazLjkqcT/myI3esnBh4Zy5KrlZu9u+2dbVgioKB7ocaBoEtB3MYD1asDjxobrZFXFEELY2Ua0yVQ==","signatures":[{"sig":"MEUCICgARquXU9MYGBycwRy+Sb036DsrvyDIIvaLutKU+7IqAiEAzfSKEG4QL/vUozR18a8beBgiZiTPbu02mKjXRiy3Ngg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcxEhCRA9TVsSAnZWagAABkkP/RoTWrkyzbZwRPTEUmzY\nFmn4EfeGLS4CdVZ76S0u+YRfIXhyqqV9vp8Smm9mka9Hf7vYADf0neXcB984\n3lc0j+8DSGQK7Vd5oRhTgbzn0fTKQ/QxBDTMsecxaC8Ye2VS98mJ63SGFXcz\ngjI7Zj0J7DzDYwcLAkfOQ3YNy0kIpCJ8tj/9wj+4RsYD2jLKcTM0ah1UQ7BL\n8tQrjvDMOfJsT+df4HlVsDsTQvgee6mHjrvv7CUvPZjh7FJ+JPcKtBVZk698\ny5dqbT1JLznY+xX+6N6Sz7xIZhGogtOkvvFTBMOZXXIXrOlWXOS4d1wPAoI/\nkKM8BH7htSJlwtVmdg0JOpI9Hnj76ODanwNijm514l37hV/MMCoUujfBCT4L\n1Jo0X7i+D5Q64cifTEirnqGoSvYDDsafE3/gr1gveHJgvciShWVAeYIrX8V2\nZiBpnY5iVCBIlfU3FixT2naq6/FysXy2E0KHHhomb5JYtDSbP7pVCfFQ2MT4\ndhxdJ/Oj1Mxmz+OAy3szNitFBhF0P1/JksuNLZ1uaa7uKLenr1BDD4dUmf0q\n1pTR6NfK4uLehOPFXT2MPXo14of8tUvJWfiZkBPFo4xEWxnyDt2mOqIVRZoA\nMOPVOOZHq94ae+2w+w9I3/G+h/7rNc+Lp1gnD9U3euoqK0w6wIiU7mmaaDbp\nzjZ3\r\n=TcYF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"6a979032e7c0f78c63051a51a40c97517246b0e4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.4.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-6a979032e7c0f78c63051a51a40c97517246b0e4_1601376544477_0.4405910315627912","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-2c2dfb5a2bcfc6cc5e05fa360f08f4bb63f3f097":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-2c2dfb5a2bcfc6cc5e05fa360f08f4bb63f3f097","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-2c2dfb5a2bcfc6cc5e05fa360f08f4bb63f3f097","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9bf85bd4bb499a66d47981387ae408ef31aa14ce","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-2c2dfb5a2bcfc6cc5e05fa360f08f4bb63f3f097.tgz","fileCount":9,"integrity":"sha512-Kd+pqFuB3WNz9I60jgNzJ/hk2hWT94ij3JopbZyE2od5aEDqJBx5lXRmV3p9DVc64RCWEe2TFZHbFousAgrLKg==","signatures":[{"sig":"MEQCIEiHlelLZu0j3PdjuFnkRbuT9eCC5gZFUhQjIpCdUyBKAiBgt3pwo8y6Ou2Xyy+tPvOApkBsYh/dxfLaPVRyPrtxnw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfevkyCRA9TVsSAnZWagAAnLwQAIwInUqOAAcORd2J5fkt\nxHvEbluLLZVORGA08gOIbMWN54NCPCBBrGZgLwlWcWNhPEfQSvvjNHR2lc5y\nej64dONQs5faJ3siELx4pJfiDvoe1UPe6eAKHkaG4ISJtB3pj4/vrGntP/fA\ndGxlk3XQOv/BnkUWzV3OcpSU7N1EBunLOJEGq36Kccj48x9L+My/QLFRc/nR\nNYJODaEK7PirBxjj9SLCxWtqiDoReq7dZyEckedwJRE+FtmRUd5Y7o8fVWHD\nMuD63OK3ljrFOs/RC59Q7uZzUJhdXsdLSscOdsxzP+/8+ynmzBL2btaUkrBs\nmmy7yWn2zfbT0zp+Scsq2GpRKvpJj4odcycVmoWqYkX2hp6/QeyJXDXg86bJ\nzQVrUwuPKIYvERmkXtsb/BQxZAZSlYufIx0Bj/3xhX/NWWW+FGWex12dmWtC\nq0Bz6GK3b0jPW9b3mht6fyvt+7cq01xSg6Tk7CKnt+LiU/E6C/GKls91VbZV\nZiMc18qDOmfyAazZyqSlgJQ3ZQAPl1me/W45uOh/1i08eW0oBSVLEuIBjxjj\naynutIP7x72liimSAQzeloKBWGNS3gh1gWd1GsF8bc6KHg55BJytikm5EquJ\nJPp9mzo0OP0F56sl3N/nhYfKhu9d2nC9hHAaY5TIY1pKIlnJOuZZ5/1uS9ws\nnT7z\r\n=Bif3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"2c2dfb5a2bcfc6cc5e05fa360f08f4bb63f3f097","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.0","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-2c2dfb5a2bcfc6cc5e05fa360f08f4bb63f3f097_1601894705903_0.3679018015640201","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-d4716b524368298d01c6893d48a3fbc160cf24b3":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-d4716b524368298d01c6893d48a3fbc160cf24b3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-d4716b524368298d01c6893d48a3fbc160cf24b3","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fa93dbbfe78c7c34e8307e833be25b95c9bf13b3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-d4716b524368298d01c6893d48a3fbc160cf24b3.tgz","fileCount":9,"integrity":"sha512-bH5QUZSKpY7Y5QZi0Lqj13TF3K/p26LrjE7BAs9YcJqk3hzrT1Qg1mYUnGxawxCb9WY64iGf2KxHGlFD5fv0kQ==","signatures":[{"sig":"MEYCIQDYvhZPg3EGFULFj7uF92dj4k4qWnlb0Qy4Oqbu63JokgIhAPjgUJXLt36CzXUtM1hdsB5XERPtOQXoSDsYd1dQtJNQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffGrgCRA9TVsSAnZWagAAYIQP/iSzqW572bD2ldfEGlu+\n0G2FyJ8Pmj0IQljaY4q+v07VWTwJSyT6Pst6Li0eKdXBfILrzmW/9NElT8eq\nPy1BaFDtwNQt/UlX4dZ6ElNjBFNL3/UJGBoVt2C/Mi6HFdR/J2ydSHmdCIlT\nZkaErFzmxQuyFHOopApLk4Tqr+fYDBpUD/dcD8v3iUJ64mpaAboIKB3s9J7z\ntbpJX9xN//pl6FpfXSQO4DeUu0MHYRHU5UmPWngSfrkQjH+7eeBa9kpXaNE/\nYH+kW2/qnPuqg2nE5BkAGCzwe6ZJC5qJkRiYOB0widVXB9wPsOnsx3AngkAI\nti1tACuYroQxqH8WWPajYYJQ04eRTAbyUCOqHllja/35d1Es5iQZVnVIzYZo\nrAAQzs7+CCEmML0vjjM4JUAZXKD5ABKkgJxOm0FqLUS2YCVwwjeJlWYOBkex\nm77i8B+gSzh9ZDso4TegBBTOxYDZqlefyGMvktdJXmIEGFRAousEv5y/TZxI\nTfkOg6L9Xtsdn6VQeMIpCz/sHAzvEqXA2Y6s8Zjq+3y1JVmZHHiUaRdvS+HJ\nP8V+XzXKzHI7xcqkVFZ04H1Oep9hbwsiJjGycRiKQfdUZhZeBidjXJ9zeQD1\ncyR2N6bDQHKkdVS+wSrjIQjRCzyUSxDR2rQ2DFs9vO8mdMbKq4Oej09P/g1i\n3nn4\r\n=YPtI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"d4716b524368298d01c6893d48a3fbc160cf24b3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.0","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-d4716b524368298d01c6893d48a3fbc160cf24b3_1601989344453_0.44288785681236753","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-9fd1b9ee3d37b1c7a0891db5027e5b47777ff2e7":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-9fd1b9ee3d37b1c7a0891db5027e5b47777ff2e7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-9fd1b9ee3d37b1c7a0891db5027e5b47777ff2e7","maintainers":[{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ad797dee54463f1b6024d3641d53b33e2666f329","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-9fd1b9ee3d37b1c7a0891db5027e5b47777ff2e7.tgz","fileCount":9,"integrity":"sha512-ZHhWwi284M/RKOssHtAaf3WTV2V6v0AqpBV6Y07Dn0oWqoSfQqcLGm5LG/XxQCII1X7AnVHHl6XQa+eSeEMeHA==","signatures":[{"sig":"MEUCIFuFYjpa59VWnFw047bvHtgIG7c6HCIj+wRmwDDEr/XHAiEA/Xh6fKrcgwfSD7PlAyrjyINk9wweGlmE65fvbXJYlNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfffbiCRA9TVsSAnZWagAAa94P/RnsFzafdCkc2F6yCJtv\ntiHaorOocVLFW+LVqL6xL9hlCKs9aHd8uZUnhhZwgGx+8VgsU6zVXWQQ3aLc\nI+WppDyoT6kYO/5E3RcV3o0c5SwclR4qgDT4IeU+jXDXmnAhmwZXaN1mVSm7\nwBV+sW5dwzKAVFGMdcc2d1iqJzvKEETWKysm1wnt1JpAoGj6tndBLlXiJMVE\nJwNDCdjxtzUeOzWUoULpjN+nkJcN0PhoMpDkvHfWOxJHK5VeP/mfg0JCUqGD\n81FrKwzFCQThaGqk/KwnFl7SiYzh7DJuwI7owL6ELw0u0b+c7LuY54N3d7jt\na53RXP95fhXP+PTmIHmVVIQhkPL68GCHF9BWv0Z0w+JRt8jc1WtjVs2fiQ7P\nV9ZT1dUnAIjZZp8ojGVSakGIqj5k3AhJDsxMIf9hccaWVaJzb9VZW03CXqk4\nW1uOdD4tcpgdDzYjq+HD++EvH3xmXQfEXEPJq2kJST1bZq8AfW+QuLB+SFD1\nHJiv6k8PpjUHufvP24koDuQTGScuFLj9t+2vARLVOfNOH8nvBedVoXU0b4P8\nxcA4UCwOP7DhuqyIUStbEl4LaSzn0j+TAEdC1qNi+Vmh2KKJJHpNQ1iWglqG\nUg8qz4ZJVOG9p4VBx56V6uu9YL+kFCpq5M+YSC8QO4sssCHLSrlnjk/C71Hc\nfhXZ\r\n=tv50\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"9fd1b9ee3d37b1c7a0891db5027e5b47777ff2e7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.161","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-9fd1b9ee3d37b1c7a0891db5027e5b47777ff2e7_1602090721955_0.11798971091179755","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-8611b11c462a16509daaae43a851c466f62a9c66":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-8611b11c462a16509daaae43a851c466f62a9c66","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-8611b11c462a16509daaae43a851c466f62a9c66","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"90c7df8b3e195e20992278990f0bd32625f7adcb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-8611b11c462a16509daaae43a851c466f62a9c66.tgz","fileCount":9,"integrity":"sha512-s48XJX5geLnVuIGXM+Y9IqhlZQIGOuYqDyY447EZSyEWVICGME52qobjB44YIyNjI2yBYzLdAp+v/LQBj9o/sA==","signatures":[{"sig":"MEYCIQCfa+Bv+Xu9vdxxcDdrf8a9sePLmS8yZugKXgTUC7hdAwIhAJuBwFnIuZDpBQ0Vq/yAgNd74Io1vBF47Mfe6p1G0+81","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgoyACRA9TVsSAnZWagAA1r8P/0YJdYFaYHZiIHMrTdRc\nE0x9b7LS3wGpW6/XSFOz2Ae4HaRTjUGhPKFLQZJhjIc4a4+ffFcyuDY8aKqp\nMtZ72kpVrxL0BcJYuIAiH04UGYdrGB1+ZObHZaES4VdmRnlpp1aMw7vsqIue\nlSu7XFwAD9uDCv2u+2/c19N4jXcTzlYUv73docnMks9mo6EYb2bvpmUNxi+6\ncT9uhefZ8NFahnEFfik1tKtIly4gmU4tZTqL86C7fN0soEynOxeKa/XPtJJH\n4Y78RzIpf/5nhZsPRxy2daRn12v4Gg1pxEil/9AUVWgoTZdACRzaou8P4Lg7\nVyb81JxIMRMMMDHm6iNbpA+tyt0b4WeQjkayjEnIQ1eaXVJHhmXYp1hoXqJz\nuZwfHkWSboy8K+HV26EIlPzfGtBbYJ1bH0jJpAraHzAsST3uK0Wr53mKMZHL\nJtTd7L9DcjtygbNQ2b+5nEdks/eG8hbNAlk0tw8JIdbEDvpm5xhshuu26Zd2\n0ZD0jZBa4DfoEkHLZ7zdL4ES5c5c3Dswb2yiFfR2vwClI3spi3rHxlcOPQDd\n95oQ30ZJVIn4t0dtva17xZEGoaKjF7saKuaCNyV8VVd7fc2uDptOVSTrbaa0\n0c1bs2z40nUC2R07/tSFhJXhjT6hBb/fcH2C15K375/eLW26UxKoKCBLSTT1\n/YF9\r\n=+1SU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"8611b11c462a16509daaae43a851c466f62a9c66","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-8611b11c462a16509daaae43a851c466f62a9c66_1602391168097_0.9419367394084035","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-da8582ffcdfdd6d7eb10283e3daf3d6f957c014a":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-da8582ffcdfdd6d7eb10283e3daf3d6f957c014a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-da8582ffcdfdd6d7eb10283e3daf3d6f957c014a","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e0f901b7a39388b5f4aa55ed882178969784b626","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-da8582ffcdfdd6d7eb10283e3daf3d6f957c014a.tgz","fileCount":9,"integrity":"sha512-i/kdLTRrmtsERh+HtfxufLCtuAOhXeYUV9WPTsidSgO1Dme9k09x8lk8ZeuDzOdhNqrktVPP1+oOpKgm6J+ZFQ==","signatures":[{"sig":"MEQCIFCx/qPEA2Pr/xtaIWjknO2W0nyd7TWWp6y3bPy8D+koAiAGiHUqFKMAI7thRJfcbhnRGxL297tbW+vmfDojuSxjww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfg0/vCRA9TVsSAnZWagAAvOIQAJtnId0C9XfuJ2kGlwHp\nvE6Gfe/28wz0pjXeiXnWVqjcF4KvtWpLHEy9MQXXbLKOFdC5JXNllE7zXMZZ\nGvl4L2ho/HhjaPeYLLXhV3wS5626jM/UkfRk/Pb8FbIZkMVjCkcJ/4N3+x03\nnmdigab8jJqUP2BalVkcUuljoolcyfQcJpli2iAJ1ymSIe5OSgLLkL3/nQL4\nY/Ucg2bUC9qZ5SXmBtn9yr/B5p1c96YTSyh4aReOU9lVO4Edl5KOKAPGFjCs\n1dWWUdtEtZUGMlLe4Dt2h0nxpL7oX6uWUKnS3dhS5CZb+EYFN0OciVFox5YH\n0MTgZbktcLlIWTiCzCt4The6R23owEFodA+5bD8QeAfqJlNMxwQpsJUvLVIJ\ng4JRfb7b0dQ8KET0qR9JBdOk6ERxqtqZ1C7ENeDZwhyWcJ9l72GyEWa+bFGh\nw+QbGqWqvmPZL9NuQtsHIKNK9/xFLZw7I+08WDxg0dbsQKnfi/uFCOqGVmB/\nvPbRKw1WXHiig3ZTynGPfU05qoF3JvHf3hZotbbAf9gjs6rZ7DvE/fszKv1Q\n1dKgtv+OO/UjRZvMJJanr21drMNlEJEXwtTPD4aPyx/vNuPzSYi/BH+XjFn1\nIxFb63Cnx3/6cyWz0y4HZeC2IAiU5s9VRG3XiFCpeee4sCl2szRokpf7R0E8\nEVxe\r\n=/H23\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"da8582ffcdfdd6d7eb10283e3daf3d6f957c014a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-da8582ffcdfdd6d7eb10283e3daf3d6f957c014a_1602441198764_0.5623086115907061","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-d5aa765d828f3a0c4279340c13d554ad1c0a6449":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-d5aa765d828f3a0c4279340c13d554ad1c0a6449","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-d5aa765d828f3a0c4279340c13d554ad1c0a6449","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e46e0cce5df189b956b95c2f71455d9beaa68eab","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-d5aa765d828f3a0c4279340c13d554ad1c0a6449.tgz","fileCount":9,"integrity":"sha512-Q9TytzlppoeOhR5mFIbkqs/NNf8+kcduGB9Mu+0fiOWdCd31VPVUG1oLRz55tRbzZ6Nk7vib+Cp4JwRSM8wXVA==","signatures":[{"sig":"MEUCICL5XMfBs2paN/Ygr7CBMLaq8eypq8cZkm8lPUOitlgiAiEAscU5HGxy9phSo8bzKLsh9Q6ejoxDY8ko/y6KPwtx+C8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiZltCRA9TVsSAnZWagAAsdUP/i9/dcSUlJgALFWwiuLx\nGptVF9bXxvsdou0QMI2GobVUssm54+BOL+1B/V0ClI0seMSPq3GSppQyQGMi\namf4B7onuS49rlPq23YYMXAiJWSJzGoE6smN5RK8Qq2hfmif4tVz+j2RrpJB\n9DxQn/mMTfXFIpM8QMd9VHHlDmeyZd7KMaXbo9iWhBHmQgRC3TV+oLM1+CL9\nucToPPG1QACBQHDZQTkbCrMlwwn40RcHVnCR6+7/gLCzj+0dJWQxRifCP4tc\naDJvABG6eZW2ZFFRPc7zPy7WjTGNvRQpLQ3VvwfKuPyQSaPC3/4E1VYJHeIw\nXD+GCHWuoDkyitEILqiDjNAk+KLPHhyPsq79xSZDiqq5SKZusd6tzjUUchx9\nF0qM3I+xh5jwMmg7hzicduJx60uNnH9NBGinrcFDu0xtXafvVTTZyfXpF2B6\npC2Zo7oiAjAdBQMNGXSEpMTOcjiSgGrMBj+PyxDKPDv71Il1g+mpBr9vK6XA\nw6rDG2HrHswA64tV+F3UfgQHAOggWQ5xCSEhfthpDA/Hhcoxnu8FNhfkeh4o\nfscur4GJYiLLURqurx4OSQgEuQIypzAyAsGVs52g2WD+bp44LwvN82zcgGdE\nblRctfN7uMDA+asP99uMetSgKR5t+L/nTJZOxkB7anFjC2e6GZ8LZVbfVMzc\n5Zo5\r\n=QI6+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"d5aa765d828f3a0c4279340c13d554ad1c0a6449","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-d5aa765d828f3a0c4279340c13d554ad1c0a6449_1602853229447_0.590663960518623","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-e3aea53b7cb92e914a72d2bd87fb07ccacb6f2fe":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-e3aea53b7cb92e914a72d2bd87fb07ccacb6f2fe","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-e3aea53b7cb92e914a72d2bd87fb07ccacb6f2fe","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"16c0bcc38b701559fcff283769f48c405b6b32f7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-e3aea53b7cb92e914a72d2bd87fb07ccacb6f2fe.tgz","fileCount":9,"integrity":"sha512-+dZRBS9dWJEad/1WRjW8nLAuBrNqv6IsTpIFNvEYLBjDLQr59WbqZA2MQ0pa6i1l3COyOkfWvjkx2Y5S4LjPPQ==","signatures":[{"sig":"MEUCIBiBEP2lpF6unRY2fLNvcrq65wrio7dxOyBI6/zPKrsHAiEAxb2x0pcnQgqvWBWvnx07AxeGp4KOMW6+ENvuHpHUNiw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfipqECRA9TVsSAnZWagAAWxIP+waIcc0E3MEJBTGoVfFX\nPZqHc6TrMgMuvOik7PZUWohW8fv/wt+8yiBt55ewV2J+bEB95D4PHzV6gULS\n4OHWaPm2V7axo204BPB/AsM+K4Zd0jhp7rc6LgS2N71B5OXAYe7LzTqMMphJ\nFbTgXWv+LNMg5/Q5zk6KYYRVuG7Oz0kouyFX5oKrW5JOsTi9YElCYCtF+pzD\n2KRV5Vk+CTTSxovAw3s9E4VwI/JL23jUoB8SvYF7zNn9wQdJvnqE63m6eHFW\nNui+oRpNqNolovmVkAdWOHuDSc1TPA4xKbKGJMry0iVj4/Irgmo1AaykDmaI\nlwpJqDYkgt0JL/iObSY5ClBkQkOV3CRcQ66/d0XgExr3lEsHZnD0/gVj++Dy\n6xaJRDunS8SpVW/cNV15Mw/HojBx6AmeKaiRTIRJo+3BzzdE0QS+yuOXOUIh\nmepLzMncEaa3Rv7DFU3T4RW+C2Ib2A53vPJQ6MncvkN9ogvPGx7F9Kr+64VH\ndAPKOdjbL3XCOLDRR6cytbBciT68yAEyV4SHj8MGxdt9PoaJ7g8DyVdWLl8d\n7lkuwFG1wM1JiW8Ft7L+KQS3mlF/gPC99bFrvuxdXkMhCzYbm3JQrfaEURge\ndCwJxcrSbDgUlSyO7XJJ1ii0A3TQ55wu7GNyx1cKlYILyQucETP/gWcsY9TI\nkZnw\r\n=NpVw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"e3aea53b7cb92e914a72d2bd87fb07ccacb6f2fe","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.5.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.2","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-e3aea53b7cb92e914a72d2bd87fb07ccacb6f2fe_1602919043809_0.5822916027260339","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-0d85dbf28e473ea1d3530733ba48dab76b330b0a":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-0d85dbf28e473ea1d3530733ba48dab76b330b0a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-0d85dbf28e473ea1d3530733ba48dab76b330b0a","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"abad2e17c5ee7c3a6d9c1ad2e65e92e72e1888af","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-0d85dbf28e473ea1d3530733ba48dab76b330b0a.tgz","fileCount":9,"integrity":"sha512-8Q0ueF8mcX3bTm8zUfZ4zOIsavRvZda0uFmOtHB43v7PGjYCyuaDL1iPrkxTVmHyTJcQc9USjhtwt2Gk7pT9XA==","signatures":[{"sig":"MEUCIF79x3y9jFRbUtNqehdilGbnGPCSckiMBrVacqxNldlrAiEAqDa9MMpcRDpEaHy76WtEOEd/uTQ4JcEag9OY2EIOUA4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjaelCRA9TVsSAnZWagAAR0MP/2nYx4CR/185bXLzW85A\nyUGOSzQG0O82Y5kL+Y8i/3HEG5BQdnoYgjz9EnP2sXg0TpZ0lsqO4E5o6YGv\nInH2/0KLZ1D7tJp69hrN3dnTkQbX66a8QLuqhbaZBpYM444l/xv2x7ahk1lr\nZ1fiG5bSVqB06ja/yQ+/+4Uc+u0ZHpMp6YK5rnAk8L+ZIDDcCkCA10nWvsdR\nBAE+vYAcVj/XaxUWwNJzv6nwu7p0Bbm19UlUd8k2q8HD6cB2Dk2sDG4oq85b\n3hsBien8s1q8LWRhXXSrPr6bQpnuLyY4b+0ah/8Ctt682jQVfnQYT8+BI7r1\nQ1FZ9u0S2Y43dA6iWv97DTsRQjFEqFvXkrIIP62HbCJTeT6dDDqlbXcg3Wke\nlV0hbVo6clbd1eq2MqvvrP53ahvbVZD1YsFR0IkY/YPPgSpiqikSRifiUqNj\nLrf6IsniuLc87Ad3AVUNkU+qfV831fK/XOT2vnYGuq1YnHqAvdM6+glNOiIf\nRKZK92pK2IrG/IaLnb5ggL9WvTxW/iv7jEoxRxAr1WQbyaFHjau7Q2JBup8I\nAZjmYp1ux7q4Jq4JgeE6fQEXa8TZ16qL4sk92igRXXwrS5B6z2J6svh9M2S+\nUu4GPHUgbY9I4NLAOg6nGanTD5bUwH/mg0S0I/++US0rZ4PuBkA9EOPREgvu\nKwUV\r\n=g9mJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"0d85dbf28e473ea1d3530733ba48dab76b330b0a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.0","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.14","lint-staged":"^10.4.2","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-0d85dbf28e473ea1d3530733ba48dab76b330b0a_1603119013168_0.8262853906308298","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-a9d1ad35045714c0a4df22819fe3d9bba0aeba8f":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-a9d1ad35045714c0a4df22819fe3d9bba0aeba8f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-a9d1ad35045714c0a4df22819fe3d9bba0aeba8f","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"23d007fa0d40ffe5b0a797ab215312df209d1201","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-a9d1ad35045714c0a4df22819fe3d9bba0aeba8f.tgz","fileCount":9,"integrity":"sha512-yDGCgZ4zP3fJBdhr6DGYPr/t//u9W9REMqy94+Q2Asl2cNgkTDksRTi/8nybzyk9hgmWyze3C+ysVo1mRNGv8g==","signatures":[{"sig":"MEQCIBfxtrkC6Q+60N6ty3meb8KlWlCGy9/hUA1rPm05uEmfAiAXoE+Dz34R2E2Sbx84DCKdBpiYbWdKqYwiAkuGJec4vA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjpJ7CRA9TVsSAnZWagAAS/YQAIsp2UaqZog1YmK9iG8C\nkEnvRvqpCaVZTVBpEwKP6+pK/JW+N5jwSPY1VS7RhSAf1lS7+iNPAT+VOms2\nzDDUn2i44ukoY05aHyjPVcp85CaVxQDnTKm78ncJP5s8p5hpktXkSZ2wCJh8\nJtGntPqC0WHk+GtOuUEMKi5x9uFzi2IgAb6fXqYlPyD6AqkI0ZjIoCtb38iM\nZDmGW1mhjSKGoPu2AVuAxiasYzUP1h8TfhWh4zaLTB+nvDnafSvyW7pn2IrG\nACUxYWaL+lDxhx/BS4WAh3qeOms/8eQgW2K7M+LUIS6SYXaEjPbxEt/GGqJA\nSDBsGS35QQ0Xvwx/E/OgavqHLvVAwwGy89Pt9eoruJSqu81vKeyyYiplZeXN\nCLEP7iKPB6ak84Ao2OipwEfVq1GjDL2o/eMQG3Ya4Pbsm4MfgVHUJSrVfe0o\nB8FamZ8J6pied6o2/D9UxM/DOAqP7qNzWijjQCEri0dDm0KU8C2AnXkQpzsj\nGPEa4VYjejepS65Du0u1tHW1HCjZgF2IFygS7kez8JKxl6X3LDnMkZNtRFFJ\n3ykJ+YW5Qqr3oxNsGe6FFOKtRh6I86gFafnLBW+0DBd10+7v6inBGk/0TGi1\n0V1YZFqZ7kayF5ApYp+QP65ZfzkmZl4doc8MH8vtIJa1Mef8JDbLsZxSZSLB\nM83L\r\n=6feR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"a9d1ad35045714c0a4df22819fe3d9bba0aeba8f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.0","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.15","lint-staged":"^10.4.2","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-a9d1ad35045714c0a4df22819fe3d9bba0aeba8f_1603179131027_0.8975660861984611","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-5cdc350ea3f8aaa0765a3f829a0c6cc97c3ddc7d":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-5cdc350ea3f8aaa0765a3f829a0c6cc97c3ddc7d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-5cdc350ea3f8aaa0765a3f829a0c6cc97c3ddc7d","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"95a251dee613296911754d00d8946a2a053b6e61","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-5cdc350ea3f8aaa0765a3f829a0c6cc97c3ddc7d.tgz","fileCount":9,"integrity":"sha512-7edjrc16OHz27dpLpK5g35caTRWu2kLv3JRYk3ZGvRDiUP3BRSC1Q2Ue/N6TmY8JTbjKcnIRe/XTOnT/Dt5q5g==","signatures":[{"sig":"MEYCIQC7nRwqoyGkDsTQQNCDz1BCDEZhWj9WuAQi/Krd8NaQuAIhAMgnInjIz4YU03qI/qOihGhj0fuxNqgZ6LX9DrsvBX9r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkj/lCRA9TVsSAnZWagAAwnUP/0ZO6dGdNW2PkJ1iYLrs\nI8WOFnzOj7V8QOztqsEG8NB80PwAHtp+WaQ5JEpPcsufAnOhb6dfMq0qYtSD\nciSsFxSVYlSszToR1fdSaYt+htct4i1KvGUnOTzk4hSvU+XLwhlCoIaeKert\nXlE0WOf1vS0xxZm7eF2ZpdQdLdsg1B0uxf1coO1AFwOiWG3f/KCORW5HUBF2\n8iVMRXmLVqJPKbclgL3NKXLeJnjpfJyf1AdLD7eGaYTt5l8tOS3hyH853TCg\nd27dD8WX/e/IbtHkuRoTY6nq7Cf0vcOIVIxP5PPo8/wF+GxybCjscQiwY0Ce\nLcR4X9GLv4ErjRbvCGfhTvqOrojXzcqQ9qRoaNUf9ushqQa8hVyljinuvQwj\nxpuHRq75x7202cw82t4UsNlSzbbl2hHFXaV671pqhHwJODjZjGjdNeCdWt7n\nRTL+5egetadxfguAXa+9/dFkMCky/aG3b8ulejuBZp/OJPU63d/7jlFAglW4\nr8H+uhOSuxBGXgtPxLZUl1EtI2J7PMfS+uxYr8jv7JCOgGdHVGmUbtItJ+Eb\nAS6suu2HivQEE/rgP6C8pJ1k5syLoLUnKutGjZQnmAB6tQKyIuxrAYNn+X4C\nDUmrm59E9tP9D+HOQpQ33UhLeiViv1vwxXTVUAO0MQ+uQvU9u/Rt2/mhTMoQ\nfwC8\r\n=nr5k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"5cdc350ea3f8aaa0765a3f829a0c6cc97c3ddc7d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.0","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.15","lint-staged":"^10.4.2","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-5cdc350ea3f8aaa0765a3f829a0c6cc97c3ddc7d_1603420132508_0.46966580848230044","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-505a4008538d34253474715802cc778a7ffdab93":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-505a4008538d34253474715802cc778a7ffdab93","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-505a4008538d34253474715802cc778a7ffdab93","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f6a67b802b49ab0a473968f04b0976010c680f27","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-505a4008538d34253474715802cc778a7ffdab93.tgz","fileCount":9,"integrity":"sha512-bRGvajckoUqvuCv975WxnJTm6pzBKSDGVjTHiR7+3NywBkSTwHDnFMkWP2PuC+P9efZy0HHgYxQQWP2nRmEFfg==","signatures":[{"sig":"MEUCIQCy2SOCfj2Kb+t6aNQwYo0P0BDo5dsCGru8Y+w/mcg6OAIgdl5qkht3es+neawe1tOA36u4sp10vDbF/91JJGW73As=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkqZlCRA9TVsSAnZWagAA8u4P/iA7ToGz1gcNQqZSDbOr\nXHhwUHpCk60lcukEnEoXF72VTvcWbv0Oib3iAlFg/z6FJ0uW+q6seHHMOdEp\niO5gLiuMAxXX+VudrCMJaetlxEDr2t+U42RQQKmFqjGL6bzhFHDMWKEhJLoU\n6RjkUhRfUCKRd/diZmVYuRDxRHh3H98yHt4oY47I0IyXwehV8uhzXbEXPP/E\naH98k/BDT3T1t1XgSIn/SML1DnWAv0EmDAhdHBoL3kuHQeEdT667/rd4b22Q\nEopesorkKnZYP2W0MuaQ4slYb5NtR8S6fB2TGHIWJi+rZpFG+abafWrdAGiS\n4LgHMs/O4UCeShNlw8ypQgnqOuF/iszPADPutP3yaUOTAEc2uojjEx98Krfc\nI3fR2xrykclrYQ1Y+dZgd6vDF6tHH4ENyTHxQUOyvePZyXf8Hziykifci6PA\nI0p18HTeSacFXBbiGzsHVQ5yA0kq8rilxRHy8Z0ZSbZkRnpvERtwBcyagdOM\nF9zjnxmIubjCW0sVKoUZlg0gdi34CTk1Uaz7t8JW2JB8GIMW9V9KDW1xEsqS\nMfWrV1mLejD0721gfibOFyUHc7kdg463GubtWDV006IrfaOVwGMwwB7lVsgE\n6KOfsIbHln8LXPXkN/8H7zFHoZqvFvFRfpBRCN7jz7H9jLzO9htrornHAvyc\nITLn\r\n=H4D1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"505a4008538d34253474715802cc778a7ffdab93","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.1","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.15","lint-staged":"^10.4.2","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-505a4008538d34253474715802cc778a7ffdab93_1603446373322_0.6061868213679447","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-73c3930f1fbff4a42b4dab2b489ecae85d0e978c":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-73c3930f1fbff4a42b4dab2b489ecae85d0e978c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-73c3930f1fbff4a42b4dab2b489ecae85d0e978c","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3dbab46edaa3f35ee07bf239be315f53c014ac54","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-73c3930f1fbff4a42b4dab2b489ecae85d0e978c.tgz","fileCount":9,"integrity":"sha512-OMDaOaBWugJiy1SDs5N+NUOKTJqj0nJDb+e9ykUwAEfkB3c039L4JjPKYAvk5jADb/7BRJUWYdAqKzyip+56Pw==","signatures":[{"sig":"MEUCIA1rxLte8Vbdh3/dgEpuGp9YXSnt8AbES3LtbEVfc7nLAiEAlGZQDHCnkGftzQayG8qznypciajSnM9yOZbi16uu9pw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkwpXCRA9TVsSAnZWagAABMIP/22Rztos80tjuuS7L5Hu\nP3vn0dnJLFqa5rI6owdQ9LjDMVv/I+O/lpQtsg487jzb3YQxflKAmUbR2fhZ\nZA4CCsp4FfvaPCIyyJX6Mk9MelN2VXwMEPL7qymikbKlXmNk3I1CzOHaPOji\nOyN7wgAlkEv6uEib+8+xWHHvUX9Cs6z9CaLa+4C475Xy3HNU45Br2HLSsGbw\n9Sd7jT9MqqfERX9A5Lt2AJzEPDdjiJ+0l3L3HBs/a6KO1WC/NcgL9pV1YlJ5\nnxqi9vI83udfBOxI4OVejX9LIcQxDTxEKi6P54kCg9Iqo9/hOLl03scJ6Tq2\nj33UtuAdMpsV6bxXQAIJFNEovhZ+kLXVj9V6LDZo7D6cyNpXjhTftS6hg10s\nlWL35q72zHZiCTPrm1ZTw4BjoKz8qqUmcgtzVnAdxXN1amRrDaTNpv/jlo4H\nMeRdi9FRZ+abdyRtKD1kmgpv8BV0fzvmBraxed67THhWPd0XFOFgykpXwqJZ\n4/X77l2qEbcvzPH5b4qhjj/KTZM/XP2gdbuhpZebmg1djadUPMLVllP2w2EG\n/jvo9ylCsu0Gotu+Dh3dWb4IbbDVp1pWSF3gUino/gs8WM4OA3WdrEjhcbU7\nV0Q9XPI/qFIf2Km4D6tos5XBOmoyufbSEnArsz7IofcZDJJRcVRFnO2QWcxb\n2P1J\r\n=uBS+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"73c3930f1fbff4a42b4dab2b489ecae85d0e978c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.2","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.15","lint-staged":"^10.4.2","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-73c3930f1fbff4a42b4dab2b489ecae85d0e978c_1603471959451_0.21898985786217628","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-76eb3699ab8933744af21fdd3b5562aef4040c59":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-76eb3699ab8933744af21fdd3b5562aef4040c59","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-76eb3699ab8933744af21fdd3b5562aef4040c59","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"86456481a6fe5ee0327bdda9fb484d458763dca7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-76eb3699ab8933744af21fdd3b5562aef4040c59.tgz","fileCount":9,"integrity":"sha512-xrzSyVs8QifdEdTkxgGiq7Jne73STktDl8TVcLlqGxeyLYLlkt/i6XtYayODRu9mRBd2eIlLkundJYc2ft0FkQ==","signatures":[{"sig":"MEYCIQD++qvMA5wxFiQLcl4NbPExYfds00OVaC5xa37oi/kAWwIhALK5RaTlutL0SUgLBmXI8UUxs8djFpF+t2ZJImou7OJP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflxBUCRA9TVsSAnZWagAAfeYP/31dGaaDU4yavYvG1WW+\nFVuTbFn1NtJZSHNvGVeIMvSFvLp0oMNnXuPViQolj8OGGjd8fe4n0K/u14IP\neR47qTLWWdEm4Mk5zSvt/X1b9dDeJb6L4jSAHRe56h0O00RCRa6vxXa2kOfO\nZ44iRdhzQGEeyBE/NJXPZOVE+JKHXMOJafgp2ulNsganmcXPNKg+Vee+hF89\nSKP7xoOO3wYR7CskB6gm8GLtR4QG3+wifd+r8kbCgV9h264mhULoLiGPpqtM\nk67A5J5g+Qyuq9Zrh3CXVnVUfsjulM+Y0+dNcqbN3Vey52g8Vbg1icm7gl+s\nQOPgWJA/RkflLQHIrN6K66BjHJNTNrMYNvP/eOzzYbLG9r/eUdvu4KJmcn2w\na85r1X6JXutz3WzcEFMBRDPpdAXYFnCXKIQRcwU4RwPLBit7ArploI2hrqb+\nYaKeM7AGofKhYD9NuDyvJ9iltL2+kSgWQURJxLffSSDtYg6pc1hj8s8YEory\n8phjNx5vxw8AwaM0OUnmTIfLk1BZm7ZAiqu73Xo77RX8o6qP8tcJ9IFcMoSh\nUaqJzWP/RfDixHGZhV1u1jsUxqb7x4SKx9xveiSHUk5AD6E2WtFT8pPYe6+f\nMhvEjCMqz3l1P6uEae1z8LIoZkHsLfVXEfjua+Mo+GQlCejHl/PEIe2SHpEp\nHZNl\r\n=LE//\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"76eb3699ab8933744af21fdd3b5562aef4040c59","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.2","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-76eb3699ab8933744af21fdd3b5562aef4040c59_1603735635946_0.6422155338368412","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-a09fadb4b74f75f2860973152c679e6a237e1611":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-a09fadb4b74f75f2860973152c679e6a237e1611","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-a09fadb4b74f75f2860973152c679e6a237e1611","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"13e47274a2ac5eb5504383f4540010b3ba66f9f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-a09fadb4b74f75f2860973152c679e6a237e1611.tgz","fileCount":9,"integrity":"sha512-h38rhkDhpXA4LAH9Fv0EbFYIgfG7GKKhMukujjdmuuO8+qGKdwh6gVZQ8D9YVi/9YGZhK5dL9VFoALhvVDZMkw==","signatures":[{"sig":"MEUCIQDndVrHCR0I6bjCE2Bf8nAH0Neh/DOvx8VAizOWTmKQRwIgAU65sNqMSGa5k2IKKzlf/zjIlzHDc3cstFN9/YpazkM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl0LPCRA9TVsSAnZWagAAfUEP/RaE8kUq6hmvupimRwef\nEi2dcHB4ELnL4SNJbXOz1Jw2qUlY+zyHZEHTNPH3iGocmW6nCZm7nZuQLqob\n2nOwSKCdU7fL6SXPKeQaf28zqYnc8Q05fDkDYQqHEcIj/PI1dOORWf4QS6mY\nKQRZ8ydLQrc+Ifcip83O7BDz/z+MXLeKg3uVxvHVz0iGsHSq5ZeMTK+tz292\nTTuNRJFtUngzNiPpWs+lnizq2ulgifz7DBY666kRmF9vbpGPCHSmc9rf+lgB\nkircGRtezD3HcgntE6MOSl47ItuY51sKMACOs4oU3ITYanHF8HTRWUtRAPXP\nhEiyMXONrnh3Q5bBwHPZO+KQrg9YpE+qPh7D3Xvaj5sr/DaFf8XTZvY1TqOd\nXqUvLKEBtwM6pBmGkYVYwHvifUlulSN+3kKyhUM02ij2gZvHowxOoCvhNMXG\nlibiL4asFsAP/rGbIYykTlLc/PK/bSBo+mqf4nAtBGcCrct2wjAw2GdtTgIx\nDfDy6vrwNpQqXYP2EVpaqkUTuKddO0247k8mCkjkGkvfa9/1fhvxAOZpqxOu\n70BLZZK3vLmOt+a+N90n77TzSgJsaf7/NaH0PwXf83Z2rjOT8NSZehvlaeJh\nKQKkA+BF+HkoCop8evwNmjP3j2mmG1RTR4kCymboiexEFs7A4bLqTFRdn09U\nmxoO\r\n=FBE6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"a09fadb4b74f75f2860973152c679e6a237e1611","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.3","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-a09fadb4b74f75f2860973152c679e6a237e1611_1603748559056_0.8106859723747277","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-renovate-non-major-d553ddc92c1e4d16f6b27140f6ada2bb7886ccbf":{"name":"@balena/jellyfish-assert","version":"1.0.16-renovate-non-major-d553ddc92c1e4d16f6b27140f6ada2bb7886ccbf","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-renovate-non-major-d553ddc92c1e4d16f6b27140f6ada2bb7886ccbf","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c995a44661305fad4067de2e3c6c6b09d8751a1d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-renovate-non-major-d553ddc92c1e4d16f6b27140f6ada2bb7886ccbf.tgz","fileCount":9,"integrity":"sha512-7jW5WzWNPa+vFlZdbKGk8I/ybMdD3Fs3drcCvrq7CMwPI+C+fFb7H5yOOIPDPjUuJFZDOJbF5ep/TewXUyRPxg==","signatures":[{"sig":"MEUCIBuWGlY0BmSLDJqyYPiAcuN7O6z+gaHxXqz1rh7Jdcc2AiEAyYNXQS0ska5zBOsm3OWIyrfwdHCb43uvTc8XYEcbJD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl19VCRA9TVsSAnZWagAADhkQAKHbOKOgxkcZI5LdW52b\nKnalO+SuoShITqsV1Z6/uDGzawzDtDtLhEMOyEMblM24rXtOVE0sD7BWYRrr\nwU0gFq4mwek2j5+ShXkZj8uOnysj7z3+zY1fHP5LR6pSdsHuvx2bXO8WVdh6\nhFF268m8fW0QSnu+png3olONBDKBGqerku4P678hoW7ljLiGx+NwGJg3Foml\n6bIsPWzVRgqRTQqp2rtwMN3DRwBlc03lRiQetW9mmgFZoIW+1Y3aoeeUPB/n\nsNYV38n+h3PWX3RLa708eC346vE8dhWxdI5bk1KYBmHBfSiD9xLuZohfHKXv\nEZeb5PLoFe0IR0X2p7EuSh8FSwkmKM6DEV/FDojKrrvcxHGybkMNlHaVwVQ0\nBwe1sUxs6S0N71BfNK/Na0nDLUJ/s8sIJPZmO/o2D1PakInKV73aD51V+wvV\nbw8XLETcqJvq8vWmAzNEmYqqwcNF9PtTXfHZ1O9wUNebvXxLvidaTp+24ndT\nGb0ZveN/Gk4mfykucOoJ8G3Cz3lYX/s8N8Ck6MYABMRRQYsy0ikwQrVEwcoM\nPczjwvfT4XXSFoirB7gKdhWAFbhandK3xq/MMjjHdWBwv7wSGi5n5CmpRSAZ\n3dWL0Qceg57qs6g1fBGeXl6dofni04KQtmvaiQ71M77iZnThrmgcmWHbXM2G\nuAYT\r\n=uW0k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains custom assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"d553ddc92c1e4d16f6b27140f6ada2bb7886ccbf","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-renovate-non-major-d553ddc92c1e4d16f6b27140f6ada2bb7886ccbf_1603755860647_0.9340996338025505","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16-update-readme-8c84cae2ac55d17b145b67aec34e360a047c71f8":{"name":"@balena/jellyfish-assert","version":"1.0.16-update-readme-8c84cae2ac55d17b145b67aec34e360a047c71f8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16-update-readme-8c84cae2ac55d17b145b67aec34e360a047c71f8","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"67ee1357effaa873dbd3f683900db6021c9d0dc2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16-update-readme-8c84cae2ac55d17b145b67aec34e360a047c71f8.tgz","fileCount":9,"integrity":"sha512-dxVVMUzBZ/JUhfJ2gR/x0WkTNd2RVF33UAKjoc089e1NySVQw9Pu+SErWyzOczzTEA8Kq5icGB2Afvwp9ZHn6g==","signatures":[{"sig":"MEUCIC0RiGcCcJoN28tOiN3h7uSua+REDqxXdI2L9X+q9ybGAiEAoSUYZDivh8Vd+sl/O9XSk8ITuZfJM2yF45jaJz+G/UU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmTSoCRA9TVsSAnZWagAAjZgP/0dMT6+9udRVLymocwKK\nH9fNVNrMpB+IZBUKmYMo0RoMdXt8XQ78IqAEqk4NCxn4dASoiHn0y+uWa0CC\nmBWEFxHmouQFu66V4qcOA/JtB6PA+D7SxIuH8IQSKMPkCjjRUwTiIHI9yUdy\ne927u9GRPEnReEDlJLZ2uYPwgKaajgtBr+8zSOkFwQ5F2Awl0ECvCpTkxWoI\n+JEmQaAJ1e3UGnbeOZEqV3cO6tP/DHpWnXFAo1M5oEhCRXLyXlfB/UmiVtjF\nKYmuu4S21sa1ewSJwym3a+rmlm7+X1CsNTPKBySFLfDhSSibuk+r0hlFhkxz\nBFyRqmqVLOgHlaaE9p7ps9fFxluk9eMX+Vvk3GYBk0Ftf9VUe8Z2NP6cYi3Y\nYzQlobVgDotv02cMSaYky5yuJTs0BgdledsiiK0nZAGEFoY7cX6Y2DAu9mcB\nmS19yyJlCrSJewzMllBHFmxgAnUmTiUiB16uPmMwQjEUn5yAXTaX0fqvKQV4\n9QiOxCFPxqDpRvcEaIVg5Hwi4L+G4+0gxuNL/ROWfrB41QUFR+nWirakU95q\n5d8wkKKqNdzy31rqit/sCP2UGgxiG/3EXO0HBzXhoXLa2kv/w4JGVrLF/Bj3\nKe2Mk9TfwK4I/OL1VIY06tTqJh8PQOjEDk0IP/fOZORM0fXd0afrElk3+otb\nxy7d\r\n=+mVG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"8c84cae2ac55d17b145b67aec34e360a047c71f8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16-update-readme-8c84cae2ac55d17b145b67aec34e360a047c71f8_1603876007812_0.3817333362122657","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.16":{"name":"@balena/jellyfish-assert","version":"1.0.16","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.16","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d96e86c56f456fe4025ad5b992882de613395dbc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.16.tgz","fileCount":9,"integrity":"sha512-yDiVYLHLOYWWCX1L2GHQzvPymJIUrn73dx5gnvQm3ALIKWZVylHQ5l42yst1b7Uq56sdxy3enDZodp4XVtB9UA==","signatures":[{"sig":"MEYCIQCGEydiJzg1ISd0j4BtInqZPVqHi2gVIYbKcqz/g4rEVgIhAJbQs4TsnZClIamNrSFQSsHBYkcV9REs68OvGZcPam7X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmTWdCRA9TVsSAnZWagAAijgP/2gdpPP7e8n0BzObNAC2\nZhNzKuHnLLDGNnmpwJ1DG37bNkE06c0pi63qJlF5JO+d81JUaVLcTN3DJtSJ\nJfPJoy33yjg8YkqJEvAxYF7um9rVZOZxsadCYrZCOcywO7SqOJsmZiyQG/44\nyKHfQH36sjSObu7vlk+02/gcMlyo4qF7ylSV6QiUlW4N5OSUWLEU1Fw4ZfD8\ncpYBbhp1IVEZRFv8KS+dwW5PwQ4Trsu0cGBRccj9QR3HtLefMq6rhL2J5Xkh\nJEY1CdD/Es2oazJY38mcKXv7AYHI1Pi3cROJynGKfLT+zQC9a62RDuA5+NEu\n7B3OZyuml7Z1sHeuaXab+bHME8TG7AcJ2xT3eQ5EStLAHvzdi4VGdJwjuw0E\nH7Jn2qWl6avC9+6Lv/z1Pa3OKdyoprXZn8zvNxi/GmraMuUZaTd2QwiPbMO2\nbcHsySu0OuyaHxyoym6Lm0PKLCAhI8q5lH+2Kt/N+gzl1fNIYyG6Q4SdRMXf\nrUlz7OVpatfekpl27neWWewzsUnsSgbcmfKTAc/iS92G4+QbhfIWMZCItBd8\n999gNxTvlhCecfcdn1ep/uURobsNASSWCqJpCyYViUTjYQSjRJQSbPtE9cRV\nZjZTFZvvVpY4tewpolxaOaA1B+UMv03Ow+DpSpaxI7aYDg2CBW+m2q4DnLUl\nbtrE\r\n=rpZj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"4a93106dd5affcc610b3c217c7f3ed11357af1fe","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.16_1603876253075_0.46442883512628175","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.17-renovate-pruneStaleBranches-4774369016220221427e0c65b071991151ce4041":{"name":"@balena/jellyfish-assert","version":"1.0.17-renovate-pruneStaleBranches-4774369016220221427e0c65b071991151ce4041","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.17-renovate-pruneStaleBranches-4774369016220221427e0c65b071991151ce4041","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7f964079a80a60cf5c9e5a923b7b9327fdfc88a2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.17-renovate-pruneStaleBranches-4774369016220221427e0c65b071991151ce4041.tgz","fileCount":9,"integrity":"sha512-1oowC06O5WdboQkInLDoz3++wvqWnuZ9mXLuFrBUinNirDa9KIBeonOHIVdFz7Ed7iymlB6JLo6729A3YDXd7Q==","signatures":[{"sig":"MEUCIADMGgyL6axdSYpKNWKg4uhgV+6mgB70fiTzyDjOUcKQAiEAqmHDurecCa7yz673jJMmRaOjuKJCJjpJOATaa2SkLtc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11012,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmWfgCRA9TVsSAnZWagAAsJ8P/iLhpz62V6CriIAfR4HF\nykYmwX4RK4w4GepOnK2VerRC7eynegpzrDoQXYhwU3hz/9T437bU19Xb2RMR\nZTkiXaBI9rOQCdNSCABa+/Uo9S3nA+UipfEZLOjSAi5JsnIjSzWm5r+iS9rY\n+wi2O76ZnFPBUlhxcS+Zn2ZLd2mIygyy80Cm7/a+BHDFctUcMFYx3GclCutD\n3SY+H8TxPWg/LmBCkGqDXfSwqn0GUHj9l7Y9dfLkye9cdEEMQBtuJ2UMM4nV\nihhuS5g/I6OkN5aMaEoeRxy+07VUkUyzW/fKDJeHFXa9I6IymopoQAKXn+no\nhhztAJnSA7AQK88K8Ndpd35IQxsi5WfK7lO05O42J6mdKluO5O9kbDEp30v6\nnrf3dW8+D8Ki1vizc45yAV97/k/ON8w6f3hQ/P6ea4z92hf3pdSb6Q6ZLyEa\nd+9vWaIaTWIXL2t5S5rzaOw3c7w/4qbfcZ/8TafQnt5wC8XO7nf7GDi0Tj4f\nY02RetNAdFnl1PZ87bgA2STMKT65Pq9ZWPMa8TMemV2aEVP6hw4ey8Upd2ad\nrPgK8bJTPHGX01uGD9FurVFbg16bxcprzetHQXwnYIHjj9f00KCaCoOusDqO\nOSszGl60LE1lw6pjwH1TnfdszXOApcpaB40kbFyzVsjgdB/+SHjTxJV00HQ6\nHjiJ\r\n=TBhh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"4774369016220221427e0c65b071991151ce4041","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.17-renovate-pruneStaleBranches-4774369016220221427e0c65b071991151ce4041_1603889119870_0.7519869611929939","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.17":{"name":"@balena/jellyfish-assert","version":"1.0.17","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.17","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b56069ea326f78338bc1aae9ede93b5ea3c5534","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.17.tgz","fileCount":9,"integrity":"sha512-u40vlbOB31TG/y+j+RZiYorosOk1+vKqWhfzstzxS1wFtLv3QhCj7+sRybxb44pxiHUoKP2DtY+AWVEtyo+LyA==","signatures":[{"sig":"MEYCIQCqkH+eXtcX+qiAnkER8fgijujK783SMwLktMKrdN2FQwIhAOZi6PjlT4RNXAJEDgwdPZObIFsaMCqHu9SXnWN4OBLr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmWiRCRA9TVsSAnZWagAApkYP/1kFHu4GntxWWZMpw/r2\nEraqiUcDWdStQ5AajPFxZBvlHEgzyDlfhX9HaFoZ9bLGZsMxgvhYllUxXplW\n1SjxLqxROrVOjlq6Fhmv12C/a9WLDcuuuq/S4q/8C1FlciEWVbsJWOlvZ2dJ\nl1/oOuwrC4AqwA7fMkmCYUo3zMfrCd/LUssOUVU60w2Xi5W2lzVMJwJvQ4KU\nLsvXHA/gKyiFLQHq4UJSQ51KttWbt4QgQjlCRiE5E0mlCdklcEpM7gJtZFuN\nP96XN9ItAvTPZlVws622VNIF1wXX0NVScAvia5KSUf//jkAJ9b826r4mSty0\nkOrRjsxwcvTPN/H6AqBwBjgP5T5Nw/nskf1ZkggUA0z5Y6lZltDkDCaRM0c1\nYLGh2jezjWRJogfVwmxSj0FaF6lgL+KT73mcD6Iuiz0AWpz/FkG95v1/NzJT\ncHJMmP+19riTdlHIL607+4dFmt/IGZ9NO5WVilBiIFTbDo9L4ucc/Bzoeepx\nvyeWni687oxNm8iITCOfc0debPQYeDn94+prHToLsYevtnj8V+9TQ4qsKi8v\npkyc/M0iU8t6M5hjx7fknQjgkJTl5h1EtnbPKlE9ac2ZaqQrVqOXMkmSck+u\nfNlpQoTKJyF/6irZwVxerp3iP/HUid0nPIM2RreLgEQqpZ2OGcMLmHEQzprO\nI4ME\r\n=gcjc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"9792826e1a48935ab7a9c8380ace9daa2c9e3cea","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.162","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.17_1603889297386_0.6010110786972962","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.18-renovate-non-major-a04bd5770d57913e5a14904e2f7136ce42266119":{"name":"@balena/jellyfish-assert","version":"1.0.18-renovate-non-major-a04bd5770d57913e5a14904e2f7136ce42266119","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.18-renovate-non-major-a04bd5770d57913e5a14904e2f7136ce42266119","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fe3c05fc773afa882021c31182371e257f5390d7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.18-renovate-non-major-a04bd5770d57913e5a14904e2f7136ce42266119.tgz","fileCount":9,"integrity":"sha512-yvbcFSm0MJW+rfZWFW/A+9j6u5MaFA4WQydOrQ+P5eGOAQn/sI1YCU4HEQsPqFBwF9rxSu1CjWna6VzTRkTnpw==","signatures":[{"sig":"MEUCIFi+O6rPHfjdBag06RMOznCwsfTgeU2JxL1+6OwU0eIFAiEAiPygOfM9qWQM9ZvUPaOlbfnKaRreV3C8CY/rgyKsra8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmcdkCRA9TVsSAnZWagAAvMkP/AjHQRq0rWApLTR79xNL\n8VLx/zCXBImdsoMrVCMnGdtl+UU62ddGKb06H19ujp5fAec5A6QBzM4I2Dko\nn3ncACJ0Z3hc1ft40LJfdr+FPUAz2/1s27auj13jSL5x3exT8G8kYPfR/w4F\nNHkMET6nmnTB5pTKKrvNRaK5SmD1XZLvW3HEI350RLGgTcolCnIhvSpNl8Fb\naCNPleisT7da8cUnp84K+agriAdiqapBCylRAT1YM3UkF5YWpA47dczEzDlz\n2sGVqZzVgh8tAOpQbuYN3DtLFr2qV+zMymAWS+GnDX3aYQPG0WYtxwaioIiC\njRJJO64RNMrnzvU2QfO3kwPrwlvFNKxpNN6+djG2vwNTqNdg/r4VNpjmTXHS\nzqdtUMT6R7bjZouU/UX3q9vFa/Q6fa1tZbPVkF7BJVWR0irO7HCiNHYIzjIc\nlJT6sDuRMEh4bLonPWp1jMQ6esRrEErOPruBIZGtPPp/Epzm/M38ZhjT49hI\ngU4oWt/n7svOkJ5AVW4WorB+vY13xwQIBld9TffxZD58YTcU8ycbrfZGlQyO\nfmRWoe4UqqmhSVQXb2/mEIBjP9D+YXVVK0QxlD2xIUO2UhV2zw9y2BZRQY+R\nGkXQtvE8Pv0okEIxdS7SMYa5DDWJROvWW7nfeK3g6JRrmHcDTBXKJDyx02Lk\nNJJ2\r\n=16An\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"a04bd5770d57913e5a14904e2f7136ce42266119","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.163","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.18-renovate-non-major-a04bd5770d57913e5a14904e2f7136ce42266119_1603913572570_0.689218052839426","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.18":{"name":"@balena/jellyfish-assert","version":"1.0.18","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.18","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b72e238ca61531b7cf4dd2e4c294d9de78a77f29","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.18.tgz","fileCount":9,"integrity":"sha512-h3q/ztIUAOFZ6v0La8gf22FtJAfVwfUiIHwSbWhPZ0/JdDQ+vncf/XOe+yHky/L+lqd5xtyDD+JnKTJpH3VLUg==","signatures":[{"sig":"MEUCIQDsf1IDUhBN6WN15W2cD7wTicjt+qi4wxU9AFMH4xIHEQIgNmn+Kzakg5n974qmV8ah62pdtMSxnjYnm6/04YjBjDc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmcghCRA9TVsSAnZWagAApS4QAJXOzk2ZFNJkS7P9nP4I\nJn+6QTRolMq8wnVtJdJT+/or+wo3XGVVzEtjIcshPUAk7oHLMMbX1+a2e7bu\n/QnBPtp0DDgE9rZmEizrXDyhZnlLe3FYjtWYNCEwUWYf1PGf2aiE/8HMGC78\nr+mDms1+viytf+q8biThRq4sdOqDy6U9R98a+CMi/IQhLBTDVIT9xDAhawOi\n+T2E5g+jxhu7VNGPFrgoPJuDewxpC0m83J0aXwTppgPZjs1hP08c2C+7gSLU\ngEbVHG/pFR3rb2QjE7O3LOiSxAFGzbhYEwCdEDqcIv42FndSjENey7rgZzyg\nUm/3T+L3k3L6gGGNnYQ/JAZFoIiO29xI1lzmNv798kkaoLEx+niUgY57cXPu\nTnlbkyzSiULlI0u+MGl4x9jwn1ivuuHIhED1Y1h1yqOT9SZmbuuSyS7VEZu6\nuxeVzUYCJoistZtzCKF1PGwomth9EBnkNbQrGHMd8J8gr9F+2iy/QbVjTsnw\nZcTzbDmwClVwkgCYcHwc5TvbsQSgNeR10kmp5aoCopjzlG20RAAl7eDRMevX\n46G8Lk6VtafXo/yt44PntwYkW0gUhX4NFY71GHOmY2OxrMYnCDMlpKsGDgR/\n4LJ/KnBZfEI1Z7xFeq5naHflQcjrlqBiGanhL+DaE3du3OjbR+vB7tAGxXvJ\nL+Ah\r\n=ZW3m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"f8201ca52753cc2b4ccd6f6d8977dc75d292c993","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.163","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.18_1603913760723_0.8808740118264993","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.19-renovate-non-major-ad2bce0fdc84d4f5ec199a0d19283bdaa34f6686":{"name":"@balena/jellyfish-assert","version":"1.0.19-renovate-non-major-ad2bce0fdc84d4f5ec199a0d19283bdaa34f6686","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.19-renovate-non-major-ad2bce0fdc84d4f5ec199a0d19283bdaa34f6686","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9503c115f7d2bcdd5a2c92a513303aa76bab0368","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.19-renovate-non-major-ad2bce0fdc84d4f5ec199a0d19283bdaa34f6686.tgz","fileCount":9,"integrity":"sha512-duZHRexEutybTShaW84ypJWtFll8CFJG0mtlqullFuDb3rgkNHNIl6Eq65/w/FVtwXvrU68c3i4J8LCvm8Nn9w==","signatures":[{"sig":"MEQCIH4v00jAnQYitxW7U6E+E+1qFofVd1wkyBRTz9Un5MoDAiAcEU/fLBN1QjG+JNk6K3gRiRhPUMFcS90p0l+a0TrGmQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfm+IjCRA9TVsSAnZWagAAcG8P/RfnJwd1TdOdTDYyWmfN\nZFH3L73gSazoARZFObJAkHgujrW+h59wsAweJ9ZzHfX28GQVnHYE54iq4Dft\n0CzQyx87J8jfecYYzNvCJ7XhqWXAqKAskyiGzOjpxVJHq3QkRgt8xFqjBJrU\nZxej3yPEVyaFUNGJqdvXEIGi3AombBtas5GODwU8ZBd3asZ483ef1AVtiNzK\nUR67JWq0psqj4H/Vb8CQicLWT2GSPRA3Mt1uyY/JAfxSobk/txSA1ZwrkYcP\nKZVzjLIuGOG8ZbLS56cgvUCuPpHCXaTpLeSw8sR0GKQ2wJmJzvOEFiod0jiX\nc+F5xVhZjyQJhcBzf4anmuzmlq5XmP2R70OxwEp+3tAShEPAIWIjv907S9xD\n5sEfOhzdVmsGF5nM10vEnhUQ1CJ8cqZH7POGZ33QwW52kQ1anZ9zEFsXq7kP\nXpxSerghxd20PztPa06awg2Yxz9muAuV/HhgUs63dFBXGEMQbr3KFBnJ5+Os\nha+YUWa884m1mB5KjFSYHakJlLIkxmOwSw9oRasJlNnBpgWPgdjrXHAKKULs\n8ZUM/bbaY7nBQcn6QrLznm2pp5Kf1jZ8hKuNb7t3M7sU7FSBU29Sx8a4F0Bv\nBeIJUUTDirvGdMrArLUoTqo0lYrUxXX284mBRmnOevNjZKHrWUMHHXhPUM3U\nB3La\r\n=HIaR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"ad2bce0fdc84d4f5ec199a0d19283bdaa34f6686","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.19-renovate-non-major-ad2bce0fdc84d4f5ec199a0d19283bdaa34f6686_1604051491015_0.7856619376276535","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.19":{"name":"@balena/jellyfish-assert","version":"1.0.19","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.19","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2ac6f90f8baf1249125d9319e3c6abc711c6374a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.19.tgz","fileCount":9,"integrity":"sha512-HABOnuWbm6OKHUHfugprEj7kNT/zvhMOhqFs2U4pr+c8u1543SrFtDc45NXvNY3E9HxonNXjfE6kD+R3JtrIwg==","signatures":[{"sig":"MEUCIQDXypE83616zLXKhHwfq1Rjt/xeFk/2Lqh7YwFfw3UMkgIgcu+Q47w9kkAqaGctu9rImFj2pHSzt1SoxSg1UDJ4Db0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfm+M1CRA9TVsSAnZWagAA0UkQAI6YrRRwKc4px2xXWg23\nXK7xjikT3Ak8mzA5A5bULKWb1TWuIxacF8wDuZafsGXRFbhsp5MmQ8hLBK1q\nggIk41bbmBtLedAanmXhPXqde+wUiaPyLXC6gZ79iKbK0AwVtiwECQEX3WzJ\n/R2Pdu9NtX4oetJ8w1FKEyVdsvYOjlN0mRmkTz9/yFNbYn72IVN+Ercg6SEM\nRMjK81xEdlrQws6K6/AAnJ/sqRNHUCnPhuBV/XL0DGJm3WisMbazPOjOCrxt\noHp7YUdeAf3PKVjnR5JoIVPK+/Di4opfJ6ebZnQoo4lbNmYVGiowgbPrTqb3\nLpnegqciH2nvrz7bpF6plAblS7iJ5tgf4yCyK/KC3GaBURVo8FHB3i6UaQ0g\neQzbJT5j0CfMK4bs8z+dubruC593drO5w3lvVR64ghuZfjyey0e3umiKGj7y\n6kgNainXMQztMypAvHBHRG94NYYTcoP/Cn/35UGClsLVZfGTcKHOpK7tszBF\n2CIMSiW7rlp3d8LQ5XXweUprLvUuuD2ioAesyzchUSDTif0XOjWbB3iIr6Sb\nSi3KWj2W3K8fCHM28ZmQ+Paco25OTipraTsbBGB3E7fZ6jPwIDIOjHmxVmJm\nM2apR6DxhXpQOwi1TJHBzWSZLcmGndGC+XFMn2pgHh4/TUDjD2PvRfDbFMae\nADjt\r\n=gF6m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"e361ece21ceb12d7cf504c0b8354ed56917a1d62","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.0","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.19_1604051765410_0.2232134619299604","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.20-renovate-non-major-3e184e494cb8f3f1d69829823db89d7d2882044b":{"name":"@balena/jellyfish-assert","version":"1.0.20-renovate-non-major-3e184e494cb8f3f1d69829823db89d7d2882044b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.20-renovate-non-major-3e184e494cb8f3f1d69829823db89d7d2882044b","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ac9ce58b6833aa3a206e81503a97af5b829989d6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.20-renovate-non-major-3e184e494cb8f3f1d69829823db89d7d2882044b.tgz","fileCount":9,"integrity":"sha512-tWyi9BBCNBlyoEQ4NUtby97kB2T08507ftAyR5C2Trc5ghFEhKhgmMnpVKAMcmpAmMUKxexWYJh6pdLeMmYK6A==","signatures":[{"sig":"MEQCIEE/QoLrcBe0lRfCqKhKBVlbc7d2MWiudu4rwFkSBMWsAiBG9Rc/pNzxI0evq90Pxq3DPaPu8Nc/tN98TLuOYR+ZsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnWi2CRA9TVsSAnZWagAAZCEP/1OfSM3me6GS22XGvmVs\n3XmwE+IDhVh025Qe/qURosk6rt1WSUlT+2jIfSpWhTBFTD6LL7WzFqW7e0n/\ny6aSfW+Lq3hp9Cyda8iidTcBzhouzVtFzzqK/RsVcCqGKrRjfy9jlmAirYri\nCgVC5gWmHp4Rdbzug3BZYDNfpsBtRG36yomrJ0cpTF0Z3B1UEwfxBP4kHclJ\nN2aPlHKHlT/MxXjmkBhdATKB5BwT/FK0K+LWFXAv8+bTZATOhhp9wAokB+IR\nHffBfy50qL88Vb+zEuLXwMqySsy1yN3MK40ujOO7suczL+q+Uti0ihFG9WeG\nBKwlKYnxhR9WSPXsQR9wSgJUmBZjUO59mPMoodA/Ue1LsPcRK8X3L2MJLA3u\nXzsjzrnqSEgLwYcEnjDV4os0zp9AWUYZpLb3Xd1Jrvh+w3ggNG0cg/3UbOCE\n5UoWC7/vzPcP155mGSpnaUiWes/bxF/qaNbPX47Zhs+RFOOhscmkQab7hmNk\nuGN0Bwda3my1sMCJ1d/j50x754zrHsjcAEOEAadAvI1vXqZuCqg7eiSyDrga\nHjAq/xoa8uEUVtY6Us4pAFHOm+LqXXKYStJxfFOLf6UTjBhw6RpTAXKqbkpk\nXuJtAokG+n4xUir8YJgQsiEcyDwFYJkxws2anFszL6mb2zfd1WO8Me4RvyS0\n5MRq\r\n=7txM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"3e184e494cb8f3f1d69829823db89d7d2882044b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.20-renovate-non-major-3e184e494cb8f3f1d69829823db89d7d2882044b_1604151478163_0.8384973028680425","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.20":{"name":"@balena/jellyfish-assert","version":"1.0.20","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.20","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"01a61b1d9baa36ed7f81ebc4f050ba9c916eb1e3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.20.tgz","fileCount":9,"integrity":"sha512-XW5UKPK/k+wak2v+b3ps9sEPcKofpTQ0GyKqWnBIO5OgSbPJMT5/6cYYhTnJFB9d3wAp3p0cFmUNlPGET/N+ug==","signatures":[{"sig":"MEUCIQDFud4COGDJQ9SskHmbVngCDmhHz/DHXw4wS44vljhzVQIgAv1G5swA/FiDz1oGh9+DYW/ikTPOLFx2F3xzN0joIls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnWmhCRA9TVsSAnZWagAAypgQAIm95hXun9NRebZDnXBe\n4KznngLf9pzvzHW2fuvjHWe1JJb2YFDG63RsEW+028KQqLZ3QpOXR0jAm115\npXAiXMWgkIPCLy3znK/Sse7dfkpsuA1UvGiUDMYFq5Nxs2k7vZMenA8tCrvT\ngvt7LUoiHy0v/dlpiXZR2Chy7W5LTWcjcrM+3FnfxHJvoTsnRy9NCu8YU9YI\nlK+Vl0EqDYWFmTLp6TOxuuy6PiDJzqgsIe+08XKxAKrs9aZI6TwbMV5ovLh2\nFFPoflC+sQgsI1SfDdBGL6aLdnhGIwyNp3Ik/Vvm3vX1QjPXcYcSmW6KErGw\ngCBEfZARQUlulcxFUgz/8Af7W+SLmELPsA12/sbVJXyYYvGOa/dig/1kbKa0\newEOR1YAUu1PreDXtI0Kco8MJ3WSDkXdOlACzNX7xBCSfSkysI64cxK+XrhU\ndyHe5dKb6DnDPSP8YuFuftHMVtfBdhpO917OuJeqg615icRFBwcZilcQ9DV2\nP1LTMw2fgWRX5u3pZEsCni6CRV+c9V3YJuVbeZpyAva8+dyXMLrGG4wLPECi\nYjTlbJg6U7p1Wjrcg7VNjUJ4FGZIwskF1LgLGFe+HXXCAgLRx+yL0UYUWtVf\nfS3fax6sWn60RHlxq7S2a1QCBhwXqLGbMa+q9VcI0Mrp4eeWH8Ux3yXPuY99\nrwbO\r\n=/oca\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"8096dea0d7d294bfe426172d975cd441a868bcb1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.1","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.20_1604151713373_0.17158280348018962","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.21-renovate-non-major-0f6a69657da4d03ce529c2711a9f8c7c71615de7":{"name":"@balena/jellyfish-assert","version":"1.0.21-renovate-non-major-0f6a69657da4d03ce529c2711a9f8c7c71615de7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.21-renovate-non-major-0f6a69657da4d03ce529c2711a9f8c7c71615de7","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"73442149476fbdc295cbab275e1ef24e5a510997","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.21-renovate-non-major-0f6a69657da4d03ce529c2711a9f8c7c71615de7.tgz","fileCount":9,"integrity":"sha512-U8Xe1PJjjmh2fyc0alJCqUl+9twMwOrQSkSHqrfkkx18qcBiNsQj0wXYlsAQtYB+lP8oAnkcZSHh4/hTDKVrPA==","signatures":[{"sig":"MEUCIHKd2InqeFtdXcUPj/+MnODgmjjSpVHE6cOkOX5m5900AiEAsGontFjpZpCLHDerwADbIROkC1uyitVxTgglwz3KkXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoBkECRA9TVsSAnZWagAAhxoP/iqd79A+3drqDUJ5gs6F\nbOTHEAJ6DzkRHz2LatFUOA1JaLgFfgprydxECfpunhf4Y2MpM/j6yLeOoDRn\nRpqY8xV+RUhwLnQUhpSV5exV68eKzwYYOfyPMsdpuuvRFygIzwa0O7ZUxVIq\nC6feJHYP5MxAVGfnQqOir29kWGetUc+n5oUcO41SV+3QondRh8jVPH3Ycz4x\nZwmYNnCJ6Fu7Nq/hY71VevIdB6hoMrRcvd7S2OUJ4v3lG9ValmaQx+rd75RQ\nNvCmzEpB1b3Q30+xzw2L79VqB+FAQ8ih9UPMp2CX3U0Kmwf5GVilH71AdGNs\nrxMvA8T0Y+I+7qxYAbYoduEMXOY4BhW0eYohEutaPrF6riMSQY+LNQizTOgz\nJjshLNnvmqAXgFJgefK1aNaloqSfjD7/Y8CIZPA6xkscs8YdAI+xRD2cARG8\n1cyPBPEiUFqN29atd/TYsUGHazRP0o/nMBWnF+ksnBxNoV87LAIJLKwF/Fd5\nXn6gnwdaqPyE9bqWr3z9q6f4ar1WTZ87H0ZhIyRiCM0meTeof5JAwUS3xUCY\naIrFWGHFxSyZKpsn5hxCH8sa3BIicWzgsnW9Au+016PrY5esoearf/v2M2KU\nLdjDnnVq+yYBdS3N9yfh6Vti2NznzTEEYDX3ERD6nBbH0XqBc1aydzo/hlmV\n1S9T\r\n=3kch\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"0f6a69657da4d03ce529c2711a9f8c7c71615de7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.21-renovate-non-major-0f6a69657da4d03ce529c2711a9f8c7c71615de7_1604327684175_0.03680962316514469","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.21":{"name":"@balena/jellyfish-assert","version":"1.0.21","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.21","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4715d3038cd956a8fb3ce77bf85e18fc4a06de91","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.21.tgz","fileCount":9,"integrity":"sha512-99cnVQ8ZzJwktM5Ja+7mHkGTwCWTE0TNcJT5Wq6sAPTonY/JHR+uMYle+nbwEqZUhJLFbeD4L/8kVY9eHRmTdA==","signatures":[{"sig":"MEUCIQD/Dnib4tOb20TsvDHzXZWwn4x+OWpYZHwOpj2jfyODCgIgbWb4Cg2kgqU1jdvBBEWJbiW1N1XrVLFRoQDfZ+8XNc8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoBm9CRA9TVsSAnZWagAAwzsP/jllem9hNFYha7iGNzjo\ndSkIfyyuOPGZUTiauFUCDFjIltQedjwT09L7ERRXE6y1GneD+/HU8xR8ABB5\nfSiX9/o5NrkgO76bIkJyjFlBfPjnpKRzvvz/YhoqUUdlyIEV7R209SDirXop\nvehN/eXffdWmze0O3jCE6QZL0T8ocSbtA29z9olmOGQhsBeSH6BEzQ9YTdxy\nqAuZScCnyaO1krZhVG8lUknScuUeQHLO9+d8EYJjkClcE4hIZCSeMsiaQmD3\nEK8z8h5FJ2W2HI7I0O0XCf8LE2zfAH5HkLuJNb1uedSCqfj4ZoZ9smEhOjm9\nbJDQUw2507Q7TulU0hGsMRboJemXgxAwHXerUWAeq4p9mauQcYg60jqHvySB\nROkW5hZV9ks0wzIbgyBHNrLg1uK3BcjxAmLGqj8s/EPV91kqbJgJk/RIpqfn\nBW4XbMQb06kcfsbqroV6BXZrS/TjY3E2z6TjDgAsGv+fHgyxIn1j/EmfbK5K\nu4vC49N2iKzS6rEFibMZIxdIp9d0DFtazN9r7T6VhqMtQn0Wbrr3Uqgmui1w\nRFqyRskPZSsDHWDwNEVpWJFSKWk2q+gXOrUGp3eHCeZDA4dmHQKFBAI1UME9\nM5ajU357xRQ9IDDbYdR8L26X+Z9AglqLfRaIzRB8etf47PLsXfjCkHV5n9YN\nMtKc\r\n=W6Mf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"e9a4d545295e3f5d41b4a4e9a6543677cd44351d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.2","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.21_1604327868592_0.8473781540942051","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.22-renovate-non-major-db1b1a26241ca81f312514280b582c6e6966d50d":{"name":"@balena/jellyfish-assert","version":"1.0.22-renovate-non-major-db1b1a26241ca81f312514280b582c6e6966d50d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.22-renovate-non-major-db1b1a26241ca81f312514280b582c6e6966d50d","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7deb9ff1ebab3cc44a327b39b7ad042716d701c1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.22-renovate-non-major-db1b1a26241ca81f312514280b582c6e6966d50d.tgz","fileCount":9,"integrity":"sha512-qZLx6e4YwSCLc8VHVXUslJFEDuLRZKvUK6crtKsornXO7Tw6Au1kH60eMEwrQnJzRObF6Rcicrt2HhpeHE1lOw==","signatures":[{"sig":"MEUCIQCtAb6SWTFXcH09T3Ki/SPPwomRNIDP88Gk2KTpL9UtnwIgRGX4o/f4rOb3DQQzNX7NfKeupQ3CayDkEZb34ffJ5os=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfokxYCRA9TVsSAnZWagAAPbcQAKAhQnbUud414d+Hp6xx\nGHR9HUf27YJnuaqKqrcjplHwqR1/EMZzzMZ2/bIhXr2aZ/QvBrFI/rh0kNRE\n1ivHzlipWqpXgPWhvEBjim6GT8o8O2kkkeh7W6UUDR0i+Mlk0FNWIJyVYsGR\nHfqmJpdK+H4EJTx7b4UvM+xYOJ3TFcSXecDhmyE0udgOzznYJ7xyNRsfsdEy\ndK5zE2JVAXywjPSc/WyQwG1yB2Fbug1K9ZgeVolUJ/Ny/lcVQtan/ggOp6E3\ns1aib7mulDkTXx4lIdW5tKTYnvWwwzR4iS7/RkiQdPTsrP7CAvG2apLFUFZa\nIzlMoW4fc8sTpHemNLFbosHJ0EW+yBS44ZSFAxcaaWojApZE2PuuyBxRgWM7\nY8DYa42G9mwXTlCvDHMQjKywfz3J2k1B7vbzCVL3AkQC6Mv+RVa9Gt67bDgA\n63mJa9efx2dZAHGcQpuxF7UpNKsaiw1tuQ+4sAl0kdQdWm7WG8rxey/QLGbX\nE4t9BLUdr4J9X1rivwMoskaB/GmQmxc6r5/4dK29sAvs7gRpZRKFaaj/YZOd\nCZJ//k+b6InPdhBzPKocF6ckYtEtUeohs9TL+VjbHMen86ZMkxO8zFlP8WJ0\ne1KsXX2Kpi609UYJT8EdCcXj8x3Qc0p5glHUEWq1sCh2OwY2LDRXXakZ+j+Z\nwWdc\r\n=mkGR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"db1b1a26241ca81f312514280b582c6e6966d50d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.22-renovate-non-major-db1b1a26241ca81f312514280b582c6e6966d50d_1604471896441_0.5379077231447831","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.22":{"name":"@balena/jellyfish-assert","version":"1.0.22","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.22","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6abe51b0d06292697ef93c44629068b50fe38cb1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.22.tgz","fileCount":9,"integrity":"sha512-138RHDluQQRPP4enK+ESgKr5Ryk3eqb6OmO0RtTRpUcYryLaAYCgS93+J/GD0lTv8iiHtwiuqq3/aEkuZ0DpKA==","signatures":[{"sig":"MEYCIQDzhWHUksUVmmqJuWgE9FEk8Bo8GyguHIYd+N43Y7C5OQIhANjJBMuqCVwFriIdDbaRjwwzllID4/0rk/DZMZgLxT2Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfok0iCRA9TVsSAnZWagAAVgoP/ioWyE/dq86c8rVogbQQ\nZuQ7+xkAUcdgCkwYfO/hyAbd+FS1Tu9IgI5HYD7Y+xRblwJhmcege7r2W5eg\nTDRT8PODG+2JSRXsB2iJI3gH9iiDKSqVtY4RvRAZ+KIjkxcOInDukILC5sCW\nCzGnDAKZWhHlCrnesd8SeZ2qhClv6WprOldrlTmoUHAWgtGxwo9Zv2aEPWku\nua6l8VyFubAMRs8hbWrzXFDmWTZjjFZLL6gcLLE59gzcJtH+UYbqpYxYLPzK\n4Reaw1q0UnwRyenBelN7fbpSL/LojXl4vLfGAMFaJTMjkRknRDlacYiUmHtn\nTi98aRcf/R5WlKRq8F5c8NGHDipPYNDiDD+nPOirwUdz41VsXf7DCmzztpx0\nEeO8a3KMAuaRBvU73XEf1mKvQ2Vpwb6yugHVlW6JVMtMp6QJ0xhgTZfBJKct\niMhhb4uNdtcZCrAZAvEldM7XhDB1Ep/xRNx9QmBhHCrj+CmcSr08y34XMn8j\nvw9j5GRikiy6j5QQpfEd44m8LFSYgjIenQ+URFf5iEg6/waHY956xEdyZsHJ\nv8nMKKHAqGE/+5IliXOxqa4ANfQ9E6wygjY5lWJP3/LbnMcSZ+3P6BeoLgl9\nn71HNDCBm18JrO1fA9qIrpGAAloS+vJmmYLf6JIiD0nFKSqx1AtoPsAXXKnD\nrkC7\r\n=7otS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"1391715b7ec15ef3f255cc37d5d29676f1f41768","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.164","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.22_1604472097719_0.3229718414122176","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.23-renovate-non-major-8cf5c8d347809b4ad5f3c99f1bd06e1161824a08":{"name":"@balena/jellyfish-assert","version":"1.0.23-renovate-non-major-8cf5c8d347809b4ad5f3c99f1bd06e1161824a08","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.23-renovate-non-major-8cf5c8d347809b4ad5f3c99f1bd06e1161824a08","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2478ed38b803e5e68edf61e072f3da71b7c66e11","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.23-renovate-non-major-8cf5c8d347809b4ad5f3c99f1bd06e1161824a08.tgz","fileCount":9,"integrity":"sha512-mh+rkN8fYaSqyqJHW5pDx09DBlso8rHOF7C/z1iyrhe/FOvjJDtU2Q7a5AehvtiZqrxk1I8SB9A777eEnXPUnw==","signatures":[{"sig":"MEQCIEiQRM8Ya1Zy4WmBg31UZCQIGjCVk5WRrv2FmtgHkauXAiBoTLLlxUkXndIqwbIz00D9OC/S30+f/kQ6OBEoNsTOvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpO5PCRA9TVsSAnZWagAA2RoQAITChV4z/4fzr4Q+P6OY\n/+1R7PeORKxo+Rc8M/TSelZXoicoNfCMr6rs/a61KpOgDjvuVa43pHapTkos\nSmQm9dFGkTshgnREDDxXnU/VrSx8E81w7jQdKggrRANHX6BMAfndZ/RBlntQ\n5RBokCa9X+N2lDp5+HR022NKnsfwHXjGjls0UzEKZwl4TeFweDW0JxafuDvf\nuvx1RhJrV6EqEbieYyYHyjy2H4Vza9QLTpGfg9LAcV2NdjleuB9wo3bNNQnW\neXSr2lhTgK5+X1QpxeE2aygkApjfvQs/wpc9W8fgbY8nL3VFAjKxe8FfF/Co\nuhK0ksIsD7+eKHpmIdDwXJSwl1o7S+UtP8zfIMzQE7rDLv475mSlDjNwHEke\nNoavge0VrTmgXefPO9xUZLZhBGVhScTK8dJjj/OJ+U2IQVjIFPdpzb+p3K9I\nd2CX9N5lIF8Wn6wDi1xz7UXBrF4rEavPmxR9wThXUJJgozBIMIoAPmgs76c4\nqLW2D6ZXCDjwQ0NojB8/tZtCQH6ZzUDrDAHz74+494YR2IpWIaM/pPVbiAc2\nr3+wqIjudJfpZERZC3pMcpooG+bSOL5G9jX5kAQGDYkrSb68lpEskg84PqP+\ngRNmIpzOkf7NSqP6/qIPV51B2XkjHESUIEpepPg+0x8FRc+zXCx0DmVmP0JM\nWw8N\r\n=5EH5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"8cf5c8d347809b4ad5f3c99f1bd06e1161824a08","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.23-renovate-non-major-8cf5c8d347809b4ad5f3c99f1bd06e1161824a08_1604644431052_0.7564318363530709","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.23":{"name":"@balena/jellyfish-assert","version":"1.0.23","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.23","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d30c7e4a72583ea0edaa2f257311b8ac711cdb2a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.23.tgz","fileCount":9,"integrity":"sha512-drxMlnSzLAdQqB+djgb7lAImE39UDPt6KkPWdxS2IL1wAKkjMwDh63S9f/1Z6gMDMMye7bXaWlZapbtfT67UAQ==","signatures":[{"sig":"MEUCIQD7+7fC7Z4t3G7uv/hRGZCSVZnkCS1WiIq2K+0hFwE/BgIgC7ifSGA2mVNuz4mM/ODkbkNKOjqw2N+ajNarECBQQSw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpO77CRA9TVsSAnZWagAA4bYP/07CI6mOKsXHO99uC5k8\nl0TceLvNKhvnwYa/qcm2/pPQqolJGzMAUIXmaLdkY+2oSdukvntl26AUF2kb\n0FBfkIBB6Rxo3NWREJV4mQQRAIBIEp+ksS7ymQqjqZ7h8/Zo9qnCeVtm5xuv\njXJ/UltzGv09tga9IBvgr1UYu2V2E0zL6ARdYN0MRMgsuJLv7O4oxEifLXiB\n0Sq+egYK0I26qIyHHc/TRy5OJ22dPzIjEzjOEXq6T8HA2wCaLN4eT3KNvkUK\nvGzylRB1sIlGXABu6LNsExOdlrx3m7m+zhoz6xLkbVhNWyC8qIEsLaNfHcMc\nakrXjKXb556Pg/rlpmCKAnxF1h3BzHQBNGkK5r/+rWfUmIfvaM1gugz5ZBUb\n4Crf5j1liUCCXep8iGFOcUQVrHlZgpBo6SXy1lHvFY3KatsHeGjDoTVm+poR\nUvsV6Mn2IGNnokTloiSFua7nFo5k3wrSvMKAtmGFhzgTddAz22ruOThATUOW\nfe0MW+trEr44Vq0cZowbTCGwnfbiSL8Up8jYqFP8OmaAo/FJfO6DI+vNjFci\nhM4zzUE6i0TVH9XnUmLX931fzL3etwPh9LkVD6yK8WXWbMjIfh6AhyN8WQY1\nHcKk76EoDKXxDMPOCwgU7jNx6gcBr8sgatlmdmMgLMUSPe2vNWXl49CZXXuJ\nuWXQ\r\n=oPwe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"gitHead":"a450acc9d88f0a27bd988dba8533a97c81a2c214","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.8","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"10.20.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.23_1604644602906_0.5750175490606979","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.24-npm-engine-strict-90a78113b33b792c0ef3eb4aa4818aa7dfd39fc9":{"name":"@balena/jellyfish-assert","version":"1.0.24-npm-engine-strict-90a78113b33b792c0ef3eb4aa4818aa7dfd39fc9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.24-npm-engine-strict-90a78113b33b792c0ef3eb4aa4818aa7dfd39fc9","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4588d84a154e1db0f8d3548f69d787e049375648","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.24-npm-engine-strict-90a78113b33b792c0ef3eb4aa4818aa7dfd39fc9.tgz","fileCount":9,"integrity":"sha512-s39id3pauEd+if1i2k918zJvnE2GGf3NupJW+Odl8CAinnlieKFmIIFPAY1IlSJKF709gY2Nh9mCW+x7AaKJbg==","signatures":[{"sig":"MEQCIF/9yGWmopRQRpSEai9K0iQeMIcX5JbpYrmFqraF0iHOAiAWMvE6qDwb4wid0n+BWPCG5qafkISpl7OdVAmp1TIf7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfp57xCRA9TVsSAnZWagAAuGAP/1FYdBAHhTRnVTybIbA3\nvPepeBEwbe4qLj8R0RvfPyDgx6Aqp+xhPZpZcVlUwJ09J1IdUpsWlU+/tdGI\nI8jLYoPVr5MVLObhbB1y31yNZQtF5EJfSYVegC6OMXgZPwtSp7L8VSj2ouGr\nqG1VWShlRTUxcYPfb4JldDG6UlRUF7SPoHn8AyCmlSSdACo2tQAQocv5F6j/\nO7d9Huup+XTZL2WdNOrLVNEbFjDl2zeRfwDao5KmA204tJPMlPekLRm4n9EM\nvI725moBtpzTj/iHKteqNSvH2+AWQWPVaTFs/BKU+fbLcBUF2DFWTD7KzIjW\nnqVpScXpmNwN2G5yHzVnZ2vAsFq+BPfH45eYVvltItPQpRiLGGXzSh5TytxJ\nXTnQBAyn7wCfQ1/9F5u/NqhOMXKsLjpz0dNb39JesausBI6T9Ls17sFYvcUf\n3GkfRCKOx8Gp2rl3D4HAaaRcUhfxBnHyBqjrYLK9rZSVvPA26IWE3JI7g+G0\ncCzXZkvkDdSLul7aeVO/hUVQcOBDfiYUAsG0jQtJxsH37Crrg7KhQG1gg4dH\n4TVIMKzRaTd8UJNo3ekASKCYsi+Okm/obrY/CpXG329+Gmv/FTGz1S4gi9hQ\nVKBO2Gis8grqR+HAyT/ktdo3UNJ0JV6+DDATYIgfGMTrF3A2NdSepEuV8OeU\nlAKt\r\n=wvB0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"90a78113b33b792c0ef3eb4aa4818aa7dfd39fc9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.3","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.24-npm-engine-strict-90a78113b33b792c0ef3eb4aa4818aa7dfd39fc9_1604820720873_0.607586911838877","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.25-renovate-non-major-792da8935ab5bbdee7d6b1ce7521ae4de0710640":{"name":"@balena/jellyfish-assert","version":"1.0.25-renovate-non-major-792da8935ab5bbdee7d6b1ce7521ae4de0710640","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.25-renovate-non-major-792da8935ab5bbdee7d6b1ce7521ae4de0710640","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"petrosagg","email":"petrosagg@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"065f1a94bb73146e589b1cea68cd52a839246588","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.25-renovate-non-major-792da8935ab5bbdee7d6b1ce7521ae4de0710640.tgz","fileCount":9,"integrity":"sha512-Z9P5idCroTOeUxVc1ZWTj8WHsoa6HGUuQa8Q08Xv/49jPyT7x2s1yMNyPYcLu07Y6Y3kFM72fw0jkzyJo3hQPg==","signatures":[{"sig":"MEYCIQCNTY01ZNF+l2f4I/qRxVo5Ps7gtn2K/WgrD5dPks4FeQIhAIOG3SC3IY6o7I05DlbBSxjxe0jsrTr7PPZQuWITzzTB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqAqsCRA9TVsSAnZWagAAuOkP/1bK+nV6BqEYS2PdBjzW\nuvHn+R4OlLrgmMBLrSf1zqn3YzwsIELGX0qTuhQThg3GkxtDW1zDLgVq0bys\nRFMRaLBt2CFMetoUmvs7QduT/BwoGVRzyeZEGEXgEQzE4BF59pbytx5uPUYz\nb26rrOu5Ho1JjpkXSSBcXIeyWE0HVxAtORBCfV1FiZNvBAPPLrgGaSMunQfd\nEOjhj5JYHqwaEVvUDtdnZica9yB/j4tUXDjnEoBqYNL6nNnSdBU4+gel1It9\nId3YB5OEvDxXE/sI1IqJ9B/ITiE64rg09hM+lvGflKtuuOnpOvXkNX/z/7JM\nkrI3m9pNDdAmBN6P3c6A92+HzAGj+lpMU4hS1ugwyr3hbpJUNdUPtY/XEc4/\nwHqjLUjDyw+WqyNP4oGlKKE7n7s4uGu88icbWeGbfLmBnzRJzC4+3bl+ygeW\n7JI9pbxKpJGXr1I1g1Be7yOHpOUn8QeqK86LJLiynJUmrNWeVn/Lbtrgpee6\nVlp/Hd5CbftRCnpS+Cl0HMJnEaCwZ+WJFMLObBf2bsh303B0PLQ0oXLNSa7C\nKrKvnqzY5RmIZKMt+hh5eFE5XcIhsL+kgNus9IzFsHVdJzNEYY5H0LRtjbZN\nUm1wUD52D0wv6OoR0uT24LGk6Ws0r/7AZntbN6fJttVnHtXqtgTa2E/1frjp\n7na4\r\n=QkwU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"792da8935ab5bbdee7d6b1ce7521ae4de0710640","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.2.0","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.25-renovate-non-major-792da8935ab5bbdee7d6b1ce7521ae4de0710640_1604848300100_0.5922747138019484","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.26-renovate-non-major-7b6054e023d23c1fd132e28329e90c103d967c47":{"name":"@balena/jellyfish-assert","version":"1.0.26-renovate-non-major-7b6054e023d23c1fd132e28329e90c103d967c47","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.26-renovate-non-major-7b6054e023d23c1fd132e28329e90c103d967c47","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6a6f365429c52d2ef71b0e327e649b02b8658ad6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.26-renovate-non-major-7b6054e023d23c1fd132e28329e90c103d967c47.tgz","fileCount":9,"integrity":"sha512-cOevTo5I8gn09j1sxItvtLIEmXib0qeHLfzYzxG6XmwwhhMOrBsXLryElgWORM1PPhT8MpnE694gOksPFKVPDA==","signatures":[{"sig":"MEQCIFmGG87q8peli/xwhTL5Ya9VEuIjgsra6lKz6X2R0B8IAiAIUNvhGofb+gIuFCTr6TpNCeDM2a4EmK9dGDZRzeVlnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqebKCRA9TVsSAnZWagAAj7sP/0tKD6uNgBr0KbtOtJ5L\nUtyNRxGI18OAX+2bQ3SMDeY9POpbAS4RUt6RlVje5G+oBiwadBd95yO6dPC1\ngg6tGzrfD7ez1vl6SWT9dQhSxEWdfhPN36qwRQoVqqQgEdQA8Ae4JoU+HkCI\nF3ejeDmUoXfF4TFwy4h2wmPyGOZ/TYR/9HTCOqUTmGqB1qvTJ72v5MFBvQkZ\nY39Rdnd7v6OjqIn2TtYF8fgh9DCv29T8MmB6IuoZnIbHLttYQmq/GbkbZZ2Q\nDKEnrbRq+IiWciXKpxEMn0GGrxRC5JsCkDG2LJ3vJp6k0yMmKZqeDKXsQeqg\nkqdKySRnWqcF0KxN5kPacFoxoly4z1iGJKkXg87BDhaHyvggeUCz4uNHupNW\nOr89r7iW4tFWuFP3pAT1CyBTj5PBbXAl1EsdisENKqbyrw34XYCnI0qcAKpv\nikR32QG9853snEuihVb0raEezCOU5JFaoEmvTEaGqORlwqM4dEJZGMRzti0b\nJTUK7V1wELqmpRqqMcGY6ue9Zz7Z54yarmu1k4mOYFZDlUnNj+yfwx4F01oI\nuVKCAckmiWSLPL4cgXgklPlIOVRGDN9yNg2KJhBXVL3nO1hCiEfO5oxPFOyn\nv4gPLPM2ovoBACPgmzfQVciF7fojnezbhxrNk2V+wUEFmzMXEevLPkFdfYIk\nu6M8\r\n=xrUM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7b6054e023d23c1fd132e28329e90c103d967c47","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.26-renovate-non-major-7b6054e023d23c1fd132e28329e90c103d967c47_1604970186393_0.6984987571219117","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.27-ci-use-node-14-1952a8ce42daa43ea507f70c88ba66f04e81453a":{"name":"@balena/jellyfish-assert","version":"1.0.27-ci-use-node-14-1952a8ce42daa43ea507f70c88ba66f04e81453a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.27-ci-use-node-14-1952a8ce42daa43ea507f70c88ba66f04e81453a","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"alexgg_balena","email":"alexg@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7fadba1bbe1766dadfc1b14651888b3c58860b42","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.27-ci-use-node-14-1952a8ce42daa43ea507f70c88ba66f04e81453a.tgz","fileCount":9,"integrity":"sha512-qz0SPcFLgjJ/JiwLxMtWabPqht7UZNM/GwtPQ1xvOc6iLAhBgm3ITf/mBDjIJfVdzU7R01AtfSwlT1yvqu2QOQ==","signatures":[{"sig":"MEUCIQDhSUC0/vkgMZz3R1rV1HEq0iZSmN3AEFm/EkDB0fD56QIgZv/uGlGvhzIhKRMRy0D0EtZlwzgESyu2gj4ojdRgCNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq5E+CRA9TVsSAnZWagAA3AIP/1n8Dspmcmo3V430f3BV\nt3ljhGpul5i+gXYzh8JJmyUSI8eHZsT6n04smMVd1zcKMw7BLsKgsPNFt0lE\n/8PkjqJXC7l7YdrlH9LeYftDHEq4C+Mv7bPN/cBaNr4nHOiU+qFTF61wYEQT\noboKYu0SG05mnsLojUwoSoEnmPhHLYKJ0tcL/hkeCMYKyW8d1QNpXpcpCC46\nrN5O126h/bKe/6sSrvl2/PezIYJlRollUM16krE2st2F5IDFfz1a6WTdxxWd\niONxPx8AZcqcGE7OzQmvKY6ZGPeHRvRPL/YGyTlnj/hQhusFe/KksCysSXF5\nyvblR9VfRdEy0UeEQO2LVktaCKW+A4r9/eWgTREDW25Pfk39phfqSqF3/tEw\nr2RQHpP+r50ASnR6nV2dPd06OfgSyP/sERSVPU/SUfbEW0fdSz7aq/Sdap/W\nVV+jCDNISXOXC+TnEhe8ieCS5hAjg0buthiWDC2VeppmRblwZLXTCFrX+QhY\n2ooHBkkNK9V8+DAEOn1TFdbHhwU3dXNKbRT0vYxwY0fgk82AqZv/lqmjfuGV\nCFBeFup3f6KkLyGd27o4wi/cb04C/w5bFlfnbUFTosVBrppTH6ocEqM4c/t2\nZBilUqP5PhwxomRMZIa0ACVtP31WhCfGGsTSxkXxkhHBrMtM1OjNeFJ/btPC\nVCSa\r\n=HcYb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1952a8ce42daa43ea507f70c88ba66f04e81453a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.0.5","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.27-ci-use-node-14-1952a8ce42daa43ea507f70c88ba66f04e81453a_1605079357830_0.28452659478784637","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.28-renovate-non-major-52149c969be2c51c0799ccae0b551e6d97848be6":{"name":"@balena/jellyfish-assert","version":"1.0.28-renovate-non-major-52149c969be2c51c0799ccae0b551e6d97848be6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.28-renovate-non-major-52149c969be2c51c0799ccae0b551e6d97848be6","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"565ae63a9304e6b9d56576b16f370b6d0fa2bfd6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.28-renovate-non-major-52149c969be2c51c0799ccae0b551e6d97848be6.tgz","fileCount":9,"integrity":"sha512-Z5bgz0/fhDPNrIr9J6X76XAtprHOGIl7Y/Heo7l/CDhZ3radc21bdknB73bP9Zef1qF6stA/ue8XxscT5shKwQ==","signatures":[{"sig":"MEYCIQD8Gk7rd+c/tkmVuQWzPXJtobVjD0r6kvzIPe2UCAE+PAIhAL57mpyftLIrKRrP/37jAfvu0g/HITNIGs8BZwFP86K4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftuwnCRA9TVsSAnZWagAA3B8P/1wFKDkOW9hNVX+Ju02+\n1cT/jHvnjWH/hn4wvlB5uPKiQKskcZ/beDsVz6rr7TYLYzgFX/Y+JtYBm6pJ\n2w6uC1B6zEoEi4Asg6Mjy9+G1BQFCLE1IWjlvVwYUfQQ41icf+onQAPDZSjI\nzcjuXfqNw3zayIa8DN+Uv8v+lskbPabAu7LoKXl2uEeHbqXAmgwOXHHt+yJD\nnkwC8H+LZivNAplAEQdOGWekhE1NHULyYPZQeTgsmYQn+mk+1DdLG9LbEwla\n9w6ZlIKOqWjv8saQWdhhz+UyhYp/LBLrfu3RIIJC313Tdnj2i1FJZxB8eW2q\nJiZlRjMSPem6ej+urCvXKCFeguC+MBTbl7eaYBjek8QDrehJDJcYqXQurMXI\n1bzeKgkq9g8nfivqYvpk1aMQAgERZUbH+HgdOH27ampMqhWtsL3iFOisCyKe\nu8YnG/OZC/uicq9Xqo/0wd2oEgs9Yu4k5pBHUKnJu4+As1krxN72Gb/2jdjR\nG7DMmopByKKKuogRD+Bresjt6WBm6xvf3aLNjDGo7Ii1OmjqCIhWMWwrLDr9\n/wIbGmwDjDEN4GSg+ui4Q2xwDFzyyigl+7vtgl4RG7lYSpO9DZ8sstKIcfAm\nj5ikSiUoWyvEjTLmdpyGRRFRF74Oo5NsBMnJltqiL0H1cStaeYO0CopNW6W2\nalT/\r\n=UXfz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"52149c969be2c51c0799ccae0b551e6d97848be6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.28-renovate-non-major-52149c969be2c51c0799ccae0b551e6d97848be6_1605823527237_0.043257042438719084","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.28":{"name":"@balena/jellyfish-assert","version":"1.0.28","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.28","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3d3970c951575bfb5e134ed41a2f873e4135b07b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.28.tgz","fileCount":9,"integrity":"sha512-d0SvoGv68Gglm8UtZcx0TyqAkxZHQrJk+xO61Ew/Iq6I/YKnDY28m4ozTLo4NnyPO0P6cnxEmser7UOLk+MniA==","signatures":[{"sig":"MEUCIDvR/K13n6dD0srh1BT5LwP94iY4nF4b/GIDo9sSKmAeAiEAwaEWKAgt+Vr+qerarGlYXw5wDEA6sr6g+wElK2gwSDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftuzmCRA9TVsSAnZWagAAPyAP/Ar/ZEDPyelmM1JJFLfs\nc7eqrocOcNyWRI7eMU5UQdFYUQYA0AxZalklHiCik0aLKpYq6l0PmdgNUbng\nsSxBdg5bSZZzK0a31HW7Rx73I2cEqZe4yaUKigssRgHMGKhd/0PYD5zAFxha\nolEKJlHit8ypNe899Mxe3V1UHz68BCDx/OfWDibzdxWCRDD0RqqSGv8UF0Oy\n+cmCtx0+oPm5DPyE2mUv3M6PulJJCRon8mY0L6AjPzskeTZtKeEckN8yx3Hv\nL3psQKUU0qmHHTG2vWGb6EQPVJeY+FpvXkas37rzNVjXOmCN1Qnul2CEw9tF\nTfnshOS7cFulPps/jGZtgIwTIQQI78AS++JlGL0JVhGgKL9NpsGs3EocIVNm\nG5qjbBqlLKfvTfZasCkK26ILjFlbu7+/sXAH6fzOfzH0EinKdEedrxq0nMKY\nm2+c1z/KTj3wCYYe5jlQcRr7w7NRQWdIsswSlkYT92Oj8F+9wYrZlZAGKduE\nbTwha71yUpaD2xpmgm5cT8u9Kg/4wh6aP0yKIdkyYZVdhOXozQGmHn2VGF86\n5P3071F5NOFIPCdQo8c1K61Wjmatm+dxMm3ms81sZN/sZBKrfvZ4iuni7dds\nbQSnJF7j65IwrOPnCWA9AGRqwg/wSA97yTNeabLue6vQSD6cnrsKIOx/virU\nvV30\r\n=DQt0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cb03c0b45063e6aeba30e81b845ac8e3ecc50ab6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.2.1","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.28_1605823717463_0.8791937097049984","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.29-renovate-non-major-c5390996ce036be36f056fd98cfdef2c9d09a1dd":{"name":"@balena/jellyfish-assert","version":"1.0.29-renovate-non-major-c5390996ce036be36f056fd98cfdef2c9d09a1dd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.29-renovate-non-major-c5390996ce036be36f056fd98cfdef2c9d09a1dd","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0921c61884323a1f08dc7fe86a11b39d0104fb4e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.29-renovate-non-major-c5390996ce036be36f056fd98cfdef2c9d09a1dd.tgz","fileCount":9,"integrity":"sha512-Qr8AhyYFku0afXgUfOhdvZbneCxgtU3U9pqp32df5vQBOtJnUo3VUC2XQ6hesrEcU1uETd+LjFiayFbfym/mZQ==","signatures":[{"sig":"MEUCIBFhO0ZriR4jvnTkDN2M9tuXY/fAWKoc1PNZa4wk/I/zAiEAoP4giM4TM8hB8AbMFOxyzbWqWdp/nczAm2Sqy7eCy9U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJft73kCRA9TVsSAnZWagAAduEP/iQqQYKxzqR+JqnkI3yc\nWD02eEVksReoA9USmyAfD1Lj/InD9IWnPKhZI58wOIfBkvz3KA60r41nVN4B\nptqZdQhh5aFW+Nm5tqh8XpEStMGU+VnKKiBgUV1qzNf50JyonE3shfgZoEXA\ndAwxBzLxWWmPZmczRD5NgXmwevzRVQ9KVC3FpNAvssNw0BDvEoxERd8rJunn\njjKQ/WDN+YrzWX7yaV3et0X8sLvPEEjWjwsJaiSVjCJo5EiaR8fKJdVp3QKZ\ne2lm9ldHijskVOxU1CqbOYUUrH+KcTSE6nSbD2I8apGLivKEfjSjPhwNXdGB\nic241QSXB08xaUJTh4jQADJrik1lSLzjrf1atJqeUjA5zw1SwfEk4wbWHI2S\n8QDzgt6HhlfgWIh82CuLxUstznL1S4btClp099adA34hUY/rwPTcGTsSoQBN\nvAP/gDxAp+qk58sWpImiv9pafrv3Sg3NBLVjJbcC7QvH5wxCte6LX1zHHP3J\nlNIgFC0C//RGczw5S4XwZ91T++uLVUaNuqY5HvTKzYDsS4oe0BrN2VVXWMTr\nDLws/2NnmwgHaMSiLnsDGlno5e/udXNcOvQ9qYdLkSuO81gKAhqA1MWh+X87\n0s8ndPbVqUWIJPlUEiR8L4R1T2HawpXAX12KoE66cupA0S3/KLLKME/l1yz/\nnsdU\r\n=/KK4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c5390996ce036be36f056fd98cfdef2c9d09a1dd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.29-renovate-non-major-c5390996ce036be36f056fd98cfdef2c9d09a1dd_1605877220400_0.7588115647633094","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.29":{"name":"@balena/jellyfish-assert","version":"1.0.29","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.29","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"147c6bdf0471ed556615b0b662734ab806e12e96","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.29.tgz","fileCount":9,"integrity":"sha512-aw1poKfGNnnNywkqClMIy+53eNpU03KHtrGGTX60D4AoTSxHeg1g1pPAYq6/KsUHuu2mkRaZD2L8SbmRisDUdQ==","signatures":[{"sig":"MEUCIFxkuAOqkUDW/7vcnOnoex46DHBDc6mKckgKd4pv7AIJAiEAjwJqZKndwxUn7o1c66c4Y27N0F2Bip3QgChpPyTNajY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJft76tCRA9TVsSAnZWagAARuQP/1IDI8ZaTvrf6tFcSiyK\nLs8IOoNY4efLIDIErzKEaqnUZyribvum/xOqVEhikzZN1IjFQR1hAEY54IMG\nfsFvRcmbQfdZBsFv7K+lzS9TdHGVTW3q/yXl8QvU5gzUchWgaFY/d6zj82hv\n3Wxiil1lZKAvAuOydgaJ1CRcRgz6f0fsjVEmxqVoG4+gnar1MdmOMuqVk7ca\nWuxJ9ksoI/dvTVm51za/Oa2LFckxS396GtFLgTtrVodmlVY95BY/hl14b9nA\nWUhpRNFGzny4AboB2i6wWuweEVBvRWuXjxxVmUkwmwwuWXL59SmSMeMmJgzG\nl+hPiTzMTb5D2JKeCEyDlBRHUhZbw+HXSijN4b/1usse6rYcZDqqU5/2IpL/\n+0wKiAweeaMMRb53tAlKDYzthlPt9YBlG20dIOtrP/vAc6s8KPAM5w+pxEqK\nzyPZUEATbf7NG+AdVhFbWxoXpttFpJrEWlKtbcQZ8qzRs4HAxQriMF3F18Gp\nKFIcsrtpRCs6UP8MfOFvy3YyfPgo60QWJ6NNOsE7kL6xHNa60E86LnS1tTm9\n3yQOBppU3EZmVihoQVV63hTuhMG3GYDF/9JMALC4aiB1yeb8xAryS2/jJcxo\nD4wudpQb7bML4NB1pwjX1nUcvI703UwbL4T0rO2L/tvpdo1oCk20Iyw8Qign\nxHlp\r\n=9cwx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0f4594f6c52b494d267b773adc49ef863d736ee7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.15","lint-staged":"^10.5.1","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.29_1605877421274_0.14982045090711082","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.30-renovate-non-major-ff3a654c2be1ccc5a82a6fe239f88cb177cc52cd":{"name":"@balena/jellyfish-assert","version":"1.0.30-renovate-non-major-ff3a654c2be1ccc5a82a6fe239f88cb177cc52cd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.30-renovate-non-major-ff3a654c2be1ccc5a82a6fe239f88cb177cc52cd","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4a9d900d5c9dca9c3d8f740f9fb9b1d06a4ac07c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.30-renovate-non-major-ff3a654c2be1ccc5a82a6fe239f88cb177cc52cd.tgz","fileCount":9,"integrity":"sha512-8p5NsUQiuveZzFJpi3PRpTd2X33S9Bl18itVnIpNUzGsu69g5Qi07yoIg3uBEDS9SqRHqmiRdH4bc9/tiLJ9Gw==","signatures":[{"sig":"MEUCIQDcvrbyfLgY/NKofMUGzmbekxqk6X/DjJW00aond9RdTQIge77cgVgu6YfOGy1z4bqNOSk/cvMM2WhRSOj6fjPVGGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvJf8CRA9TVsSAnZWagAA+gkP/iMgUkE+uN13XkIKZ1mF\n1Rgn1hRqgap6WVuZ2I0OVFzPmfwm6F5hIzBcE1eCHKPXq+nJ/5C+1alvB/6F\n6RgiYIoAD78mQvQr4D8p76zxwAIRSQExKyFs9Tv4BZANx8CD71Z0UEQlnG5T\nQHXHL/OjRzBkqgkrGN7MkRc5DPNBShRb9xZr+XXRP1sZ6a/XnHvcoLpBbLwx\nhyXZ9L7/PRaF52krtA9HlXyDzNbfqOcxIACXEFnsxyXznExh1cjwDxcBdSQ3\nIEbG2IWU/9HDLPPZ4HHj9FAHJTWfQgLigXEOum4ztLEYjuhCvFO523077Hxl\nWB1J61bq5Z1ioFZHHMitRD5j/0KNDVfuvOIbF9sUV0tv7yWZe965ywBcds+G\nMnxP57mLhoQZ3cIo5R/d4EQ5dSbsfJK6tTRbKH/Pai9XacT9cJEuQUWcwivr\ntuvIvrJ9nV3O07PTMcG7zN3lyhKCZ6iZ39N27DYivfzB5LbkhdCMcirk4JRl\nc59TbcDoiLYFSp2J3nRbfJorRQS1ofVYCjXQwPEiVVdqOv9Jm9Y8k9O7YMNR\nQW7lTaQ30/9ElMBzPTcl9SQq6fzyJH+14TcHfDX/afjiLo4pnWMQPY0KfPf/\nw/H2ZcJdUVLQT4gd+xk6+544m5vSKuiORekQTcpMa70wexU6621VVndsTqca\nqet9\r\n=EhFO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ff3a654c2be1ccc5a82a6fe239f88cb177cc52cd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.15","lint-staged":"^10.5.2","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.30-renovate-non-major-ff3a654c2be1ccc5a82a6fe239f88cb177cc52cd_1606195195892_0.5477470229694379","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.30":{"name":"@balena/jellyfish-assert","version":"1.0.30","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.30","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a9a3cf9043d2a84968c1229a2ffa1cbf60d3d9ed","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.30.tgz","fileCount":9,"integrity":"sha512-MNv/VXto5Ij5eVGkgo5MEhBFUN86lTFihGNB8TnlKzUpUGUPVcj0w08EfjKSbSxatpmRm0td8oIX7b+VOS6vtQ==","signatures":[{"sig":"MEUCIQDTmVEDYfIp6VjMpJUbps0kexleOuemKutC8ocZZbfGYQIgUn7BqtD7rjoMiJUjkzUZjo/BmjQLdnZrtrsvifezOtY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvJjzCRA9TVsSAnZWagAASe8P/2gMAlH1maSnetUNz7zS\naGhMKQFYyK5Gj/f/qIuUkiGYg/27Oe52mwLB4vPGasGPLCGzMAvrdpz8zf27\nY1PiZRxSKKR6PDR+iIixK5cg6L0XBCCpIlpeZNYKFGZT+Wq/ykTV9CEY9g+p\naXIktTxokd2XhcOpNBpH4AXjLeQWNSJ0qOWS09XumZqQpkjBT7s2BEgE7cZt\n2W7WO4RrZ432kgcP8hdL8CDlc05UYiy4Yhime3S0adHs6QNfd52kvpK0xy45\naERWfsWYYGDXGlrNH9zR313x5GeKYJJsU24U3Fq97MDi2JR5HQsmkFkHibuw\nT36zx7Ct47eIdVGlUcePYr7NnTvYLSTyoUqO94KMr6YugkCqosHscN03STlJ\nDEqqBmjxnf5hjB+L1t7KVJAbK4qiv3k8OHWIKVZXjP8f3pfRB8lo3lHYEI4U\nNeayaMFwqJ5fMXCqW+HBQfEJCOi/G9WN9jHEIGoBmyTaroxMyyFFpMEli7uX\n2ozgFbX9mOtTPYAkVEe6kAsrXBt+dgxFy1cR4LcdzcKWtOOkU+HCjtChrja1\naS1psl5UNPOJ5UHivI6v2vx9QgPMJdJPqpjTbZ1+lsR0XDyMBm+aGSL31mzw\nsbfBfDyH4L+CU2ZfcGFESpgNr/SLTsGOdSljjp3KK0+op1RqdYvnjmDbvRPu\nwqob\r\n=rsUr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a28a76624937bdcb2a19efabd5a53779ec5fe3c3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.15","lint-staged":"^10.5.2","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.30_1606195442880_0.21856284141124793","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.31-renovate-non-major-cccc949b954d1286deecccca96d209153c73b44c":{"name":"@balena/jellyfish-assert","version":"1.0.31-renovate-non-major-cccc949b954d1286deecccca96d209153c73b44c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.31-renovate-non-major-cccc949b954d1286deecccca96d209153c73b44c","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8c464686519876422db902f471749d631d55afd3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.31-renovate-non-major-cccc949b954d1286deecccca96d209153c73b44c.tgz","fileCount":9,"integrity":"sha512-H/p8e4NZXlSJFwqqWYnfgzHtA+Sil2eiHs750ZacVqqBGgWwKsJdHzUzCKSG2hSzj24qM1RxzzD1TV+TdLB+qg==","signatures":[{"sig":"MEUCIQCVL2T6pNAfEJonak/rLAUk1lZvdlwYWc9vtx1FaDCPTQIgYH98fIC9CA1ZF6Fx0ttNS1SyqLMHMTTvPh1+t1Y72DM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxp9/CRA9TVsSAnZWagAAaPsP/22+a9sIUTtfo1rkSFdW\nF/vpdUpdteR8fU05/5AU1NsMPMCL1B34EVLDVRkQeizTToomAY9s4vb/dKWd\ncvQCVVtdSkGwuyR5wBCnVHZOFRmV+Zmbn1PFeY4U6KY6/2ieSdjG/MLn1i6E\nI8Sd5xFsvg8YIqb4AEAWw5Gk6E/ZGkVUosm/sZ2j4dMX6quyvJQOLGCuPc+X\nVpg6ksdQoVMNwGcO3vyGQ8U2wRkI8uNwACmUgmzlWaHm/ZsixBz6+9Grpu0g\niu9J4Y8uiuVC1LDFPX+hzcc2HEAPIvHHJaWM4aspVJRL/yN+qMRL/bRg4C8T\ntCS/Qsb2Zc5eKidiu99ojTraCTQ/99wj2IDXBV9n8puf9D19WsjjwbASbvc1\nZidLfeJqtwu+ODUz+TlYa+nrhU4uUFlQfjJM1l2NlSHTNnaYLpn07Dg7gi8r\n14MMjLm3Yws/J0dFf1jxK4Ci+JtPUm5n8ahc5zLU62okPtmmRn9pItB1ne+r\nTz1kLNfpje2WOjck+0V5NLGLJ8hJdhgICdkhVxpA+mLW0YjMziCxH/vJCZZQ\nwX7jWlBqkBry/xNaK70WQSL8Qsz6OAjGUuWvgBocla1xprjL9/7d0HV0uMRc\n5MLI6iAsRRRFxKzJXvMPvLSvUfcUEwPI9c/3a9FBgXA+9v+Cp1r0Md/EZvDJ\n/ZYI\r\n=HW5K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cccc949b954d1286deecccca96d209153c73b44c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.16","lint-staged":"^10.5.2","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.31-renovate-non-major-cccc949b954d1286deecccca96d209153c73b44c_1606852478655_0.7041299558923324","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.31":{"name":"@balena/jellyfish-assert","version":"1.0.31","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.31","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"99a5af62d6a5a2502374157fb87f3644b3368736","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.31.tgz","fileCount":9,"integrity":"sha512-Sa53S3sSk782R6pTJrnWctAYcpWcqm/oE5PlFbdwtFdTCXKeyTbemsgvMYAMwDEHtwwYNNYD2KFUI786x9Ewew==","signatures":[{"sig":"MEUCIE8EFtuRp/hB3858rFaJezKs35gc6H4Wmve42Hv/zS7qAiEA81tRD5HMBUCAVc9BtVVGG5dmuzZmOghwaxzDSLoWbBk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxqA7CRA9TVsSAnZWagAAAysQAIx0HksOYdXE342FE+Bc\nMdSvZOS08llQOlzzQ6RO0lxdqed+WPmhuPCP+vw2tI4I9DYcGK+5igvH+zX/\nScQlQYobNwKkRsK93UBM4nJr2M6k/YpVm2uzFs/BviXDyUMsk3+zZKGuzVnz\nXHPM637M4TVm4SsoihZYWaEHzTe++GkLRP0TtvEHnaRD3/ehcxviUNmkBZC3\nJpGkOb3G3IZKoDFOhYYaQTBcp7ECOoAvDkXzt6Qb7B9i8NA8ifiVSTluDybj\nDOO16j6itiaZjpdVYyhmwXCcrlWDqudv9od+LHGheSCGgco66tUs8SGuIrDe\nNtay1gUYTWKf3orj97yS2R77IoByYulbf/jOYBCHqIAdmwFZLy1G5A0DG/TF\nPM6nQwDCmMMCgYxd70Zc0FIX9UMVTLjYGthjF9dAnT1WqgeuYcMLTG5zZQpv\nRAfmoH9cYlkMbMqd8NSkwpSPNxFRAEE4FtcUPksA1lzXK4uYPdgCq2UPhrj0\ndzllth2zd7GPMEiVw65Y/QCwCw8eA/kmux11oaNbQyrMGdH0HEklAoT8qdPh\nh12QnXmx1GFY4zENWjuh5H+VVD5KwZub8DuJiC/W+kGILMuqdTNPSVSolLJQ\nr2mILvUkYgfgtj/xBn9xKDgN/pKQaxvL5lvoicsPhOKX3Lq0IpgP/4ZA1XAG\ne/+M\r\n=OYit\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c8debbb3219f06495fb9a93832b47c90d18a97b2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.16","lint-staged":"^10.5.2","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.31_1606852667216_0.9853022636623359","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.32-renovate-non-major-72b827d1a7133c8b02afaaa957af8cac5e1c6b0b":{"name":"@balena/jellyfish-assert","version":"1.0.32-renovate-non-major-72b827d1a7133c8b02afaaa957af8cac5e1c6b0b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.32-renovate-non-major-72b827d1a7133c8b02afaaa957af8cac5e1c6b0b","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"076a469ccede12e1bb00a9bae748d906f37a6fb6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.32-renovate-non-major-72b827d1a7133c8b02afaaa957af8cac5e1c6b0b.tgz","fileCount":9,"integrity":"sha512-4GYEhK5xXQbiOui5olYnXxdUFbhzrvErZBHaHkgqHXURikZEi9+vgPUle01NHeH3IZ6L7QLEwhZbMVFddSVaqw==","signatures":[{"sig":"MEUCIQCbDo8Zsp5GZse4j0SCQH5V7lfhERhLCTNLeazPSkXNOAIgPNSX2/MuSYlhzwc6CP6CcqO8iVoiu0y+9Q1VQZJ/hBM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfynBLCRA9TVsSAnZWagAAtvcP/i3p0mK0E3syceqcVT8O\nVk7Y9rMn1oUnpgLFU/GnsYPFjYhezH+AD9SaiGixtsxBnZqIA48DVGaJCAC4\n84lM2lecEMV6lB4GgjyIe1Hu3sHnsytPLqSGyGWNeJlR/YxHTyU7A7hzprsx\nAxgLXQA3NCzVxVTVzHlDNT5LP2nMwsVrVN7sE8g7ZWsC3vIQ0eNmfW0xB0r1\nC5VxQb99/74Q2BXCPs2KVHpQN40MwSP5cls5EiiBWYnEXGMYs33TBQ8LJXNx\nZGNI1/R8GSKWwZ4nIrYSLFhbGVIGxo4qCeI9QO9QixKLlfQ0rEfgtw0BqoSP\nyfIaHScPriee3yDVgvEKoIVBxpAP412tglMaznPGjlU78wmYP/BkjwDOzrfm\nCGlFsL4GzjymZNZZhWUCFXRQ6cI+08W7psr+5pD8lO6iMkJGat3PeqP1S6S3\nYdOFNHVlCURi8BD83hGCGn8dhVG5TEMZ7x7yYuC7/q4iMkH2UC0AVgY+WGw1\nXNupH8TYQTGQEU4xkHqiUF98Ic9F7pIiPjAYUcozxUfgqUXDGaB19lsp18sw\nPDpqsy1g9tzOW1OElQp/1xc3iwKtCwYkkLHjiyaMQ2nKHV8jW6TA4Xi7fPoe\nRTD04kLZBYBh26wOEPbQGvTU+X7CpMXt1WqXdwJk84wznYE+cY22aRT5tfxg\nU16p\r\n=mZVQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"72b827d1a7133c8b02afaaa957af8cac5e1c6b0b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.16","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.32-renovate-non-major-72b827d1a7133c8b02afaaa957af8cac5e1c6b0b_1607102538624_0.1560365391531351","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.32":{"name":"@balena/jellyfish-assert","version":"1.0.32","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.32","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"df91f335ad4ef21f9871a09b560507e3ca9b122e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.32.tgz","fileCount":9,"integrity":"sha512-DMpsjtP7JrNg3GqnTISSsFTVxLMvP0CkmZJtIMg2Dh92/zLypWu4RsA5Fn03H+xeU5YQEMaMIOhivqjMk9noUQ==","signatures":[{"sig":"MEUCIFlthT9YuXT1Qa5DkccLF/VbSG26UylUASqaoubsDzY8AiEAm3jtQLTlScpV7ZtnjAKQggqSJeI35dIXU0qrBqsYVBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfynEuCRA9TVsSAnZWagAAfUoP/j/ZX05EIq/JujkXAzXY\n6CQE3cxuAD0TjXc8Kvdx0U+QtfTyOeQY36FyS0rd8jLVIPmg0QEEh0V51ILS\nxoTNRv6tq+N1AEgFrin+67+1teAFUXozc8PDHSZu+JPr6vdWzfbCuDCx1HqT\nT1XbUp/k2eublPMhX3EnGWw4Rm8geO2RbPgPVDOUgaLPD5IzKd7DnJgny5u7\n8JnR/YVxSNJgdl6p3U3+NUw1JVqaqFHO7MCy37O5Lvu+V3/AVl7bKpVzTzAo\nOUYqbf2oK3+FMQqH6wJ4CaplUkff9LmN3pJ2b1wcG2FtxdP/xhaZoprqO+PH\nkBNXxPJapzZQI5MMrWUvXEDuTHyRN5MQxTOtOTo76xe2D/Dm1fHnuRQkxMuN\nle13T1NmpYQDDdsr8SVFlZkvMIfiulBB5rdjTc7jPvx6yVrErcBoP9lj1tkf\ntH3XD1mA/nKwmUBMQ16ai9mnUiR5PjsayzEqkR7vTsWvQ2ymSryNjBcrgHOK\nvlArJDH8jR7XDbkJ5srsYBCHHOHyNmuZDJEiFdTK1M+myHxeST0AFYedPiwK\nnGgC08+rLWLCbBzfOu7rCzKA1dq1ySiOexM5frutCcPjhJH7lRnR4veEyOp2\nZ++XfC0fDAflceqouDLqcee44LJqoMybMD89ey7dCJPaD3+Wnt2JcGk07LAZ\n+anf\r\n=cWiV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0fad2d781a7a7fdceeedd451a127d3e5fdf4dd18","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.0","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.16","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.32_1607102766043_0.8806345688007986","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.33-renovate-non-major-efcc1a204a6feebbea94a555d1728572b3681d41":{"name":"@balena/jellyfish-assert","version":"1.0.33-renovate-non-major-efcc1a204a6feebbea94a555d1728572b3681d41","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.33-renovate-non-major-efcc1a204a6feebbea94a555d1728572b3681d41","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a851889e38e156c58a0e97cce57234340f3448f4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.33-renovate-non-major-efcc1a204a6feebbea94a555d1728572b3681d41.tgz","fileCount":9,"integrity":"sha512-M0dClD01WRKLYswyMoa04KsjAJIsGEGRd+GXzqwba57XLTXv3tVHrLFtikaz+dunFPJaNy95mUz1VmJPed7qkg==","signatures":[{"sig":"MEQCIGMr/atwHL2jcrnNAf+fdQo080kkiAtpfLeAt6xmIq2PAiB9APlVfyCrvSY3DtB0kRpC7pV1TDOmPBonca0uVE2E4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzepSCRA9TVsSAnZWagAABYIP/Rt0zX/FKxXOVgHZoldz\nHs9YMgxWaMLVwSZJW+Pdjt1FsXrwb85ysU2bYDY/bvnj65kaS013UuhYQ1y/\n1cgY1iVg4ZuEes7Zo7NS880LInl3NmzgiZ7Nk5bgnmFAEJzIscXBmbmVtFmY\nHXLI2sUr7P5vHPDgnp3qVsAgd9RrORcfN0osWWatzePMFlfVBk779WPYylPp\nlKQVcoetGAB2wVpx4WRROLE9BCLDlevznXNsohurTsX2iEX6kPn57CW4cosy\n6HGoqoqe7jCaAUiApXUnU5BfaQXxVpjS+jfF5Tb50m9RwxjzAPRRIcqb1M5d\ngd0PnXF59JICn6XzTrzFHHfwR+V4zD/RyYruJlAdN+gZRyHVBdhc/3D/H2R7\nYBdxLqtnvWbZxvj5MKB94FdDFM5dj+EacD1NIZ9Fs4zPxaXohvkpX87RrJu+\nEo7wpjlYY+0TnfUInvZsBieT5vwe7sNWWYoM4hTj3Yf9dBwIU1AsPtm9q8tx\n5O4pZ7c7cfFuRGEb9vTnS7cf2lKh1ehEm16VZofLlOyqmY7BPT++dZJRDHOX\n8ZAZIXYoCzTPMTFQKA1fMHnRpBTfFxbiKPjWSnvHNd+7dNfWbjglwXA9QgaB\n1ou6HJ33hklyxEuGHv79wzT03sJG2GeUxf5acOvbBsWDPP4hJzkdshM2/LNz\nZzzW\r\n=X2tv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"efcc1a204a6feebbea94a555d1728572b3681d41","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.16","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.33-renovate-non-major-efcc1a204a6feebbea94a555d1728572b3681d41_1607330385939_0.21636909868069032","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.33-dependabot-npm-and-yarn-highlight-js-10-4-1-1bd181566cabf65368c94c68575c40976e04bf3b":{"name":"@balena/jellyfish-assert","version":"1.0.33-dependabot-npm-and-yarn-highlight-js-10-4-1-1bd181566cabf65368c94c68575c40976e04bf3b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.33-dependabot-npm-and-yarn-highlight-js-10-4-1-1bd181566cabf65368c94c68575c40976e04bf3b","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7cfcb2e21587933e05502c3a20a5f59c4c972311","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.33-dependabot-npm-and-yarn-highlight-js-10-4-1-1bd181566cabf65368c94c68575c40976e04bf3b.tgz","fileCount":9,"integrity":"sha512-u5TP+tlv6RwIlQHaq/mdMDOd4JeaGoP6QcTdeQ9UVuZIrlF1rSbyS+K/AwLauc2qXxg3VCv+T8lkzCjOYrL3Qg==","signatures":[{"sig":"MEUCIEmFV8sIeMs+GFbrJkU7IX28+1Miyw4pF1UxAjPScdDDAiEAj00X/9awVzflos4cr3YX9WQgQ44I7akvsSDB5y7HFsM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzevGCRA9TVsSAnZWagAAqRoP/R0hC0D7VxYcxMwJmmax\nAX5Oedv6FzsteK98kk7gQalmjoQrdngkBAzWYW+Hr0o94EjHf1s++zFrE9KL\nnrqkLSzLcuMo5UnOgmrVaXIQsvytCqAKerXnIuoOAkFSRsll2kLe0cAafR/g\nntZLhmDghgwWTDUzZm0mrqt7ctWWsV4AN1nmRTm/nFORVwvq3PVkKbuhZU6y\nC7QWJGc7DU5FIQilErKZhiY3AnC/nesvaGanZtRE7++3LdcqfywGxL4FmWy9\n1TuJER4c6OduirNNiJm1SI3baKQPKPUC6MYxbq0lWOV4EibiColeWzRSBHng\nvs2ky3PV5E0a/fAV2B2ZKDQapGOQAI8pFJR6uaTOp6S6C9j7LOfMhIVNRpQR\nzfbTYM2OA3/AMli47nzJ7xGVFcQu2kuFXjW5KM2Vt/aV60I7Im5dzUsreSgA\ndxkstxM0OvLk5LihIsHWWg5LG+oFkAKSDLiK03DZOauroVtfnbS9dLOsttkt\nYTRE/VzkcDN9um5N2nMBFC6PKJohauCi4ITDRryGeyZvkQrCh8dfRncFWbLY\n0IxQyCFV8ueulXZ6nN0yK45d9jHQFvw77coCD1was2+dQVugqKzqPH+W8ujV\nH021OlITtQZ0Jj64bz+WqbiCFr7K4gphaLhs9/QnYXQiji9do7ogZCrBQ9Uv\nFAbM\r\n=BCZR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1bd181566cabf65368c94c68575c40976e04bf3b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.16","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.33-dependabot-npm-and-yarn-highlight-js-10-4-1-1bd181566cabf65368c94c68575c40976e04bf3b_1607330757551_0.7717899880751753","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.33":{"name":"@balena/jellyfish-assert","version":"1.0.33","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.33","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"55da7eeb0b19c24d5571794a6532f4f151fdfc62","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.33.tgz","fileCount":9,"integrity":"sha512-JUb7r5oOqIbn0N31FkrVxPkCgy+dCg8USfp/hbrPXl1BfTB4/NOdZ9HXaKFvdCaYU4JHG6n4f/EOQO10VPl0qQ==","signatures":[{"sig":"MEYCIQDwq5UZMiZ2VMaVLXRK09fPwtQenjnZ3wg4gMhmqm/4xwIhAMq33PaqVGHpcMVw8PcttqTUqkyZ6EWIz3zydXjq/OKk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzltrCRA9TVsSAnZWagAA5vwP/2P/pbZRS4VIMUcskQUX\nYVWfIdoSv063ogfAgUU2WZfQXBYH1DMiJ9UpAzfo1V4CNOxUJOmsXAiZAmv2\nexcOwWTfxP7Ls4A1FyUVmkLGZtlZ+see17nRPd8HVp9dLiN25FR6sRGtA8tw\nHEp62Q8NHnVSla2yZ0gBdKWU7tGbjVysJ3xETAjC/NOcgqq3RYKzxiQfTutf\nWzrR09y3gP6Icfi1lEDjsmcaFdU1ogf9RmYJfset/AYGIMmztpZWev2ecWJG\nE1ZCr+obgVYzYFSnhu63ZshZlXvGNxvdz3KRVM65NgF7Kdg3PEIx81q0BXzT\nuogG3Tw/7kfZDwqWoZdz9bUyEHPm4dKsIte5/kn7fC/qSzDr0OKeg7tEaOjQ\nEgOD0FhYIsZU0wINWM227JcEr98i5u/YCsbgwK4kaxgnnPxdES9JkpGspB4i\nXvm/Pg01Gs5b5oqPH885u6/aZvRJR9nTPbm6n9MOETuBLum/WNEqpT7HLVwe\n63ULahBoEyAPMUALP/KPvpqpH3TqBymIO2phvQIrF3OOzA+Ptv7Pc5kcD+IR\nG7+rXDQX1osKbrDWoSM65JhEl4u5jvcz+l3nkeMaZ4S6i+oWpildszWQEzZ+\nqX9zkNuVhPBMJPxtNMeAh36/mZwDkQy2AD+tUhZQH/lVZhhnIpznLYQAhdYy\nE0bw\r\n=O20U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"af49fc05f42485f662a8c3e911605f20b7abd4e3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.16","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.33_1607359339106_0.08129309868118018","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.34-renovate-non-major-374d39286ae3c80e529261f64697a255b29f4228":{"name":"@balena/jellyfish-assert","version":"1.0.34-renovate-non-major-374d39286ae3c80e529261f64697a255b29f4228","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.34-renovate-non-major-374d39286ae3c80e529261f64697a255b29f4228","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3b4a13e2074d02f3e9f0e4d0aca432362ccec2d4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.34-renovate-non-major-374d39286ae3c80e529261f64697a255b29f4228.tgz","fileCount":9,"integrity":"sha512-92Eo5ntCZLmzuM75CWbFBuJUQ9v7yN9zIYsfOOKCHl7G5ZHZbPfQNRByscjs2g7x99+DBtZ5FMPxiEtPI5+1sQ==","signatures":[{"sig":"MEYCIQDP7+KP9Jyrs6oQHRUOO7frIWDvJLdlVrWYRz45mUec8wIhANzl5An37vGgS4mvyET2jT2e/0Lp/JokYR6H755tr0eC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzxmVCRA9TVsSAnZWagAA/UAP/2nYe2R+fFHh03gCbAQM\nNoMvHzifVXST5peTJ1VV47F199FEMQeu5F6ZW1ZMu0522gJb61o/1QW6HgZG\nmiVoK/HfCN6u2XZK1s4/DJhkFGF0KPm/uyqKJHqtR0ki8R3RhXEUqnwQh3PH\nhoAjwBmX3IYVVzC4z1QrcBZ+nWL+FBycg7Vc28X49mw0D/Ow4n3i7jFM0yKf\nYgQTD1lUuS8l65lz+6VkB+S0Y6FknXWvauvm4wUWF/hwO2N96PH0jIWgtWG7\nV2/JVzol3QWTiXliGblMuaSPDNKR+t1/dWDo4hWA6KI+i8AZ4kdAh2PF8YB3\n4PDw/EJDo8jJaUxndTMw1WYReasrv7ijL1sfMv92VdbjhCIARgeW6++LVbxi\nM3JVnzD+euhONV7yeVreOYjsU4Xs3bXyPGlxN4lEbSJMspNZMxchGzpegmZY\n94Az8LkUtcQYy5ECeh7257sHZ8HZJ/RHA77gO5scibHYZ0tIEh+7AufwwSvI\nlZCnDJ69l5G4Zcj3p/hOyQINc9FCMNNWfG5jljLwphU/BD2ZOdieIFZYCcmf\nfcTmJpI4bl/8WuBUzas1nmdSVIGuFlxBbExUB7YRhv9Ke6ZSLaEHkjZV0wXY\nV5p7Kwq5/x4itOJlnWbiF3sj2qJ+6qo5pJt4uA8oQOh4cNF3NR0GuL2sje87\nBybp\r\n=EI8t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"374d39286ae3c80e529261f64697a255b29f4228","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.17","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.34-renovate-non-major-374d39286ae3c80e529261f64697a255b29f4228_1607408020668_0.726209134225239","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.34-dependabot-npm-and-yarn-highlight-js-10-4-1-2fa70ceec08bd1c5ee603d25367b851ccac068eb":{"name":"@balena/jellyfish-assert","version":"1.0.34-dependabot-npm-and-yarn-highlight-js-10-4-1-2fa70ceec08bd1c5ee603d25367b851ccac068eb","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.34-dependabot-npm-and-yarn-highlight-js-10-4-1-2fa70ceec08bd1c5ee603d25367b851ccac068eb","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2ddbbf4a7fe189da42f666af590dc632751c8eb2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.34-dependabot-npm-and-yarn-highlight-js-10-4-1-2fa70ceec08bd1c5ee603d25367b851ccac068eb.tgz","fileCount":9,"integrity":"sha512-AEQg3IXaA+nuDD8RzhNQEXAr/wVd8gxXjctnnEQLoWKq7vAM1NZ352lqt29gz/chlx9DQ+voq6NUbnKSmh8arQ==","signatures":[{"sig":"MEUCIAxjuVK69enyuLN9wrLQWNr2jhlyrFdeG/O+B/vkHg1SAiEA4oMbDZG8zA97Vu27NTGqLBKuWOO0G9l46w6s8aWmlMw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzynyCRA9TVsSAnZWagAAp3sP/1BwADVnFYlCvybDZFLV\n0RC+4zN4CNgDRKxNzsiVoUJqvIYBVO87FI7kManXiCeYYzFqr+PTRpCHbR2l\ngyj//hidZNxIqlyxfMlaxRGZ+UyMABu4We8N8g9yYAd8aMPbp1AZIXq2ESCR\nPH0WtwaWnfSBaolQouqRI37qznQKCOBWB24xX6QltSxCA18LszP7799BuV2G\nHrFEKu9p/3JY4Cid1fJCj2oo8LD2o/fank5469D/pXdbiqVayF9R4J8xILQv\nKycX5VCOFcMRWw3D70P1lIx8GplnQ3RR0U9YgpVtbyK0KQXFwSSNNPYQYJTM\nkqwom7XmWa9ueQPHADnSamoH11FPICvf/UYBGsNTL4T7bVfwg3dlXibgSTYn\n+q5sM2D6Q9xLhtcqgH3+mpoOaQycBDNGjNakosFcAVTqNp0gMaUtmsyHU4B2\nst1oKj8NcTJLOxT0FnRC9ZcyM8GwQtxBEhoj3+UhPs7rBT8kVbhPbnYeQECW\nwWFJvrakjeU2tk+G/d7IVjbv0BkWBXpMnjmO5CA5PPIOkx/qlj7XsNwv9cGZ\ns8uUGn+GqHk84/i/drDaavUOQQjC9eMyAMAjZIpQxZU86/soxF7DxTXuSkLu\n/T7DBg/+b0FrvHTq56F+RAVax/oo4PiaHX10hMpVOJqGoKUyh6ACcBtJai6B\nBQ6v\r\n=GYH5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2fa70ceec08bd1c5ee603d25367b851ccac068eb","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.17","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.34-dependabot-npm-and-yarn-highlight-js-10-4-1-2fa70ceec08bd1c5ee603d25367b851ccac068eb_1607412210239_0.8682473953633709","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.34":{"name":"@balena/jellyfish-assert","version":"1.0.34","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.34","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"506c950c13dd815c1ad41e2b55b373485f63cc20","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.34.tgz","fileCount":9,"integrity":"sha512-8e1NY8ddmiIWaJd9kjLX6+IiQqkncsboz9BJ+wtdpfLgMt3njzMUXNnss4H7HgPfKr8GrNLCFXR3mgA53vJAqw==","signatures":[{"sig":"MEUCIQCR2R2AfTK0fxcx+vq/LSxshggI9X4fN3ISGZUUcVcPZgIgAqPInVGaYCPRr4CDFL+/qsL0aN7EARCy1Mq4y3FOCho=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz1YvCRA9TVsSAnZWagAAWagQAIDQGrkVRJXKsKwoxEY2\n0Fos0GOMflW5lTm7MzkhC4uHiePBQ4Qfu+EF0ryD3yoKGHs2ahDIIDlIZWtd\ndG5xQHb1H0n8w0miPkW81GJf6Pahp9/7FvDj+TKDrDR9eyxeFEpawjNKaJRq\nVsWAv/8huxa0oG8e2hWEl67OP0RFgi9uwDNoUzm98ATP7CzwRDkl+FdComhB\nqbQqhAv3YpOvi7rtnveB/t5K6tpQbleihortAJMno0TmFBqs6czS4pmqi1Jp\n9Xvw2qYPvX569owcGmy+F43WRDryKAMDU+gMD8762tfV9Yo4ne5SsOV0EvNZ\no80LKpQkqwfPwqdf3caIpKNTnUC91Ym25iBrn01YIkvAo5Hsc5+mj+/vi33g\nkHo8m/DPsdgXhGD9uXzuPbh4frMZBQiJRPfC5YEj7a0sEYgZkoiqSg76Atb7\nRbIJFgcNLir5VqhS9XQcajWIdk+xH85pi5dTf2fb3owbtVits2eMTfIkrAJ5\nXiahO9cJjXfLjirGqnmJlM5u9pYAgWOVt3wB2Khqha56o+czvtPnPXLsxb2m\nzcJZwnIc12vAH5TRy6WrqpX3/MV/O00zKM28PyFAccgttTxeCYoBL7SIS9sO\nEF1ndAvcBgS3j+xKPKSKliQObXQ16IVYedJDUbvywTiRJFGQrPflIWwK+cpu\nncLB\r\n=UEDM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fa0285eeef9c6523b33e90bb3b2dffaa871ae01f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.17","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.34_1607423535473_0.783063130772804","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.35-renovate-non-major-f2209575f8045820c922e72da4a7ee3cdef044db":{"name":"@balena/jellyfish-assert","version":"1.0.35-renovate-non-major-f2209575f8045820c922e72da4a7ee3cdef044db","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.35-renovate-non-major-f2209575f8045820c922e72da4a7ee3cdef044db","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3d7e5fb326a74604c1550cbd6bf8e2811f912b13","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.35-renovate-non-major-f2209575f8045820c922e72da4a7ee3cdef044db.tgz","fileCount":9,"integrity":"sha512-d4eqIkpp8bLC+GwKQcflAoeU6ufGPsHWNn4NzPUL6EBqDCas8Z/oASKr4XTLXVMiOaWu+c/v17dIpLGqx0qhiw==","signatures":[{"sig":"MEYCIQCjSvlFChBpYK82Jz7Rf4h5n8N+UFnalDmQbn3NA7g0tgIhAJx6eh2jF/Qgi0urzvstojfJO+vahQV+zFt3S4mW0QFx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz+0CCRA9TVsSAnZWagAAnwwQAIHzfkAmOgrLmyOaQaoK\nVuYskYzs9MJug93HlThI9MCcSY0UAT+VAlLEeS5CGxzqiE0ec4PlfwzCpPuh\nnTkWT+kfh7Fe+KIVv41ZlZFLiuvrbXKLXppjMI5mCsVmlzxcB5Y5hCo4tCZe\n8GXZw7JfH3/NZ28xZYjDObXWt3Fo8gz5uC24ethkP+Ecjo51Xz1M2I8Emo+c\nC7YgiAMq3Vvg/vsH4hnvjXvcMTEipDi9hBAGSHLWa4MYRXA8xdpV0XNOd4W4\nrCIGEvTYfIHjYZnwIHfEbO5kAenuQ12CxIH3iWrrlhHsBlnKlPNgN5912sjs\nEBMm4DxrUYl906tW4TRa9Ku371cV10veo1gbsZS0SuUAixFFTpez/IcP1y3a\nxnyU4OBLxjPHnZONsMtcSevN4lVGlFpl6ZeJIHn/NXpM2tDF9yOWz6rVwy+k\nnJ5aOrpdfzgBhFWFuinL6OBryYrh6rQm5mJWCtr9/fxibnLHAnvAMYFNhACp\nzSpSkKdxc8lXW4lgb7ygpy6JStgZ+U8EfwYpkkPwjM8VPh+qL6wCbhNChe8G\nAX4wxqkjSa2L55VOfhUTbs+K5U/XpHGNzw9YJ4oQLty3IZgqlGVpDPbBWTn/\n6NUGJQ7/noEJlVG6vEVTN38inqQbN1M/NfezP0ST5p++DxBcRJjDMDvETTRy\nP4Gk\r\n=ueNo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f2209575f8045820c922e72da4a7ee3cdef044db","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.18","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.35-renovate-non-major-f2209575f8045820c922e72da4a7ee3cdef044db_1607462146155_0.4840266385083625","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.35":{"name":"@balena/jellyfish-assert","version":"1.0.35","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.35","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d6e726c32b1fb2cd7acc33bed3fbf476ba34947e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.35.tgz","fileCount":9,"integrity":"sha512-1RGS5GBcX5fDrleQB3NPgajAZJmpayiEycq3xpQUW2etYeXHg2IM01ZgSKsWhC3EFocildS4jkZURuHpTJx3DQ==","signatures":[{"sig":"MEYCIQDiZQ1T5MIFo+w0QgibRpj2Qs+OdgCOXOq1k6cTScaOswIhAN2Od+s0dWjps7mBlIwv0qdCCoAlx/pOVgkZm/+vN4cH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz+3mCRA9TVsSAnZWagAA5WoP/3oWpc3znVlCFNsCgIvK\nX7woZSKMAiAyCG4fwQNDZd0rUo1FBy/uwvPmOE56KbegjaqT9U2wzeffS5E0\nDJ52a9PcaFj7NZBYZAt5jVnNLvNhDESvMUVruOBbqD9Y1txeoXno7bDgMTDK\nXbAFYVrUo4zWM6hzrXHGbnw5auADhjEUwRDY3gPQ0qMtM0JD6hbs7EGEPKZw\n4SM6ggMB9pkXt+SbJUHmNXpWW6idG2AyeXdSaYnPjcUKswX+W5t6fhzRwmJF\nO8QB//dV4/JwKxa1I/B/qumGupkayqGV2NSY8IzVIgAICEJHzfh9ec+diC5n\nbUUKAX/ADABAi6BDneGMVq8YqkGJsdXCIkG+i0W37kjRE4t32y1c/gFtm+eS\n7WGmDbggvs0bXxHZvdbmj0RoElI/N8KWmxyRbYrLwcGHQ+orqqtqNPlfybLX\njKB6Jdqa5rMo6coGz6p8HWWX4SseSzlZxpXWD9uHuRUIgL9vosZqHYD2EWZy\nVCaV9MmrZozooo18m8LPG8SCNOrgc4NzpgDQAzqsOcbM5EIL4VHF6e0viiGU\n4s/Pw7XnGNVBDwxeJsSCfEMoBFRud2BwymwWvQSOJahAKRA9ZRHzLdn6MCZH\nqY3/V2mCFz9We85ps3qMYuNxoKv17AfboCD8Os2C6QacgM2SBya0IRWWCSIL\nuIXw\r\n=AiHx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cdfb71475ac1167072472c03526b3b57273838cb","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.18","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.35_1607462373691_0.11326302618437367","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.36-renovate-non-major-b327e25122b0f9fa8dc77653b8af82629039f5d0":{"name":"@balena/jellyfish-assert","version":"1.0.36-renovate-non-major-b327e25122b0f9fa8dc77653b8af82629039f5d0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.36-renovate-non-major-b327e25122b0f9fa8dc77653b8af82629039f5d0","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"234055c8712984f5a3fe205068dfa2adf6e566f8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.36-renovate-non-major-b327e25122b0f9fa8dc77653b8af82629039f5d0.tgz","fileCount":9,"integrity":"sha512-SGsilH7jq9ix3VL2aOlEvB0+cF6o81HwNp0wo5SjiQJrXEbyo4fDJVUlFpFX2MgX0Xvr6++GywCKZIoSH29LYA==","signatures":[{"sig":"MEUCIQC52FUlvu7Vi5L3I1rk9toRmk0+e6Fdf+NlC/o09Yu3DQIgAI8uaXBlEMCTFl+b1FgTzyOQQyPH1ZbCSeyWNHdfPwU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0qZJCRA9TVsSAnZWagAA77AP/2vVO4yTlr7+yr3tn4Qz\nSD19l4YZ+tbQGrQPqgpltqNyyoPBAmWCwC2qFs+IFZEgfS4d8Efn1tUQYaqm\n5TFdyuMiIbaNnsy06VDJPLXNAKJ1dndZGlzKqbjb0abZJ449xX3AtCCTl8bI\nzSPbA4+234e9N9p/lo19RtgCInj/qTNeQ6ymE8jK16/1iFncAJ2tG4W3Ysld\nYNx7HISEHOupPXTNZ0QrRCFu0hqDDnTWYV+ivEQElAtRK/2kCRA3gyekUD4e\nECY0eDJ/PVx1qfZkZ7jTw1F3Ov4uWskHCz76DK22/3m4GstVFlI9tA3A1zDc\nNc45DsMdSM0gpQwGvBQj1M56ptybkGi51bceaWK6IZHOlYpvSe/S09xfUaR5\nl8G6ia+Q6IJuGP9pG6GRfI9sS8qWW/FQ/FWKuJNhjPRHkpgprc8bpHRbivNp\njaGoKnW8/7Qk+ynseRH8Tkwe3ZindQBvYoPfcZ+bL/w7qa1clUFjDZRbMAAi\nhp/nmlxly/efaymYt+DN4aSnlIt/2/8Oyb5uYH9/6Xyow3nT47ZD7OkCWSfE\nbp7FBm37aNG+lW5i/xDD7IoogLKnz/WMoJlU1RrdLqkqFUzeePeHUDbpl0Qi\nFouh+AKCTqTnQGe6rApPyAo9QhKTONNGCf0T7i3vOJDTMOQvADADqdib+sZu\n8yzb\r\n=JeZh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b327e25122b0f9fa8dc77653b8af82629039f5d0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.36-renovate-non-major-b327e25122b0f9fa8dc77653b8af82629039f5d0_1607640648740_0.978434061926652","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.36":{"name":"@balena/jellyfish-assert","version":"1.0.36","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.36","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5c486c2cf5cacd75ff27640055f8f565256ed229","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.36.tgz","fileCount":9,"integrity":"sha512-8KBt61TRCTIDSrzoY8zcTwAAwpzlUGDJmfHLUxk7zmsogEbLY2dRqX9OO5jEO05H5xtMcr4J7byra98mBsEiOg==","signatures":[{"sig":"MEQCIBmAjduK+Vnf/xX79NbikVBIP47TiO+U55Dg2JSRtLHpAiBFK4xNoYRVCmvasd4mLabGTLhsS4kWMdGrnho5z2mBjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0qcrCRA9TVsSAnZWagAAwpAP/3pGL3ZANmtM1jxw0zD6\n/4BKJ+omIWsqXOgNf0Sek5nAvaTJJ0q5rgn1shtCr1tWp9aqiAd05GOR6rM0\njdAaQpIe1i038dgvsmkSFBkSpjkNINahiAczQXGQ7XKktrxfyl4cim6u6A00\n4tN2rJbKs0kvViCCrYhGrFErobzH9CIJRmbuPwaCocsYDhfpmA41Go3peFGK\nf5ASyGEDZc/PJCS+747KZZ+f9GX8TETSEQCmOpAIAVY7xz183AJmu8PB+eCA\nI7q10/R1WFO0mVjZurARjs6AbR8B6q2PA3KYNJsaPl4eh3KC3vz4yNRrvOUp\n9X3zhfWFdn9wVsAtWNyfX2uEFq7lsrhGRz9YQS6QFGS/qtKZbUlIUUXWGyML\nRa8MC04mD+znnSjCGZesQUsiZWQsSgQIVcesMbBuUlTyYOswJmMzKxGjpYpw\nt2fKeOxL18lxGwjDVXriL32J4SpxQULBUiJpqJPqmT+WHY593dy5olXVcvOz\nFBZoQ3fM71lM+V2ZkccCsslotRZk0agughByZEWdjXPaFIe0f5UijuSEkXWv\nK06jT0kdqvGR922NwDsOcftCVXDPshD5MBZRFflfFVskhfgpTO4Mi7PzzUL6\nD9qNfX4cCZhx/FRJ3R1oDPcaJvj8B9PzCCD1G7koE4DAQpKHFYPzhZdLSWa9\nzYHA\r\n=wL0H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ef5761305141677e185ff99acd5b901bbd2269ae","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.2","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.36_1607640875287_0.11413131060853687","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.37-renovate-non-major-a20e1e1d5c32827eda7dfa4cd7bcf0f2105b591e":{"name":"@balena/jellyfish-assert","version":"1.0.37-renovate-non-major-a20e1e1d5c32827eda7dfa4cd7bcf0f2105b591e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.37-renovate-non-major-a20e1e1d5c32827eda7dfa4cd7bcf0f2105b591e","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0133cb263fddb0efc7144c0e5ba65fdff03fa66d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.37-renovate-non-major-a20e1e1d5c32827eda7dfa4cd7bcf0f2105b591e.tgz","fileCount":9,"integrity":"sha512-ztb7fJvQPZoOdu7IoqWIjSphcaR3Shv5RNXfkjLW9mgtVKzPSbnyhbYIyTGo/jnHEx3r5/zsEVdpIwUvX2yYGA==","signatures":[{"sig":"MEUCIBzWCa8JCn/q4HJsQKP1WvjPjhfbrWriR7oJ0zQpLHRnAiEAsPXXyiQ/wZuKLUi+4ls03aWoofCcwNfoWuOeUt076oQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0+4nCRA9TVsSAnZWagAAXhEP/2RmaqE69g1BL4a0HqX/\n0yN9HA3fmERejcCGx2yVjOccre1SlWWlK4Z6S6CqdBB0N1EKm3S9zCfahrUH\nwn25HixmhjHYtv2UgBbfTp3PUsr+kpLYd9U+UeteTcelicw2+qshFkrbNTEW\nn2YHt4ysBQNxACDsS5KVpabqg9ROV6St2iMKdTtyINm0I1BGZRxNQWoEIl8P\nxaV/gEFzIG8w2xvEXozxgqspWlAeA4/ORdDDQS8z9y+OMW4fsECFM6/xWG+7\nB2gSNTfUpJaO/rfcFAI++s4fkL2u/qCFnDmcZGubJplTArMhfyNjwi7Pse5W\nmOGT/eXReW3GySHClk7KHzJSHCsg3rfogysruV2PKAkqURiBzd5boOYpSlNI\nrQiTeraQiNclG5LOiw6/86RTXh5NgYzNDlQgd0jokBw5MEMEdRKmUB33bdp5\ngz0wVRki5S9EpoOs80ZSXUnkXQdxRRmd4oZtTelxgjdSYSM6eh+UyTSJylJM\nXj6iF3U3lxlEQ13962zmT9QdJkPav5PHNavD0xMZZyOeiuRk6m0kn92TvJa7\n4Rdrtw33LJN0P+Z/jjDSpTj90/yLbHC12EX2bwoInMyB47YRT5UyMYmfXG4C\nJZppwUU7mlYvjCXcqWWJN0noX+AoDY2CIgR8SfqoN0BZ/cApxiq7nwGSHxtb\np8sO\r\n=45pI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a20e1e1d5c32827eda7dfa4cd7bcf0f2105b591e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.37-renovate-non-major-a20e1e1d5c32827eda7dfa4cd7bcf0f2105b591e_1607724582970_0.23126383348305768","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.37":{"name":"@balena/jellyfish-assert","version":"1.0.37","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.37","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a73d1331a5c82dd106f0021b561d770c386fd679","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.37.tgz","fileCount":9,"integrity":"sha512-ncHGedOi5mub4HcV44Y5bf6lWByPe+WPc56msrRBVUUqMfmg2vaMW5OnDraqHXrG5EGcmN2ylijthRANBKNjcQ==","signatures":[{"sig":"MEUCICcwYdw1a3fbBfmp8D6uEcjm3dAzEPdupIDZCuTk/23XAiEA87O3egXyvjWfvNPP40LyN7bw8uJbdGh0fMFGu5J9DqY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0+7XCRA9TVsSAnZWagAAIJQP/RGm8p+i1hT2I1nbfptR\n8EMNSbywesGpiCTQh3hJbNb7s+zaGkjI0uSOzcFMSkh28NYpQY2gRwB07+jN\nKnKm793tbDF0CX4oUaz8E5Uo48YgF5nP/OwbB5ApWFZK0rlyJsW9RC4d6VM5\nGVAf/ONToPlW2b1U9gSybGNTjJYec7aAp7ib4hX1QcebiP+S3HGnXS/on9n4\n+nvWv0I8TGkJSc9oVOmWnDlzv0xTBYQpoVRgmgn/jbqLlQSo7C1EmQoKomLd\n/ULefmiE17zKhtvJN3TbQypwG8lA2imrodmnEq7oqwPtmD0ZWsquZzfj3K4O\nhnQdG1vbddtVRAxzlEhRueHnt+EgsEgrM03EjyadJTIeffywviHcfEbXuUwQ\nLjfGE/ttlyYgyW1HvRViYuGO769MX4Y25JOa8r9VCg6z9d2yPCnkKJAxOMrq\nEMfIW1Ui9MgUGboaVPEoUwqtzGlpoOs6s32fsUep+8m/VPEfoAMV0/aEJJVK\n32RnR2s5CD/5Kd7E4CTmMrCIVcJfBXEkZgVwk1OfGN2H07KbRu0XZugyFjTs\nJsZFi1nqMczGWT4XVkxJdxq+zDhRl+7jt5kihJ1krg0sCjMbUxOZnYF9LUVe\ngpzD9Xborub6OZprMzBGLRH7KKb75eaPazUq0ube4kd4PfLrxqOd6aCDmdzf\n0Tbz\r\n=vNP3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0d9c57243aef225e5a87237f0643a44bc05bfeba","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.37_1607724759370_0.7300364868329763","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.38-renovate-ignore-node-427979f0bafe66158c8e12eb6acdba4aa8a6b21a":{"name":"@balena/jellyfish-assert","version":"1.0.38-renovate-ignore-node-427979f0bafe66158c8e12eb6acdba4aa8a6b21a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.38-renovate-ignore-node-427979f0bafe66158c8e12eb6acdba4aa8a6b21a","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fbf315a48775b85ecef54f3744d08c547ce500f1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.38-renovate-ignore-node-427979f0bafe66158c8e12eb6acdba4aa8a6b21a.tgz","fileCount":9,"integrity":"sha512-LjUS7j1QExTmiMevgSpqDtzQ19HSjFtoJbQjPodq4tc6TdxJ8ndvM4J5SQyCqo/4TyyeYm8tHeOefVPqIJ8W8A==","signatures":[{"sig":"MEUCIAqH8SxQlcT5aeQyWTXL4RSXdSzK3egMdAPimTAUFIPRAiEAkWDFobKE6Foz9jL8mznMr7CVqfjWedIWbVz13PPgh64=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1HpWCRA9TVsSAnZWagAADi4P/Rh4n24r307fpn69m5D2\nMvKKPGydLud2If0l+2UUmoaQ9XG+7GnekWSDSV+VV0eL3F/vvKdV5Byk0TqL\nN+1TDVa8xplSzeaSHsglsZGAcpHj3XGfsVrHnFQKmvnjMGBrcEX9l6rAC2kq\nvI2f4KzDu/xPmAIfXD+LK+74/1y2s1nlLF21Y9JavrOtZgLWT+QKXPcKi1tK\nqLuhYmUNmjj5UqE2N1zwMjpK4NKL2EJLb+Gubrx9ZeNQsutqjO4ExOu1dv/J\n31vWvC/NqTpr2XTzn5aVQtAJ76a+pM4Bd+NTYEOHkzreG63q6znooKFu5TBI\nDaA0Q0aAF3SOiqRh2X4GdvAu9H3akrnT7aR5Qp9WJ3sB0ZWqH8/BmJpdW30Z\npz66zhWoi9Bnwd+ed4139XGfnCsZxTm/oYCHYxx+JiBWr6JbJ6vlx+WIw+dO\nQjEMypceRxdOAkeO3LN40uBXFczZHgI+UM/M/FgijatCNxpYF89I//Okg4VR\nJruP03LZuVb4e0++y5T2x9OKKg0jtrnOJTvAeERqXzP7SizGOIICRLGFG1H9\nazLcBguIe3xmVZfba03lYOmtIQlQT+IMee0XoMV4LK2OaAz57tLEIgkPHBOD\n4tBakuikiMGneAkJlf+mCyLQGEY1UM7BoxckdDRgnJi2rs6RQv7CJEloIdn7\nhNnj\r\n=YBzc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"427979f0bafe66158c8e12eb6acdba4aa8a6b21a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.38-renovate-ignore-node-427979f0bafe66158c8e12eb6acdba4aa8a6b21a_1607760470298_0.8904668067223267","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.38":{"name":"@balena/jellyfish-assert","version":"1.0.38","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.38","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1fce8b25da898d09dedbb5958fde765d5f4f8b1a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.38.tgz","fileCount":9,"integrity":"sha512-6ljgIrzQNNNYsjxduVK8fb8RQkBmITd+cfGPELelVehM+GJlSILAAHqoXK8PXekvdf4W4VZfQVtMIXrcZmVMyw==","signatures":[{"sig":"MEYCIQDVJ4AuHSy+u7uLJKSpsinXEI8pziJzZjDe6AN3cE0oKgIhALNkDIL5Sx4YwdPzBqmBiB4wU/vGgR1BoSteXkBbKLWp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1HtqCRA9TVsSAnZWagAAWS8QAI3mRqPCNVd9uSyntPTb\nRez+NthRPoKtC7p4tWhNkE+pcNC3xYkw2JB6v5e1BoVWN1NLq9c2yYzq05CX\nufYaHVPIXJjZCVOOFKmE5xxZb7gnjklr2EZaRCM3fRWUOjz8oBqzy+koIVrr\n2EGwPgcjztpv0h069ZbydvN1tf5B2kiPklt7wAcHKT2s/fdw2EdjdqjD67yv\nVzblbSss1t5U90Iqcf+YJAt958C0nE3RPGIa26UBiPPJchSBXbxIy/bOFyqr\nNzcrQSBysQyP2jwRUbho544n9/a8kp7OU8jBMHqjMNw9oa9+YmRugcX5mg/7\nGc4ydH5rwoKKJMDFyXy0HsVCodfNxjldFxNGU5kfNT5j7DfQCOQLtkx1Nd9F\nEpxQjpn1CpNOYZIJ1dg46J5dSKUPA1fv0UepyRFHXb//23UVEn9dsJPPVQdJ\nRtgc09UjYXnRzgP1KBuoF5mn035P8dw6q8YCnf2508ywytmWiJcj1osSN3/o\n7r9spDu4jcZnt4XBFZ/RCboTHLWAAUSgtRPVt8M/MMSosH+7hoKnMPb+fTcH\ni4IpUC1+5VdQ6fmat18UPHJVxmoAbk+klPdYgUjhy1OC6IwJb5LIfQzNa960\nf+Uwxm21iy/Flq8RZeLpwv6w3SGBlTxBDCeHJWkXoW7F5BWlh39TsyMsgXwE\nxKZC\r\n=HEvH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"dfea6bd0b088a4d545f619f3cb7479ae7615176d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.38_1607760746376_0.5733925253081451","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.39-dependabot-npm-and-yarn-highlight-js-10-4-1-eee547b5e50e4d01f48d272f8b69b18eb04e385b":{"name":"@balena/jellyfish-assert","version":"1.0.39-dependabot-npm-and-yarn-highlight-js-10-4-1-eee547b5e50e4d01f48d272f8b69b18eb04e385b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.39-dependabot-npm-and-yarn-highlight-js-10-4-1-eee547b5e50e4d01f48d272f8b69b18eb04e385b","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"73ed79925d186d20d58feedd8a051c5e114ed932","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.39-dependabot-npm-and-yarn-highlight-js-10-4-1-eee547b5e50e4d01f48d272f8b69b18eb04e385b.tgz","fileCount":9,"integrity":"sha512-s7nyWU6ETztueZVPQMscQ5aPEEc/XGhhAnQtjpH9oqhdPt8fzApLn3IU9E/OMOsklGgL4aw0Ac1Ol3kGS9ygPg==","signatures":[{"sig":"MEUCIDQvlq0eEJsV0O1MMVwzIozU0cJHCLhFD4UunL+8M/NsAiEAnReXFTiif3F9WeaqdJw+cmloKpYSQSGNqv49qQ7aM4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1M++CRA9TVsSAnZWagAAy4kP/1mC/R0Jj/zI3tMO6dpk\niS5d8KluXFC/XOo4J7wWED/rS68HQ9r4No50+9MjIbOWtB096Oz+dnbBPdGb\n4vHRIzFMbLkNc3aOkueZusHxFfY5DaFKGJuYqlOi6ap3SNWuSAWt7LYgA0vB\n99w6RQ3f1ZLD+937S60JYtfnIS0h7hool6lSHt82LPT2AVFs3W+M9BnfFZoi\nNXOqOv3TirrOZb3m9tLvgKyLSDI0BCNAsg1YzEXhqWj9tifMpfYC2n5GDfzF\nYdqM1NZKThVtQmHBCheuRhw7NrXqn6sat7dz+fyWD5aZ3W5tKRslhL78rY+J\njlRzzl0OQEy4eGPZBpZiz1xTJ4v5PAV+WuqGv5wmvKujjQYkF+dKfd080CEF\n6Hf22ZIx3brYeZpAE1fMvuHcI7d7Ooh2q4S/OGZJR5nhDzj+BZ4gvzDmG0rw\nhZpnkZHNWzF8daY+qM7wB59+dv2qh0iFvOw3HSVE5EH2Ka/RX4ArAjNAkwbN\nxHnU+52R066fIPCKetkHubnzlqaA4FoDzIPwuWmeIAs5kAnLR4lucwC63Pf3\n9ETQOOfUR+fEYyVpreTPNRWzEEDofczUZml5z3HBeXoOs7zjbJzyYEAcfVBf\nQVvAlpF/zkQRvFipOVqxCES/WWTQI1GeCMmyFYRxxF86D0jdT2oAdHArWg9o\ncreJ\r\n=Q6D9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"eee547b5e50e4d01f48d272f8b69b18eb04e385b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.39-dependabot-npm-and-yarn-highlight-js-10-4-1-eee547b5e50e4d01f48d272f8b69b18eb04e385b_1607782333895_0.3342081341450265","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.39":{"name":"@balena/jellyfish-assert","version":"1.0.39","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.39","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5c80919eb6812cf8c0063181a29d2da03d44131d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.39.tgz","fileCount":9,"integrity":"sha512-SGl9RM+jQ5t/O4J0G/RZTW9AZQx3PVTYBgOi8caHuz4dJgg9H4t630le82+MPWGLQCM2XM2+i9dFH8d+GKRuhA==","signatures":[{"sig":"MEUCIQD5CXqoUqS5U/xYlragqR1Q5RNeKwqKJX7np3evP5N8bAIgMKf+bSy7noV/xNp9NmHnxihdYNSa4/aO2ok6ONEYlPM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1NFrCRA9TVsSAnZWagAApVgP/jSHa17WeI3pham7kfZ4\nND1IZPFewx9S+3/Zhn1LFnINMyi0/W0klWxOAB7jJLrrjFMS1o9M0qpfkVUT\nZ6kiKTiGrJjPF50kIJEj678SRwhWBsF1bEo0cKnexcTaVVqA61kPRk1lqmT5\n4zoh7k2XVjQjQDu6ebGbrXK0TFzldk2mIsRs5aGfZ/aWVwdcz9VG7WhjsdW5\nMql/H+7laNolvHhEayGlPNzYL0y3tPLsZ6yHN7BP/Xv8ZhlPkkPULhSWFm3R\nP5NPriHRlT+FQkbJqDd+15TbqwJWFjDgm7aCmc+zi+RbZFtyTJWuqDasrhLQ\n9OqXbZqSSh4yCLdANUWXEKoy/df+mPb/RFHCe1NfWzYSwOAGv6hQUBQQ9hCg\n4HayG0BtN4gmRYey/BGCJ/JzVlyva5EBMe6p2ZzMeNNLrhBotUhKEvZ28opq\nz7o+/DeaGDdoSh9Ee970FzeG3zOsyoISqabtLbyNyXpdQ+hfPvVHBqszYc0A\nXxqkH7ghv+y7lfkeZKjo8zhIh2QEGKXuzasixczzsjpRbz9AD7JDjC8nYtWw\nrRJoCXQU+9k67L1wShkSXTNFcOQwMcIdIuJ+/UZP1ZKHl14QCCa4cOemcti7\nC9cj61vjtkkpb6OJ7VshupmsuyQe/qNDF/iSP+dz0aNDscaZKtWHQmqBBzR3\ncEvA\r\n=Fu7K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"476eedbfce27802c7a3daedb01fbf9bbac839331","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.5","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.39_1607782763178_0.17340355370568572","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.40-renovate-non-major-96f050e2980c53aa2d7cd715919b88ed62835779":{"name":"@balena/jellyfish-assert","version":"1.0.40-renovate-non-major-96f050e2980c53aa2d7cd715919b88ed62835779","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.40-renovate-non-major-96f050e2980c53aa2d7cd715919b88ed62835779","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"50c6356e45e3c51bea0ae96f78981e30eeb55892","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.40-renovate-non-major-96f050e2980c53aa2d7cd715919b88ed62835779.tgz","fileCount":9,"integrity":"sha512-OSmG2TDu6dZAQwfODAk33gfzKkZW1HlYGaWjBybfUuNHqVDOTYyiX97ew5dAWXywphi2+kxdWRsoCvO8Q3zp4A==","signatures":[{"sig":"MEUCIQDWM/q21u/sYRSTBa8AAvnR7mfzHDVvwszcMTp5uineVwIgHnCloluA4isQn+kMPco+DYfIXksgnGSAUaCljzo0QVA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1lvUCRA9TVsSAnZWagAAwvEP/3y0TZQCyZ57nd97mqDZ\n8kFGnhNqzK8fCnm7VnW4hHVBDqJlNXdfspvKlbEZ0LgjhNrbTV3nj3/VwULA\n3d6+Ow8r3YdlM15EFHLYyJibTrJJmItQD7sw+nxQi2cJo2Zea6ZUceFWe23T\nYRsdmhQRpVG5BB0rR1UyuMogorXhLelYfmFWAhETZkPI2uG2Qkvg1uydmj8X\nZWDshJjjeW6xFiCBlvDQEBdnIinw7YEA/ng/SkFbG/qNQl0w9hMdpMd6UYKn\nv0zAckJgTooqNemX+4rO1qx+j1mXuEZP0cPgcg7iIsJ+e19rfx50NT1FaFQd\n5zm1U5nyF9yR2zQwe83ntkR01n2EuyemsFJozTt/3zV35xfJszcy7PplcAJX\nArfATFFfPHb50F/ZKtokVVauJb93Ytgi7iNLQwGn18X4oCiH+K7JkmxoS9VO\n6K3ETgEzOUp5sfg6YMBE1ZNd7/Hlat9vti7r0Mn/dANlkrNMgbJrKLrIQZrZ\nHG9TxTQJfsZYobz4e0E7xQaa5PutB0MGqXmo58horII1/jRjcS/guVnRLfvs\nY1E3JwdzgI/YjERjulGX9IcbJ8wx/x8QAmEGC2BDKmFRhH0UNew173g2Qn7G\n9lcmMoBeAd2CImzeVcyql4VLW6wZpeWDcF4DtwvWaQElgk8wM8IqzcnvCmYD\nR/w1\r\n=ujRc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"96f050e2980c53aa2d7cd715919b88ed62835779","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.40-renovate-non-major-96f050e2980c53aa2d7cd715919b88ed62835779_1607883732382_0.4898027629331525","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.40":{"name":"@balena/jellyfish-assert","version":"1.0.40","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.40","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"09331acb867797161e4aed6a38ed394138f7f9fc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.40.tgz","fileCount":9,"integrity":"sha512-kqbpQuaDWnHaNauqaoHtr2+GB5j8e1PkMKJXxo0JC8hZctuzi7WDiNVRusmzfq/flaGPL4de3atIb5Hvy77GEg==","signatures":[{"sig":"MEUCIQDbKNKgy0qMtuHur/BaQaPo1Sezyxz1I2G02Lf+H69qlwIgNcI0PToe5fDPac8mNnX9BHYVsHiGp0qcCfsOgIIgU0s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13158,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1lyFCRA9TVsSAnZWagAAYycP/RneYZ232NWQX5gT1eOu\n29SY1ht3bWISwE6xaO2cVk6THkwwpOqhYfVNPWVl8lbfexO8Vi78XPtj5hG2\nChIZB1YsyjLWMg5Mu5tgJeH82HrexfzbuIg23A1BcjbYVsq8lYJXarE3uB6f\nxNw7ixkxp/BiOJKdPB3XKy3EgW1YFhYzu4d11fB/XOlQoqzOiR+UtV/RXLUp\nadfyC1DrDkVCvxAZF1KHgLp0UM34tjaKT1xxBJJwbYCZw8YrtqcJrqu8s9ZB\nJ+KetuayIAzC+gJ24dlEBqN9ueT9rEdyWrsLFDAUvnn/oAJN9I+qHAI/NnfY\nUCUc6CPGxMHVKe237AjnGdPapBW5gzZqcWkagUshZzBZisGQMR3v8hRjT1pa\nlNbkvnBH54eth8iXd2x073vOGeibrdSJ9nr3gBwinJ1yxZek5LA/NkwmahUf\novUxqEvuvNF/DhP5oTKvzqAjiPJ/sNqEYRLjYeXePafj2putkjfOBg+01eFR\nwdZPsso6DC9kEnuLAlRSJCe6clTOmxJNVqm82j0eJDSg+X/md8O4o4Nyg43V\nH2DYv83/VmrtsOydy/x04FbrYVOtr5HaBAWy1nKzZ0DXC7E8FJne4Lxubyk5\nNsAF9Gi6LKNB252hdBWFjQ0SjByyqCuHFQZ2rT/79eN5FpyzCEmFcCw4A6Sw\nPFoi\r\n=PZzD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f3ffd1fe5059c4c253c0f0df5f40db6628a568e6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.165","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.40_1607883909226_0.29824981151242214","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.41-renovate-non-major-cc778438c4fcd1103640a0bbfd688f9f022017b9":{"name":"@balena/jellyfish-assert","version":"1.0.41-renovate-non-major-cc778438c4fcd1103640a0bbfd688f9f022017b9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.41-renovate-non-major-cc778438c4fcd1103640a0bbfd688f9f022017b9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6e750deae5b84d4f5544eac498f81ce3a4eb65db","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.41-renovate-non-major-cc778438c4fcd1103640a0bbfd688f9f022017b9.tgz","fileCount":9,"integrity":"sha512-2aStO19m50GVWblicBv+d015/NDF1adC5DPTISox/iwS7erR089sYOQ+J2LO9VJ+YEzNQitdNcKsUpyY3qkZlA==","signatures":[{"sig":"MEUCICMq6eus1INZgct0XNmj6YZaDPwgk3dNMX6nyJ5Qb7v9AiEAshW/RXDgsDhXdSIUi/AxIvESj5q1L5oARPGcw6eqv7c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5+J2CRA9TVsSAnZWagAABgUP/3SWJZm89mbOAZjGMiQe\nNz/nmslNgRgtDjEXHI0PacB1fwmHnLWUKuc1v4nAMtGwSWqncLmJHfCOfOHw\ncXb+QPvyBNk4jYbE6SJPmeWYN+X+q9x3QPTmv7ouMI5WetN2AzxUp3HpiaGt\nt6gxlB+F+bK0WoC94+ulVxE6rWKlwFNQsCQitMoFkLt3k12De5WE+Y0QveYW\n53KZ+J+v8MI1MHnG/fUK+C5WhajurT+xufifO9GiXRjCvoX5U6fZw6r+JKVK\nHPWu4xnwR0K2qn+JVXZUhIIHwC8Me0PXeh9agRJWbTSS4CCA3PlFLKXMJfaS\nhvrOBPS1cXCDwAsqUs3/BAOVqQ9858pDAOOFNeMSAK+yhxNoqvXppYNki3xh\nokQC9XFsI+a+Lly4IDccpmzfCn38dWjljPwHyLHHO3r7fJ7M9yNMBzdadly2\nU3g6rJorPmPiQFiMyGimvYGtDwl2ZEvkEVFCmVsu+BB4P3Povgt0XS67RaVr\ngIT3L/bfjXBnZiFFMLT0gBGnZdRbQNWtY3oaRtX/cmHozNIYmloo2DKohLMI\nLML2w64OVD4WuzG+rsR/vZztF0ADGzBItqiMQKHXvtgn+IcIN82k9Md07LJ5\na2mFskA+uWPLW27e/DsQzJbmRbwkz0qATd8zR6OeG4+sU2BHfQWrEcW2v0Gv\nL2LK\r\n=yW13\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cc778438c4fcd1103640a0bbfd688f9f022017b9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.41-renovate-non-major-cc778438c4fcd1103640a0bbfd688f9f022017b9_1609032309555_0.37511673029600545","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.41":{"name":"@balena/jellyfish-assert","version":"1.0.41","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.41","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1b3c0f4f5c9519282256effa15f3253fe31a989f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.41.tgz","fileCount":9,"integrity":"sha512-Jz0l49krk0i8XuIU3YHkpIYnrxYFV0HNDP35InTbUR2My4ezPmP7McZ7RMGKf10dJCIn7ENS/FwesFqqdrirpA==","signatures":[{"sig":"MEUCIQDRHDkN8NjqoyERzeZ2UfrDQAoNjkKcLLO5AjQ9yHOgIwIgVVVRWTEM0YXUeKx8Fql+M5fvuotctZ4mkF7xu5u9S0E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5+PXCRA9TVsSAnZWagAADQMP+wdgW3pGf0nwXwFHCVsE\nq+nb/zrmh/BloeZ++KsybpQ6AoI6j4BCKbX93ePOAxTTGrHGkUuAqHiTfw0o\nueOjrB0YzURHvVo0xn9t8YnVmUs5y7Tkr56PToSgODoWSmU8gqq6JWGY46Kk\nW5jiA1BtLawuPNpu18XL6o77IwHwlVVfpvxZYiTLMoIYdOxZc3q7ybdZ/3EI\ncO3aZKVeL0LVncoD1HB/PdRDdYhR6q8S53vMOi8cmwgRNM6epqrgjr2USpH7\nDxcap57jCb9HLShyppLjQgHM9Eyjw7zgekkJeLLgWaErIbQcfamtxAIgfClJ\noF5fkcUVu3E9M2n2pSJ2oD6FpM9C0gkpa042wfd0TrjMTYLVuMcxtMmbiJkx\nkVOh9gp5307Hz5mHntdF8tgARiVjdAi2Ng9q9x8hqqDFouIR5Nz2ZmdVFxew\n0PPXkl6xG6PRK9sA89pH0kShvwAsRmkx13IOGNwCOkeZB95a9RZGGffUhRJ5\nmGiXTpBUh3i8MaKkM6ouNWQorkIFI5QePzvj/t5cPDEztqhGXXtVy1XnIWrz\nH2bzkBcYfGzcERELRs6dVk2DtrR9M5Z87s3LGh9VV3FYWzlkfcfwLD9O5djW\nV0A0l+ZORrso8zPMUAqu6tep5CO01F3/myne+ntB4kMXU765FTg5qRWvR7aW\nMnq8\r\n=GZit\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3b83725ac7daa72071a05ca699bd73a233565e39","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.41_1609032663518_0.6001248528654617","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.42-dependabot-npm-and-yarn-node-notifier-8-0-1-7ffa086841c01e7801961b05a3849fbb5818d63d":{"name":"@balena/jellyfish-assert","version":"1.0.42-dependabot-npm-and-yarn-node-notifier-8-0-1-7ffa086841c01e7801961b05a3849fbb5818d63d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.42-dependabot-npm-and-yarn-node-notifier-8-0-1-7ffa086841c01e7801961b05a3849fbb5818d63d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d8ba3c24c7dbce4868191a7427f837abef77c923","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.42-dependabot-npm-and-yarn-node-notifier-8-0-1-7ffa086841c01e7801961b05a3849fbb5818d63d.tgz","fileCount":9,"integrity":"sha512-kP4zRy/QVCYZHdEO1ASVOD1XU9tYTgDJEc0NVKQ77PzGeazb6ZP+aPgS+2LBT+eMhlfVZJ0dWToNKlHthyVf9A==","signatures":[{"sig":"MEUCICBLJw/+GN9n8sNRse9YG2Mts0+nbF9prL2zubq/8jyrAiEAhiECfxfsDE02sak+OzhwzPjdM1JvKebsc9k/E20K/Is=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6SmGCRA9TVsSAnZWagAAkoIP/3Ec9gI0rEEXuFM1aioJ\nQxJ9BJ7u4V9ZSM0g1DjjH1P9H3JAgVtIbk1a5YE/Ns3QyvKePj7YMBU80xGq\n5i6+GiNLbN7Ym7SvYebS9fRcBfn0q1lplyrQ9pFSanQteDdToCH4gIS42Nx4\n/w6UbQSkEuyMWJea+bE1RGE1/KUitmZibw3TxH3w6U8Vi2Fykd0YYpMguVfN\nmkv7SEcLQmd0S1LWVtI50U98qt1LiLnlzPBswnn9gjS0zZludMKphE/4kmtV\n7DfM6hTTfD+Sw3njPmY/vNW7tyX7X+tH4Gt9WKS9yPhHMWeXnD97H15U9yfn\nGWFaz/DWsHLmINEGhTfmCOCfGQ3PbmXv7mvX2XBBGTnOEJfIGXRszBcaOwwz\n1igs6YoerqhQzOJiOAC6G4earoDB2ri9CZUthD9nY33plhWaS3Zp8ua9yuAk\nyVmRkaRYO5uvQk3yM2WCu4x2GRN/r6/PevyAjFD0CbzLGgaZKTNuVf/QlY8U\nKaeZKGEPH4CfDL7so74xgihumRFI459km3uf+Mg70vKejUcpKCL8xCfb6S8a\nCnFttj0jg0df7YmTYTt0i5v+aJP+fMAo02JZMAWWz1Hz61ngsHVnSOzSYxzH\nUqnMpJ+HaSau0KkKjhjdnRZJXSNfRz5cSnGEGVdviberZvPoGHNxg7CYQDdm\n+fsm\r\n=SQEO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7ffa086841c01e7801961b05a3849fbb5818d63d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.42-dependabot-npm-and-yarn-node-notifier-8-0-1-7ffa086841c01e7801961b05a3849fbb5818d63d_1609116037336_0.8937311790488145","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.42":{"name":"@balena/jellyfish-assert","version":"1.0.42","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.42","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3ab37787489ac6ff6473153e1592727ea6da128f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.42.tgz","fileCount":9,"integrity":"sha512-89GmtmyGzqCH0MziGGfqoCOMeaaKZ6ABk89wMQTnibBfpHqUvjQBOd4YMJ2cvZmvSI8/excSAv9n8OcNfFbVBg==","signatures":[{"sig":"MEUCIQCbTenGAc3XxpBcUyFbMDz1YNBOkxylfQVVeLxi3wR5jQIgZkXOMX6vNJ96qnwzMCaUou9CjwNwB9G55jtxIxO5UZU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6TIlCRA9TVsSAnZWagAASgQP/0aHex1tcQCgtNngw2L0\n946pmxzRkMb+qdcKE3uITS1ALTxbpwTZOh3jvUaImS7qActAdLRBmjZb9Ktk\n7ND7NCYHFBToa2DI0JqNh0KJlVjBAg5mGt+/hciX1VZEsYRTnRD4l+VzcXhh\n7HmeAQtVM+ODq1/oHbt62c+lSDX+AXfUjuZonlgOMlEb2l0Z7peDFd9ZA96k\n8OX5jhUmnqsRAF4OXL2106iwjXPLKkh8urwIXkL6cfMOgCxcCbek8UdWvJy6\noJmnHDJShj7zlfiCtAPQmqZto/6VAuFnt/dl5MBakKKiUbHa/YHsnYGTPs3g\nP3D4WlIpcCtlnW1I40TNf7oJFo0F+pvU0xmtY+10X/KlNZjkxns5Zh7F4tjd\nEHsyxrUd7FxKGlVm0o7kb5f7JUuzr1mBpIcBPZrWmNv+ZcCseszmQZ43R86M\nE82wzbrJlRPn/0mHhdal/MJQ2NcauS5PyudRJ/0elW+XWtp5u5B+lAozqmTR\nwxgTqh/NqnY4Vsa9Fg+1w+DIS0Tw9YPGN0vzj8OaYlEyDVJ7iP2x/X+/woER\ncFFqAWxIsxvLi+h1/ooUZ16Mnq9Q549ZPgYrknb5QE68efcJtqOrfQqE3EaE\n/jCejuLoo2GQ61hoKELlv7wxUZDIxQjBXFsADwQ92CLAg8exfezXqKbExuqm\nP4Kk\r\n=fA2Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"dc0eeacd45f011a75efa6d068aa2adeeb1d97a57","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.19.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.42_1609118245197_0.16006515738301674","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.43-renovate-non-major-66223827d788ffee6b9987edb09ec9d400922bca":{"name":"@balena/jellyfish-assert","version":"1.0.43-renovate-non-major-66223827d788ffee6b9987edb09ec9d400922bca","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.43-renovate-non-major-66223827d788ffee6b9987edb09ec9d400922bca","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4267b7934d3a0aff55db938fc4d8c6649968aa28","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.43-renovate-non-major-66223827d788ffee6b9987edb09ec9d400922bca.tgz","fileCount":9,"integrity":"sha512-I+7ml2s0HQAiGS4qntCnbHsifHTOE1+rZwzpkelI8J+MMr6H5BRxxQvzp5K4Uc/Ghk5awcA2C4zCbuWnFooiQg==","signatures":[{"sig":"MEUCIQCxeANyM1I0xoNTCXkBB9c9ZDq2pfgvibZdyyNAbQqeFQIgIByMn4yD8BSjFt4/9nP3ypQ86nj8bGItLGEkE9RcSaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6ivzCRA9TVsSAnZWagAAHSkP/RJqz54w4AdVm+nPoFQh\nnJ3O8JFXoY0RcXzTFHd+Pa7Pxk/9FEn/56CZg4IxXIppbHgOzFWboj/HwOlH\nkoVE+9to9bsYi2HAd04SNFnLxm+LAjF/4KAu7nnU9f+lv0BYkXLyAd2F1KM1\nDnhO7kInoM3km9qh1+7JwTIL3Oo4bhllRoFH40AxuNroqdd2bYPpK9i9Hnog\nmbZ8gE7sF2Weu5xOkQFStXVl3IzFuN8wPamvLrAK1NI1Lw9qWpegVCFdBHaj\nYjuqAqtls/4J+pmNoBobEhkhEVGvNWMoFZqEuL1840fE9dWud3y6U0AihYXI\neNVD00yaPvQE2l61OePBmODasEzuoh1a/7JzLvMKWBpmJthSABGSkEmQugB+\nEHvsGzd9IyDEX/nXPuG8lI8hfrqu/aVG0/avYl7VYLmOGsI6xd5Qijs2uDbK\n1vz4WSsxUZWK2D3IOjefPY6oQBjWLIwUWmoezVz3BT9pPSXj3gKbXIeFbijD\n1fxMZOoTXGh+eG6TwExISZksNZKG8x1Wtp8nLuN8qRZ9PFyTsALmaTL9cuqn\niNbCV1kF118Vc5KAsdZr6mOH78aYZSSHn37bylQqTH6sVly7HMl4VOIR0kFg\nEdE4Sv6iOVNR2CV3sOlocAchIq5UqQa8cxHx4jBgj9c5Odl8iaxsnuIVwjHD\nn0+n\r\n=GmEv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"66223827d788ffee6b9987edb09ec9d400922bca","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.0","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.43-renovate-non-major-66223827d788ffee6b9987edb09ec9d400922bca_1609182194719_0.8402605353950456","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.43-renovate-non-major-9df9c0280ac7adff01078e2243d058c5cdaef20a":{"name":"@balena/jellyfish-assert","version":"1.0.43-renovate-non-major-9df9c0280ac7adff01078e2243d058c5cdaef20a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.43-renovate-non-major-9df9c0280ac7adff01078e2243d058c5cdaef20a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fc35a44528c00f49238cd710877e2bbe75d98e0a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.43-renovate-non-major-9df9c0280ac7adff01078e2243d058c5cdaef20a.tgz","fileCount":9,"integrity":"sha512-5lNZoCpSxmxo/jUAWsiX1SXZb6DMIOI8t6UdyeDIx8iPtN/8O4D5ampSEY4VotgsUi+rHgDJrj8eY7ewnzVQwQ==","signatures":[{"sig":"MEUCIChjit40OJns5t5204OawUxvxM/EQQCkJEqt2Fmk1C7/AiEAmSuR6FNhfm1Lb2nPPjjZgsA0B7DQtdqzmSCd1V4G3FM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6rhDCRA9TVsSAnZWagAAA8kP/2AWnMfwCGJ1iKAG3NTU\nYIlllMnG5s6Oks4SvejxlTJiUVL6MwUfwcI6XrsPFmc4/Xyw/7e9Iiglx3yM\nDq0IWhRUbnG2qkn97hyYg6mQbUTuSEgnt222hpTqrtbOwv9eZOCb7GML/7wT\niOSDnvCMZGeCUIxyuF3jUC7Z/lBwEHfr/wsD33DPKQS/2vWM2eNuqadiWvIh\nSbz+nTc1mXD6SVPb8J9CprjdwLS6LjroszX8tpT1sBmKuLnYLYVpsscyN2+C\nIH78P/D+uLYI0xe89/GiwJ2gTGCHnSQU16DRmLqFY9R9r+uozTI4pM5P0qeQ\nLVtsHHAG8i/0tm8tN4vBgKDik8KbrStcBHpxQ/SofHfIa6/WpiFHMNJulgsm\n4uEsHIP+ZrvLVU/OQKBthm81sI4xGINc4+q0QcK6PKUKBAUjF0okPF3CIj5o\nNmO8TbOpGZ5Ec7ChjHv4Hfpxg3GADW9NaJtJl4gvHffsIsjdXVR79TtZtLyN\n0dWyRgg3QObpZVomMRbdAv9by6F0WyfnHia8M8rD5ru5pNNRHlWiHwgzBaZN\nssHP4px0YtOc1hH7phWHuSieL3LlLCbenWAGV73LHrymbTcFY46pRnhD85CQ\nPvOs7Y03L+YxEKy3QREJWz7t9uEU/4QvHt+gYqP9HxZ8RDi3mq9ZUt2iRjmn\nItqS\r\n=dUB8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9df9c0280ac7adff01078e2243d058c5cdaef20a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.1","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.43-renovate-non-major-9df9c0280ac7adff01078e2243d058c5cdaef20a_1609218114687_0.05213022241405718","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.43-renovate-non-major-8a6206ba76d48b92ae50b3af92182a11ac960e31":{"name":"@balena/jellyfish-assert","version":"1.0.43-renovate-non-major-8a6206ba76d48b92ae50b3af92182a11ac960e31","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.43-renovate-non-major-8a6206ba76d48b92ae50b3af92182a11ac960e31","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0d9b8a1ba1a6222525da8469c8bfdaa39342b988","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.43-renovate-non-major-8a6206ba76d48b92ae50b3af92182a11ac960e31.tgz","fileCount":9,"integrity":"sha512-E0k/cnmfe83BiL/6Ry1fQ1KUeCo7RSROwzgdfFa34P1DNeZsD4UQRmlMws++fQFia7G/a4BQQLTX6+dhB7IhZg==","signatures":[{"sig":"MEUCIQCmguFsc6gaeaILYek51cuQCBb6gEa6AJfeA+8CzkGINgIgduCYCH17pVKHhSHKYBXpbOrFjmWwmYHeGCnvqQ6hO0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf63imCRA9TVsSAnZWagAArWQP/i1BQxPkFNZ6AyL/D7nq\nSkqNmDacRncuyHZSBUnphX6+ao0swYWJfWX2et4lDmx1hCEwSI4GTaDLKhWz\nf/6kfSPpfY34UN9rWkUU5mVKtLCz/M3CxgzI+9cdT73n+iFt07w1i+OW2SzB\n6OISUFOijuLo2jx4ao/uvdZbCYhEPA2SIqgcNSnWa5oyCbH2N8/sdlaYRFcU\nSyJpEKPo4SJoSPEFBz+flEjWxK23MSTmNk3OHjkyZpie4IpzRZ/6nHPpecl9\nZx6p/lPgGT7J4fZfaDP+3VmH2zGmxPslAZLs6Qm1bIgRHgqWvdoM6/8sE/M5\nOZs30vnBq6NwOA9RcR3pSyJphlZ6hQD7qkUFXtnGaJSz3RNQ7JvxcSqhjFWY\nYhY2p8yFGBLUYfQEU4Nr4b2MNew4ZNB42kaxWTiOxt6LRCQ+i6PTAMQzuaZT\na7SA3JCTGykKIaBNipSs3M8FMkg7L5uV7jInPQCfqu3x7BuJVizkLtBRANCp\nihJPf4E4aCZSKGUd9AQuEKhs+y8mB0VSXkAxtdkHjhCiQphias/EepoaIX8/\nYDBYjk7jsx1ZE6LaKiL2isLo6mLmg67/xh6xv/7+PK+KhV/yS8FlyhoM9prL\nK04c/yXusY8irF8Ryio9c8PWVHvxVTIwdO0RSFni+bsNWvPoG44fqKe4PKk8\nAwuk\r\n=O5X3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8a6206ba76d48b92ae50b3af92182a11ac960e31","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.2","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.43-renovate-non-major-8a6206ba76d48b92ae50b3af92182a11ac960e31_1609267365952_0.08019961243775553","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.43-renovate-non-major-852df75591c82b6b1c4859104a28d5e42207c934":{"name":"@balena/jellyfish-assert","version":"1.0.43-renovate-non-major-852df75591c82b6b1c4859104a28d5e42207c934","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.43-renovate-non-major-852df75591c82b6b1c4859104a28d5e42207c934","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b29817aa343edc08047fc61bb025118491ee582","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.43-renovate-non-major-852df75591c82b6b1c4859104a28d5e42207c934.tgz","fileCount":9,"integrity":"sha512-Gcand7WSNzibnRcEOCmxy3Zm+RCoe4arR0T7JVJBmjU+Xx7UVfx/hO26O/MEVM2c2YSsrwx3zqIIPHdnZK3riw==","signatures":[{"sig":"MEYCIQCiGQT8L+E/u186Nb5ZkHssZgjbljfcjLqDlsL2QcbAzwIhAPxehHpBLJEwEN/GI9KUPlZ3hd4jnE+QHoQ7qqvwWysz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf65GJCRA9TVsSAnZWagAAGzsQAIaln1ZExFyU+yvxlTRr\n0WjAsy+/kJ9HvqTtLFv6RMoYMNgH9c5GOs9hlbSvS7zgn62f5gnAl7T7n2yL\neqvvgKyx4WT9xqH/Tz6NPBL7zjEaIyFX5SfJskAPHIcVLnaIRYqWuSo4AfyH\nmkcmTjvJqqVcC+vo0JtbFog7p01Lh62MrWtkhXs7qqGP3nsh/H0Kobpc6v78\nwN06RXTLNXOaION9W9Q/SJDrtzILpjFtJo/IjNDWgnNGWOm+1Ar74pMvUXvu\nYll7YftnV/dCmmwMsgbvQWrhrOFjAisEKC7NLe7UTHkb9UNn+ikuQ08Vds2Y\nltAIWPQIVD+s83UGyey0nCS/p44mjPNMW/Xosvkm5TG+Rg8M1dXfmMtgggPT\n77D1oDjGMGJz3PQDUvzEQW8o+MgR18C2B8hlqwAnUu9vyxwzhflWRIZGTFQG\n/Qo6746YZMlAroE+qk+SGeFaDLFL+tmi4mY+qH+IkKAGrUNaqKsA5/evi800\n+UP6L3csewQUBoZADSSeryBm5OJJ7js8Gqc2mQuej1znQQcMqiudfPQNB+q2\nUFW1zhDkSqfM82eKp4+KF5pE2lp8X5STxc3rZsHvRVdh8f7Vhda7eE2d2nHi\ndL5r6M5/nQumong1tovWLi8KTRwlpiobGTb73Pc7zIX3LH26UKpfaK/FRWQq\nlgVs\r\n=CACY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"852df75591c82b6b1c4859104a28d5e42207c934","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.3","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.43-renovate-non-major-852df75591c82b6b1c4859104a28d5e42207c934_1609273736452_0.4358038942924878","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.43-renovate-non-major-f13650b49f6b51dca8771cd1193a661cd67274d7":{"name":"@balena/jellyfish-assert","version":"1.0.43-renovate-non-major-f13650b49f6b51dca8771cd1193a661cd67274d7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.43-renovate-non-major-f13650b49f6b51dca8771cd1193a661cd67274d7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"55426d7c38d7d097ed92bdd85088eb2eae3bd988","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.43-renovate-non-major-f13650b49f6b51dca8771cd1193a661cd67274d7.tgz","fileCount":9,"integrity":"sha512-v9Sxiyw8B5rIlc8KdgivE3sPprbePPyzlqKYKdaqV48zD0pKimdEF3GxQh66ObibYcTnhmPhfUM8sFuP2cgATQ==","signatures":[{"sig":"MEUCIQD8TMWWB9VN5vqL/UgiMbvQDrI3tQ8JwoCigt3vcC/skgIgfoXsFBFQe9LBRJrthUhwZkw5AYVd0iNJEMwy3VbCWQE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6898CRA9TVsSAnZWagAA9HIP/0wBjvROD+iOIpY82+Xd\nTbX3PXxk/vXUbNfnfOjnHa6/w50BL17WZZTtuF5GCmuMM7KobSiMlGOQs4Gc\nU+uImEkZjqoZJBO6tg0n6UgrAUyqu/QFMMDD+kYUlwbg6oZ/NqJtF0lqhfaG\nc31wgbyiDcmOzkTqe2jMvdLkRYN7GoqF/N2GdcCO4+9U8ogGXu5Ue0+2ZJC9\nB15Z59pPx9ZXrGoWJiHWmOPFHgoC+5CCQwjcpl9++KZ0M6BON9MyPWSD1nhv\nHdJGofOv7dWuj6tjjYcofVhO3tap5pz2Wcpqh1Tz98fegU6L69941w7MgVtO\numtkLavU5BRyICwZxTcDFs7tuNlmjys+FN9jIHWEbfL2J9wcpnG5lkOtePsK\nPRwYP4M6RAj3wQstId8WfeHnNBnuLrBmOgOW18SrXBnKQw19R+Frm36O4zmj\n8s3MGH7zgWGfCoE6hQBM1g01d3csiNobNPQE1L75b2nQSJMetiwRyt1auxJm\n+CO3HiSu19tj5K0Ju2QUi9W/Eyne28awWeVYMbunpvakSsAp0qq0yr30m1F1\n0t8IOgglhhu373NFPzHCS1JWgeNYisk0AVX4/47005+Ash2JAgmPfQzOTkNY\n7LG0FL5LNG4VabA0OMxmyYxoTPUdz89R77pQ7Hg5Ljra2CJZjkBatyJpoGvx\nM+Rm\r\n=jTFK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f13650b49f6b51dca8771cd1193a661cd67274d7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.4","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.43-renovate-non-major-f13650b49f6b51dca8771cd1193a661cd67274d7_1609289595632_0.5192655793122254","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.43-renovate-non-major-3cbc7ef74fb799ed438a524256c4d9eea62f7e26":{"name":"@balena/jellyfish-assert","version":"1.0.43-renovate-non-major-3cbc7ef74fb799ed438a524256c4d9eea62f7e26","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.43-renovate-non-major-3cbc7ef74fb799ed438a524256c4d9eea62f7e26","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"333ec80875078f712d4f4f8d0e65a6e59ea7a620","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.43-renovate-non-major-3cbc7ef74fb799ed438a524256c4d9eea62f7e26.tgz","fileCount":9,"integrity":"sha512-c+XxiHWV96aoh0KDlL9HtCWWjETbjdaRByiZR5k0bKwS1kjjVmLnHIHdtbiIAL9xxmFDID0IIlCM8pOsmaUG/A==","signatures":[{"sig":"MEQCIA9yn47uisPgrD8PuCgP26JVEO9eFXZvuSNjD4SQ8NM0AiBKpoZHs0+qQqsgRqDjK52HwUvaRIYnNfi39MQnom3dHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7A99CRA9TVsSAnZWagAAKLsQAJ0kal+Z1aEXr8qAFUgr\nqJ0y4p+F/VD4JG8feuQm84kPNLU4Jvz3078xtKoqlFQhn3ogAaB/RSl+sZ6g\ndYSPMajbiB17brhfSrMqLwTZA6/Fx06SN2LL0VzYbwTFra5YlTK6ccPhzMOR\n+Ze9NY8rWL0wQ6SpqmoR4fRLhtsdkLPeWhnqaHGvYQc1a0dpvnItbnUWeBgE\nvEiSGH/WORJO8d0mRFM4llvLLXxv+N+HSjxpAX4wZPvoapKAI2NLHwiMUsyb\nagsu8kQ3Rz6+S9Bo7FrZFFIX7xLsnHxvgodWE8zI7gz2jNpDOkYbgAoUwxXN\nIMMVv152iLZEzUsLeK+3SPprFRIGdzi/OY+wGqAxAZgmNlTn+RPOE/PFWqpY\nVuCCBfhvoRreNyPj26mgTI5xSg/tpp8/Q7zpATr+adCc/cV3cS+2/zz2tceC\nOzJ410zl+Xpylqp0BxQ4cEN+t0fkJvCd7Mz5CZ/8DtMEC840SO10kxNTH5BD\nk1RCI3JX95jzQ0YGDwbd64eBTILC0eEoOUnLMPIrsQmvRQUZuOC5eTqImIt5\noVrwpBT9EutmvKluuhGpMzB+pI+B6tuwQ0Mi9HQ98+MKtNscCP++TNuszVWj\nOzt/HhZSS3GcKZc6J78BquzP10Kg0/o6QFb2lo3xdYObsigPIxhg9LRtM8n8\nciLt\r\n=w76I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3cbc7ef74fb799ed438a524256c4d9eea62f7e26","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.4","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.43-renovate-non-major-3cbc7ef74fb799ed438a524256c4d9eea62f7e26_1609305981211_0.9661085371401634","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.43":{"name":"@balena/jellyfish-assert","version":"1.0.43","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.43","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"504b2e7d1d8cde4e4507c4db31e77c6a2485f237","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.43.tgz","fileCount":9,"integrity":"sha512-Y51YxPllNIhMQ6QptwtTKtJboo0GBYWNanS/k+SLUpnm2B0rdAhvmflNhizUeVmJxNFqCJCAyQYnS8da+PiJDg==","signatures":[{"sig":"MEUCIQD+dpzRi86Tt04XrDLBqf/7RNXRZc2E7ngmTIPMIhiQDgIgNdWUrXUKu8MFyW+Bewm/jjZ9PuBfftQcWIP8OeEpmXw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7BAyCRA9TVsSAnZWagAA9xEP/2NhSxYKToTVqtHMFb3r\nNeIFRNmD85gTnwYaKwgA4/gJ/hrR9OPcnAZU5XUV6jhWLe3GNh7zOapuN6Ys\n7RunrVL4Bfo26ljXziLu0ebEa6evNK4nFplwiq2T7gfFL5j3T6JXEhkhsudV\nt8+bzdmBPK8qzhBM3a6oH542uURF5LBptlsWu5/1pncbIyVztOmz7LAsUpVw\n4/BTFLWZs3a5D3OtrYAnhj2ITYIT9Tj7R/mL1sSD9WwqsC0L1MLRaxKEkrWJ\nSoo5Oq8fLZ4Pve8sS+p5W266+IF3Qf3UDLswxml2hCPWNKclOKpHqfY+nfXh\nOAAjIL451d4ceb+5Kuok/9hdsigd9lvLIVAXxyty3YkDr/0llWEgbFFivhTI\nIRDRczXdyLQam8GmgRrVjJve80qf+ouCLtaoBD+c195FTN6t8NvEVVy2im0L\n0NYy5sw182CrTJLeEFFMjF+IwY8+JkAwMGA7w9+lnuZURAnPTOu42F84lx3g\nq3BCuwKT4c30yvYmrTLbIANZNZfOieEC0acwQzsG4pTihbYg9diISqsVAX5S\nfGxNgPpY1NGUZqQMBWLohl/sGNRPpRGzB1H6L5g9dcPwTSt45lT0NcI07e/U\nLxb57iWBZmwqKxPT6WQLZLY7E4XZRA7ePjH3CGeBJ6fbC+PvLFYGHfpT35MS\nidRv\r\n=Ey6k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"83cfa72d4ba008f3813689bfd9e893fefe39451b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.4","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.43_1609306161739_0.31006190755610885","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.44-renovate-non-major-d7e05333c1df364fb8a58117b9179e8e6fd3def7":{"name":"@balena/jellyfish-assert","version":"1.0.44-renovate-non-major-d7e05333c1df364fb8a58117b9179e8e6fd3def7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.44-renovate-non-major-d7e05333c1df364fb8a58117b9179e8e6fd3def7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"76273e3ce400f217bda708b624be5b762a10254b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.44-renovate-non-major-d7e05333c1df364fb8a58117b9179e8e6fd3def7.tgz","fileCount":9,"integrity":"sha512-IECf0W6f1MyJPRbYQiHLIQZ6x0uuWQSY2+hTpN8uCjcxudJezLZ38DYq/+WrYRln0leiGHHz43l8LTVZqXIe6g==","signatures":[{"sig":"MEYCIQCdK4CoBZ052qxPVLhf0AizhuQcM8VGF6Ia8kIpRO2rmAIhAIp8xx27++7uEfbT0Ybp/mNy4yfaVsIO/9uqOT8MVjdZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7Me1CRA9TVsSAnZWagAAW9sP/A0/sSvn9pDhjUNcpnOX\nqzPsMbEc6Vsr+ohhAcl/eASM33g+rgH6lmqnBCpnkgA/HEYbL3ErsKik3Qpd\nBKG+qX9v9aoU7NX2HYPHfBZVOHxAg6Kj9myuxdOtCwMhHQxw/YTH/HZH7WE+\nx4qHEmzJMHVyltnrVEJYjuP5FgJx0aKdbTtlIVMXQuYBBV39xWvgKCYG/B5i\ncr0V3Ii50VP9dt4yt8WgElQ9m9yBaSyMJA9v8M64hShq4Y5xEBAOrowMJUvU\nFniaIkF6Abdr2q2zlztL7EAHr6Il7xyeI0tqBmKekOWN2CGfNsEAsyNHwNy+\nfQniNrv505qeAJsorqvFkQYhI88z+Iw+hqBJ4v/Jn1UbVyyzpDPxlWyOHGr9\n/2CDEoPdLf0CycCzM0hW9daDtMWfCOh1eJaW/PMPjm6DEGJ6zrmkLkW6H/0m\nQN7SyepR7Ge+6P1z05kIv5pt7giPdFvalvD2ZjaGl7ylZQU6EHOT2zGFAQ7H\nt2Jy42diKTbXHAbKszq27HkWUfOaKx4ddY+pJWJlhik3UaWRCXTiVa2j17t1\nZaEDpV2kIXHg4GJxgTs086qluoLUlYqKvyeJvWPL+UnpuAuYDCP0VPIkVDHp\nAFBpPAcZ+iwz8MK2a317R12ATTRATmzNWoyYkqviWkvY69Uri7swT2XyBTLJ\nNJT7\r\n=647K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d7e05333c1df364fb8a58117b9179e8e6fd3def7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.5","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.44-renovate-non-major-d7e05333c1df364fb8a58117b9179e8e6fd3def7_1609353140975_0.1046778937170727","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.44":{"name":"@balena/jellyfish-assert","version":"1.0.44","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.44","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"18f55fdb61ca1184d15f365e57f7bb6b6719f9d3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.44.tgz","fileCount":9,"integrity":"sha512-wsSUrBcwj5NDi1vYvClPkCDil9CEZcx0eTyet/QdZu5T7MqlO+yFZ2qPUnFPTgvdeJXUbE2erNVg3jUxEfGLDg==","signatures":[{"sig":"MEUCIGxK8POUzuMKoikUmrloNPZD0P8EUS4ourk4XbKWB1awAiEAh5pE6wd6b83HwgLNbjwWFjoGKQ7iQcKXZTaV3FtXIik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7MiWCRA9TVsSAnZWagAAZg0P/jFHiebMPmPtsopvBE1v\nQt2qjhCtatAemz/9ygqn2/2NWzUmQ/92hjgTnUc7ATot7Cur6TKE8/dabrC2\nr+jOagLqC32DyPu+0TYFGtppwlpJ8G32BESULzk7/WZolWiF+a6kkPzmLm1V\nIJdrUY5gws8tvJ+ZjBNcq5swM1vkYRgfck2dWe/nDZssD+wGj9xU8XVKTJvu\nZe1dj4GJbddzZ+g6wQR8qjDn7Rgsrw1lQ2lSrsbsnCnDYYo8guQLP+I5vSGI\n4ycfwX8Z2y2mUWFROeEm3scSm9QBtXNTyFbLSBiKAMrKcDfQthDAbvDQ6a39\njzXYnI8/0yfpNA+ILM1zUkPNxUxnBAnqYj9FwK4g0qxVyzUPS/GZn6U1xxIu\nnGf+Lz2/KI/TaBin8xqbgeyP36bjEMdH2v63fBM23SyXFq0sJmt5HpR90x/v\no8F1+fhSNI5dYL/mt7vGD4k6YMBIkCRhWqYpcfAkl/TnKMl5pPm089frdtCZ\nWW8Bk8pLT5AgXqwOTseOe+VjnUN9Pq4lO5ESJHTBHNDgzmBWD/vzxYmMR0xj\nvLhnH1pi1TkzFjPOAftRouhPs9QjVAVgOppK84gh1otxYqHdLqgQrW/pdcqH\nCetndj101/LNrXBBZPz4rqyHKfs7up/QIelOwoMOsxcPdxOkXsh4qhN5+EYJ\nQMt9\r\n=iNL6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cc6facab7ddb6b1f876d72a2f85f66b43d088c1c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.5","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.44_1609353365621_0.381352917626091","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-f0e3060ba6b83c370d061a7a86a6036e33d1ef3c":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-f0e3060ba6b83c370d061a7a86a6036e33d1ef3c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-f0e3060ba6b83c370d061a7a86a6036e33d1ef3c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9204a26c9c8d189961ff854e563b0bcd74ab90d7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-f0e3060ba6b83c370d061a7a86a6036e33d1ef3c.tgz","fileCount":9,"integrity":"sha512-pUFPT8i29Jaf8v7pWH9p3dqmfA1ZpWBzOYE6u6+42K2OU/qYYUV/ly/IPqAEihP6MSf/ElRBY2e8FY9/ld/1xQ==","signatures":[{"sig":"MEQCIDTS6J9uu+/yJTY952/3RePxtCS5iNZ2aEnMSIMzKGlfAiAowYYD77bVH3+Y8i9Gp8ZD4JMdNbvo9LtMcyd2KGYiHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7oTjCRA9TVsSAnZWagAAGi4P/2IFHESK+q23GIoaE38q\nM1Donz23pqh2vjaZ92YLvCxWy03Ubw3TWlchtrYPZuLw23gICyrho7RTlLTt\noimGyv+luRBGGNmqilGvVoDdCL4qWZ2AJsVSjmW41d56dewg9WaoLF4hv4G5\nUouAuFtbyt1qmoYfztniAC2Rukl4wR9tqWLNWgpKEQj5zoFiiogpMKPyujxt\nMdQlogTLPz7IwMJTCTMcL7lUEG9tmIPoopQWqFNVW9Yt5wp1g0qRHJvCwuIX\n/GbkaiJt3KTMSIo9ybWpOMnuHx2YW+LGp69l+hzDRxQwgFmRIIHwaaDTaYmj\nwNqQ30gtxootoZfomP/KioFWq4HLa0r5j93roW83ZjmW4+KACe1e9SyBcyUQ\nBOhEAZJXqo2KfeZikZztOiuMm8eq0fsapDmM+chRt9KGEljX7WGjR5kyihYD\nR69Ls0aPy/qb834ZwF2NhPwuG27RZHGOZIBsP3mh1QbpiNg8Ah+/Ryz3k4SX\n+Y0zx/vXKT2YGMU3p4CMr/3h0kskvBMeJ9z4SeCMpjpfrUP8M+pGnqLSIH9o\n4k65XW59PLiktKaAvuY7gwh4qyCeioXwg6ykOmHrz+fV2iGLQO0A7kXg7Fb2\nY7Z2DxE6REoZhme0OOmjG+wSF8PVdTz3Md8I+PhdLSzR1D6oQcHD049m1nr5\nzTHx\r\n=XkbP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f0e3060ba6b83c370d061a7a86a6036e33d1ef3c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.6","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-f0e3060ba6b83c370d061a7a86a6036e33d1ef3c_1609467106723_0.027861912768340824","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-fc68427626115f141ca01ab3b4c059607cd64245":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-fc68427626115f141ca01ab3b4c059607cd64245","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-fc68427626115f141ca01ab3b4c059607cd64245","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fdaf36658f8e483f8009545b10338af9e40534b3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-fc68427626115f141ca01ab3b4c059607cd64245.tgz","fileCount":9,"integrity":"sha512-qOIhNNPmqu3aaBuzyWAUl4qYh7pa8rc7lPA4y6wbeJg4QLBmeTQTcOWOENwwYxjewIwjCptYc0jmgG3Gai1YsQ==","signatures":[{"sig":"MEUCIQCxUk9T4sdOHrvWxm8fC8lW142VNaX00ONLtoTZTsm5sAIgB6azBBehGLfeotCVcBVlGswlc6cDKqCjWHFV2l2b/qM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7tIjCRA9TVsSAnZWagAAHvwQAJLaTrEsKnzIdKmFA5DH\nkEFjwUHS428el7byRliMBukZEiVz0y9Bt2WOZV7QxuH51x1b5m6xRFbGKPzW\npgxSRkVexN0j5C7LYehpCjqEBry/WfR/NyEUb/akyR2RXn4fb8hCM4D9Wku8\nOHMk9dAQXN3/kryTW3pamoY+Fvj8Rn7/vaGQbq5mXioY57WPiGi/9o4ku9Vy\ntoNZzfsyPf1sAdDEehtw/f8pKBSRsBWRqG4n8pustyUwvPP7ZkT/8XEgkhPO\nw6x3rQKsPfvcVg9gqE3L62/BvosfEPd01KchdygOYuvRVKXMmRQV3zQIJzJ9\nbfEy+575X90we+nj134RlYoX29G3piMqMPb+bvPP0MJkpZcSfCGEaaGnTfio\nB1Kb4rsUyDDiHt8/jz08jln9TTQ4sNDd03ygZx1KShTg3QMXJWwapG1UAVpY\nFQ8kzXt3AATU0Z+2Gs3a8EtH6ZbO56qW/F6d/p6TtOQ3SNEiG6qos1zlo4Wz\nEu+tnmc9ONnc9f0FMDMAZNsl9v8P/M3xigZNzV1c3XCd68lyaTSOcvuc/Rnf\n6MTA2ypfwp0Pp1qFZMIT+pPUey/J6L/P80I6lkHzSUM8PDlIMXMbjod6pCXY\nqKnGqbbSzxqArC+kXgCuD7sJsKHXAEmy6kAYH4EspkT25SqLIAVD7KRM6QmK\nRkJr\r\n=XXjA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fc68427626115f141ca01ab3b4c059607cd64245","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.7","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.166","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-fc68427626115f141ca01ab3b4c059607cd64245_1609486882649_0.44354722025178517","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-723414a03b46759e51b7c0c09434e0a713ec9a76":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-723414a03b46759e51b7c0c09434e0a713ec9a76","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-723414a03b46759e51b7c0c09434e0a713ec9a76","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"eb1ffd5abe271394504610510b7a1dc291779610","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-723414a03b46759e51b7c0c09434e0a713ec9a76.tgz","fileCount":9,"integrity":"sha512-gnGqMa//lIzIeFWLouRRSQuimDRjHm5tLTvKbqIRA9CL7TAzjnpRktps4eGwxYMtOvQR/8B9s4PDbiHpXmtVbg==","signatures":[{"sig":"MEUCIQCqT+qpfWQdKRq3EdAgsyN7jsrq+IagbOQXGXnjWAFzTAIgNPsVwEaDBnW1z4Y0YYNotHsUk0Z9yS9eDTtUxW+8IOs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf73ZECRA9TVsSAnZWagAA1v0P/i3XjY9mX6wGk36zDynw\n7zuviAthZGd3NYjBK2pA5XpTYu0iKAl4LFdah4+61eWvZ3O8guAln179wKQZ\nKyMjS9+dHEAoAH/ngqWTgiNqdcoU2NWPvJ3aeQQDWEcK0AQf+pX+sBYmcB8t\n55RK6118miBUriHxH3ZpzDEXQbTFGXC6v1mubEMrAAcNVmXc40KdFLpc0kJn\nIyBOJgzdRM3p7eBg2ZGzyxrFRZLaGQJYG6xes3RlT4uw38gyrkn3tJYOh6Aj\nXNflxMFAhsuL+k/BcBdoRzsYLlXlup4SGJjCaci/ubjJofx8eYElDUJTSsm+\nkNwgKiGAaBDMcoP+hgrwWQxh92NuJZ7Ltx9z7TQt3Ni67FXgxniwEJq92K+6\n8Scd5lcksdInKVGHBsIHJYPM8hdE2mK2+ln9BnhEbb49Ylr2RS/vveC+vRMU\nkGIY/85vPuGOD+kD0q6ad2axc3giEtpO9V4FsAs9cK9Ji5BvomlhaANRDims\n42yoi69zmIYzGGQM70pQBbZPR0XT1GDmCw+QDp7vH07yYfQaSlOtQUkOtpf0\npX/hMmD6vKqX9+AzbOJQ8r4XYfvOVhUD057p62ygXV2j5YYzd7hYHyF0CXL8\nvFjtrzUrIbOjfh75KFCRqbxGzXcW1mwY/NxHMifJDG8gjw0h745a1yHiT+28\nkF/6\r\n=hoOz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"723414a03b46759e51b7c0c09434e0a713ec9a76","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.7","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-723414a03b46759e51b7c0c09434e0a713ec9a76_1609528899692_0.5285204792266784","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-f6e20ad7fb6699e82db9bed4aa1f0802471d0bcd":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-f6e20ad7fb6699e82db9bed4aa1f0802471d0bcd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-f6e20ad7fb6699e82db9bed4aa1f0802471d0bcd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"567c51c79bd35e453c892be3d9c804bec744e390","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-f6e20ad7fb6699e82db9bed4aa1f0802471d0bcd.tgz","fileCount":9,"integrity":"sha512-XrbpwJcJi9X6RkYYY9qTFWuu653P1BcZd9ORYc4buDCXroctR3ve0K9GtNKIGKLeI+WyC662OJukGWHjYePnIg==","signatures":[{"sig":"MEUCIQC48FmaQHxRcZ0zS+Zu0M0AXsjvZo4gUDPCGIc2jpipxgIgXkn4F7+txG3WU52nhvK0MDxdAxc5NBaKuxjby/bCJ64=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf83LaCRA9TVsSAnZWagAAzYMP/jHxbHC6IYtH2pryxsfA\nyPCbg6AhBpbTUX3INycZG23FGPY/1NwVe3p62e4zOfrNvCUBktOija3b4FP7\n3frNjS4HZE3m5L09GPWlAyNRker7UmjUAaC5AOvtMf5j0yFzbB1uy8Qmr7SC\nu/TMdvtDPe3D+GB5foZl3oLSXgF2RnAzjf5vu/6s8cwP8AFD3fa9796DC3Q7\nejDiL2NdFkw7JcCiR9pSfp9fWpE0E8Hwzd1rBu4G1dELqe8jTPxiepbALNYu\n3lKR/OB6b7ffqwo9sDZQrhwo5lBYi+3RDeuiEdbedX9V/VOEON3IKt0PGxMz\nW8G/v7Iq7+8stlO+Fo2UizYviQpjVlTLvha4oK/TY3ldYvns7Y0A3GR1w9aK\n3v9Lk8Io170/mZ+rhLV9YzhFK54bfHrmuIaVf706tkpX2mQuy2EEXxbSdXrt\nthXaYwJ7P2xtKj8q/m0XiNobM+B9WzDiHyWp2y8DwThTRhFcenwqS7hJu4Am\nM/Ef7z2/AOm8WgjKacS6tEexQjBNdHyXHQ0HyL8vjMnPqn3b12QCkNGO4Nwc\nawOzBRekPwHAZweq/GOhhauM3/eXhLzNfePzzRaGZC5h+LApeom9JlhBPCsl\nSPD8gxFRlIeSeynNK5d1tV5j57Uz03O4gF0WbBG6iRESDO9VTFOCOhuIll+v\nvp+b\r\n=A0D0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f6e20ad7fb6699e82db9bed4aa1f0802471d0bcd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.11","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-f6e20ad7fb6699e82db9bed4aa1f0802471d0bcd_1609790169717_0.24516166244526194","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-6b27891aa0a6136125494bd5c77ee7e4536b6add":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-6b27891aa0a6136125494bd5c77ee7e4536b6add","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-6b27891aa0a6136125494bd5c77ee7e4536b6add","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a87314e0d1c010c70fc0c3c3a409be3134ea5a90","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-6b27891aa0a6136125494bd5c77ee7e4536b6add.tgz","fileCount":9,"integrity":"sha512-RI4eEolMUiZTyepUyt3aSBezsNzoXd1TTdXqPa96scxeOxH7/LZ9W578BAnvAArTWiQ29bfLMKs1GcuLrYNxOQ==","signatures":[{"sig":"MEUCIQD2vyi2bGPaev6z68flCilxzeOG4gnT+1NiK7vYBVYS0wIgO9YnIbnwDuSjjhyNP7S/PbUoxubeFWLIRYxlKSOevQo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf87h9CRA9TVsSAnZWagAANlEP/2QP5Vx669jIsof9RbDx\nEw8wQly8aCo1xc+HQTqtq3g9eERz/uMyg965yIxhVqDWkO0bXwvZgdp5TQkg\nyYxZ8EyC1UQdhIK3cl6CWJuj30lf4bHcQ9MvjKGSuEiFlgmXJV5etkfvQ6W6\n2dgWhBlnoKlHnN00Ebsbrh3gDESRtd5fqjOoWzLaTBaIrBHBnRA3idsw5X3g\n/JqDgxyEXEni2u8wS9xMxlozjng4HBvd6rXdFk1D4f1RXMkx8MtsT309m8lE\n++2Ue1rNQXBpSmnLwtGYacPGLZOy9+0ZGWMWD4OpDBiOWezVhtQQd9R5yxNM\nJ98cU/0e+QfvDBUEfFvcF6oJqDVb2Rh685eLsPwAeF+7+MCHcsYwHIppp80Q\ni+ge4JFmOQBpfkwNUzbkh8AakzsIQF6+KX2L4sPoIKDwXH2jm3LHJ5lR178X\nbmKIU1OfDPOIw1IzJ/e2fPW3HU9IAG1Da1j4noREuDAxIONQ0Z3SABCYBbVt\nrnuD4hNnoTtOJRY6FA7eABeW0kdrAjHd6QAzYg8HYUQx4jAzN9bCsI2MJSZI\nM0BUW66oa2aXeWy/YMrUUwOPNIoO3ovSd7OkwVHdYuqZtIt6WdYVc1B3D8zj\nC75wkOUfs912fEQiPoqqRR4gIrD+5E6/ZEjn3TC+xa4FX6ikgBo/vpm7CSWh\nyM84\r\n=or5A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6b27891aa0a6136125494bd5c77ee7e4536b6add","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.12","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-6b27891aa0a6136125494bd5c77ee7e4536b6add_1609807997052_0.7516070205078904","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-c800c63970d7462c493618b5a571f567ff6eb294":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-c800c63970d7462c493618b5a571f567ff6eb294","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-c800c63970d7462c493618b5a571f567ff6eb294","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b0dde747056d27ae4516049aa16a9903e0b8943a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-c800c63970d7462c493618b5a571f567ff6eb294.tgz","fileCount":9,"integrity":"sha512-hHKkqkNCl65moILs2xDDlLcAgoShYnF4sojxnDvBl4qNr3JqC1uxNpimpa1lFbT2msXFzC46vLN3AC/XYAQKHw==","signatures":[{"sig":"MEUCIQDg/q33gMSXwU46uBov129XbUoR9kf9H+8CPjUT25BkfQIgb5EdDv7OnBu9I72STqZfsM8JGjZ902Gq/OE9aV5BaaY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9UtZCRA9TVsSAnZWagAASFsP/AomV7ikp86Nlc12/xay\nbgTsuUFdiII8NZ4HoBC/s9vzOcgRfCzUXuQZtEIpjcmvReur4Q2LqU0NDmCd\nVtpqgwFdiWk3cjCtIxxbfG3iTXUQyevLaWThc2VJmTj0NHLiRcM20dK5+DaL\nSeWncGmSzAEZMOxyNAHSI5D7sdEhJQvggcIsUUmz3aBPM1CqkEcuwALCLmh2\nV9dfYPOVReUvJwCP3yBchMCr9SqCLYZZfaoqJIIUUfskxF0m4Mr/Fnq5uqeN\np9h0MtMGnc7BUyxARJtajyxTOPEgjw6jcQhwCZhCNZpFuPdr1pTVJ50eUBLQ\nEmw8k6CtPj1zeStYQZCYLOzNSVBzeQfoFxxfMlOfGpQHAHOOcdif2Z1dPHiS\nEQ2QMC2VxWbNp2Bp3OVLqRVgmDBToUZOSJ+aH5YS1tf9D0HRg4NG+glW+Xcz\nFw6A82LbCMQJRng+YsFWzEbPZI9wksWK7x/LcUWe+zx0uEdcpbh0yuVobLSR\n0e+pxeAx4jDkjtyVE7+yiQXIYQ29amFcRDxicSiKqDemKHCvpzXl1Y43TGkl\nasKNscAme927yG+sSuRjt+fKGGFYQxBN/y3XimDgg2LChkVSxBrJerOZQKR5\nHsXoqHt8wz6VXEJqKVJP57iiRMIfQ7iFrnAQSsCsDzLmlDayif9xRW2rYjpo\nO9CG\r\n=Csf/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c800c63970d7462c493618b5a571f567ff6eb294","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-c800c63970d7462c493618b5a571f567ff6eb294_1609911128856_0.2203082589633214","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-50f60cdc6beabe082906429ad85d3ed3504516ee":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-50f60cdc6beabe082906429ad85d3ed3504516ee","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-50f60cdc6beabe082906429ad85d3ed3504516ee","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d5f86e3645a07845c5a4561c4ed16136d32ea4f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-50f60cdc6beabe082906429ad85d3ed3504516ee.tgz","fileCount":9,"integrity":"sha512-JWGYF/RGxFDtVgjDnB1Qnow4prvvTBBBWrSyw3SRxtHu5DpepTST1/y6ANxSymTighbSQ20THOkrZeYyZNiyNg==","signatures":[{"sig":"MEYCIQCcc9N8YXuUzFOWi/8ki4kNdwwZVVR+11KLCIxWrvafkAIhAOwrIXwPIXIwv6hlVtJ7j5pKaJdG2s7v4vyzw92UrHB3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9mohCRA9TVsSAnZWagAAdaEQAJQYBJwexYRXh/1pRrU6\nzuLUXbwycalKKw9men/P5RsprOS7w7QSyMPoCqBwlcza+ZXb5lCs/49hYaeO\nrMI5hD2BXkvJ1VG6kcLMeRZ/SEC/Mvk1KwfsuyKEEljJkalY4CmBCldyDDH8\nZBIAsSyvswlaSX8AeVzO4XpzKwiSDY3AfoWIynOdatsDJb8vGN83K0yxTb9y\nTs+VL7ugIP3vOZlO9/E2ppcCGCT3s8yFNrZCih2p8pCyMXHIoFHvLEFEzPKU\n/DvA9gOFC5yU6PNMFompxIEjPOvxugDctqMAZj0sFtiNUEQTk2PNXLzKhdU3\nnFVnWwyhyt4EIvfqOxpchmWVXGyr+7Hjj2WJhcDThOle9M9kQ+DTYtnlxVxF\n+1GYNMiB5WjNCYhw7DF2tdnumFdzYeUHnhUsUtgpZ9ExsJ7VyyfZ424b0j8+\nR7BOPj2u4iZJqPDBlgyr5Ux+Pg/TozBbCF1sHPZ7M5WHmbgn6/yzBiXu2oDP\nwae9kR0VNOX2dENcayfhyUf7cVL5EazBikmvrBfJPIu3gO96umxU4SwjpBCq\nl2eULR3JfwysWNN/8iNOPQilj8/ZpogJrl9p1VImOk8aiKHXWSa8jGaS6uh1\ntiEx/DH5gjwWCOMxqH77tR3FGBZ8K3UvBZ5ae+W5xJrdUSxw5fZK8fiOLMz+\n0vyT\r\n=7C0w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"50f60cdc6beabe082906429ad85d3ed3504516ee","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-50f60cdc6beabe082906429ad85d3ed3504516ee_1609984545139_0.9391079847091501","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45":{"name":"@balena/jellyfish-assert","version":"1.0.45","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2cb90295c2767832c5f066ecf8127c27630daf61","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45.tgz","fileCount":9,"integrity":"sha512-WLgQbWq9kVLov5EGmWQ6FaTtPhI2kzfU9bvhN0OqqrI4QCf64mW/SmaCiR4YZHzBKKrefeSBU7AOVq4LEAYaLg==","signatures":[{"sig":"MEQCIDrQ0LbIRVVeSbfiNrvmPPaWHwTCiVX989jpnz+jpb7/AiAU4c4cN9/MYTydL/jQnEpivuMRqgZRu0miRgMVJitT4Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9mrhCRA9TVsSAnZWagAA4V0P/RAyk8pBQj5sOBBOLpmQ\nxysV7CDj2HaLkaYynM1ZonN/+7T8PTpTABkd9lA77GBNLAeXlxM/lwzAksmr\nCJ31I8mzCDNylFT6MmwAOP4doUMr7UhZEjmwoBXboiv3xLFWx8Suy+9Ll0HH\n9RsHJ0ANtxb9d7QZh2zAa6sxsSZcpSv65AvFKRsS4X4f8T/7VObWfWUbf924\nOnYQn9EWReoNMujrfcQm9g8QZAUQC4e1uK7uFC88uc2W/s1XWGhgp20kU5kr\n0g3hsQUQmaZWU1ouySVhuvjp0YRtg1DvnGbgusHPp2gLSCba2EhBokrUial6\n1U7vFyjgPf7Ofl4hMjnicAeW6aabExuVTT/FbHh66bnSvLb8HwHPLUaRvJys\nkojhYcF5cDKYUBfNvF3+yL3hox7hRMqEnOphVTI/cOW092R24K71oxmv8IoV\n1ciEti/DVP4IMnVKA4ezyJIXOS4loPWp9Oi9rbK9Adz7hspESz0Rbr49lG6u\ndbcHhJxJIaSrzz0bWYxZeHV5uKt8mmX9KdgeJACJ9b5+r3Dc7XFtwksUF4r4\n+BYv7GS4aQoY+iTsPWyWgGO2VO23c+tdYCyWYeFrE/t2dB2HlPV1LvrTFHKk\nXLMqSzsZsgkpRLzcS+h6Fcbp66b9zRQcOWXfrfdOIFXILF3SfkXb5vxWRpQN\nwHFP\r\n=Tl7d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ea9436f16f58bf46a8378a7420c1d3eda0582115","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.6","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45_1609984737104_0.06096069543214999","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.45-renovate-non-major-7e3a6e750fbef95a62cf1272beb2f8c86d04e6d1":{"name":"@balena/jellyfish-assert","version":"1.0.45-renovate-non-major-7e3a6e750fbef95a62cf1272beb2f8c86d04e6d1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.45-renovate-non-major-7e3a6e750fbef95a62cf1272beb2f8c86d04e6d1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1dafa057e3a38dcb61b72b482d49948851d69cc0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.45-renovate-non-major-7e3a6e750fbef95a62cf1272beb2f8c86d04e6d1.tgz","fileCount":9,"integrity":"sha512-wsYn7Ltw1zWYWtltlR4hll67LOTPmPSS7ntZoj2nzKF7y1Y0MpEb6eIzEzWbIbn2GRR+T95j4yUYqqGuYcJk6Q==","signatures":[{"sig":"MEUCIE90RPZcriSvbphEQUDu1J1B2cxHrDmuvvy7m/en9mt+AiEA5iW+xwMKugo3W4muYpJPhaWVdhNycfa5dYzgc4pYQHI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9muLCRA9TVsSAnZWagAAnTYQAICNEaQcaZBRfq6D8UNz\noBgp7dZa+bU/rnk5BAVi1CD2ENAmuR+t/ffDpcakJ8blBXaRtQiSgQEytmuG\nhPBtvw5KdqTOVEYdCAmpW9FyUAHOWwAmYS1UeV/YpbNxYCyYqbKrd6rGf+NZ\nbMHQzXojx8cQ67Z6J55PbebS0LHv/vJNAw98wsWNBdNLI9WHG2mkPBVttSQ8\nL83c/AnJ3CRdCDlNz5O8ScY/s4glRDi1mtj1cwFsnDzKyT+E0gmaMJWNk8eS\ndOAbSFSg9Yt+3S5VIgLrlrk2yp+JVPDryv2JpPttCec2uO+AuFHdkqwgDpud\nmw98MKGDWbagr5MYlujJcXn+1RzKb1CXoDrJka+K3xmJe32jNEdmYMmX3vF3\nPV87t7vkf8Yu0G9FEdE385S0crlrLKQKRe0zOeexHckb+zfumA0e3XaAcBZI\nUMeT/8JgZxXDsLj9dOK4voKWYy31+FlaTDOZUBiG1b1ElWFMgA1hdGcuk2ik\nIdwxLfllOV3fi23mrLHzRbuiUytoLBp1h5bOwsYjyTbFtYuDlyVMEgJ1ewtR\nhJf4chZQW0ETmoZHtloPdXZK6OUe2l50OeoLZLPI6p8LL98IqOdBiG4WYCSV\nZsuISRN6ZjJE3Ne4YI67sKnVmG6f6tTkSZO5+cn/L0zngppWbflYlFRLTLbt\nGsAQ\r\n=16Yd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7e3a6e750fbef95a62cf1272beb2f8c86d04e6d1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.45-renovate-non-major-7e3a6e750fbef95a62cf1272beb2f8c86d04e6d1_1609984906698_0.9175255565688254","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.46-renovate-non-major-0494c5d39d888deda25faf903686d62ef31a1f41":{"name":"@balena/jellyfish-assert","version":"1.0.46-renovate-non-major-0494c5d39d888deda25faf903686d62ef31a1f41","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.46-renovate-non-major-0494c5d39d888deda25faf903686d62ef31a1f41","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f916876ac3e0f0f77ef9cfa69aed18b66a637d58","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.46-renovate-non-major-0494c5d39d888deda25faf903686d62ef31a1f41.tgz","fileCount":9,"integrity":"sha512-S+8+R7hDTMr/s8I1KWX8bWreBU8e66EnxR4c14mX+CgZXihkC3lHDMPft3GRbnbZCwIY3tbWuy0UkRQijISaTA==","signatures":[{"sig":"MEUCIDi//q1djhqpwN5hnXbjeLLkCV3MTEs4R4bRu0vc7hlCAiEAy2nOBfD9x7uO+TiugSkQSZp+7PNkncKvK6BCex/Zczk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9mybCRA9TVsSAnZWagAASL4P/2ek/AC0+LWAG5fM41Wy\nH7feCVWVG9ciaNejfdRfZ2e91e7EDLIIMbJnAONNQSBSnSpZweiEz6PlLmli\nTxod2XfL71fGPV4fp3CTl3jN5KRTQOibjz/DaCgpruZlrHyf59xII2dcxSaW\ndKGCkFTM5YX4zDJ6J2/ON0qfLXT4CiwALtZp42Z3yyWvPaTIjRnDM4VM3d/R\nqlgYhGz7gq/8eBgpluTpdWYfyAHh6qSqFW5KvE2vwG3qGbMmRZiovuCsG2wz\nnSFhkitv+K/0w8bKUDxXKJMEMd01HugywBOHwTeAcilyBSks4yEvNnVCCIRd\nOgBzVUs2sW6RtkaI8NBSvvPSNgJRcBd1sCX7Z/eoForzyCvto4a1qUoQnQWr\n1DfgDWu9dpqBOgjowM7NM2zvzWM33zle4+Lg2grgsF9kU2rzVznFYah0cY4+\nZcFqLmNhNBf6x/SlBdDdrjGz8V1Oa7U+tOfChemSHheVIESeKQFlVKdVB9n+\nXPpBkoPFXlbaosU098Mo+3XFqmukU/nuKurxj9BwirZHnr9q1qNqD1NJ6CKY\nLUoRznRPbhmlrkCI0+RhyviOfF8qstyPK9wwq5FHOoPRInJABmdKxGyisfc8\nRLJZX57oiF+M9gdM4GS5/LpXWx8MGdEvgd/BJN5pCzqT1+ySjIu4VwAEhbmZ\nvyq0\r\n=Efn8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0494c5d39d888deda25faf903686d62ef31a1f41","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.46-renovate-non-major-0494c5d39d888deda25faf903686d62ef31a1f41_1609985179263_0.40321223844789467","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.46":{"name":"@balena/jellyfish-assert","version":"1.0.46","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.46","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"accfaf080deb35f79e80c97e0cb80e64cce89319","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.46.tgz","fileCount":9,"integrity":"sha512-Y/XLY8iGTDQCUM+BnGcdmvGEMcgkshf06R1bjwwYfIIsZTGfh/prbu1hqP8u9zKuBaAEb4DsTsiX4In2hNbtHA==","signatures":[{"sig":"MEUCIBELhG8m3MMtbII2IBdlRYY0Qb/DWwSbA2WRfDwCp2wOAiEArpKTJdXgFm3S5Cg+2BUN5A5uUGhrj6Pgl6n/ykvFVZY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9m1KCRA9TVsSAnZWagAAevYQAKSXLnrDKaWexovOiz8r\nouZ1sA7Qoz/bn7o14Hx8POuWO/s1yFuJe92RF2qj+iEncpzQnU1wHatqYXDk\ngvyhz3eaGCrGqX+6bQmn05PgnrdHGjc7O75bj8thrQuech9F/sv+Y0hUrLkd\nEDxFz0DtIaLRBqqOxh/IEXyvXjPfEC4sa8EpnoidU3afblihfBWs1JO/ocfo\nKM0lcM3w4Um5Hu/+a+FwG2bo+8UaSp3CSQymPyTL1qtjcFqshcLuuA/XdCR1\nfQNV+b1KYek+BmsTcXVPzXIIcJ832N8tP8jM68+0Jw/HJrM6/isYymadvcpH\n3BLv8bUYTdQhoJbx8oWEwwWFn34f1vZZIkHAIAm6gOfiNSKjV4hhpalMxhQk\nR5q6RKu2jP6A25dNqVK0PabNel1HQ3+f/heD3J5+mj8TWac7DjxN4pjEsHqY\nPkCBi5SOXpjVfYsBvRSBwihb0hclx0Kotds8E87asi0pMHiGJFlUF92hgywy\nyjEtPhVJ91jQjHDGAQJPVvqObZUAIZ9DgMAx/rAXI8ycXyUzWUGl+tSErSqL\nZDMuoXMSMlymMBENmTKji85AKFU6C4Qa+KmFrLRVwjcNPxTAXCgB3PpH6/ak\neR0y2DC98IzwB/Yi0+ywyeTQFjrds/Nnq3fXHEFvvp+xdGmgTmBuvk1SF7oZ\ntgkg\r\n=LgG/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b347a05588fe58f89467670701517b6299b89c5a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.19","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.46_1609985354374_0.70432186928405","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.47-renovate-non-major-f0ea4a71bc968ef772882110d2309af059b2ea81":{"name":"@balena/jellyfish-assert","version":"1.0.47-renovate-non-major-f0ea4a71bc968ef772882110d2309af059b2ea81","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.47-renovate-non-major-f0ea4a71bc968ef772882110d2309af059b2ea81","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bb63c022982d883870077c8a8ecd0e27b8adbc77","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.47-renovate-non-major-f0ea4a71bc968ef772882110d2309af059b2ea81.tgz","fileCount":9,"integrity":"sha512-kF+/cJRapx36gemANn3ExqyXIgn408Sg7/HBDVHi6eg29fsMMpSgOUnNusRoSlqoLngyG0dlvFZ43eiV/5cTtQ==","signatures":[{"sig":"MEUCIHs8Gu3nJSpJJSlnY3039ybOp2RpMdtUMOvVXjPSvid5AiEA3OckLQOgUgx1VXtl4hsZrSmamzw0F5foVUtMpWNRwAM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9tr0CRA9TVsSAnZWagAA/WkQAJ1eUSFy9qW3mZvN5i+8\n6MejLvAfvPmmQYzocsnHGC3wmM750LECLNAlvbcd73ezp+Vkz9aWPjthfRPP\nhThPvN10EJfLIVdbje7OKivSrXlcTPD/udEoCiKSJOMz4pyIijN8CWXo4cZ/\n7MidRBnrhSfVZgBBi8Y1oIKC5olWxI53KZf00tbVcVLhTek/qH01TmyMm+f6\nMbzk7QQl3coy5+6gDEUw0i6uz2RIpF6mRzZJ3kys2Cox9YD0wP2BH4QzUGIE\nZSPS/BBD8zv4aQOI85VAUptMKUzwXUlHEBKtkxDGsvKZnQ1w7NekB+EzEUx4\njYPju6Dor/4dE5Bfdw6ZKxN8POT+VsxPAqvi5DFYTEmQAqunD8D92rkxLHp/\nVwVC57iOta26BHk6htboeAtxY+MBCJTezmAHvxGVARhZpPOgdOuKDhnfpONN\ncwY2ROFz/uD+kgwncb8voBdmDw6nFemxucqpBvTCVzX28cOLapGn6FlmASdI\nlK8yOZf1ZP/sAK5gyy8/wABNaq+xj7AHBBLqIi8X44KnmnGg7FEvrkEP9zt/\n2db0YYWJqSFwugRgpV2zAmvR0ASEUQhDVk9o9M9nPzdGhUSJZiOMqhU8ToqQ\nHgXGen3fr6nNIzK4uEXXNcIKRnDPveT9Oz/XUnUe0PwP5KSW+3N7rOdZWvqv\nLl5Q\r\n=oey3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f0ea4a71bc968ef772882110d2309af059b2ea81","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.47-renovate-non-major-f0ea4a71bc968ef772882110d2309af059b2ea81_1610013428070_0.7230030606512128","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.47":{"name":"@balena/jellyfish-assert","version":"1.0.47","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.47","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"54d7373fbf24cc90271c883fb10aa8815095b39d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.47.tgz","fileCount":9,"integrity":"sha512-E0+POSqk/No/qbG9G82U3IJGfcO4QFiAe6IX8MBkgbz99cPVj8aXxEZK9QYw5ZdBPEWfaNGBdG29/XWcKZmaNQ==","signatures":[{"sig":"MEUCIEUicmvG8bpb5XpEIN3YK8WG3rDBJJlPrV0SfC1Qd5yxAiEA8lmm22pntTWHKuyOLhQgNTt0GYvh591PxiSvvUcLAHs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9tu7CRA9TVsSAnZWagAABKgP/R5CSUCSkXcpR31RXI7Y\npnwPDKRf+metmf/2rlUhwgfh5PUoFxXrvJr5572qEnp8GB8ZX90wW4LOhiPl\nRoVy83EGmgcEWQk9KEeQ3Omnv5DW58sKpTu+fqE8Bus2/Ko+lA7DUZ+/1For\nubGYD+JX16BNbQrQyhz5qNHE5hGYbWY3gv8vuUzvHTbr57qz74rU3rQOykX3\nkdqq9D5V6DNEg1A66jeJ7oHLOodI5RAVL6rtHLCSfMLUZUhzS+liRyqF1BKK\n78pCM5xHQG5o9fGtOUnJAtVSMMcAq7jWhp/50wvF99fP4MOk+AK6wBjPvKBb\nbxcQpLzx80QPXcgQ23GBP1YUH0QItR3hualAHEHluPf2AzLcqcd+Cg7ojpu+\nP9PNX5fUuG+jUDUuTTHliVzwLgBfAjadjMHP9Qqhx2Ry1yCTCCcSOnzPR/GF\nJltVWmpXP/ct3tqNq74cHuNSbpc/X+sEDghr8+frSoS/5xYuu+nbbEjNOkRt\nQf7cGBLRK5fygisxH7M/UjX0Yci2akUzNg8DOOHs5JC5sNLbEYUrfqyXJ/kA\n+HoQSsK0LP3/uYaDAsTSJSn+8/4bIcy4pS0eucuLltwydhraN5xFwXi0ywDM\nSd3eaA+/clakKmlQjJDOwUQpT3cnH7+fuF0O6spz3mmGsqlbwKCum7rJdXA8\nVelf\r\n=Umv2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"678a37c03e5294bc43073bd96f1025be4dcd42cc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.13","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.47_1610013627132_0.3295420301879368","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.48-renovate-non-major-828cfce5b8f6e05777a816be3f550b84aa61da46":{"name":"@balena/jellyfish-assert","version":"1.0.48-renovate-non-major-828cfce5b8f6e05777a816be3f550b84aa61da46","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.48-renovate-non-major-828cfce5b8f6e05777a816be3f550b84aa61da46","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"df10fe23942e7c434cc279ddc043b1a493574bbc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.48-renovate-non-major-828cfce5b8f6e05777a816be3f550b84aa61da46.tgz","fileCount":9,"integrity":"sha512-PNdCtLJqGNs8+k/FGVMjB86xi11qPyq2FaCG6xzllI27X/3+/J377bk7SaFVWXYRScobWfnQzZtN9kej61CIyQ==","signatures":[{"sig":"MEUCIF3Xhv812tOgExQJtgBUqrPzohOt7Hdx4dO3IICy9EdlAiEA7V6XhbyYyHsoSIYiI5rrmFqxGjTkok054tlYceznz38=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+iZSCRA9TVsSAnZWagAAwCMP/ReAOJEW+J9ucYt2czhG\ndWFEscDKSgP05swqGzQOlvWa1tzbFyhY1TsSODo0jWxVDskJUDTuMLoiEXMz\nBk+Wa9jYqoDAopLdzMW4XexkZy+mMr5GDjyhZglbz6lDh/IKscBrV7bUiFde\nqyFgaFWyvOw0Q0BVx2YeggR+B31eeagM89Ingq2aIfvGMNjmqkLVUk6icHIT\nkmxcKNZ+O0N+gcqUXoUQaTi/Lge0w/eMphPGNR868HB+ZvHBlGwSNKnCmT0X\nPu2SBoef/Nf6tceIrB9DqDKvTu8BHuJnPJNr74VxDmUpYbaOlxJXehOUDjFJ\nOL40koEpxKUsaXxVmsAyNelkMOwYnQ15RRWxvpCqXtMbC1xpE6lmZ+4a+j16\nWAwnlQsl7FGAggS0MEsAbRdJe6oWyw6YTVF5iViZeztlQvulpwZYNimsoznt\nq7Qt60Cj0UbYwL/D3yb54ERMU3PSHJo2l8Hoht68rqIKveQKDWxFrWXxq2vl\n2JHfCSHXxor6iaSJF7OyEor9UwTMYQQSkp0QM37YzkHXKKrYhqoRzqYa2Bga\nOvmdycuiw5Eb0FRtJbTIAEg2InCnpSXhKbCvzxpZKUCKDAc8y69xMp6REr7y\nznMtXRS70mue3R58Iud/ggtzRdScWpI+yGbZ9deeJh8kxkqo0ZOCtah+oAnF\nXVOR\r\n=1zeN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"828cfce5b8f6e05777a816be3f550b84aa61da46","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.14","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.48-renovate-non-major-828cfce5b8f6e05777a816be3f550b84aa61da46_1610229329945_0.019060066615238513","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.48":{"name":"@balena/jellyfish-assert","version":"1.0.48","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.48","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7c0d5e164c0b49a210de38d3b75e0c67e578f84a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.48.tgz","fileCount":9,"integrity":"sha512-GvYQtz0bImz90M1RYQdXPBTWZbpTKmY1zQBwLdEF1N1gH37EJ1HTCEQLKOR+2UhN8D/4ssE42vOe0NdS2peeRQ==","signatures":[{"sig":"MEUCIEWz5ecbQ0BTTueV7TSTy6V8f5NRLvBniqtWBBupbN7nAiEA1m0v21LvejlWmdyu907mWtplabe2RwCqgRC7bAHzyuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+icMCRA9TVsSAnZWagAA2REP/3h7IMXBzOsAWXJqopgh\nH0MQYO3wYECZaMB2gqbxTGPnBt5L2Qnw9l7Ied1VmbK+B04Nc2Heo1oqeCy/\n2Q6f3fbkRrjdiiglNwAo+q/iNmbGf83bbsPIPbUtYQ/mmx6i1dSk3qJK2F+O\nUYzj0foUdhjzv8VYPw6ypNhKa/wZalRZg3yI3EGT5DOAGG4wt6A4L/Gsll7n\nzpc0VwbotD1KDrM799Sa90VVvcIAfphKybYdm7ouL8dXLIc/J/26REvEyqb5\noKRDXyC1b0+6TJnj8v39U3A4NnBULcisK3lWmDiXxLwKtoQc8ss61/CBFMEm\npu19f+uAhExbknHTV2LEbEMBqbjmesvNsquA88X8hiIcYyqz/kpAS7nHbrt2\n7Xc3nUExvf7jVnzYNHIM4cxckFCDaaSOHlqb23ZtGYZqfrQoYBHgQlCIU8XL\nUvwEj0uFkdSkhBugb0/u3jjkENv7bdceBf4fec2j9Stopflpn+hPPe+YFpMa\n1/U5rLapChngUpC43CwQe7gHAu7IMmMBJnwswZ0RWl90qRFI+BSBkhLfKILP\nrXYXiJcF3iYGrYhHaRKAD7apuki3/Nax1hnC1UsX1dMNnKFu7q9iJKFLMIPM\nZu//+JfY14aOMazUqLjS13fxeZ54iTlE+6DDdiH1PJNqExhqC9j2TTWABmjV\nagev\r\n=9CiG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ecf4e79b159dbbb37e952b90abf9d08c006c5031","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.14","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.48_1610229516152_0.8501080595852124","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.49-use-company-token-a0f4cda65a9400ee1fbc5efd4b336257506eca63":{"name":"@balena/jellyfish-assert","version":"1.0.49-use-company-token-a0f4cda65a9400ee1fbc5efd4b336257506eca63","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.49-use-company-token-a0f4cda65a9400ee1fbc5efd4b336257506eca63","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9eb92ac1fc93e92b0f85ce11eab9cc3864a8b95f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.49-use-company-token-a0f4cda65a9400ee1fbc5efd4b336257506eca63.tgz","fileCount":9,"integrity":"sha512-bkalBZ7rMdenJqf5VzFz2UKzkKjpU+LtAiYpJ9cHYwUulNrkDVIj6VcU+7smDfaVm6R44Lhy0n6c4lovewncAQ==","signatures":[{"sig":"MEYCIQC6zUia0Y3E7ROD9/4gTCAoEzD5eFJjmO71M3q231TTZgIhAI99WTEfpQKB9mO2kAfqTVwMhfBhlcJKuzOwu4u9IMai","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+//rCRA9TVsSAnZWagAAZaYQAJz2fgSQ1DLOkW5kXeT0\nBbyaspteE4sNxCRqOeYt8nlFk6UXsvypWfuDXBCO6uhP8Vy6Yx/csTHBY5A2\nGPBliNFVRb4RBYxkyaJPXKBp98uYTnfYEGDPfKzS2FLt+2qdJIrB4IltMeRX\nXaASgpSPl9oQTNVTM5WyjzBYrtqSE1vQ0NIdESClR13RlzL3mHV5lsbhVHW8\nHKJQ6WHMYTx2YhOjCiLLMMXL3jNgD5oU7VMXcJ5GIWWBx9SvGVf9svaiZzFk\npJPF4XwXUqU+UFe/eczJiDSPbJ3Gwcw8LmScorS24tETBbpRZsIj+a6HCFRm\n1tWShxX1rqavct4QHO68VgWQgEawVoL5hNl3j/MK5E1eHdF9iEbakc2Oipb/\nnWJcAsXrs/o3QVdiZVpYxZItgt+S1uK7rQm4W5BhZSR0oW7TuoTyuXb4fESM\nFXYS2YUJ+KmVHmEDQUqZ5fg3VXLZSdtM8f5dL7q4Mb9zjA8M1kmEDSIXPFwP\nzYj4XlXEiP7uhOKBXjgerX5Yz1UxFlP6ocpue6UHJNOWvcTh3kSc42KEo4jK\ni+NgrOzt/XTlFENltpb889FLeZAo2Fv8Ol+JdKFyPOAevzGxNB7JF4EPJdUj\n/EH6DKkzhbLD6St/bQIC9a6VOU4LFzRFmEZv8TRAiRTqWFHu2jZKIOG2l4kH\n4Vd4\r\n=NPXW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a0f4cda65a9400ee1fbc5efd4b336257506eca63","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.14","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.49-use-company-token-a0f4cda65a9400ee1fbc5efd4b336257506eca63_1610350570990_0.5364239934794137","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.49":{"name":"@balena/jellyfish-assert","version":"1.0.49","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.49","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"059e9ab438d6a5f9020c99bdacde5654044c1879","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.49.tgz","fileCount":9,"integrity":"sha512-KoWQsdALRQywd8yg50dKTWyxRgzdaWGdPkdi/bTSS4N9Muf550NYw5ZahssxxRDrsGnN8H+CAzbK6mK3fn1Mgw==","signatures":[{"sig":"MEQCIG0vGgIkxW0ENchsuJO73e1CHE6eAeMzBz2EWJcH7hJxAiBRN1wdERqoyg4fg427SiD3/hBGxppz6glWOqOfYTVjjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/ACsCRA9TVsSAnZWagAAOIwP/0eA1uJHNPRG/P8fNPxq\nTp2mPX0J3WkYNs8m2HXfBkBat9YBv5XZA/4KgAqClQvkBPMDoWh+ciTTAYon\nBnF3ttWMpUACXXZFmaeUZqd5DiNmurhCYFrJmzGRb9I2DxRi0M+QahVhJaK3\nFxVR5sucqMSStclQYPxcg0HlCwwmRqBD0q6oJGJLFeeFQ+C7b2lLhjwc0apc\nettLoLPJXNHotAiz936tMC5kSZVC59+FhBnITfLJ2qatLOzxs4/YeRA3RsVv\n7o6ZjIBLIzQgjcrVQ4gduiiRKs6hh654/vEN1eQO6gMEIhZaEKR89f2SjnZ2\nIWZ9qZOJLK6iSm+E2sosvjshnLDEPCXSYnI5EDqPEo25+NuI2fIlroYX4YyC\np7GUz33AJYaHiU2j0srKvDrYJcjYl47NtiVzxb4sI6O6zqizT9mbBDTImuGN\n95B30by/rjhfXzkZf+cX3d2DD7oz/xj78HtyouHUh+2G/26ayijCLdJTurAD\nX0KeUHR4Om22GbJzNgE2u1jYXwDbRrxlrszWoqEd+QafUMfYBjZUgN3MnUZm\n+Nrgs32OJ8MXtMw3lk1CiB1woK2d+fijpfG3aoQ/Mzfnp2YaVSlVOjO95719\nX2/m4elpGFykv/HHbBr0VnGpUlFxxJl6YpiR6mI3jSTY0Zu+N8aAJmRkCJ37\nHBXt\r\n=JbCx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7f3db43f0af5021a5a2aa1ffe10cdfb9b27283f8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.7","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.14","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.49_1610350763522_0.7079778448171974","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.50-renovate-non-major-41aecff4d40e55a440807a4abec166db781fb69d":{"name":"@balena/jellyfish-assert","version":"1.0.50-renovate-non-major-41aecff4d40e55a440807a4abec166db781fb69d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.50-renovate-non-major-41aecff4d40e55a440807a4abec166db781fb69d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"25a79f161687107a37d7a54c4ed5c186f4cf911a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.50-renovate-non-major-41aecff4d40e55a440807a4abec166db781fb69d.tgz","fileCount":9,"integrity":"sha512-qAiLAvWHPYwZJbJQTJINrsZoGm7gdGwsdZYQ/gFUXG1Mask6o36uFdUgNFW/exWDtvdG/tFpNTagmym3DfCV1A==","signatures":[{"sig":"MEUCICizCSeTspvPFfa2CTsWLVgwmQ9dVtT6pO91fj0LCu8hAiEA68JGsqamYxNVzULfzpq1WFoaJq8gseR/mtvJ0+ukzS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAizFCRA9TVsSAnZWagAASWYP/0sn1Ph+XDmuSVIxri9F\nq0KSL0iX8l2Ti6vZ86B4JHqtzoCpNAvO1e8q2nQ61HNpeNUqq1GbyCOu1He5\n/kxcCfgEyCAbq4czDkjgwY2V5IvSV8dly2JK9EE41916Hoh2RDdo1aZYg5s1\nZ/fDqE+4JbSRbzBaz5Mpd4XNfXWmVVPH0Jj5SGXOSfIGbzQFb1TJSItlq4qM\nzB1+F2/MMoLz6uutNNrH2j/PmKxBYQG3KFVTlTig/tgMLotlLKkIh/0G61IV\nmF2MXw1Zr0eXNNP3CmqWo1ush20/jrsUwBGcJR79YpNwYXLOwdyER9jCVL4O\ntp0Vreq1oXpkijFMo6F8qAbIfgTj3RoVXU9qqLmp3wUFLvqv6rbFjRj2irGF\nW0B6A3zZbNhjS4AxuC7Of3cnuBMU9IJFF8aIiukSE+M4VWNFgPNtwAo0O828\neAWEa+CVJSloDvk5RVMRjNxIMiYa2zRSW7wdryf8Lz4CF1Imx+OApybfVTI0\nz2eeUQoITv1ukfNFmqFBbNUUybmB6kvIdUcOHuh2XDGLU8RcaKh1WgtqrVBc\nw/OJKOm6Mken7GjuTo2zC3MyddM+AwFhf3zRzeWsLGJOqCJzCy72u9MkIeK3\nEoqDvONltnWeJqoJj/5+r/UKyHPAp7C38dGZDfku69NFkRypDQXoqHKK/1h0\newDr\r\n=Bu0D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"41aecff4d40e55a440807a4abec166db781fb69d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.14","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.50-renovate-non-major-41aecff4d40e55a440807a4abec166db781fb69d_1610755269002_0.14796060865305494","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.50":{"name":"@balena/jellyfish-assert","version":"1.0.50","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.50","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3a1b675db327473703e1b9da4f0d6739ad28a9f0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.50.tgz","fileCount":9,"integrity":"sha512-Jlpa3RY6eoqqeVmwxmfm+sB3pm9rUwPO9CLN9xN00QfCBBiiQGWObj1i8IdWYOXNcksaJDdkuX4V+cH4IbE3HQ==","signatures":[{"sig":"MEYCIQCDlnq19xSaBbhYRhVEs4EQdzkgAyyvqG+pfw6Itc59BgIhAIlotYBc8v0gFJfUVVKKpppoj/DCi97H5w3vNmvoex/l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAi2GCRA9TVsSAnZWagAAN00P/1YIoPkdt7LAUh48QIfM\nl0tCusuZLCaP4700mB3w0SrDbZ6y4MHwzOYmfu5ayXV1eXhiIqLpJtYFrU5I\ndLsZYn8mTDtJ8+8jabR7Nzo0fwE4V9aHkvJwlmHMKezibrQIuBYfGQd5Bps5\nSMu6lJzaWEXT4UrtxXwtGFT4qsMfX/eez6799izlROKf4nlDr2WvFX6S8yy7\nDYEfMrdH6Z1l27Z24newRtntR+OSJplKBwcFAEUuW7BQufUw+AZU0CIQbNKB\n/r3Kxm6gYIwcLLVqvUg2LH40d8MMNn/b8Y4ktcSgxmzWwVYas19Gy/cK8I87\nD8EJcZCEe7BvLHYiThP/N2QMNyPT5xBQDOHMGuYWRBPMNRfCNaG0Jft1H7PM\njtycukbCIXcL/4a/P2OcDJBcCWhiL2edQ47pqSic3sxtgw6e95Qcbf4MxBT4\nQO2RGebgsF57arYoMW6IP454eP6FJRInJuN1Ni8zOwWBQ/5qUJsuVa+ljYYl\ncE0uUumfMw8pM9qr5gqu0dOJUFRKwQ0iN2hpFOUvQgL5YFQERCUQiLGvTyaV\nCATuabaEm3ywzL8cRQfx+8dm5jZDVt0cIoJf0/sbLqT03/ThwqEr9vi2qmTL\nC68vMwPTGV4AaNuwuT9sB671pgBr0zIv3Kiae2r1zzTNLdpJJ2YYu5JRLovF\niQM4\r\n=l7ix\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"04e7b2229371331ee90129f10402a12bdd664491","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.14","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.50_1610755461722_0.9097992291016141","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.51-renovate-non-major-88e767913cd972fc7f641f8c59dff64f4591f6b8":{"name":"@balena/jellyfish-assert","version":"1.0.51-renovate-non-major-88e767913cd972fc7f641f8c59dff64f4591f6b8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.51-renovate-non-major-88e767913cd972fc7f641f8c59dff64f4591f6b8","maintainers":[{"name":"toochevere","email":"pj@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2d8cbdd966f8f7d91973d5d9fc713027961b6e39","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.51-renovate-non-major-88e767913cd972fc7f641f8c59dff64f4591f6b8.tgz","fileCount":9,"integrity":"sha512-oOD4Qx1oQmyJlCyv1Ug1nmFYqpRE+gRebBS7yvqEceq64ivZlXjawF+Zc4TyPE+l01S6cjxMvccZuNeefCQXyA==","signatures":[{"sig":"MEQCIFwRLGfPbCXAMLNPbzOtR0gybuowAy7P/Uk7sy3lwN3wAiBH/+RbV/Mfch2EwdeJw1bl04mY70+GTq5/fjT4cE9o7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAz4NCRA9TVsSAnZWagAAEO4P/0iIIXJr3FhfliRpgUD1\nrA6tzGQ2qmpUgEXOkydG5iJ4kUalCEJzYtuEMasDR+1NqEGl+0woz/Y+O3JW\nbf8HZ/fh34ghemWrIRboinOazfZW550OoLjEeqlXag3pkfkpi0dMRMOmsuvA\nL0zws2SZYz8HKs5Jguko1V5nYQvaNgC4Yggq+vHmok5z8Fr0R8LYmnZuYXnT\ndi+bJLfYaz9S0taJXvhSPYQDj4qF6gWde09EU30yQPYkcDCyh2D8d/itIZmk\nkgqFszAXJcQkfaezLCUmTjMZs7XAOrI4MHhyswdaHjGVX11bWFNPEGErQ2s/\nzEE3FyQ56Rs82iZ4hPJo8yJWD43o6PjxJVv/q0CUnBz7srjv9FQ+/SMtSPoA\nb7aE48ZrygTVDFlsrwCe6J+9KwzkawOTEFsS0Z/nv20RIx238B7Ub8eHfNXb\n265eTXlA6FxN2yPSevnYVc3e1QR7py9zfnJ0G+quJ/YS0EluYFsDlrKXDYUU\n71WyYjwW0IOfTi7XxKJRNjphhel3Kpoj20ynthr+P79UoCs3lX/Nz/mw9pwJ\nQvTgNOCGjcULQIrAFuQIgH0QoYejxTJcxDXJulTJWGJkP1T7pqDIlL+RgiIg\nrv9DZT18pOoMebEIa42yknrE4kvJzfh6q0PBg0PJdLtRVD63pV0aUlHw05+z\nJLiQ\r\n=LF+n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"88e767913cd972fc7f641f8c59dff64f4591f6b8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.15","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.51-renovate-non-major-88e767913cd972fc7f641f8c59dff64f4591f6b8_1610825228790_0.3735690829905254","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.51-renovate-non-major-81caa6de4546a2c16a4fd400ea56b6cb82b49045":{"name":"@balena/jellyfish-assert","version":"1.0.51-renovate-non-major-81caa6de4546a2c16a4fd400ea56b6cb82b49045","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.51-renovate-non-major-81caa6de4546a2c16a4fd400ea56b6cb82b49045","maintainers":[{"name":"toochevere","email":"pj@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c346f9ad0ccb2b17d6513724f1695bc4c80b3691","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.51-renovate-non-major-81caa6de4546a2c16a4fd400ea56b6cb82b49045.tgz","fileCount":9,"integrity":"sha512-L7NNGeOPLLSRa+a2aJ2SI4jonvYzgPHcKz96uf1sH6NMo9XO6s9wUHS5bkxa1/ajEVyKKZ+1m/RYup98FRg3qQ==","signatures":[{"sig":"MEYCIQDw5EzEuePS3TSkZEWGvIZdXo2UkR47V70h1UfAOJYNMAIhAI96XjeB7dYhMISIIiDf+GXO6z74y0luz1qNOaF+Bs2A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgA66tCRA9TVsSAnZWagAARowP/2tK8yfibVzKP2qClUCU\nYRhsh/QDzLXMeY9ktTy1wix5CdsgJknBcjJmHbj/65VKXUE2TxJzEQ0U5rF/\nmMnyw2gdde9JAC0RaQsORj1+HbmWJWYAyUqxn2B//cSUjdwY+etO627eG1Qa\nlGg8iCJwGnOpzR+BZJdxPSxgBPTJKJ3mk5sL9Fk7clORUSKA5YVo48OPUS1L\nZeJoKb7OolBEB/Y/Hrk2zXHoLlvHQmf5HdgvgCiYzY8/93IJWL7/sRGUIWLT\nSXJbkBXVzJCmNS16RPZpSXrhep3gIUQm+RwOjzZCfUE1HtuAn8rSKfhLjsgC\nR0hRzsYSwubaVXECn7h47Ha03KORMHr7zZyHu2aCAEL9UGwdf40zCPEH5Slq\nnNeAxzZlBOMkrf8KNYAHqkAsF2QbrHVGKps9yH+g4mY6ybu8dVseEQfEKV0A\nDPMJdUaqLqpVjaHQUmS/6DGwaf7fnklu474dIoIfco8PPE8eZgQhjINcV7/l\n55nk3FjgXhMQ2yc0upRveaaGjpqlvLGRu4E0TAEoWpg6BmH9wd4MD4Xpv95P\nBBaRJUBdPFK8Zrfgsjq7gVyIlnTyv2770twxj8TQF2zjdnk8FhX9ijx25Uf0\nreLq5GcoAEf/373zObDrETFQtyivyIJs4Al8FtUXYC8rmILxe1u5BiPvC+FR\nlOXH\r\n=cR6W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"81caa6de4546a2c16a4fd400ea56b6cb82b49045","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.51-renovate-non-major-81caa6de4546a2c16a4fd400ea56b6cb82b49045_1610854061212_0.8402208377626605","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.51-renovate-non-major-255eb85589973392fecf9da1bfafd488fcd67674":{"name":"@balena/jellyfish-assert","version":"1.0.51-renovate-non-major-255eb85589973392fecf9da1bfafd488fcd67674","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.51-renovate-non-major-255eb85589973392fecf9da1bfafd488fcd67674","maintainers":[{"name":"toochevere","email":"pj@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"155193a15b082a29f07fb5c38008a500ea769bed","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.51-renovate-non-major-255eb85589973392fecf9da1bfafd488fcd67674.tgz","fileCount":9,"integrity":"sha512-7WRKtXOmmgLKco/Mb+PfSeblYfLD0oI5CD12+ermW33Goy7qwTKD6xlI2MT/81b1zE8vnOp/RyTrwEOnS+8zOw==","signatures":[{"sig":"MEYCIQCCOvT4SPw+XxqW74qnYSVXHkXpAvZwRu05BO/5WZZQwwIhAJCehyXePT+b5T7enQ0wCCfV6Xmf8EdGU1jHYUOnQzdg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBN5FCRA9TVsSAnZWagAAnNMQAIPvZiRnRyRV2oKP2D9H\n47VJQenvnbK0j2fwoKnjBxpgh5QTb55ap0Tb1klMg7qIlRU8OYByWYNrucy9\nTECiqYcQqA0MNEyCfeTOh+CldweX3Oy/NEuxBSQtGl6HgNAuDl10tmvmzrUy\na0yp+1OpA3Q7FkVBZQow7skTsn4ZpWQFJGBOdMWLQ/99+NrPFn6K6Ad54A/6\nv894F2AOzGmtuuNuY0akJGsrWpfx868BUqbNWkOK306b+SJWUn9wk7CoJRy7\nLdO0nkzAqia4m4jlMsT2IdHyh3CKVW7CNwoGEGiMyRe0ZrrR+DgQbuvpY3wg\nBrv9ugj2JackYnMbTmYGkvmfVA6tfLCRVHX7EbP2elpY5s9Z8+4n/hNvFApn\nAbIeqbtX+z/gheIjW58BJld4PZpg4ur5u2AoUU86qDW0ktSvD8DSZ6A+dOFu\n6YqjHezDPjTlgW2P+fu75SjTTtRwXjR3G4Rb9asT2aWbpXwxSmdTU7no0k6K\nhyXBxHE8K+IdH5I2hn2kbxZ0pPdwO4UXEDq0IeFRxt9DvB0VjX0AQc1jNWat\nN6f0IgQgaJNtfNdStdM+0d8PdkUZz/3PgfCWxYKHFl0SRecxUD3cZefP4lKl\nYItv4SQb4wzdwovabJ+dmoRq6pMSkJAaOSkdHUsVAvuVAxrx1hJheiIpBWkM\nMRiE\r\n=BoDQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"255eb85589973392fecf9da1bfafd488fcd67674","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.51-renovate-non-major-255eb85589973392fecf9da1bfafd488fcd67674_1610931781204_0.03573400496195034","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.51":{"name":"@balena/jellyfish-assert","version":"1.0.51","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.51","maintainers":[{"name":"toochevere","email":"pj@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"kaisoz","email":"tomast@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"443d272e1091c197e603fa39d543d2f69d99cfe7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.51.tgz","fileCount":9,"integrity":"sha512-z+PQMpZPGMGuAjZ9IecGkkDlaD9kX9sZpQdF1lDnlCwQYODbzQue/7Ifde17gzhjYSMZCiaXjq9oGnQnwfhN4A==","signatures":[{"sig":"MEYCIQCLss+BoiE87yKVhJkb+fbt0bztJ9ZzzhBd/AzZOQi6wQIhAJJwjEjFGZ9sRgUTwUS9Huzjqzba9ymMJp0jaFJ9bIoW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgBN75CRA9TVsSAnZWagAAMO8P/ip84ZhxuTF619xNknVJ\nV5SPWBBLvn2RoIcOvC05E+//Dda5/vjSNVb6HL+Y0SUKe4jVbJn0BRZ8dRE6\nIvood2qFxAODBQSUZ3kCp7sRGTXJm6cbdEptIc7aBGq/hAiGXg3blTUiAGBS\nQsTahByyA0sxK+Y4Y557qIWclxDJYZLtPUEHz8BCjzdphBHdxtI14/mZevLR\nNpxL5fBsMnaqlZuPoko1ySRce9Je/AqGRQ3JX7TB03+Dz4w9Zv3aj0oRg4fO\nlyahM0H26/iJiIfgk9BNQypvpNK5AE/QWDzBprgHBIdD5BgC4kH6JRbKGaru\nSX4U6WtyMEYduRs7POCBUL+5+lhUBJbeSYrfQuzATxVCj46C4z/RTxqYyvup\nu0HZWbLCW4+m+yhHjEQ9L7PDdQuVbbRRb0e2TMe4Cia5oHKub6BTfxyf7uFu\nFBhhi0TXguBO4fGVVpKLabcpu4FzWuQ7AIzhIW4TroXWqDYJhGuhLsE2hv1x\ntpWKO71qDxCyBW4fKQj/D8AX+fr3/JHzGKFMWl+4xYeIsPNxu83ST3BGNSuT\n46F7TM0aLlFW9Fz1cQRcFe6HX+TNvvGuDF95MuzeaYBGiEpiJ7tw56+INYZJ\nDH/U4hMHVF1ZZV/Om6fk0rMgSXv7f4rIVgvd1bxkGordAvGkBdmcdbWBwhnS\n6Y3/\r\n=kzPP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"05bd1842b2ed7a1b824455d32de6d5a4fb1f76aa","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.51_1610931961060_0.7335132528570509","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.52-whitesource-configure-a1ff86daa0ac9a3c0767f07d94080eaada19dad7":{"name":"@balena/jellyfish-assert","version":"1.0.52-whitesource-configure-a1ff86daa0ac9a3c0767f07d94080eaada19dad7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.52-whitesource-configure-a1ff86daa0ac9a3c0767f07d94080eaada19dad7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0568218b8929f2e4cb28916b9e003a799289e02e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.52-whitesource-configure-a1ff86daa0ac9a3c0767f07d94080eaada19dad7.tgz","fileCount":9,"integrity":"sha512-ws44qPE+ik/Fa/O7GFOVHGEvZty/a0e2vHaRUhe5KlfMyuyxzKL4ncdI/kkWGsQSfA8cI7Pd532NW/iLLl81NQ==","signatures":[{"sig":"MEYCIQCDpRG8laBtdYQ6aCgUfVYNwMiW35KRBjNBY5m90EWSegIhAIBfHnUWlU85XDAZNPz4a3zsQiNswOq9YH4BrTvXhVWN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE5k6CRA9TVsSAnZWagAAenIQAJpZ3O5E99oC4qwZjEqn\nDeU8lXjhCmyJxER+i5GvR5L+kzAe6YMQj+rT61el3uUI3kWftQjwnkLmOwYV\nMsMXvCb8JYjOT/EONPhXDNheu/nk3G55XvwRgwAoxEd8sGBDh4IcitHlh1cn\nFBmCm1hvh+kBW8EYAYo5RSIW/3xp9RlMujCiII9X50O5eadpS0BWY3g4f28e\nqP0jzFm+iw4sxh8vHZo7F2+2qHR6vQDYhwJ4Od/o8+ippC6k7mN5ZtOmDNQI\nGnAZVnkZkfLDCu38g3ZqpqxCvW56oUrcmy30NqojZXc8joW7rb7bMpheHk77\nUlGF4OWPdZCnB3FxYZwH4TEbAkaxuaoxngLlFu/IDjsN37Niin4bQWfS2t0A\nWMYXGnlBcmOsV78f78fav9Vi6uf1vNr+JxTraTyvT9hkb4SFfBzPYHQqRsxN\numLkS1eKHuFIZhZlYbsmTf0neXcEKQr6hpebPmJHyxbM+oY7vqhCK/LJa37C\nNfyAp3/FNXvIYH4qNsgw19H7tNnZp47up8cxlBO6T/+rmQJSKazV2aWur8Ox\neKJInmmte39CZSPznTaNUKnmenlh1P/y4532TjXdhTHX4hiVT5uaIm3o+D2t\n2AFK9WXk8WMclO7hADQFLeCbmsbhnE+OI1aVOuoI2aS1gaenHSgW8blNMXQw\nd9+/\r\n=m3Bw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a1ff86daa0ac9a3c0767f07d94080eaada19dad7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.52-whitesource-configure-a1ff86daa0ac9a3c0767f07d94080eaada19dad7_1611897145830_0.5836141283595508","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.52":{"name":"@balena/jellyfish-assert","version":"1.0.52","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.52","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"44f127411bb0504a92aef29fd6edf29ce93218a5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.52.tgz","fileCount":9,"integrity":"sha512-/+XS0H+61uOJ0wz7k6REOIGDQUjkTkK7VTtDwxoMEO8meaOI2OlUroeIxZX6Vm1QuV4xfl972GdsIcLwPuRa/w==","signatures":[{"sig":"MEUCIErppkD440J1BnPED9tzz4rIgjBZIp4iMdP0CUCJTycHAiEA4KQvmXIxXHa4qY854BSWyUEjlvhlSJeIaO0Rj295OyE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE5otCRA9TVsSAnZWagAAhIcP/0NQCaXwVXSx15LBxosZ\nNGyOxeLu4kvEohCAoNIyakN4LnpqN6V1EvW28X1KDlwhfjJStlxqIFrrEr6p\nPIkC/ZxaA4tKKG3P/CIdl7P68pwmvFL8liyUvrfyQXwkZGKcCiqxiWqSpX4F\nGbTq3mG5UanHV8qvKSgMyXYpw+3ZqiKKULrmRt46PuYvpmoiKDiYVHQNPCSK\nznH264vOztbb/pXiqpfmLr56JZLv8f9KiGtDb258rcDwFpHG/rE1wswyoxn4\nUbIriDEOsejyYNM45WjHAu+XWcskCmKWCFPw2xaQlUwyW5nmiz0i9OHJ8UQw\norUCLo0QIWTDIzBRVnrKtmvRVxeeM0CG+7hk+REHlViF9AngUT75MNIXBbjt\n1pXnGzflUyIhZI0kXq251fZdwu3QM8RRHuWMxUSHrDPe4/ft1lXKzOHJd8VD\nt1S0ydyoHjOX1xXL0uujWHw1eqUd/lEI4A9EwgJdtWrisv+uS5FXNB2IpOaK\n73undSlY+3m4m3oyZCkpzHoa9ZzCH9JalAqwh/brjituHR7i5uwDHiYq76oo\nCzYmZ3L2mU/yziJuzEd/5ybY2pldwqbODDM+eWjtVpp8VEl6ec3l59FpDgW9\ntCf8XvzzOqfARhEtcd75BbCy/p1FUANy1Z5bRt2VdzmO0N9PKzml3zU8Qar1\nxoDu\r\n=mOT3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"eb5b6b9dc15d5cda54bd4df1b11a7cbf085248f9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.2","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.52_1611897389443_0.16246607577554562","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.53-bump-deplint-df2c903ce737a3c2ab3efcad711390b8396b8f30":{"name":"@balena/jellyfish-assert","version":"1.0.53-bump-deplint-df2c903ce737a3c2ab3efcad711390b8396b8f30","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.53-bump-deplint-df2c903ce737a3c2ab3efcad711390b8396b8f30","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"181b9860f40b014bf86443761e758dff1e48b7ca","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.53-bump-deplint-df2c903ce737a3c2ab3efcad711390b8396b8f30.tgz","fileCount":9,"integrity":"sha512-VAMB7+Nl5Yvm+7cyieERwRGi18fc7cUuCFFaX8wkluYB75qIuHftub+Jvb4TmEcdHyM57Jr9E3aqaLJEjP7Jgw==","signatures":[{"sig":"MEYCIQC15CsTaG9ZE9IuNcssSTXQ7RE73BAnSNHzEOdHOKijvQIhAJEoNhC2YsplsJS8ShlmTyA4FWlehaQABCsJdzCoZId5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGJ1kCRA9TVsSAnZWagAAUegP/3zSc6PQxG0R+9rr10n/\n+pkmGbYK0nmyiXcqvQQgRh6dcIH/BoJSW+rZ86Na8mGY4bvt6PAEp5OrTcl7\n1QQEVQZ8BpWew8IOaMT677Hif8k3+e4RshoewDxjVZjC0Fkri1d6WiF5Fgqp\n8k1jf0gHcp5HM+eOWUTB45zM+0OUjzY/n6/6d0KxAYMuQfjImaJgYptOC+zv\nEMf/DT1Dn35wxNKwl57xiCZksd+gUXZUi9xpBtsyMQ3MYbNtj+n+3xTcOEJ5\nyvPgF7aSscKA6DoAgwTmGZnsFbAzA7NTfePpyD82Izj2BEpDdCKgDsJ2qmCT\ncbyWOAJFOvMPxwELgH7UZ5T7Fk9ZIOl/6iNYagc+Ylxz0Bq7tLiqeD1YytUa\nBClr3vQC1WTAEQQComc/e1Zes34HZNdVm7I9gppuzzjaX4dX0UzRjaBStTs9\nFneddFiqJnSjUMIjKd+Q+/7Oafu0BFLC08RyhSqXvoFogDeqUsv4MDGmHEfL\nH0XPT1RpCHqMxz10G4412PBXUAoZ04BaJtRnIY4qwrJwVg+5le+8qZ+U9EzA\nm9V/8QLTKeITW45Qp85C+H+qfjnqD+R1G0Ln1LlBAttWvL4sD7pbIFXkZcbF\nIE4iI/fzZ2NeS+pZpHTqUURWh//EwbnBbta6F3tJfl93RhrOVjZ8hcReJ1x+\nwS1k\r\n=LSat\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"df2c903ce737a3c2ab3efcad711390b8396b8f30","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.53-bump-deplint-df2c903ce737a3c2ab3efcad711390b8396b8f30_1612225891416_0.43072237618562315","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.53":{"name":"@balena/jellyfish-assert","version":"1.0.53","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.53","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a115a1430434775b6533fc8423917bff13be758c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.53.tgz","fileCount":9,"integrity":"sha512-12m61Ty0ErrESe69Q55+5djzRbtY4mFMnY1xfoFVNZ94CWMw9sZDuSI6HnEudW174KeMGN4UpfsI833jy8XI0w==","signatures":[{"sig":"MEQCIFzNRR/CQVfvJZrUCFJ7XMfWYA4OZlt3lzx9V9iUWdruAiA1JQzY4gUMzFoTOpluM45fbzmf5aE3KmhbLcAGc93Pjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGJ6tCRA9TVsSAnZWagAAj0EP/0FVI88LATYT+NDqYNpU\nSAedkY4qNgopmQAmu2Arzu+8Prc6v67kHM0ny/90ng4BmaOCkzdp74HdZ68Q\nMtfIR3JSKbRCVCRoi79DEDBWdmVjtyts6a+oB2I4XXsls7R9Bj+SSo2f57ba\nbx3LJFy+KQXzGVeZpX3BpztIlTfVF4PypVuYHJnOtRPAJQnU3dNv+lD9tIbl\n+GnYcX1p/VCztCk35SiRk7ZD+rPxNuXQZFpjNM5FuIPkH22Lljs0pOsgf6ww\n7b785lIl2jzZFJgTOUN9a+UT+OSJrpQDPcU6iI9jnjWl6+Xw0pqu6PTKyQGR\nvDfbsy2NPV6r3I323BJlahWRUzieOg0W7pKVdgBbZYyzOaNJ36G88RLAuyvY\nhXCb0QXzeY6QHd30vRXhtb5/NAbpv3zJKrYce+XvZf94GThoX9FWTOjrZY8C\nZyi96M2MVQG3ZI153xi78m2nYv3fMTncQDpwXiUnA/YzZxtrnQFVgbJzOkas\nidiJSOcgdRX6dfRof/oPi6fuH8mIIE0QoVd54qYw5l1x90kY5WMWFy3RPbRj\nI+vUEE9B/eqT8bErkW0pTDyZrrlQkP95eE7CnozZm0r4uYP9I+jt/BR5c3DC\nJuGUCgo1I8daic8p52VAmH/goZlbwUYhAkM4FyiUXpUoZOfxNlRG+SAZmU5H\nNK6N\r\n=avVi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"94ca2487c0ae4e6e13f187531c9bda958d00cc05","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"./scripts/check-filenames.sh && ./scripts/check-licenses.sh && ./scripts/check-deployable-lib.sh && shellcheck ./scripts/*.sh","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","shellcheck":"^0.4.4","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.53_1612226220674_0.7530316864431674","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.54-add-jellycheck-96d52e42281fae80878f2d0085738c0e0e6d1fc5":{"name":"@balena/jellyfish-assert","version":"1.0.54-add-jellycheck-96d52e42281fae80878f2d0085738c0e0e6d1fc5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.54-add-jellycheck-96d52e42281fae80878f2d0085738c0e0e6d1fc5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0d9f6ac92b3834a0e8496c3d26294666c4955eba","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.54-add-jellycheck-96d52e42281fae80878f2d0085738c0e0e6d1fc5.tgz","fileCount":9,"integrity":"sha512-bd1HCOyiBrNGQJaUz8LjDrFViqcSlZSI42kJS6KWsqAFPJOkI0tgA/MZfuKpRmRi83MmC0/zGLC1j5xCz27clw==","signatures":[{"sig":"MEUCIQC7zQAa3DSMJwy73brF6mKmCIqmBDru5TJyUmS4Gt9UZwIgXTSSVLpMaA7dszQj4Nh5QJ/glsLvZEMh3EHcdDfoDwc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGiIqCRA9TVsSAnZWagAA4ZMP/AzAfCL9jgNqmNNI6zgj\nVVktLYFQxX9TjjqNSseUhvfP89VsgVhG7ROcY+kOWwDG/LwPUcsAytKkUZBL\nvzjt4vmM4xrCi0+5Gysa3g32Mgv4/BBOJnguVrlz0BFaqtpQQF74mUbjb40U\nU5Z3fuX5wnR7gffceeMSgyJTYn96tUhKu9/dXh9BITuUqB2h3V3DwCHoOKCg\nEF7RfGYSRyHp3tU7Ls7tRhftHHlA09p5+deYkjJVZlfL79ESzt27KcE8mypo\nHRyIOj9yKhfCPz5HTvyMou9oZLAHk2+EynJGEquZFP2/zIlNXAaHbzp/yO9i\nPWWu4RsUMPmSpYUcDsFuorhP8wsLIlws7qJIsjtOS9D55wE+/WqquywojtUK\nJPv2E+R/J+POjpILfG4oFJCsrJ0iq2RKvhrwik9HF0kxysiauVku82XqKNj1\nSGl/tuAnBV7giTs9RZuTs8EKIw4CyZy9nIACa08MMT0xD07WmVkI52PfOKVz\n7Eyfkw3s2ljDUxf1a7YYdjTCKpz7PfplQAdKXMtkgoXJkgWIBaJrWbsKcwWp\nQRGAiiACZ5NVw9S5W0lEUrl1BmbMXtFN5oAPLiftbighW09NxvtI0/QYDbAU\nb2IyeDzxlhKAmGms+woS94Tdpq4Vnl+XtlvV7cBzT7SYhvDRgUayapB/D18q\nhn5P\r\n=4ENl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"96d52e42281fae80878f2d0085738c0e0e6d1fc5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.54-add-jellycheck-96d52e42281fae80878f2d0085738c0e0e6d1fc5_1612325417266_0.6965340965089599","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.54":{"name":"@balena/jellyfish-assert","version":"1.0.54","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.54","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5c837ed779b933c2bda8028f66ec077e59f8e3f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.54.tgz","fileCount":9,"integrity":"sha512-RJ8eARGmQzZzQirFO3qZIRfX7c3iuPHiQcHNWrJcQrNZ1XA8GFQyTpzCbhWvtP0nynasgE7EWrYmrvGUcxrA6w==","signatures":[{"sig":"MEYCIQCEs2J4ku3aqfyluVW8v7hZaqeBr15y6O4qzJchC8iOigIhAPCZ9AEHfW216OpWvnXnqLICCCcfOEe5tZWv3Kf5ZARQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14419,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGiLaCRA9TVsSAnZWagAA1xwP/RF5z8GSt/8lmtLJePhQ\n6oYjXD4WaLJ2Slz4rTptduuOzkv9LVGm4tiYqCvOff5PfDklw5vGv3xcR6/f\nyDiyfKAfz5gk4AT6XNRs8BBySFHweDcKt5/YEFkmoH+ZMkK32BqZXvz3DcBO\n3s0TQuPArTVtatJ8qMYFNm+/o4eV+EdjUpNHxuDcumaS600Oky/Yyl8odwoj\nZ9qARwuEk9XtLnObx5+wQx9l3VACNZcDiiae0wtCeYKh6/2UekHAHPVSwfcF\nqwTNtx+qt34XJ2C6aoiy+FMsjupuEeE4dkNo1pdvRslq1MLEvwPqEhJYbQZj\nFkEXozyZCpMcuWgjumiRD3IDc24Z0NsPsdEc9Ri9WgFNRtGcZ5BorUQq6SK4\nletzHUIbmLhOrf0M3F0nz9PlGbaD8a+fgVzcVzzgQESzb1aOxUfXfdNOD6Bx\n7HB9dBkcX6Yj1bQzb5hBTenw7LqiBj4uPxi7dJSYJgJ4vSP+DJoyBQMH2z4S\noUg2Mk9enl1qNOhMhUg1cBdSfuS9zZtZ88rlvDd+n/3G5zYQjN5faIiFoDdx\nDdSlYXmhE0XPeF7/vQJwIriT85fq7rk//oREJwThoHtcGYxvMuzOr/6ujQwB\nHY61kMvECk3bRBg/X1b08T2INdKchRsgSs9IL3EFdyn3c5Cz8tlihkBQcQny\nFCQV\r\n=tbu8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4a1f306870284f50857849cbe85014691dff2d92","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.54_1612325593963_0.01041182488436787","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.55-renovate-npm-version-cf6b69cf8c94d8e11e5966a0a59f2a1f8cd8f9e6":{"name":"@balena/jellyfish-assert","version":"1.0.55-renovate-npm-version-cf6b69cf8c94d8e11e5966a0a59f2a1f8cd8f9e6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.55-renovate-npm-version-cf6b69cf8c94d8e11e5966a0a59f2a1f8cd8f9e6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2825266211dc171fe628e8beab84ed12e04a9232","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.55-renovate-npm-version-cf6b69cf8c94d8e11e5966a0a59f2a1f8cd8f9e6.tgz","fileCount":9,"integrity":"sha512-+3PKVIENKkPWqKJRZtN0kaZvii17czhNbTLG93r7rU8k8Tr6cij9GDW+rmyrNIkGVFZnA239BOU+frIllLYrZA==","signatures":[{"sig":"MEQCIBVskN64wz1Kr5PRdokaQAv14TCh3r/RGwAdEv5/CR0ZAiBlW+gBOuGCEeLjOXU5iEHdtSHtnVUwDTJqsV0Lb4iWVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHMzoCRA9TVsSAnZWagAAArEQAJMg/jVikY+j7azsIp4R\nzCjFr+bvE5+KMXo4ASyoYDbh/LZ2JBzd5ZINLgW+Spw3MUyjQqiwjazCQK4N\neqyfXwnuR2/oOMp3ZhrlLoTqVDTB9H2LiUL+UOpAYzy8dxIGsIc3nIH2q0in\n+OOfrSiOOfZ5bcvxSZEnjH2RChiNi0KjQhW8q1I6/15iZEu307LsoXmMrKtj\nyfr7AURJ6zUda0f9WkUK3StzeqBXFwMi1j5goLBHJ0f9tszvF7UyOtb+/pnA\nDp9COIN1lpBk0K9qVWT3GGZqasKm77/c8TlTqyJJc3Hhyc/esb2iy7Xf7FAe\nqoP99q6qQdpXK+sv39+KwkbhJLqPBJLOuDPpdpnZVAtYfwAwh8OvRePl7Mha\nFgGf4BZFVaaElw+sShXb7ooOi/MtmqNfTv1NOPv9ioRuBcByPaSSjtbe2kVk\nKpiofTVJkVIfSTnhb2SYFfEn6x9f3sA6FnQXMYxe1Zbrwh1AnV6hFehKMEK6\n7uf72YiEMvSoDgLhA7371OHedPFm850mXrBbFE/nGe5XRBZYnp6NNEFl5wlk\nIt0WqVi6MMA2Bku6Xhf0RUMEoKJEyf1r4GLonAMQhT6Kr+hS7pM/Q299aTL3\nsgFoKWEOOWW5LkCphzzbwMWoAlfq/FJwHuCmGQjM6MAa7/INOczz+KtjJqX+\npmZI\r\n=+d3b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cf6b69cf8c94d8e11e5966a0a59f2a1f8cd8f9e6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.55-renovate-npm-version-cf6b69cf8c94d8e11e5966a0a59f2a1f8cd8f9e6_1612500199496_0.523775786490499","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.55":{"name":"@balena/jellyfish-assert","version":"1.0.55","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.55","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4fb25a130cd9e67517ecc4bc7cd5ae3dcdfef8ea","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.55.tgz","fileCount":9,"integrity":"sha512-OvCAREy4HhIwghTP6qr8V910/RhU0VuH4KJ1B6s3847+49cEgpgzp6BWIphnrMWGvdPDnt2G2h3/C7cVBwBIWg==","signatures":[{"sig":"MEQCIHg0zlkKvPCrcCxipt50c1dE7NW67zqCP+zxEFnt9kfxAiBuQRxX1cgnfp2a/k2fkAnjuQsaQqGN5nqHX54Ralmgvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHM28CRA9TVsSAnZWagAA504P/RZR/J644rm3SrgJcLF4\ny/1SnBNYaRnNFfxg7exmGShCijBkSAe00f0AcE7GdPUivdH+mRv7q765RtIb\nPLio23RXt7uyw5NIikQNKV/5NY8aQZsH3SnT6c0Tui5p5iBoZi3vMORHznBb\ndEsJOnS5feYiONzZT8JEDXA/Bm7/AWpMPEiYXm8H9lIvrY4BbDjDTLiqixQx\nj4cjJoTOWAUzkVODqbhcIDWsGMqnxZ5Z0AS/Ol1r5Fq+DF2VYH746lIdPsel\nHs9Woup2krUP52vChK03YLNurc+dUvj1YM1Sg2t5mYY4PSMetInHWU0aTYLJ\ntA/q8B/M63hjp5iINYP+FZcTp+544bAB8cLyCkD1o7huIVrPiiW8Ig1n4df1\n7dy6p/ur/2VX+EOb33rF4bdDYAwvfBZ8Z0AZJbwGTBtTeckm2N/w9amP8Fxx\nNSLFiub9l8kbw4Fy4X1Ce1X47Y86E6FCqP4LzWQaakS008n3p/KewCdTf8zp\nFPE1DTuMa6U9qTFee/oNhSWArOcY2kzT5ajP7w+tGVhH2ugKZ2J8qNcc+wkN\nlzqZSt9pi/7bV/k22YmJrj+rk9QQ/BQq0SmCo1z4cGgsqZ2elc0zhpQbHvmj\n23l8fuOHXQ8yEITiAgNUalrQR7iDZ6xUX+Q6EeFyYKu2skzP1nYSaOGnQuCY\nAVQ5\r\n=K893\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2dfac67f7eda1ca9cc6f0c80111ae2caa76fb6ae","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.55_1612500412466_0.37820766263596406","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.56-use-shared-renovate-config-ae269559a0e16d6c37150e7615bb849daafc32b0":{"name":"@balena/jellyfish-assert","version":"1.0.56-use-shared-renovate-config-ae269559a0e16d6c37150e7615bb849daafc32b0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.56-use-shared-renovate-config-ae269559a0e16d6c37150e7615bb849daafc32b0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a0c3097d9d75a3de51b38aa40c6c7d383ff9494b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.56-use-shared-renovate-config-ae269559a0e16d6c37150e7615bb849daafc32b0.tgz","fileCount":9,"integrity":"sha512-En5HmeB1Ipqmw0GLpEs6T9E1mlVmjOMOXxUOqdA0BusQMm+Yu5hCFJd2+UVY4t/AvY3qVjMRf2TGLAxIeNemug==","signatures":[{"sig":"MEUCIQCgLjDTn2mASRhyTKGD/jNNBcYTKNG+Ig1Qae2QfDTj3QIgFpgOx0JTCj7GS6EDT9FEnk+nW4sCMWDxO/3I2Y+8AnU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHmfJCRA9TVsSAnZWagAA5ogQAJI+HwfhD0y33qDhVrkm\nsE9xgIzzvSm/ttyZ0Zu3LDZnDt5xAJQZ6wrrjKnONrl9rokKM3O2bVT9n/3u\n+o5QncJ1SQ9XAVhZjqUK0fgg4ESdx6yDYQKQURHqmjfNw0tp7OGV0qvuAIQY\nJ+4YV+Wti8GLKdCHTdqeOaDTYgNP3SWpBKiEVEPeP9LuAoRhwPyn1iZhrVoR\nvMZdvcJxYblG+kdGY4GADbje+4VIFqLcQCDAW3oVcsKhPQG57VISRIPuHKxp\nd+T0hKm3zYJvtMGirqNPetOCwziaQO2F38du5egP2QKm2Cdj2kz0tTcVEH3i\nnxRYUS0NhnhhScpmP2Z/N6JlcUstw9xEw1tVp6o8G0FqGYMA8beqUGpLInB1\nRy7OJk4TrvlbcvLr5OgQ0/eiNWKhi7WVpEq6GttZuWbfKpTkl/VD9NiWvRXh\nk1MrK9vutgKZPxAoeHym0VZYK8+j5DJ0GU/1YSoxjZgk9owul6kHIS+zyClb\n8hzA0iyxa50v414brGPsKDhaBu56h0Ztm1STyyBSFuD3ZnPAvyyLTg6+KDr9\nta4oQpvdTx31ctDlelBSJaJIRIot7ymqLH781oHKCgvFdIm5H6pGw2Yn4Bo3\n/B+usbVo5nGAJq5KhPiNiTmdItK8WKEA5YY1S1BX40M9EvvEUIMxXxdfB7SY\nQg00\r\n=ADV5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ae269559a0e16d6c37150e7615bb849daafc32b0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.56-use-shared-renovate-config-ae269559a0e16d6c37150e7615bb849daafc32b0_1612605384895_0.1259090011925319","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.56":{"name":"@balena/jellyfish-assert","version":"1.0.56","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.56","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b84878b38fc83a090cd9364bc7064b7784ecf655","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.56.tgz","fileCount":9,"integrity":"sha512-dd42bQJGlWvWVBQDJrjcYnzSAoVvkZuFSL1mrYwaSqyDY/dyMVjlODTAqc4efm28M0mYbpWUFcVPV/jLl2nyCQ==","signatures":[{"sig":"MEQCIHcL0CpPj6qFAB06mevjF4gapi/QizrscY29RU9iRhGpAiBZ9b7VZ6ZhnKEM3MXEtgvpG/lC77sn6qlMCo2JxKUPFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHmiPCRA9TVsSAnZWagAA6lMP/3uCe4JIwrfcix16+7Ny\nwAxW9Q3mwif10JWD6SSIAk/0L+NLGkttZ281kA+bOZxjNKZ7moyBHsWUp9iC\n523tDtCITNL5C983XHCagez4F4ZILLXSU1diq8eurgrMo9RvTYG7JoBAoG4a\n3krzHT2pNbeKX3Ql4Ht4fKPowQNCtyZEftgfgWij2sNgokrXs35UJHD9g03L\nlf/tEXvXImTdvMnwfdRg05n4lZG+XfSHkl45jF0/7Wf/GpJvsmpNVsGYaojJ\nIR+rA4CDQRvAwAG+6bdXgyslzxlaSIFQZQYTgUCiHgizaKVZVvOnsf1kNVJO\nT8LQDdDxC7iwsRoQGWjBBzPJ7a6ZvwqmD4XFGC6YEeXAM+FL3L+oSD8gxLVf\n5fSKLcu+JFLrM/DITcF7SL4evWK1WcRjsG1u6Dm+UCdSBco8uzo5iv5Kb8v6\nzAfIGXJbWiE3YMpyTXRBp7SbKRWX1zCP1lAu9sSWep7KbUOor9dvyaIs/TLJ\nn6b0D3ArU/Fn3tgVqMWff8OLqPfy4sZL6oJQREoSW4gTnscBRGnSHZr4sxYK\n5SHO3Vium3WfxTtKskDjPrVcXIcwIb4oAEF4J80/XsTH2oV1dZBXMNLgcNnO\nTptb/bFLD7Ho1DBFG8pA0aK0nLPRg/cvIzz729nI7lBL8vBgX4MmrzssC5Uf\nJrgW\r\n=0c4q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2ad33005142f69b46f654b87bf2044b6f80b3aee","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.56_1612605582582_0.0435698460695102","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.57-renovate-husky-5-x-922c536fc01b877dc6d12a932c5fc479aedb4a02":{"name":"@balena/jellyfish-assert","version":"1.0.57-renovate-husky-5-x-922c536fc01b877dc6d12a932c5fc479aedb4a02","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.57-renovate-husky-5-x-922c536fc01b877dc6d12a932c5fc479aedb4a02","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d019bac0ddeca9d6ff8a5932937849efb85f5bfa","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.57-renovate-husky-5-x-922c536fc01b877dc6d12a932c5fc479aedb4a02.tgz","fileCount":9,"integrity":"sha512-63QIY7EMsxRIBUyAZXwKKqM/mLLpYCaQC5Wt+vrc8JGeAKW5VxhLWofWUESZg1joRVoptqAHQ1CzU+Q/kf415Q==","signatures":[{"sig":"MEUCIQDNepvAENzV7bnv+bjOnb5TAutUhzVhsQUR/BjM4FmGRwIgP0cD8GhQDw6zuc4ekqjOZxN4Cg2JsC+bDfcl6BaG9/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIaa6CRA9TVsSAnZWagAAL/gP/1SggwguD0N9JPe/xDk3\nAbiCNgwMsRmu1ZMHJiNestMkKxZnvSbeXnEOhOPtM/lE/OXrVdje0g+MPnjU\nLcRHch4xbGM+yDg6lF6SBn6+V3kafTB7eXg5K8tj8nbT75uQ9SyGCCzsFEz+\nY+xU0XgX/YOyNbu0bmt7i24MO+LNODA+z9KH1LvC12UB0m2W0HrinVVxPy6l\nBchPz3d47/Wu6mYM1qOXJmFx5q41z61t/XSFbo6d4+EbpbtpDLozCwTe04vw\npJeZ02tJS7Le9ytlmjGkTg5c5rrNr1ohMxTvV/CwOMAN68tWgiSpwarVNdP8\ngKWlMPI4KFHgBtkdn+Lt9tlClVLUKFBHTBgkep7Qw/DU7XWeVCfSvf7oCb/C\n8tbm77nJCXtP3o98jxYa0yoCwuSp2C3uNQfDb6h6isAPms5eOC4bosseyUJt\nrZKfzhZALLyRQQyC453Crp5x4+MfNt2ulMiyb1neNccA0qVUfjIab/SjxwrD\nU56l/T7He0Rm8GNkG2dbTCmITVgr+pTquo1G8YSqaI88KFe9UASGAr834tsS\nQ30bPMjd+BOgsPJN2a5XK971tmDFyjWo/FUwvugoF+ntysSW+83MSdbwshtG\ntaGMX5E7MjkDUOsqPXqAYA44o1AhH3ZkI0TRClbQKVZQCJv2PVNl39GB0kCz\nEE9w\r\n=Iq3u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"922c536fc01b877dc6d12a932c5fc479aedb4a02","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.0.9","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.3.0","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.57-renovate-husky-5-x-922c536fc01b877dc6d12a932c5fc479aedb4a02_1612818105624_0.3324419490957429","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.57-bump-balena-lint-34821c6322e753ff7a94c48f57b0f7b96eb4ad4d":{"name":"@balena/jellyfish-assert","version":"1.0.57-bump-balena-lint-34821c6322e753ff7a94c48f57b0f7b96eb4ad4d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.57-bump-balena-lint-34821c6322e753ff7a94c48f57b0f7b96eb4ad4d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"75b3fedea021ebd9ae3926b463a2f56da8978093","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.57-bump-balena-lint-34821c6322e753ff7a94c48f57b0f7b96eb4ad4d.tgz","fileCount":9,"integrity":"sha512-U46Y776TLVGu3hl/vBsDe3jjU1qLZEbP9Zsmu0g9k7TkSXE5+ePrx3VB48+ZTzVfJ/6A9LXUxVXBIHM6HR7DYw==","signatures":[{"sig":"MEUCIQDgmSgUKEi2m6Mg3j9+laBE9clvbD1TSR1VhrfV/n3Y2AIgVckmRZCmsKYWGUYMOpcidMJ98MqjRbKF+2uti6MzZgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIdY+CRA9TVsSAnZWagAA5fEP/2YFDHLRZuVkdMWrPt2x\nQ++18SXXSYUrxLpSgwO2i6P5p4LVfADG9PvEcp3sJt0kSXKz7x98Vko0nNPG\nfTH5JJt+nL6iJZ4iFKeLRZ37uKF2jykJzG9yYokIrwUqe9dsQD1TogSAF9Ey\nZSbx7Y768rk4flfDrjzWtQ3aYb+uYD2rb5ml0aoANM/tbI/Gj1xz/Gzw99/n\nXxQSEk9h/Moq8w9R7CFdfGI2l6Bfm9UgknA/N7uk2IYHU3Y1YP1ZbBB7mBU4\nPevo4hWrgHeri9aqfPkfZL08uiSF79IB94X1KyaC0s4bJhNAh2WhniM0sXog\nnyC8oWzXNfgKb+VqI5O8t6BJvZQMnV9sLt7+kncnYkamvpz5plR871Ih3uAw\nd4uztsGGS4wxWtfqam7LkGFbJuel2qwjJmQljWH1kpUWgS4p+73ExUVhYoYp\n+uKumpnAmqkoABgeqly+wREAgWP3HM4YgKQYeaTBrPZNk+yu/L/kh73PB1Or\n9T6hPGBw1d3GIsCyBBlJNAtS8TyysNehgOnd81UyDprg3lwW3b4mtJ09LvMb\nB5pTxKjrl0HCt0bZREEoole8BXzL4ea3an69Bh15HaLny1MX236iBWKV3gfS\nkI97n/I0x627RScualFKwtcq5Op9owSToAxRvx/Uupe95sG1YGIZs6tPCTOx\nNjd9\r\n=T9I9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"34821c6322e753ff7a94c48f57b0f7b96eb4ad4d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.4.1","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.57-bump-balena-lint-34821c6322e753ff7a94c48f57b0f7b96eb4ad4d_1612830269948_0.6299667050190179","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.57":{"name":"@balena/jellyfish-assert","version":"1.0.57","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.57","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"15b32a1e8d6973ef21da8df4e3575f24ceae3b2b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.57.tgz","fileCount":9,"integrity":"sha512-9u1ac06BhobTNrVrn+KT6HVSoSQ9fTs3+Tc2xVVM017RLxIh1QKqCYavXMzh864rORODwZLKvcwgaVsiDXxDMQ==","signatures":[{"sig":"MEYCIQCN4ZqOdSiCYYcxoK6pbypsctWpxY7El286MDgrcjtKmgIhANmbEOQmFMYggW4flXxTLsY34BDnxSQj2OuKDMh2yeKo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIdbzCRA9TVsSAnZWagAAYRUQAIOW8H5E+D5k0WLThej3\n6AcYAHbFTVGjPsKfGc5QdOJFyJynxM8IKZK7cxwjEzw7Xv1R/dkrXK/0KS5Q\nMDSKMc4xrtgkUsINwJgGJ24KLdFVwPt+Xg6R+ffShBDXdAhNJYu6X9h9cW1Q\nj/XcxM0uv/iEC307uvxr7cZYkC9Y5kO/6qlFRq8WiX6qEgjIBR0crbnyyzbR\nqkJaBwEXfl34Qb9GvVQWqWUGpafJvPerhKRgMYhjEwLghKpHK9xIwIyn1z4/\nndLVE2gQCxedI7E8sdCzbeylHRASojvX0EPTqbNx/uDT1kDU2yUnVaK2z1Zw\n43Dgpj4zALiFFeYEw68tM6NdIDQgNnYdDVGdBqag8wDVLZmbyJC71fBzQznG\n5XDK3i1qgKce2DLb/SNs+l7wYVpiB2FKq6ylDlyXvhIG2CPqFNmCik5nelE+\nSOWz+PhxPk2WbG46Xk7uEFgpRS+tqFxlxAxpqDHSKisakwhFpoOCZ7ktqcvJ\n2rnsqSAle0wyylcBWzjHWaGZphl/tdSpiAo+DtBeZL+raa4bi1nhpHRbWPCF\nyPxFJ1Qp4Y6vO+TASwsoYkvBWjyugISL4Z+ydtSpiocnkw4vk50K9CWQHAQP\nE1q0ORNX0RXerppdAR9QA4aeicjxfL11gRFgDFbNG/8H3erwDIGQFuOPFYrM\nd7SX\r\n=uevw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0a15693104826a0439b5a6b3687936ceb0824807","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.4.1","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.57_1612830451069_0.5268745743672474","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.58-renovate-husky-5-x-a762f3f845223588ddfe60c4507ebfedb487faaf":{"name":"@balena/jellyfish-assert","version":"1.0.58-renovate-husky-5-x-a762f3f845223588ddfe60c4507ebfedb487faaf","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.58-renovate-husky-5-x-a762f3f845223588ddfe60c4507ebfedb487faaf","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b332fd8f5190b53cbd3399f8381e220cd485e7c7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.58-renovate-husky-5-x-a762f3f845223588ddfe60c4507ebfedb487faaf.tgz","fileCount":9,"integrity":"sha512-8tKEErYIEfcf2b4wD8ol5jcSmZB/gsxjuZDx5b3WKrlHR7GJtoNW1F2mS4Tt/xsmWxxOetD98YOa0kr7r/28LQ==","signatures":[{"sig":"MEUCIQCMrhYadOFEs1Yn6/MGtTY221Dv6kpTQISvT3Wbb40VFAIgOqN1EtiYeJ+p8n4SIe7KWtoFlv1Ghgae3HMOwz8eMqE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIdeuCRA9TVsSAnZWagAANvQQAIEwGIiPYM63MPBYp/UZ\nAoZY6OxcJtRsVNd5HlYKjnH2URjP/TX4wOBSSKqYqUqyG+buz5CpyuDmQhZE\nKUv58ktNUzNsf2lfQlsQQdV2F2cqvQap2Z+YZEifxFb58sbcMGWoeLwNGo14\nRcUmvOEiCIynKCnHvbk3JBnUv/f7IHtzM+944bzbATCo6kXENb8EJ6yOtyT9\nPdvDsV8Ppm1QwXlVC/kjdhUwTxbm3jpzofqOzEkdkNgtMsw1WHwlxSexdCHX\nzuNXE/PrHGkyR+v0Zd2MQgzYcgDBcILuq8rn8j/S8otNWYvUB8t8nj9Z1Zz4\nt2G957IaveJVoNuFRmlhQ53eCNtOD0xA3Uisvi3khCUwmKxzxbfoFePvT87F\nopoC0LMdxCGujpAWKumlHV4CghRg5omsgcldL7vFb1mqq8oHKoqTYlPpQKY2\nARU4GwTnlM1POUWTwT9rqdF7Gc03OUCAo2S+9MTxa8vnq3QX591wAmupup7c\nzM5+OfrV8K7HkLlVEdn/I1USYyLHIrgaha++84T2YtAaQLjWT9s60xP/YNzq\nrLrsd7iPiwojiqOI7a9Aa+shT9xAQ/mD6dpCQnit1+d6eWWNKk7DowF+iCmd\nfISP7vjwdS4lSr4paeYSpOorvSN5cHlCFROsPqvv3G78SFceVVHxdHEpZ49X\nCGqm\r\n=wI4g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a762f3f845223588ddfe60c4507ebfedb487faaf","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.0.9","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.4.1","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.58-renovate-husky-5-x-a762f3f845223588ddfe60c4507ebfedb487faaf_1612830637556_0.20491916416182976","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.58-renovate-husky-5-x-bfa9f34b02d86d59cbe1721b20a163aae59a57c0":{"name":"@balena/jellyfish-assert","version":"1.0.58-renovate-husky-5-x-bfa9f34b02d86d59cbe1721b20a163aae59a57c0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.58-renovate-husky-5-x-bfa9f34b02d86d59cbe1721b20a163aae59a57c0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1c5e40d0b48e382b1dfd5a82ead69b4944d882e8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.58-renovate-husky-5-x-bfa9f34b02d86d59cbe1721b20a163aae59a57c0.tgz","fileCount":9,"integrity":"sha512-oxboGeBgfEqXBi4A6hfUG+e/Z6n2QxqGEc8J1KZltpxrxuh3dzuYT+HCNLIn5vxMwCsZBdtFchOzMfkGzaTBLw==","signatures":[{"sig":"MEUCIQCE/WhFxRVyQ5ri14oG3BwewHNxFMmhoi3yOcvjk11kKgIgT6N1f6frfjNZTARQMXn1uDZ9RtWB+eo1d2qCJ39wptA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKiE1CRA9TVsSAnZWagAAll0P/2oo3V27v2FQ8KVqKP7P\nBnpqlHYbU2byHTAdNiWmeG1g3clOao1rYFczp706lMKOJUjI3d6Mwvpn2flk\nK6K67HRoJbujMeM0DEur5jA4n/6BfL04hffhtIwX2oVRwIhZ9ToMpYncqpFT\n8ICwEiUz/ERCC6Ia/Mk62V1Ou7ARe3L8wwOoMPYS9dJQZjuL6niQk6Uvhkwd\nE913pJSfaa1HE/2bK/38PYhIzK5DxcklO1BoxjPPh923w7hMXG5VfA4tYBri\nvYmxitd0DJ2bLwsIpB9WJOCkzSVrWfGwxpxCJqWV+ybWLmuOCOo1iBwxH3U6\nPOuZDNaJU4ahTsQO2RjMtfDxRFr/Yk71qkJbJ1auOTJ9m4ovhFjQ220jq4Za\nUlPPavSnzborB+dgSpYeQlNsxX+nz/hFJIBeGGyOQyE229PndT1eqk0qMWwU\nKeedf0WdndNETFCchbEusDUgudcaeqVkYqDKRdyux1HQXAzBn1zFr5phS/xE\nZcMbtZP0TRZjRsFCMurdGbRi/1zkIzQhu9RGx9pzbvnQ9t/OwrFkCuqt1CK9\nlaQiMkJHNh/cxrr/jcNCfbiB+T1g+bPTB4+EWwtmd/6PtmDTevp532uTzfdS\nhyVPDnd1e2/QiEHOFwxymJlwALZqQz7F2sA+BP8tgog67WXVFjg95qZlFdPb\nAzTu\r\n=SwAc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bfa9f34b02d86d59cbe1721b20a163aae59a57c0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.0.9","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.4.1","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.58-renovate-husky-5-x-bfa9f34b02d86d59cbe1721b20a163aae59a57c0_1613373749150_0.38889265651579175","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.58":{"name":"@balena/jellyfish-assert","version":"1.0.58","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.58","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"76dd7f7b1e47ff8610fb8952f1a69b0dc467498c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.58.tgz","fileCount":9,"integrity":"sha512-5X4bhhqwN2OJYq0S4WHY+Dj4Ww5xpkXIOA99bDC4x7DXIZximjAU2M+pFY9apCIs0HpHUw977KBej2gFjaDdYw==","signatures":[{"sig":"MEQCIBGq/5Olr+9uZpmLLDxqQ8xbCDF+lJKL2+5tTyuXjRCeAiAbqGrc07TvavgB3EjSBK5mYxh6bW+2qMFCasTS94HTvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKiSGCRA9TVsSAnZWagAAxOoP/j7h7g+AZ2Cy8rmnDrS9\nxbWb/MOMqOLUEFRk8EytbvgLh42709ZAgPkDxVglSrmwfT3pLWFDxJHA6Sds\nKNkHHuLtD6FPGzIO6uirOkQ7KLvZ3iyoxz/lenkZGwrvsQVVky9ZPa0zz8Is\nHv3h1XaRb/thChQDoQEfrmrZu4nO0KqvqrjN+R5yyQEMV/EOIZgT5haaHLl2\nJOk/eOJtOlVColO+yKOJtbxsfBRAh7iDVifZ9aUkJA4OGNRD4qy28wk/pdiP\n1nfu+iyliKm9BKLi0zbyPUVdKCariATKdE9SwDYua9wtSJF/wBIx+OWO2lRL\n7VgFYTnMOUymuwPWexUOTjI/Mdu39fv94xniIAICZ7tZgktjJG9QIJeavxTW\nkDOe2iKh6wpN0lCoVrugUSKN6HqUy5Dg9CW4c2z2+Sf+MdGnD4NvGlR+nmi3\nQz8FGD8lFZwNSEY7IpAeX4ygAEX4MTgPRSYHK3VkrvPE8KxQ5okOzCBjR2sj\n7KZy2RoGJs8+GIblINXJtNjnoQYoWhp7svS+38qzQkwSow+Npcnc7HjGI1wF\nSPSnmqKDEOqW0vN0TacUK6TtdqxaWuqzkMETn1axprVYSiP9QT+F5MgHTNF8\n64glCqazuXI2Id3Nd0+17lv6udEwp/dXpt17vyiXZKy02sggTfKeRe1SncGT\nRw8U\r\n=3FbX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0e1daf0e3acbabceef9de668604b3277ee5b26cf","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.0.9","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.4.1","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.58_1613374597683_0.24408413871814716","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.59-add-changelog-yml-ee7453ea9ded27e516f794b873b1f50eb7a2ac9e":{"name":"@balena/jellyfish-assert","version":"1.0.59-add-changelog-yml-ee7453ea9ded27e516f794b873b1f50eb7a2ac9e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.59-add-changelog-yml-ee7453ea9ded27e516f794b873b1f50eb7a2ac9e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b00fa114af4d08a364c95359b70e84e70fc020be","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.59-add-changelog-yml-ee7453ea9ded27e516f794b873b1f50eb7a2ac9e.tgz","fileCount":9,"integrity":"sha512-wSm4lxJ9hA8xyTnMzxVQwZTPeSM5VqOQOf7vheKH5kehEOHR5AqFiATvprTe2nQqoRhqy96HeZQNlKXG8JiZfA==","signatures":[{"sig":"MEUCIQDxNLnKMqqzGEBI4RYhWzG1TerHq06VHHB7IXJZarPmIgIgOsbLKsGHsuiXZ0i8peb1TfMdcWtX2ev5AbCkJKY/eeE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMM2VCRA9TVsSAnZWagAAz4oP/3W0ovrys+Sc4b2BixZQ\nZf/tsx5NNij9r2KDoC/HU65DJknJYKrnpd7D8AWP7WY7kq4cacwq47O/yx5r\nlvhdNd5QY5S+IbJ0sTBKe/k7fckyivCKcWKY9eqc9WgkaXSEGvuVgcc6t6za\nicFpt9hVLg/vFyxsRyC+bhdLMNEGwx4Bl5uj76E9NYaFCkTAWtpOBYeUTRr1\nWxuv1mNmKelcpGqJLavKrY4jKMECXwFAiEO4b8lG4fyohxdXgZ6V9H+N04NF\nI8J9GjuuMsyYpBfA29iVM3o28QF8gkb7fT5hfZpEsgGbSI8g/eORWj5Temjf\nbpp2l2EWT/fTtVQ3rWHjUITHWBiYsQrJKSmxfKQDmbaLkZmJksJJhwrg1qqu\n8vYVrDxD+JknkU4XWpiYufY7bUzoJZOgubIBJ9Fp3D6IdvyOSkf7Uipv7AqU\nj7Ow2bQ5w8rfDuSK4MYsUNOhfum/6jJo9SnBZEFTv+YpSBQ2nVmig3IKvFe2\nIUxBQlGFLuXS6LZOFyiu/ynWbcLLDvwOgIH1ztyGzDcKZs4K995hxmvOwuJI\nCW8NsDnle012gZsWA3ITdiZGXlI+XZfc5KxcY+CRTgT2Ze4SAE/IiB1TVkL2\nLT++nrvKY97imz/ONmaBmMXD/PRfTmi470oOZ1F/JiIG+izw4boSY5CXsId7\n5Mts\r\n=fYLG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ee7453ea9ded27e516f794b873b1f50eb7a2ac9e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.0.9","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.4.1","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.59-add-changelog-yml-ee7453ea9ded27e516f794b873b1f50eb7a2ac9e_1613811092423_0.45786529410639676","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.59":{"name":"@balena/jellyfish-assert","version":"1.0.59","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.59","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7d67f45dd3d020806580d34dce405de38576c4ec","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.59.tgz","fileCount":9,"integrity":"sha512-v8wQIl8fBpGeD8fJbbTu1/MZm2N7J18k8idPbraZbX6ULg4lRXTAue6uDJPEY+vY0U7PJdmRyjcMBBKPTNBeHQ==","signatures":[{"sig":"MEUCIC6SI21dPONTG2bP/z+ruHHAdPEoX7WJgYpPAeEgFwBUAiEAiZXir5OQZr5yrZT62CRzPy2R7DpgF0mxxFDJmpPOzeo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMM6QCRA9TVsSAnZWagAAMRcP/AsCA2/y52QxE6867maC\nmq/xgbdW+jyJ77stnXLf8D9C1IuD8x2pGH4/FnxmakpU6KT4grrHC6wyyeUp\nMT2NSQciqIvNDEzGLFZ3GsdEbt8LPF823gjUQR8d92PmtG7rkOgAUK20fYWM\nV6ANi65DlC+tSxUZl6AGMv06CiDYJBd7QLbf+Y5xb14DzmJirbIZPTDNzXMO\n2MsLBdqA4T4LP/DUNeMlm+mmI/Cf9dfiFd6B4H7rkkvtfXfD+YkKW/kcQu0Z\nz+7/Z7L0EBgB+gcVYgqq2tJ7PFb5umnE9pkFeuqn5ig4R3k5RA8uh5Sh+iN3\nvUVlapu+mH/B4nWM/aralHy/RhA91FUXGzU62zw7QvreWLSsFSsCHzuqlh6+\n9Iqx3TSKCEVtG8YDfYu6OMpdL2XIAGXeNTcXuOPXgATe4d4iqH33eQwKV341\nIM0nMZvS/9lUw1his4h0OPBmJoiHN5vxHUDITgPgb1iqHxcU0Rj6CYtEgC3v\nhJS01klo5ujF8K6esAfvsLAokaXb2FHvEFdsATeYtc8KbeDB4u/u0zubtSkQ\nU0grbvBnONHEp6E4PsKK3M9H2cCE3MWom/qR7n8VGDj0UfV3CMwCMY2UHII2\naZQ61Byoqt9QfsdhRq3bK9mrL66RiiG77ycO09q0LLA/3qPdx5COW+VwDdUI\nBO3K\r\n=dJzN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"54c18395e451648e12ebd643971e9b21224c893f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.20"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.0.9","deplint":"^1.1.3","ts-jest":"^26.4.4","typedoc":"^0.20.16","depcheck":"^1.3.1","typescript":"^4.1.3","@types/jest":"^26.0.20","lint-staged":"^10.5.3","@balena/lint":"^5.4.1","@types/lodash":"^4.14.167","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.59_1613811343687_0.4638885240809252","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.60-renovate-non-major-adfe80f123c1b960520539d7f865248c6c4f89a8":{"name":"@balena/jellyfish-assert","version":"1.0.60-renovate-non-major-adfe80f123c1b960520539d7f865248c6c4f89a8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.60-renovate-non-major-adfe80f123c1b960520539d7f865248c6c4f89a8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ff45f28dfcaa381951383b2a58a81bd7f252f236","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.60-renovate-non-major-adfe80f123c1b960520539d7f865248c6c4f89a8.tgz","fileCount":9,"integrity":"sha512-83MEaeG1PlPI7KDnlKxoFMFX3mfm54pXEOlMtf0XlhtXB330VD46eYbQxiacAD5CZIYlKCLx6RwiHymyRcMX0Q==","signatures":[{"sig":"MEUCIQC2J/HVPT8PjHMZ8vm3+z6UdJaNOnX0u0ujnipMTFGeKwIgHUHWjOImx9/LztGKd3y78qTr0XsXGnvL4dxDJgA6v8U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNdhsCRA9TVsSAnZWagAAOFIP/AgV8u1XaN3KdDwGuXdF\n8iQd5mLEQVVUmTvAugUZDPbjiXP7484HIEtGxqBEelUVgY/ckdISyvjf+4OB\nnlCYnVjz+CQWQNlSu0K+G05b/SH/VwE2RfjHnCe87bQp3Wym5dT7KGX9EXOI\nM5Qe1yCpRRb7RDxn6HqeMO1W0Gs8S3qA06aJOCkZPlgiZydlT8sUg6znr6gw\nqUskDotDSvQwyjqdOxylb3bZcklJwxUrASJAR0TVAs7enupi/lYhKANTL2/2\n6b20ri+xv9hvpoxk7UwCDqcXT7o7kU74BGLTEF9EpRMG9b3Kb8pLrP6VWc/U\nZkLaLGZJlMM2ZpAdZMUEeqlbu/8bGK/BnatUkrtInd7ArNtPhU3IJx6JHO1U\nCjsQ8mnyAcMMxdkGficFJce6mYgcKmoOnP3cpKpZ8xpbmVWiwxCD9nyVE6CW\nQpiqSXOkFhE575cWpuP+FFGk7IkCFBec9HAlS7rmOcd2yfhRBpFEwxozQzxt\n/Cb7L4gyifitm0ID0Pv+1980xfFe8dQZeGuQpiyTw8pd9tRBYLsaVQ3mmNUm\n0HyIwnfklRTbaIWUpqH85dv8fOPu2KILsKvCPzO5f3XoBUMq3BSeEQx6vzLH\n+ZzKj6v+UP1BkOEvYOjtoPZyx+KyQDc8jC2/L5tFYtjChtR0MwsqGhsYW5pt\nMqNJ\r\n=8RGn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"adfe80f123c1b960520539d7f865248c6c4f89a8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.1","deplint":"^1.1.3","ts-jest":"^26.5.2","typedoc":"^0.20.28","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.60-renovate-non-major-adfe80f123c1b960520539d7f865248c6c4f89a8_1614141548348_0.696719547190706","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.60-renovate-non-major-81fd75cfdd25e6c41e04f49a45a266f79bad247e":{"name":"@balena/jellyfish-assert","version":"1.0.60-renovate-non-major-81fd75cfdd25e6c41e04f49a45a266f79bad247e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.60-renovate-non-major-81fd75cfdd25e6c41e04f49a45a266f79bad247e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4881b85a5adde06f7dd8345e63cda62caccf4184","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.60-renovate-non-major-81fd75cfdd25e6c41e04f49a45a266f79bad247e.tgz","fileCount":9,"integrity":"sha512-umKDZFhHBUBZ6iM9bcq02OeDxPmlcePJLKNdDjmJLGp9pC0HXJHsYMOEx5vxqsGQxKjqIAEE2Cxg7v5eykEI9A==","signatures":[{"sig":"MEUCIQD09Fmu/f1FDNe203ArspbDdgR9Mu3r4NxaPBWL9k3nuwIgPntvb4yr7T4SlOJG6qCBj++sYVzltHJsUzY9StyO9f4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOMvZCRA9TVsSAnZWagAAZlsP+QDioPh3tLDBgHVZWSmR\nTrKMzZkg/7lhvJDSXrsFCCz34fNwaydh9nNGyJsEsC9S5z+tNphcj8VSFT06\niO+6Cb7nm/2WAnhoQgg1/jhID3E66WYQQ+AhDVkQhAxb+ktVn98tEvjsrH0w\n8F+4VyLxg+9o8K7NkYNk+RyWmYdQ+va1Z0Ysi3MjJWIXb0+mzm/IVRpiThzR\nMo24gqwnPZnDWfChC7n94PNlWfYgbHoOUpgHyulZNlSp0aMeXulObULeXuor\n1WgN9qNqU1GoPyepz/dn96RVEncoF7RijL3FeNRoIVChUQuYsznnudbuiVP0\nSEF8LpStZDczBpWVE8X/vL/iLiuS5oxwp/XseiF+2RFGKYA3PyQMtcRDwU4P\nYiO7CA5TEb4B/qlzO688PueujrxzABXWq/UOnHIsPN0v5+pnbsF8GgR0hvIZ\nGwWxtAEB1cwrffgnVH6SOuSYIo/UfC3T6fnFiWYcQEy8/6VKBl3NxDZbLG9J\nbT6A+ykKgzES63mrHWJDhX5xUrkYgRzYzmwIzDc1Xy180vEElRLwUYrlSpVs\nKU42DUyK0zi5o/Xq5HahZMrDnbKv6/M70wBSeN7X/yRhP9XYpa+HD+uR91ax\nrasj6wmjOtQfoB+ehuIxmFjSlEPO0mvFPG5rh3EvkySHB8EimXwaB1lVgz9C\nKeVr\r\n=oicJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"81fd75cfdd25e6c41e04f49a45a266f79bad247e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.1","deplint":"^1.1.3","ts-jest":"^26.5.2","typedoc":"^0.20.28","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.60-renovate-non-major-81fd75cfdd25e6c41e04f49a45a266f79bad247e_1614334937098_0.4461208791762541","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.60":{"name":"@balena/jellyfish-assert","version":"1.0.60","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.60","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0fd40f795252fcbd3eb79860a8c2ab121d2f9f61","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.60.tgz","fileCount":9,"integrity":"sha512-Dndj6y/zp3v5KzvC/y95ZNu8OmF4LVJYZvhJb0PDRPlOeyPR/BvHEiss8ryuFU3+FwbwhpRe4DwWU0J7oewXDw==","signatures":[{"sig":"MEUCIQCTTX271mk2jn1HBxRP/nQjv0YvaMCrjQxLiU9B1xlOWwIgPtoqORQ6rT28QtJPik4RRQgvtOQ3bPYykahnzdNLxJA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOMyXCRA9TVsSAnZWagAAxZUP/jEqKob+0lYr2dXIToJX\nQYK+tnPeFdK1Njoir0D1wJA3Tiwjj55Abeg/CfqEGvTMsnqg+zJKtyilAgfE\nfoSPkEsq1EZj/h8+opcHFj9tfxui53iYXvF+r/2cGdrFnOJhfxbEf6eQirmG\nhgE+SfjzbWh34cxOgd6nk43n3oxapWPX3CQOl2yv8IGN3bVcX2+t0fQ3P9Im\nnY/0DlwvPS5/feCUt0YUuoyVMHwdTB1XAaJVtwjFszJHD5ddtMsvXK+7qTUl\nQ5cgvdsai+AatOWudYICkZOosWqzeafiTsIHCo3gJQK5H5ioLAyc824o7M4T\nB5OohsnLt/50VYKHyUKSIdiYaZjerYtrsiwGoGbVUnS0vP2AXtUsbX4ZubVt\nJVFtobHhGnfD4BaRsZIiZugcCMeb18gX0DMGvNNNn9Yng46ssptHPYmZp/7V\nMmAZPn8lGmge75eiGaMUBiZZIUKxiz5vbrwGSV8viSqJH57xjerSljA/Q9T8\n10yUngqoJwN/HcPC95GKpwafkdnbDjX5rQQPyxVHi8pAjJhOv/JoXvyzcpCP\nnY2r2TCgVKaRVBs7v0wHnKj3SlbPKfItlbnz9brKclh0FRSJug43TYcTDBeB\nZs+VTqAtGIxF8QdcpQK7qZcT0I8K0IEf7Wnwua2yXFFzRcvopJ4Hz/0UmUU5\ni6qV\r\n=5VGS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"60d1a8c0782e409a1838d72455dbb4c9e1178a5b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.1.1","deplint":"^1.1.3","ts-jest":"^26.5.2","typedoc":"^0.20.28","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.60_1614335127082_0.04358761574961956","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.61-renovate-non-major-4cde0b67ac02116f839b7bd2bb8cb566e02e21ba":{"name":"@balena/jellyfish-assert","version":"1.0.61-renovate-non-major-4cde0b67ac02116f839b7bd2bb8cb566e02e21ba","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.61-renovate-non-major-4cde0b67ac02116f839b7bd2bb8cb566e02e21ba","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a65c2b0d9ad6531cb36ba2b8e328fab9cb6e5be9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.61-renovate-non-major-4cde0b67ac02116f839b7bd2bb8cb566e02e21ba.tgz","fileCount":9,"integrity":"sha512-dcgLYCSQpFkxu9JCKz8aVXZQk1BY1Ca9/STiAcDISZZDEfh+vuKU+/M8lH5PxXYmXTOjUjqpTNbazc6OfZkDOQ==","signatures":[{"sig":"MEUCIQDtjh0bfxrtz5Q0nwy2wllrb0kCZSV/aNVE4W8btLuMKQIgf43i9Z/dhBBKOnlGVPfv65N+0YDuIwDdxfNdYeuRfao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPFjRCRA9TVsSAnZWagAADv8P/2RjjDuwoyzcpJm4Uk4F\nM79Yixd2LyeXB/n4qu7Gh1C1Ham7sbS/JPBEKAJjvEnCGhmAawVkO2EELWjW\nyYGsRYUGan2l9hAEisFvVxQGlvc2xHb19NSqrI2RdinZPc1dx1DLSw+Jv3Sz\np3FOPlcIXc1aAhXsaonXKJxTdZsNiF6Jj6xFnb8ASA2N3R6nPYRrlhcDNYxa\nsDnTFcfFF2/mlgMmwxRwRUopWFXLD8VK5ACqd6tojBcEE7dHMGBWOgmYf1gc\nic4z9FQrlFHQyTVlKArj5BhYOE76s+ErJB5sQvx8KX9NV55C8UZChyX5ygfD\nMLV3fa7n7+ZfXwe902BUxM7pl9eCmi1WQbrXCcJowmKZ3Sc6kbxhUZpuDEcA\nNaLTvHIv0lSSay4shgvGZTuw4zk7B1iG8sYZphNpH//0js36d2d+dJNL/wlh\nmyDOxuidF4IKriFKlzdQ8g5Dg7qS8Bcp6eQarlNGLv3GJDf60pbPFY8lb0QY\nR+aAXwWGYlLFbb+mJJEbU3NAA3ub3qKYUkY4uudMmoHDoehQvQRBGMGm3v6i\nJZGCnV6XCNDqDlkNYsXJcwZniNoi37GuoaZ14wWK0/V216F2zWdrZjQ79OCQ\nZWS2O9dq9qEfcFxpgtwLY7zPXYvGqSGhLWb19LqDxiYepo1nQOGbC6Akfj32\nXS9i\r\n=iGYz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4cde0b67ac02116f839b7bd2bb8cb566e02e21ba","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.2","deplint":"^1.1.3","ts-jest":"^26.5.2","typedoc":"^0.20.28","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.61-renovate-non-major-4cde0b67ac02116f839b7bd2bb8cb566e02e21ba_1614567632742_0.8937089313122506","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.61":{"name":"@balena/jellyfish-assert","version":"1.0.61","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.61","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"26ca83501b08062051c682bb76e44ee296e09902","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.61.tgz","fileCount":9,"integrity":"sha512-BCpalEK+DgKRsTHD+QrYKJXnY1tQQ3blZoGuaVbcNkiUx7reE2Vm8fSgl57W/Qh3krO65Vo4e5u/XCC+psEj1w==","signatures":[{"sig":"MEUCIEapvbvPiWdTFWoaNgB5K+H2WBpadcUe58wITFotb7R+AiEAq1/EfpVFZvktS+vehdWc9sBNRZBI/+tFL9zE1VGVm0E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPFmqCRA9TVsSAnZWagAA1cQP/A05BccQ4TpyudazMjd0\ng7ogd6snQptmTIXv19ABCx5E7V5Rb7B36YHKbnnKQxn+z35egPDInDTVJePU\n6+2Lm11z8I21X7W0H0JXm3BuzPll57efL5FLfHUNsC1COiI4Uv5I4o0POiq3\nRlG6gc7Da4tWjeFfpAnF0EUKhBkmOr76MoBkO8yIhoiDcIrgLE/VVx7evP1Y\nUQ+a4zB/pBpOsVkuStjZymAzHCxUwMmiVvOXfU9nVIb6FUb9XVrF/oMIC9Rt\nW4JlvJYZCqMjPQOR1ZZF42AGCPV2LtqMmOMgLTsjimq2r3ae2lkBB7OyJSjJ\n2RpgG9Pe3/ub3i9Ycew2sp0mNFmD99/g2kXYhxHcxSWcsNCPpARr2QsrLQeT\nVbFegZu1tgALIq0dd+Z/dwF4h7I57czPnjvlSSFiZnsMQffXJpxB72xyOVE/\nwpCNoAHlc5MpH2L5CZWTYwCTm2hUgr2M0q0Lns+3yHGBhdY773EM9zybKJuI\nS7l8cTW6RkkSM0+lGaqh2tCJhXXCU7R7QUyAsK/B6SrTvK1PuZ7Zf0SzjT4D\nYuuBAzflDcePaRCKnpboWipq6HWwru4N++vlpQQulI8LOCwomNsNSRpI+Xlb\nvFC2lnNL9yW7kJrlQAKkoaLPDzvxqejc1bnTTRQ0IQWNNFZd+uX0M0+p/SmB\n3x7a\r\n=HHoM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"00d7c9e661c3cf4f5ca1fe03fa7bd0f2cd3b755c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.1.2","deplint":"^1.1.3","ts-jest":"^26.5.2","typedoc":"^0.20.28","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.61_1614567849723_0.8778657413639597","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.62-renovate-non-major-d4d2ad7949fd035d63310819d2edbb7075e05071":{"name":"@balena/jellyfish-assert","version":"1.0.62-renovate-non-major-d4d2ad7949fd035d63310819d2edbb7075e05071","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.62-renovate-non-major-d4d2ad7949fd035d63310819d2edbb7075e05071","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"70ce84f5faa975be36e181f7cfd8c9789e9e51d0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.62-renovate-non-major-d4d2ad7949fd035d63310819d2edbb7075e05071.tgz","fileCount":9,"integrity":"sha512-u66ggRsK8l/+VvOOblZlvw2sqA3UrHNnxdSZDF4thAvz1fQToVkMPEpxBraJ2r1DD3fSflykfLkSFOeqYpngvQ==","signatures":[{"sig":"MEUCIQDE0D7k/Pur01YWkeSk2k292Zg2JF/+IRP42XicOAQOmAIgZ/h1WK9aNal8rz5UFwU1nvKZWRWaDh1KRzV6R4gqWno=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPbgrCRA9TVsSAnZWagAAuZUP/jXuf82ZSkmfohlAXqig\nkFh1oCtwqfh3GyeiZvK3epPfcfzOq5hGZbbrlLVzUXpwQ5MI0XxFc60cYvSn\njrBtk9/k4AYuZM8l0xo/VmLZpJe9Dw+zYCdYql4oUEStVrtvUBETHoCk1SMW\nVn+chhHlY6IOcNMva97cDSlI+H/CXyfCnKaPgGPXkDn5olBHlzmpYuJmaXNN\n/mXpN5VylNe/ESC3jhRkdXOQ5xYJ1CRQvxVtzsnDthwh3kqyjnOnCpQySjcA\nVryZ3PHjHti6PRFrn3FCv1n6dckr2nN7A6R0bc4Fyg77Cj13be95f6qbBBF/\nHCoVMhlgPzTRpGFFJ91iPurG7PEM6URoMXlIQQuvSecep0vapYu84E/WcXwr\nGTK22wU4gj/tV81dT/DFsrZ38lFfe5idPC4aKvtQMKcjrByFQOC/sQF+rg2P\nD8oJ+rB4bKrZwoGPByuebV+8VT5xka44mjCZQap635ZIZphS9BUUo9hHFqS6\ng7HblPCRvonO6psZyLasM2mUfEjf4Dc4D441mHRjDHQGV72zOS4I/rz+PoZN\nSD3Ss4TSDtyhR9+FXl+cq+Qx2UJAYJzg3dFMu3gf6h7atO/pmEHaGvN6JJvd\n1iblkLD3bJbabhd3ez6NYNSJVUtbab7pvjgj1kIck7mA+9/gaiGbb8hZ4ioB\nxF3R\r\n=9ZMf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d4d2ad7949fd035d63310819d2edbb7075e05071","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.2","typedoc":"^0.20.28","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.62-renovate-non-major-d4d2ad7949fd035d63310819d2edbb7075e05071_1614657579099_0.5962742674645689","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.62":{"name":"@balena/jellyfish-assert","version":"1.0.62","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.62","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c9e78ee7562014d7546a690b7a17e1f061b347c5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.62.tgz","fileCount":9,"integrity":"sha512-dAjhl0fuM28Jidz5YYEmb8PdhWjxCOJVS70JIStVgrQdH/1UBPwdVt8F14S6+5v9Uo/RgUF8SHGeYDPRji4fWg==","signatures":[{"sig":"MEQCIBvTX53eGd5y/EOBUoivNs59voRgIljtp922ysmVizXvAiAiaIAI6GkOUdFJFyxMK0gdyMzwZcSC58GdcjyW9W1kSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPbkHCRA9TVsSAnZWagAAaP8P/2LuucaWRMEDXzkNDnjh\n7n5/ZqebSNdWXIDVyr3rnTuRGyFA8a/xaojrX5uLZKZYkFNJgdNPAJ6fLYgW\nhu8NVtd/Cmm/ln+dYL+3G53HIe15INapl6vVDkyYsYc84MChkMzNEHblCbUX\nJyFYIN2Af/EiYB8sYD0u1yB3ZOmwC93RTwG3Kx4geMtNvFmQHUDTlcPTREML\nVjj1YjsNnzZ1Rn2cBvAufEl9e4HN5lRjarCihA5CO/AnA9NvBois04zu8/pJ\nX+7F368PHnEoxOwp+3qiRXQyXqEXtxpU+AjON3SvHTLQQmyGODgClhzGBCKn\nIEAPu6PFSCgdeHdS93Gw9O1OkL3xSIt/1p9MYL1t8aFzh2FOk7eRcfG76gnC\n2BqZFkvR5lD/eG2lyorRmuo3AmFTG0aBZ8ZDrRCao0H2cPC3wkhI0QvHwVlS\nfOyRc6u4Ffn6Uz9+7lFHzM8xdbyZF34TJnr4VmY57sA/FHkThHKAblNcSHdQ\n9AFEzYqkOSmI4KdELiA1eKdhTe9NS1/0E0R9NNhFpUKTMOJU7cv/HpYbIVcR\nQNSpZUhPQtRlAMBjJBJcJd/9wlqPY/cyChXoxjUKrhFvKtEBQphdF0pFhjIK\ne76WgCk1B1PB+CoAlQPi5NSkxQZk0qexEbSFR5TlH2eBDwnC1rZ2ZJ7ZRyqN\nrmB8\r\n=tqsr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f62001ead5ba3a49110286790cccb27e283b4e9e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.2","typedoc":"^0.20.28","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.62_1614657799244_0.19028793022178236","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.63-renovate-non-major-c9b58ade47bf29a1449bba4acb3437962de2c90d":{"name":"@balena/jellyfish-assert","version":"1.0.63-renovate-non-major-c9b58ade47bf29a1449bba4acb3437962de2c90d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.63-renovate-non-major-c9b58ade47bf29a1449bba4acb3437962de2c90d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fbd9c3d440f74b86491d01299ec48b2d86a8c1da","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.63-renovate-non-major-c9b58ade47bf29a1449bba4acb3437962de2c90d.tgz","fileCount":9,"integrity":"sha512-vjSDsIJjbg0rCGRJdWIuh4iEjtrHytm6A9SHbvUjzxbAHzM3FtP9tzIrL2R8pGL959swYLKhdSaXzyBatPKKfQ==","signatures":[{"sig":"MEUCIQCKIFBitj/tyxozJzJbfWRyeMz5kV4bVMI6BMjoGhS3YgIgPTOetqO+NEmhenFAsnzzDKiYIOuxvZIxhO0dEu69TjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQJsyCRA9TVsSAnZWagAAlZEP/0lJnUUpJ0/AMkCaI5C9\nxnge8wSqPrTrc31DOGAjvAnuzMwO//JDuI0yfq4qyC1IGWnjabPVe+aK8oRj\nStCDYv7djhFag7OKJDKvfwSa4nsYUOTwyaflZ8ydDyzSJTuAX8S6u4XbmUsM\nkcW/46hB3shHfeddiuZQk2JKz7myxe8OB3h1WKCiUXyM2aKEtjs+Wa+R4rqH\nakrBs+L+BYxOebRt1MUe4k/M47leBmrkPadYEcsGhzd0v3D/IkoQmy4XBjBW\nmqwEp+rDaSGQxQr/z5YVxh9lFqXAoStNKOS+ewN91p2ijj9W4dMuaM/Kar0A\nksO4vNJb2p4TO4cu+K0YAjEGYr449nwXhdZR6RglHVgSbDVvCKxaY9o6owHA\n9hunJ3ip9badwABs3tA/tStGBWLnyUoKKg2OQu0k7kC6gSWYqMO21KqCARxk\n++fZrYvXwMt63yBGvlhLC5uXHd7aX6TWHRN/k7djRqnVlU8g+0QEOqvAlGFd\nO/B5GObcVYe9AKfESk1tyfBnZgoMA9FU1R09SUH8OOuT3qQAKgcvv5+99DD2\nYeoQWUtPL4omnPVctFgs3N82N2fbSE4eUeFQL8zZaKTtqCR7XYuEkpEoOmqm\nsAlTuHIHmoq5hk8E2auC9P1X4M+U9kRO5p1m2lEzgOHBs3Q4YAJUgnv0yAGf\npSQP\r\n=IAfI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c9b58ade47bf29a1449bba4acb3437962de2c90d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.3","typedoc":"^0.20.29","depcheck":"^1.4.0","typescript":"^4.2.2","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.63-renovate-non-major-c9b58ade47bf29a1449bba4acb3437962de2c90d_1614846770190_0.3275428376196434","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.63-renovate-non-major-aa02f79e2deaa056660589abc0564ab6139f3830":{"name":"@balena/jellyfish-assert","version":"1.0.63-renovate-non-major-aa02f79e2deaa056660589abc0564ab6139f3830","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.63-renovate-non-major-aa02f79e2deaa056660589abc0564ab6139f3830","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5dd9dc20f3ab7522858e85a9d82c430f852fa79b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.63-renovate-non-major-aa02f79e2deaa056660589abc0564ab6139f3830.tgz","fileCount":9,"integrity":"sha512-c6uyhJ5o0/8BnAKCsmlthQ5a7c5rJ1HK8LMyEExvYPG3Cjxqg7PhaYaPpGQ02oEuVx1pS7fzcVAv4mRdZ56awA==","signatures":[{"sig":"MEUCIQCIujmo1rb0peGKTH5Lp9auZdjAVopNOvpZ6kf53dcNCwIgJHtzAPVEtNjID0vA5vxwG50qbblwwzXQo2Xt/JruZww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQWgjCRA9TVsSAnZWagAA4SEQAI5VTtyZxMKyyB3KF2y0\nExvb0tU8Lg09PVaFOdXUtvztszh0CMwkHnDK0dU16TxxzATqVkHH5pastt9q\neiqRSLqYGUFmpc+cVrV7UF0CZZ2PEK/qX4Dpzmat8/oTo2ac5/i4UZCcMqgT\nmxciJt3fiexOuhxvoTaS4xGrENJpNjjh93ABUOxoH0BuLXX75hYVXik9GJ/s\nZ9SwYwYDRwQhK+k2fndA5Ccafo/mTG/A6f6iFYrVU6KJsceKMYiLDdLOL4Eq\nETm9dD92RcuPZHr+S10YseAO2EO17yiEiqxTEMayCAZdBv7H7isAH4fP7Wpj\n/xR9nTV9Ln5XX/JR9GrYGepbFOb1xlH7Nhu9HM/lBYEGDlS0fBevg28LJGUY\nAnIDLRjtCuw0T05/gWgd1sLpNO7q6fd68/FKPn371o0CRTOQ0QEsprB1N1Nw\nt2Qxvh+H7kzX/aX14iSbGdkmG4RSxhH9ebpzbP4YYeWtNOrJF60KiTNZR7iS\nxKtCLhbnUmSvVAK2t6tSiyYAHaemtwLl3iux4wg2XbTRKWcnn035ASzVn4Q6\nsFCUGI6Qf7+9H3s3IQjpBSIQoIEH31KoA10outpftK2/8Z/aEpvYZZc8lbif\nwiXIBoQrIdz58SBHa5X2sNUN0wScvdwHHOcH6y1StEpt1Oeq8SCmi2QSnHlk\nUcus\r\n=8Zpc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"aa02f79e2deaa056660589abc0564ab6139f3830","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.3","typedoc":"^0.20.29","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.63-renovate-non-major-aa02f79e2deaa056660589abc0564ab6139f3830_1614899234564_0.8953240431137868","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.63-renovate-non-major-39df8db44e6c794010dd51e962efee0b34266e16":{"name":"@balena/jellyfish-assert","version":"1.0.63-renovate-non-major-39df8db44e6c794010dd51e962efee0b34266e16","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.63-renovate-non-major-39df8db44e6c794010dd51e962efee0b34266e16","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0ada15c9161c6d9a78bb09a1c2a69345575b4833","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.63-renovate-non-major-39df8db44e6c794010dd51e962efee0b34266e16.tgz","fileCount":9,"integrity":"sha512-+tG/lJAPwrPhCXFzZ9YLstwspiqnRrhlsePZUKbYV4iE9CWolhPbztgF1HV0kD3lY/EOS3DSZbpc86S/B7EM7A==","signatures":[{"sig":"MEYCIQDlRNBimqmwiRQlAhYOFEmDn/SoFY90qvrIgPY27xQWYAIhALKcMqiIxxIPd5eTGMUIizOD0pSzyrtyT55CL+azFZkH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQ8MYCRA9TVsSAnZWagAALRwP/iEN2FoozvBBd/0/+Ff1\nuXZK2qwsXw6gTzB58YFurzs5RSYn0B5eYe5r0b+xxxVqNrzqp+jhQT1mCLqY\nX2tmjQQy2Gh7RsBrY6jNtFM2NDlmEGLeRy6QwnF1m35EYX8Xq7zO12+yAJNi\ndQnLlU1hnmaKZoWeWrbazJpDhqjcjp1varLHcmJPX/GWtW5ljYqdHKcWEUs2\nHPREY+k/vqlt2g593Q6jPviYa0LDCcFKvhg0C4ebpblEocdLz+Uu5xm/exDp\nUw1UBs9IbFBvqbqdsVe8xJRQTp0RT/o2c38brfVOzuAZpwMm0xM6InyFcGV2\n0aA4m6aXo396cjScDdF+fIzCSNhwwzHprKXWpp/uS5I+UnnTa5wooWkLMe1m\nv9go3roMxGvA2aBCN/WRMtaaqvtm3KXMOKUv3frngqDtoRvzUKF5XmCsTctf\nSm8FYqaEB9sktB18zsoBC00ZpVzzlvVg4yWOMqmiwZ1d0NzNvI0E6l2/O7ab\n01iktrKYEAf6SAWH8/XO/XU0eHcK9FJZO4LZKIl2/xVIDIjToqSnBUZWH30k\nosYORsuKqA3xzt6KW831ndGwQ7oQEGAGv6JidGG2DSYb74Usyo7yKCY2iCB+\nrbj80Itf/fLdMN6xJqVN6ghxvtzm4IvS9TWfkPgaMRWSTmhoeQT8fiNBhPek\nhGy3\r\n=rtoI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"39df8db44e6c794010dd51e962efee0b34266e16","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.3","typedoc":"^0.20.30","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.63-renovate-non-major-39df8db44e6c794010dd51e962efee0b34266e16_1615053591654_0.7269190678459823","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.63-renovate-non-major-3e5583d60af9df651d109c67290a4e912f441429":{"name":"@balena/jellyfish-assert","version":"1.0.63-renovate-non-major-3e5583d60af9df651d109c67290a4e912f441429","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.63-renovate-non-major-3e5583d60af9df651d109c67290a4e912f441429","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bd4150ddb8601301d94ba64b8988e043fdc75102","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.63-renovate-non-major-3e5583d60af9df651d109c67290a4e912f441429.tgz","fileCount":9,"integrity":"sha512-AhQxaV8GbooB9SJBBfHx0yQwg/PTQ4LrKR6mPp6ldl4GDrWW5XNcaSKPcFmBbJBGDgmHz3T0m4EGWOblS9EL2Q==","signatures":[{"sig":"MEUCIQC+XDPWVyYD8yJIA1YZTXRcN22ObK+ie2icfvw0DsRvRAIgCZrTVI+tqjfscliEU+vehyEgzSf1Kkvq/KsNRdEqR5s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSqwbCRA9TVsSAnZWagAAx9UP/A1LAm6vKi3R2CPB7lfs\ns3d1XfS2Gd64FT/S1FQzurGSSJQJQrUtU3aEOYrqYgcFzMtJ50g/H97YvHhZ\nP9dZDi0XrE4bbuNybg5cRCikpTPOJbGA1/RyZEvqNHC+z0WQOm633bX6ER+h\nPzp6OuzPFciC2nJjX9qw3G+3XGrKAnKhNhm6VjJYMjFoqPv0/X4E0CCDEciT\nQZjYbcINLXn+dCmEQA7trH7oqOCgR8FdpNif9ExAKMyLl8/Vh4HPVqpj+Fh+\ngv59k2CKHBO/OL/UVc/tMIQ6+kj2wypGeOMYRpD6B33fOkYSPJC+oTFNp44J\ng9VCAaGujj2iwe26JMUwsd/NG5TLQhxjq9MkjfAPkhqhypM9oLhz5ZLFJRx1\nQTkV0VqevcRPcJogGbALCiIa6FDOnQrfAgNRmyghZ/2jSilkSTdYuMZiNaAm\n2JVkcBXXdE/B01EvC5BreFqtNdAEkVP9K36w+tv3L4sfwVJBoB2pMkhI6+ty\n5YqZTjySzLoeaJ/ngPlqbwXScWNJ5QjEZUbqLEshNVwTfVtRoTX3BK0+CVfx\nVccRwelvayTRD4LxUGMSmHT8eOsalQdMttQGSt50UfjQZCPju9dHCeeqkCfG\nZB7neKFeAOBISn3wkbn57KP97ffjOlbN60+f44jny4QDp/TlBk945ZFzxuQz\ncXGP\r\n=bbz9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3e5583d60af9df651d109c67290a4e912f441429","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.3","typedoc":"^0.20.30","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.63-renovate-non-major-3e5583d60af9df651d109c67290a4e912f441429_1615506458605_0.9645267518626597","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.63":{"name":"@balena/jellyfish-assert","version":"1.0.63","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.63","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"586610392225b00c55ba822399f1321cf722b95d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.63.tgz","fileCount":9,"integrity":"sha512-fnGh8FoVzc34QmgqGd5CItgKgUJLjYvxnz1BAA90LJH/letpXrB4pcV5/sr5gZWTmawq++1A9subudNgx7nbzw==","signatures":[{"sig":"MEUCIB5URib7rDUH2bKCBtrELBKANElF0YloGrhRte5kp4WKAiEAmtuhUl3CuntQXO6uO7A6f12GdhmX+n7z00B2TVr7Etk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSq0dCRA9TVsSAnZWagAA2xMP/35FJd94t2gldP3r/OOA\n/F37GsLII6T+/Jz+dyDpc22bei+Pe8CWF1PHzQVSuwOO5WD0hYD78Lz6UEXv\nE3LHvwGGQqZuxXUDqlmsoFuTb8FVf4Iyzsi/fddt8KLhD7nyKor7uSMGXCC6\nNgd4h4Sws7pkqycNMWadXKzd5TqePbodThdSpT7cs1WQMrFq6JP7+K4/xMZ2\nKD27USeaVxqCh3oyDjN19tdntrOyAnmzTfMzmKZZ/BS6jvbRYG7wlAGM6fiW\nboyYosYF/ZbMx9pOzgv1D2Pnh/YQ1+cvEZzuOJBe63IfD7cCJw6JV3+xcOuL\nvEN5IlIQ7VTNlnJdOA17B89fBk6sdYc4S/Blfq2xt4UcvF7yjumqCPuCS/Z1\ngpTT86k4qWusQwvVKajFUOPVsgbKcgLGBB7ipwPdqcxWtueJYeYmpNp52DA0\nDhGsk2dr03QIYJRjMNSBI7aZknokOZBIDUL7iZGtYIipNolj70t3Y+amxFrg\nrhJQckWGtW3MSeiSz6Z+yHE6zN81VIZoaWJwbGuH9hre3TYnczSV/XiQ2ULc\nUrYddvbWNU2aW8E14XtdE2MQYGlkxEBDUxLsYlYNbV5LoLGhrDBwI1stj4iR\nNeiTZv6njeG6PiHYVkE3814Dp1kpdx7gtZwbynOgykUGcR6wjIGFXfe/4/61\nzucV\r\n=KhHH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"33c5a0e11ca816e7670443291197d4824eca5ada","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.3","typedoc":"^0.20.30","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.63_1615506712717_0.9101672903477749","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.64-renovate-non-major-76886c11f4ca2ce98593dc8f14d06faa58f9aee6":{"name":"@balena/jellyfish-assert","version":"1.0.64-renovate-non-major-76886c11f4ca2ce98593dc8f14d06faa58f9aee6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.64-renovate-non-major-76886c11f4ca2ce98593dc8f14d06faa58f9aee6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7c20bc9bfd52fa0d1c12cf19f851ec0e0b5d09fb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.64-renovate-non-major-76886c11f4ca2ce98593dc8f14d06faa58f9aee6.tgz","fileCount":9,"integrity":"sha512-YJmP59MCJGPPUgKBlySWvXzJBv+5iaE2Wxt6FIdy8kyCet5xSBht6yl825JvQfB1RzsAbfpkXmErzicCbmOwAg==","signatures":[{"sig":"MEUCIBJbDNcIn4wTTaR38aomnws+2NQlwft+1bTyJd6CHQWkAiEA/QIU8xLeJUB4eq/vaQDHNrE1kzrov/kkMuV7U21zy28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTY0tCRA9TVsSAnZWagAAOw0P/0NSlXdObuEN0BgMxQn2\n4G23q8ETSCWmG/68ZYfj6O+PgYZJZ/r1cL+v68IozK5qdZOJX53wcasV5Tmk\nKnIw6hi9L+1j/5EIGqX1JKXbJiczuQf86Ce5MhwxxiYbl9xeiherMQOfKrsp\nxJAKZ77iePZXJ08Hj5F3b+MZKYmpNBn398ubSoDo9YUSRw82tiOMT8ES4731\n8YrLqE+6mhQqpvS/CnYNQCQ/9f9irDT9G42HBRRSzc8hn6vygRaD1z1Ohjlq\n1RzkVWtzuikaoqoYd84+6Z8+ZR+H10hD5AORblL+7Z2c3DEfWuiqHbrsJTuB\nOAztIXO/yeGjhr6rETtpjkTFaUusFvyAWpTxWNAQUMZpwqP1E53YeFJFVZ0U\nuVpxmcWr/YfANRUxgF43r79l2g4g89wmpyFO7hMrUYL3nJQGZqjMvb1jsF9E\nzbcSxNd3N1GqityFkP1DZbdOu+2vOOp7QyML1Ai0HE6+aDmZaazxzj1t9wFm\nS7bMLOLwX4IqGc3ocFbVSy85hsDT98IRryQkQC+P0ldzuonFevNlCrUjkKbu\nWOt2xfwSvuqs9LAnn4Ryw+Ru5dgM+okvD5cqlMdazJtuvf18uwWJuCXJAyQ5\n/vRaGx4rAPCyrfabv6AiIOo8blTQaSrNpySuPnH+NXZLDwktC2LTCQ+pu/sS\n3oJy\r\n=Vr9s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"76886c11f4ca2ce98593dc8f14d06faa58f9aee6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.3","typedoc":"^0.20.31","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.64-renovate-non-major-76886c11f4ca2ce98593dc8f14d06faa58f9aee6_1615695148794_0.24023897902083258","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.64-renovate-non-major-ae6305a475f4e3b3bf123c0b3418addbf16bfaf3":{"name":"@balena/jellyfish-assert","version":"1.0.64-renovate-non-major-ae6305a475f4e3b3bf123c0b3418addbf16bfaf3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.64-renovate-non-major-ae6305a475f4e3b3bf123c0b3418addbf16bfaf3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5921ce67893248d39e57d649a0390e990f3c225d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.64-renovate-non-major-ae6305a475f4e3b3bf123c0b3418addbf16bfaf3.tgz","fileCount":9,"integrity":"sha512-AkOVvRYxnfWdxdZ7c1t07tb94X4VJW/uI9TY+fyfQfHtW0MUT0WFjqImCGl9XYZqDyUJIsc6awZyE7t+dZIoAQ==","signatures":[{"sig":"MEQCIBgV0r0jCwml4FkDUjINSRqF2Z6gHTmA9NnVRduOp+8dAiAbIEB06ceept3Dzar09xvelrBXbVNSe2Cehm4bu4gFsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgToXnCRA9TVsSAnZWagAADKAQAKDrvEC+QUxCbeYdOdXU\nNXnxq+HNQplVS01JVHrNpEJPd6YxZXJquXeFOHgnc4MvT/mXUpG2p5+FNW1+\n8YRXZ8JvT6IPOaKcwVmX5Eaj7DD4t0P0yNvh5GCYZOt14ByFJI9heqK+lgy5\nFpjJ5DW4eTaEgO/e/XOBm18rdrEHD6Mck5u22BhNmTqB1gny/4eX3eADXvio\nRw3cBOw8m9oDVa93bCJiAQ1HYAe+vSdMolWYIgz2L3r47AciEoS1T7zvCyPH\nLoWq2rhRybI01mO+76d5y9yJf0vO/nFkGytbnDjdojEaKkHBvctr6rPOVPDN\nV6d6hh63hZeadILjKVatmtvI1Mg7bnLz9FCD7C1LQR6L/R6igAhgTiIpaPsv\nJOOp4pdqtZbhyDDcPDTO7QJGtduNBW+5r+EnfKNndsNahRsx9KiI23EjNHJN\nWxlOezfMQWSnYZatM+MOIEOJpv+H/qJ0Z47rncwGZtxd1HNpyRbPGaawZ5HT\nR5wiSrewotgjYlZWlEFGV/y7OG6IefHPZ4wsYL08geVnkMJtvZvtc5AORMaZ\nrrWa+OfLVGg4PXPxOUrtmL7pyh5Nn61SY00HmyhGNCah+XSo9yeHab3vfwxw\nKWUugHlWFhnn/B/IuZFKwPC2C22r4Wp5Sv9zjc33153Joevn/Y96nAHAN2xu\nKtOc\r\n=Cv6D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ae6305a475f4e3b3bf123c0b3418addbf16bfaf3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.3","typedoc":"^0.20.32","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.64-renovate-non-major-ae6305a475f4e3b3bf123c0b3418addbf16bfaf3_1615758822919_0.5766882004367861","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.64-renovate-non-major-6fa6c7218bdac2d06f80c2bbda410848e5162b0b":{"name":"@balena/jellyfish-assert","version":"1.0.64-renovate-non-major-6fa6c7218bdac2d06f80c2bbda410848e5162b0b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.64-renovate-non-major-6fa6c7218bdac2d06f80c2bbda410848e5162b0b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bf9961c90bb4fd5b36c658c9322e6e30dcba3eee","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.64-renovate-non-major-6fa6c7218bdac2d06f80c2bbda410848e5162b0b.tgz","fileCount":9,"integrity":"sha512-LYaE5XrRn47Oagd2IfmlNqbt4iCBiDy8LmbG99DITQ8uYt5qDWkhWPS70kb/8UN+uIpsDGv+JGufMbV3FQJfVg==","signatures":[{"sig":"MEUCIE8Jejo07sY3+6ouzQd8p9jiDWOJOh8F3b4wqSCGSYGkAiEAut3bZS36E7rsaDDBWrZ+eyIxVv7qd7O0AXZM6XMcpYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUiaICRA9TVsSAnZWagAA3s8P/juY3m1Rpy5v/+xwfukd\nyCuJ4YHqtGu/uWMTdJTqpivpdke5ct34vxxZbRIOt/XTLgXEFntlfp4EjeRm\n0y6TRxZxIWuxfklwDLL2inr+XF6JzN8c00XP04HMdefVOLYJCp4uD6yQldIH\nrQooFyAOi85j2rRNewb2RR2tjg6LCQg82gL2eZ5GkEcFn3KPEczNMaOoLWg2\npAwUCxeDEi+iUkzCuyP6ccJ5sN3adZWJCfiObPMw6YO1Yqsj+4c7X3p6AmGs\nh+NlMGoTFKBh0qRl7eQ6THRzVKcunj1cR6Uig8KJ+Av0ffFP2MLUam4laA37\nU1WcKbG338DAeJUAj3t/w5HCkPjJz2at74+zGhBb1IeZl8X+nLtSfWtvu0bk\nHJl7jLXiO6DbSgHD62Q7fwOfAeJVLz1dVOBfkzUjWxdSdMgH/N7AxSIuUsP9\n0DHm2Al9OvnCZ32FZQtAscIlCAyK9W2yowJzYW360ZQc5sa1hDTXzLNMeZMn\nQqOQ1/TqK3BCCxV4fwhz9VVYUFwMd+IvvuFNQrkKNYiuxDvbBd7gwyHoFuNi\neUJWScEpbzuBKwQEyte8AVXxuVAKSzMhSl2GbeVLU2ROKxjTWDXXvOqtfYJr\ndanRiZ+udefiGezx/hjIplwLgfyA5RjMl73n2q87xHUct7cMl3T2mn1u9C4M\nh2Q4\r\n=yW4v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6fa6c7218bdac2d06f80c2bbda410848e5162b0b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.32","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.20","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.64-renovate-non-major-6fa6c7218bdac2d06f80c2bbda410848e5162b0b_1615996551699_0.6651934438909646","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.64-renovate-non-major-6010042b8cef53d1069d34f1f18d8d087b8f7bf9":{"name":"@balena/jellyfish-assert","version":"1.0.64-renovate-non-major-6010042b8cef53d1069d34f1f18d8d087b8f7bf9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.64-renovate-non-major-6010042b8cef53d1069d34f1f18d8d087b8f7bf9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d535bace9af79067d6b56fb20e3c85179127ec5f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.64-renovate-non-major-6010042b8cef53d1069d34f1f18d8d087b8f7bf9.tgz","fileCount":9,"integrity":"sha512-8gyopfN4tqTVXcjUBx8AaqeqrRUwTYfLz5/kdkCY0kU6s6UkihYqJ+zhSF9GD4XC+Ou8pND6eXuvLT1W/q63oQ==","signatures":[{"sig":"MEYCIQDCx9QSXIfwszdFMIx+UxT5nCg0syVj5x+YMyYeSBwegAIhAMD9HaZx3pM8J/x+Y9CsICZfIIAlX8xQKkuiZ9+gScMV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUkp5CRA9TVsSAnZWagAA9w0P/i1QMCmyEyqIIqpaQ3aN\n+/b6DFRwtsVoBsG9ECUBVMnqxP2TS6gbzIsRv9MV7F0ynCU/usuMA5qeYfkp\nP+c6QhIIbaN5OrAuNmTe6ykzD9eGJUwMAeEZgQaJdrpTiHUt9U/QX29GxBrC\n/x2c9AT+STv86/+Jvuwe4/YMaz9N1lk5gsjIf5vCh4jti0Fl0y1vJEf2GGpv\naxUQqLGfk1gEhyiJrppnGJizWQSmhKQKpTmgPbbOQCT8wysqWkNus+QwXFij\nvgBWYNLC4n2bL50gfIqylV00NF3MVPpp7oGXLOyN9OKk1zll+KnjoV2+NEn2\nDhtpqONi2QsHwUaey8RrXN1TxKg4G7VqcJR7dUkpS4uf8lsWfBb5Lhu3oo/7\n8pgMxmuCqlmLlg2FqNlaAvNPsLdimWX2S8jGwdnlFdkdy249603gn8VozkpK\nFkU6x5Dz3kywjj9G4xJ+DomqQwtWDKc9vx+5Zl6muKvtF5pq1VKjnSNgv5HD\nxB4ExdgwhMh0Ow0A4Qv08P2+KjDEK9oqR3uytf8geCb90B0t8cl0671VeVO1\ncahuo0BnJAjlXOGr/um53sY2HzcVR1FVEC7bgJQ56VbmuoT3Vd4Ml/wX6k3v\nxo6AQMXu5TKnzySO/eOdvnARdFYyk0vWImvSzOdAOdhDS3qNi4uCqqvhAmBZ\nhOol\r\n=AbBK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6010042b8cef53d1069d34f1f18d8d087b8f7bf9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.32","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.64-renovate-non-major-6010042b8cef53d1069d34f1f18d8d087b8f7bf9_1616005753250_0.1884712498115242","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.64-renovate-non-major-28261ccd4b36a85c4205c8b5c2c8121b15f71f60":{"name":"@balena/jellyfish-assert","version":"1.0.64-renovate-non-major-28261ccd4b36a85c4205c8b5c2c8121b15f71f60","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.64-renovate-non-major-28261ccd4b36a85c4205c8b5c2c8121b15f71f60","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e8f16ac14ca02aef196d700cb0ee1f917e6b31a5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.64-renovate-non-major-28261ccd4b36a85c4205c8b5c2c8121b15f71f60.tgz","fileCount":9,"integrity":"sha512-UhFRBIiXl9dRWQfHtijVT+sasJ0cupur8FICw7561HjPVEg1XxvFcymGirxQLNw8dxHGaIb5n3LTSN73uOhrSg==","signatures":[{"sig":"MEUCIH+hC1PHr2BP5dCAG4JYmPQXESjIYhrnLwX3FTTquSr9AiEA0K4adP1Dap746AUd20f1o4Nh8uWbv5BF9oLsfPqBFOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUqShCRA9TVsSAnZWagAA1skP/0VmVROrxETZlgl6hzZR\n58ECZZUSCzkCeDscC5XyC4duRwXQqj5wdawuEdD6T+yZATWy4XOSsAINHVVz\np7wIN/CfjRXFei3ggdeWdR4pjfNWtQysHX0iSG0kOKS+pEO9aGtbJS2MPI6T\nUh8aqR7Ru9oYjFP/izniO7TUeMM4jOs+7ycsrRBZsRtZhZj+gxPAyfb0E9vo\nPs+TMijolra75XTDnjxioRcpnqnVbOJpx98aM4yAcLatIlYH2+CtoMqHRJ8k\n2DJvMbscZPkWCRWfmAqqZuCgBU7i3N/gfoTqhSR236gC9dIWVBoEQEyI1OOO\ngUmHhm7DIRd51bhYgphYEb2Mcx/U58FQELJQSthdJT3PQp7LdqG/nptezNg9\nRJSWSKjepXMQFY/A4cdI4++Yc4Uct6mFB5OHm2fbnNCykk/lGBpuifsj9ZRn\niupHjtDmY6dXqgknQspRjgxgV+l1n6rQi0HCuk/+Hf2qtXVpavAR/+ROKZ57\n7jJL8fpeacBwTC2+m0gticWWsl3FArRMCaMfnee3onfgkq9IM0Pl3S7mVM+Z\n5b/rjkILd1gysGysO1idZg/OMBktkdtE2+xMxyJNznyxlhx00TMtS1zhMm68\npnn3SiyhJISCDQT/YwAoo84NpA/ZhPHPm4IbqyEVORIf2UT0LCL0MgnMEvoX\nTSR6\r\n=IFDS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"28261ccd4b36a85c4205c8b5c2c8121b15f71f60","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.32","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.64-renovate-non-major-28261ccd4b36a85c4205c8b5c2c8121b15f71f60_1616028832760_0.4539761240701039","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.64":{"name":"@balena/jellyfish-assert","version":"1.0.64","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.64","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"becdc16ea3943c773719bfd5bf2f271819ad5ff9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.64.tgz","fileCount":9,"integrity":"sha512-o0+GSyty/gn03RKSl6bQIZLCz+om5Hs0ZyhmGjGm/kdY7vKymodCJEyIg3cwAs1lIsEKXtnSc98HG2k/MprrtQ==","signatures":[{"sig":"MEYCIQDngN5Nu8T1FZtx8EH/ldzz6y7htbJuYVW6pngbcR7yygIhAK7mkwml4TOVBMYP/D/KoeY1VkbE2E0Wtw6H0M9PKUkr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUqVwCRA9TVsSAnZWagAADsIP/RyMk1AInYiJM8hH55MZ\n9m7eoa7SIYD+JSHldSl+VYQvdpu+Yf/THCZIBSSsceOslNpaALiRKRNmKEgZ\n74OZtkuRhrFEIf4vtw5loRxkVu6EVTMIh9gwVqUGKiT75xpAPY8iwwQsXrdM\nnTSoC4Eem1/pUZCaQZBCwMlJC30qGsoc8iPsXpJifUhHCXjQyOorvXD/8Qwr\nKeM5UEMfkamplic2204rCXu9zbj98VyLOui0K67bFwuvVYk4s83PgQrDnaMC\nu4fxeMTxfbnCJ1VjXsJq3ggIFD06hSGej34G7hN90DY+MtFdXdtaXOw/DkUt\n0obyhariPs2xxoMesgyC4feJkSkOnFQP2zwXRMEKrGem5yLf7EXBVzKl7dL6\n1wRG9Kxm8lbIS36AMZ9V4hwUx3s9xYfVqVbnGfA2tsaMh5jc5+fF9r/l6vNa\nLIyJpH5MX6Xl2MBo+WxqGHjZ7p+onNPJtZI4aHMDhv1Tf47OcvfvuYW6fOlL\nlok4EiMnL8B9YTpODOEW6x8iDiE9gQ+a/gJG4fa4CDsua/ggvymFKDnIyr9T\nFxZPfoZMRTt/49NAu+8M+s91MXEu+RXTNmKfnWwFM3nmfuLXYOHxPebD4zI4\nx73D0hW23CNJuiyXJ60lv9zJUTNRJb4tcXWZ0bD3OK1R03o/yshb896w6BlB\nYzIt\r\n=wQeI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5b88690e0c88e0ee522eb63259fafcadbf58365e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.1.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.32","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.64_1616029039763_0.3013296264934746","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.65-renovate-non-major-366e2b646af240186fcbdc261ddd783209e2507e":{"name":"@balena/jellyfish-assert","version":"1.0.65-renovate-non-major-366e2b646af240186fcbdc261ddd783209e2507e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.65-renovate-non-major-366e2b646af240186fcbdc261ddd783209e2507e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"32e25bcf04321c3bb1993c4077c2751f21b5fed9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.65-renovate-non-major-366e2b646af240186fcbdc261ddd783209e2507e.tgz","fileCount":9,"integrity":"sha512-Fw2aZY/dqdCWXGDf0IEY1jS0cLgeqCC17OVLbWbfKR4Tpjg5PuKL8X538R4CujsX7FeIWRIxsy1IWvuAeKiJUA==","signatures":[{"sig":"MEUCIQDQX1XHzcybH19LG4i9U013nUR8PkRzVsUnv2HxpIbd4QIgUWOjIKI0KvLAYOJR21y+223A1l5GwEuj4oCjHF5E5lE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgV7ByCRA9TVsSAnZWagAAmkMP/14YDoVOZcpq2sVl5zwP\nPgXk25WWeTmfPf3uW4WYWO9VveZMgPtDWRiahzJN3w+cYVC8EGQ+4YEsSA6w\nfdkp/BwOpiBEJfx7NLKsAOA/1bXHw33/riIqtyA3Qm8asYbaRA834n2N7uNu\nsK4I4qBmXHoh5eT/gD5qLD7W8IoGnNxn9kZUJIVXnvsARXSBS8vPf7asoix3\nCSvf5mhYdkdlCGcdJ6T20PRf6nsBYA21cphrV9AdFxgtCYQdVOHdd9HNGpTo\nAQMngt4v12BvMVOepUpRtPdKPJoHVEWu4juatxE4bLE2GI1oQ+Ww5tFcrCOz\nseDsckMIKN1Z+SbZDDJ0qVAMxC1y41fgmLVd4MobCdqkEZNyFOyxa03L7ToF\nW8eOkuBaPSGDkwYS1eA1/a+Y8iO2JE6euTf64mU0e7vt8yru5cpz0y2/uqc7\nQKZffvcYQlfscqA5aSrFvdPriSb88OsKlmYcj8VI7AxHUg6gGWScpAwZN6nq\nVoSx3ZzjS5Eoqc0soumbDA6/DyW+fGP763S4Wd1LJuS/vYjjYgKgcfdaYmWk\n6jQWuL0xRa7Rn9/c/B8P3gWuRNLDvN/oltFSRcUT/G5rrtq94BAh3E1GKktk\n/cwdD5WPxrpQx4XwAuHsc5BRQmth1mtxTeEMIXVIWAUlHyXP9mu+X9mrjKSo\nfszO\r\n=Z6+Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"366e2b646af240186fcbdc261ddd783209e2507e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.32","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.65-renovate-non-major-366e2b646af240186fcbdc261ddd783209e2507e_1616359538116_0.7023323147999232","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.65":{"name":"@balena/jellyfish-assert","version":"1.0.65","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.65","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"747b4b321a7092ccf9ee4d7f37b1a8db4be49cbe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.65.tgz","fileCount":9,"integrity":"sha512-WSK6ZAJleEJeUkNqRUZQuWl9Hvuz5CwOlu7gd3NtQw1DYTJMW2rc9nEsyJqPS3e+Jb0WATpWp4A4DwHfGm/G9Q==","signatures":[{"sig":"MEUCIQDOBl3O3ecKZOXF5hp3WO6yEr2nXILAcTTnV57EwtlNkwIgDBUZjScbLfIOHvRFK9k45O7hHO0Q7/G/MyKy0C23GTs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgV7EqCRA9TVsSAnZWagAAcdoP/0V13h4Q7UOzpwBSxn5n\nU/aFq9to0dml5InI9Z374G5NiPQBmoqBhEjAJ6syCe9seTBmfe77YD1wVnv0\n2toNwsDQ/AdeIpPnLSAFDQXL2Vm9LHCRHBGCxJ1Qe1yXy4gRsORcZS6J5GO+\nd4RhbmmekW8D0GRTBSr5gQ3+8iaOvC7Zh/b52j6xvqwS0X2vy66qygjQB6NN\nxkAYNNdv/w57s5XWR+6va3/i/qCrSQU8nq5ljGHT+A3U0d6YNjRkfcWks0p7\nkdzkrxS5ryZ9WBpmEljB/MjykG55NyqFoChn4VtM8uPPMoMwaOfgQkOXDbbx\nZCOBRUxl1mFey86liIt4ZHb6XHM7/WLi9d9V1hPnyR/wLcY5nbKEICfPg39X\nW84wa/zjfIrDiq+A5vfK3qHresD0oi0LZ4Vti7PWvwu0HBfNKNe7rc/q36dh\ndAC851KKZDB1uXLgloF2BTGk0qXpjWL+eJvP9q76ShkXlxNJ3LvCiFch8VDM\nky5fi0zYlo3PMNE0vZEsZ46cxu8RHG4yHewapYeM61Oq8PUzjQnow0cuL1l6\n9NNJhpY3nSrhflpq73IabBMky6Sk73//hkUxnSHXmrmklaCA+w3k66tjtBEB\n9he5deFW92/T6zfIlJmbgl11CSAJxsHLC8w8ylkKXwvlkZ8a4YMrETv3yRBH\nLgfq\r\n=tvHQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"45fa3a8c7c7d2e3ff20aa8b56c29c629848895e9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.32","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.65_1616359721892_0.4969961949464494","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.66-renovate-non-major-772ef1566d4d88036fbd7f7c7446cd0c3dfdd65d":{"name":"@balena/jellyfish-assert","version":"1.0.66-renovate-non-major-772ef1566d4d88036fbd7f7c7446cd0c3dfdd65d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.66-renovate-non-major-772ef1566d4d88036fbd7f7c7446cd0c3dfdd65d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"501f9268d3c8794a6653e58b484396c18909c235","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.66-renovate-non-major-772ef1566d4d88036fbd7f7c7446cd0c3dfdd65d.tgz","fileCount":9,"integrity":"sha512-Axf/7hNuMKIGF5DE1RF7zxaaJlLO+f3Ax22z1W+M+ptjouuPSUUazBRCURSCd6s0y9ndoqbRxRC17XWfEXB1vw==","signatures":[{"sig":"MEUCICHq6fskNzWOLirmMKEH+LwGKHjHiCtPQH+Ngb2OUpN+AiEAxmJMzJ7WA0daCF7XyfDkfUOEst89Kdr5jgkbqTGafjA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWA3uCRA9TVsSAnZWagAAlTQP/0WK67kegkoIznAbeF9B\n3le7BPxoVHl3J0qII5K7UYeqK0ecJpw6V7Md+T6gOHxWBm9BzMeRpMW9JVLk\nmbltwZPSiUjjyMgEwWs9cJR773+1nCvj1BhwG6U9ulnlBqnllvB3CADSbHCf\n57VdKNnn0GHYc4HZKz1SI8h2RFDRCjyYL1lFrk40Z4o51ZCJXiUaEaACzFRc\nuQAx4cCzBrheNDoh968F91rGm70Mri24bx21pFUAJm6huU79vTZawe4Dr4mo\nJNPQpgwe+BFbBVrKItLw46n5zI5AVVQeTFExZ3d0YarjRelWhI4dKfVI3paY\nJcXiPl3GqaekcHqI+TJCV4/6qHpP1nHyetj1AArTNZ8Se2Hctkk36jJYsUyN\nr6i51oasgkAuW9Mdbxg9tOfXPaIWpLjCr23G2I9yj06lyMtmeRkelGIoWwhK\nvGV9Q6/jfqcFTytQeOPxHnXYnc6zuO+89+Jpvvk0qb3XQySuRWhBy0n9v/++\nZO/OJjYXG+nd/eY5NGAGjR5VFXQFZwNeLab18oVhh90Ofxfaarauh9nZApvt\nLPI6k/ijQiqXHBjwRXvFDQzDAJjIkSEiVKLgswXuAZi4WW4JiXPFJwmTavV3\nED/rCmtZYPg+lBpDoFvPqSv3b1VNgycUxEb+W6XS+jb2Pazvki1CZzZohC+9\nJlBM\r\n=N1T1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"772ef1566d4d88036fbd7f7c7446cd0c3dfdd65d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.66-renovate-non-major-772ef1566d4d88036fbd7f7c7446cd0c3dfdd65d_1616383469767_0.05983639125786033","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.66":{"name":"@balena/jellyfish-assert","version":"1.0.66","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.66","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c921af5a2a9f9fe2b62d060d014170d7d0854b4e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.66.tgz","fileCount":9,"integrity":"sha512-leWjS+CpLoE61yvj45R30uMNtlbRmQFZrnM1OpbYE8v8cQ8MjLPJXOEfZLnah4+v3vve9RyqEgPJWFuvERQg4g==","signatures":[{"sig":"MEUCIHysWkAWRiHIUsccx6ocg1alijcuqXPk1UT/69J+GzLkAiEAjVT4QPn2LP0w0m6a8tpu8MQk9SWVSQn2kipmbzqePnE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWA6xCRA9TVsSAnZWagAAIQwP+wWJZhngyzj44zTx2OPV\nSC0TQMvlk4hcbPfutoSdKz/lGAAI6KW/4tE2ijLsx2Px0N+dP3EBzLvBf+qn\neYkhY83scY6/UWu43YODPr7SCtDRkWV3nFS9cNNXQUniQZ1fdB9xp8S59VGF\nqJLILGhcsHt3qjuwk1SgiA9lHazAsGXvbKSg0aU+2d0JGIsqpbe1MVl7upwm\nVJ+nLP+/mOF/4O5cvaVyuYU/yVuk9NB2afdCmKqcBDpRskxhqqecyqBBtgCR\nQLlzOhs8/WGh/2JW/r8yG+0/BlHgWO0pRSn+HE2Xjo2JuKDA3IC79b4soRU9\n0fw3QANHaHDNdejy9ryvyJ8WYnJptO2PBZv0FnlNz+FKJpHJbtPcv7v/LrY7\nNJH/qa817m8HcdMTrTCpjVcY/tnwrQrkizOAE8BCUl7AXUJPb1BImqilumLq\nNgNpoV5UJ2v4XLeaXjjOf0qxjocx5V+dVDL4y+H0KAuhyrnPW8G9jPajzDFB\nV9Ntbr31B5BLaY/vLBCxcaPvE8dS3tQLSNCPEgvXmxN+j70+RWEaQkS1uWoC\nHeWdmwPFP9MmDSYYwJv/pMqeCB6cBxGmqUpbyPu/vTbKq1WCm8ts4nFjgzaJ\nluy2KeZJ1DdwYScqMirvB40XozdTMG/aEx+K+kQ3wjO6mHk4jC3tmiAB2CwP\njJkU\r\n=02/c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8e64efad8ebf7b6c1dfac9df660fa756e7aab8fc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.66_1616383664594_0.6491241443144018","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.67-fix-assertexpression-6ed7fb80039152c745ed34426889a6c154ba378d":{"name":"@balena/jellyfish-assert","version":"1.0.67-fix-assertexpression-6ed7fb80039152c745ed34426889a6c154ba378d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.67-fix-assertexpression-6ed7fb80039152c745ed34426889a6c154ba378d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2f0824e93b0fb98088c6428092eb2a60e6b0207b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.67-fix-assertexpression-6ed7fb80039152c745ed34426889a6c154ba378d.tgz","fileCount":9,"integrity":"sha512-wcomK3QYxJRdJ4U0+tTPspS9FXxRnFg6BSu2I4EEhoW4/fZtl6Tv1yELqQTd2O/lIgtT3a48RDDngJcJsRK0/A==","signatures":[{"sig":"MEUCIQCdNUZlxD8RoTZRXVHkjao9VKWW9p4MuYa+Eyp85uuiqgIgIrBr/ZhmF4P1WkrUeR1ge2r58q2Elxl1aG0Macfg2E4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWGTTCRA9TVsSAnZWagAAtWsP/06Kd4S1XfucHV9kMce4\nt64zuoSQ/JjWeNamj9YaAzRrD5e9G3Q9xHCOMBdTfcfw5I9S1whDQp9WrAge\nybpd6LIMWaDk2HwKbz0oSdoKpxaJTl4S7avrVNMmz18ZyA6S4u3rnmpDLkPN\nB6aMP6HkkXDLapliIpBlnfG8dWSf2BcvwOrCrYz/G6IPBpkMTpRknorvHsXW\nBzD98iuMmugP9arF6eRVDGa01ynUEO/APkZ9IDUaF3s9WvztLKuLKYgtAloJ\nzYXTSnyH93aiE6cKysbf3Ulmo5PGMZup0qSGpGjk0BDhzoAv/1XWEaWNmGsj\nkLm3G4yja3iXyC4YffBNBwuBHibSNEDK9na3yh9BilTRfQ+d1Lux8CfjyLoc\nxv08uVw7lhejY+9eAXnUCYPx3LDodb7oeAUpZb+0OgxjPaRQb6cFQqhSOEOB\njFwTgCf/VWUNaIHK/Lrdv+yt2jDNv7t1POT8ozLyJ4PpSQk3rLHdXahpuNbn\n3RxEXbfVXeHN56et01LyqJcUe7bgUI82QBhPyqkkMgUQ+BjXbx6R6Cji+AYR\n12VK2NxBaqge9oSoXg4XwPLXwZ3idhHFnDvAD2x22xXsr4K4XR/tF6opWtDA\nfUkfqJ9wY0sxDc806bLTadv+WDFUD3jaeFzB8VC7qxl3tz+IxAD84ppf/kfn\nwwmU\r\n=kpNY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6ed7fb80039152c745ed34426889a6c154ba378d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.67-fix-assertexpression-6ed7fb80039152c745ed34426889a6c154ba378d_1616405715075_0.7439812387741693","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.67":{"name":"@balena/jellyfish-assert","version":"1.0.67","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.67","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dc4f28182a549c8204af45f3fb75b7a9d9093268","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.67.tgz","fileCount":9,"integrity":"sha512-CgPqHZC4F6y3jRTUJ4ns1eygQwtZ1SydB8Fs6KXHn8Xh8XWgVYAppShZ31ju4Sx/brHgycxjloJVuo/c4MqjsQ==","signatures":[{"sig":"MEUCIQDCYnnbLx04gb8IUCeQjdhy3jkGuqPPrSGFOTA+kjkMcgIgJlSenHgDIlqqQ0j1PdVUv723eX0EvK/phCXab1Jgi3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWGWvCRA9TVsSAnZWagAAmXEP/RCoOHZuRi3bx9gc0kdd\nVJNnIlUDEctD5H24RedG9K1l32FGu9Z7FlOJzi6lgCRtoDDsBwVH2BwzhBra\nBvd0JG16mwE8K4Tg88VTKbQnUnEoraRFChiDN5SSsrn8RlwOnSG7t1GzUMhF\nCzLV7kNO+GPRdCeOwzNVeeUJYEGfF7EEcke71Ces6CBudVMvpS8OIH3tq0c0\n6smAfI+f5HZHkrMMDHhZAyuiW4OWTgxcI9BEEmtdRVlblcmfzJ26QegxO0no\nXMQXwrZ+J0OXk9u97ZWZnGXMP4ibObsRHtbDIHFbYM7FivJImUFiDh6tS/AL\nZXP2rDJUzOR49Vy9yj99KLdzZRtRUmSQGiGieRdUsCiJacqGXIa2IBart1Dn\ndxYF4ULU0y7QYgIwhBuHWUlkcboi95du1OKSpkrc/+JNlYC5M/Xl7HEkpUO9\nuF2jNhXYumIRpfxQ8Y365DWwpUCtZUcL9gtQ8KWt+ELZ6jC78HtqPUtZJo8w\np8BdltVLgTu/7lRfzPe5yjQiwDkV/cvztnMwymk4p3PkUxNE/f9Cw2YXiZyb\nipiJVuq0OAC2pzGNNaQ2cknKbGxg7mJuHvjxEyAPji24Ans9iIwv3cSMufUQ\nLLCq3+Dtn5goow7z6Z1xPM0Zmde1jdHG3DmW2GTXP4NYutUhezKflI2tZMeU\nNmtm\r\n=+mFN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3e3f5bb320211d252106afce72bf65917c1c016d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"npm run doc && catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix","npm run doc"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.67_1616405935138_0.32210954876930553","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.68-setup-docs-ac060d9e052a43dd20c0e71b5de17cefd030c445":{"name":"@balena/jellyfish-assert","version":"1.0.68-setup-docs-ac060d9e052a43dd20c0e71b5de17cefd030c445","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.68-setup-docs-ac060d9e052a43dd20c0e71b5de17cefd030c445","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dac8ceca84c9165d720d0f7d2862403aa7b19bd5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.68-setup-docs-ac060d9e052a43dd20c0e71b5de17cefd030c445.tgz","fileCount":9,"integrity":"sha512-c/lWT9n2NlkFLzRDvTHH0cNM38SvZtvqdwj1AVuAWbSpM1KBS8OCCy30qtzlASPLHCNLjyCr8Pd5huMfbJ6IcQ==","signatures":[{"sig":"MEUCIQCKrWRsijJhTf0/KUc1MyWpInhAqPy4P5mHWmy9aUTMUQIgZ5hMhg19vui6gbl9dlErQtacwwYBZEuT0fTzVa2xtmk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgW+BMCRA9TVsSAnZWagAATMsQAKLhHSY/JYpnQLohJRMk\nALbIekzOP+fcdV+VFVaLWKgdLtp/JGCvfmhxT97zqsUJ8EuaODh4C6tO8nPV\n6SYMtcgmFzyZKGOLol5MNMp/dyKpycDHHDrl6YJmJIAt1793rVldopmHyr7y\nfms2xT0EUwi3NcSVcWu2ThDln/6E6T/53KQhDdimmAqmxhjxZeZjLEy1Z5em\nI4K5NORkfZUU4J5btBcSrjZWu5XG+l+de7Ml0HDoZ39F6s+8aBLicO8BLf/9\nx+ccEcDxrcOSBjwe0d26c8q3mNIDuuux8SgpgkNgsoCiwgutfwz0PdHcc/q5\nXPqKkUraILLo4x9ytAxlhL5OoPH5Dr31of7f1+4S7odNBlzEOrw8oh5c4F93\nCW4JX2N2v5AexJvAkQatBhBu04/1S5sChzyiCgFJjLibN6lcCKLHSuiJoDY6\nN1tl06D5KZn5OdMI+wPhq5o52Iwa0QXQn+rYILAgSkE21bpcoNdcq0qrQXrM\nxtb6orK545I7kuU5VHCHelxDstDkBQ3neh4bCMdA/4GKLjCTSMOlToh8qdAg\nvN9+r33Gx9Fqwu8e8mEIQkuVHurpGI/2WE+I5y/QUrCcUcjZf7hrPxdj/BX/\nD3Fu1XKqqhWqJxhDzVgaix97XAw6COiU6aHfJErWuDq0gI6S+z+7pVXDT/XE\nZ5HT\r\n=udEM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ac060d9e052a43dd20c0e71b5de17cefd030c445","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.68-setup-docs-ac060d9e052a43dd20c0e71b5de17cefd030c445_1616633932051_0.5379621660938485","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.68":{"name":"@balena/jellyfish-assert","version":"1.0.68","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.68","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ea7e0c4d66260ff7de36f499d93a8c08d7dcade4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.68.tgz","fileCount":9,"integrity":"sha512-gMQGTsM71XNkFEzRBsDlBPkq1F0BEHxISNhMXit4TrAWZyBV8HDs5i9iPm4Cf1nEPkaQh/l0sUJcb1xRUL225A==","signatures":[{"sig":"MEYCIQDPTGbEXkiSAKDBqnZyjZg01QFBm+i/spKar38miN8QnQIhAPh5Vtf9WRsGzUjyBcHLGkNV1heS2Wd4XMOqA6yMNHeJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgW+E2CRA9TVsSAnZWagAA31EP/RVnsJ2phFvqLwyd/Hmb\ndcqsywNsxZ3rk4VmapGSna9xayq+dbJQ3BrhLQiQXhEJOvT/CcfywU5ChtsE\nwRDRpZm1H05RO+cHCx78lUudq48CFJ2mkYTpwrFdJK6Pa094if3mxyrvU4py\nomXRXp26VQjeX/Xv4rvdWLk39V98kTCZZiuiFV7b+E/X3HwNY8llCxWJ51tl\nU+xAuicDsaiAzP93FaFzDUqeq9S9OFMGow+w1fEapKY4ASpWYbf9lnLaqmE4\nI6izxZ6mN8wJYIju9ZHGG8cvdhMx2zD54r20ly6/DSUEOb3HSpk/ftNI2JRL\nz6CNBSRCuOpoIb7Yql9LXlGxTNyBhdt0kp0RmyU6Dk8NGnR9/i6xb1avV+3k\nh4XxMOlB3IXqzXSYBMxuhtlrJY4fz6ZwrRXfz4dTi+z2Ajw1MOTMKOPkhddZ\nMxIoZD3Sz54+T/IA+KCRJsroPvfDNgSZeVsSX1NX9Yw+YBXNkUdu19Z8GcLS\n4u6WBuZJ9aohaCgIJ5VqbSaf/Y+n6jJ7Gv0hBs4MlMx0kUSv0tKcdJ4LEQg8\nEUIgmRgTXeP+R8cmtKthWvbm3maucR5x1IYFRSlCEeLPUtvKbT1S/8BVxOAD\nV4XFQMvhpyuVyO3M0+ct3dbKiq2kk7+iTPD8zeCZ953XD2WE8Fq8zlJGg4Xd\nLEqv\r\n=5cs2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"edadecabb694400f488d3892007f4f9ab082b713","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test","postinstall":"if [ -z \"$CI\" ] && [ -d \".git\" ]; then husky install; fi"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --typescript --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^5.2.0","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.68_1616634166032_0.6519335564067061","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.69-use-simple-git-hooks-808793cd2db91eaf9ceaa76accf405a7836c1609":{"name":"@balena/jellyfish-assert","version":"1.0.69-use-simple-git-hooks-808793cd2db91eaf9ceaa76accf405a7836c1609","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.69-use-simple-git-hooks-808793cd2db91eaf9ceaa76accf405a7836c1609","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bddf82a9ba6db4ce8a5c425c8b2e506b965aebad","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.69-use-simple-git-hooks-808793cd2db91eaf9ceaa76accf405a7836c1609.tgz","fileCount":9,"integrity":"sha512-asVoY757bQL8vvb3sm43dn8Jeyt+fFPpLCq07fXvug8vPwH9vG3vJ9YID8nnYztnFVsirB7RkaE1Bxi1ykc9Yw==","signatures":[{"sig":"MEUCIGRygqmEWEVPGTwqPDOZaRfe00aGWMhcn2D1I074vsY9AiEAw5WWBsWDSJUwzFqBQu+MGaqy43v0w6QjXJpWRBY0cvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXAMHCRA9TVsSAnZWagAAx8sQAITXIG5GJqAgYEOZwGPP\nOej45asBmprAVFDVbG+LnZSeLrxtQ4Jj7AkrSyqCCKFrinBUAdE/VxrIp4Ds\njD58o/UQUjRGBt3WjDHAW+UKeOu3/TB/6/o3gcc/XW3GhcY2uK8PJVobSYp4\nIAXoHPCNJzEIXRKONfKSV8CD/YTsgJ+pNmktdI6+CDvmzMnW1FMpQSBZWrBV\nceGDKm12+xUHOLl/Uo8XtBH1uI+aaK5obAiHhD6ypMb0OCBsMi+Ymt/jHLbc\nGTNsSQvbFc80S20ka7GFF7XjD+ZriS82YfV/lRDVHVhsvLWB6+njYggNzKUu\n7/kQ7fI7KP2ETq3jS+EdndjviGBrGKCHd5Jm/Un9bPRm3TKE86xh9rSDKEdm\nyepIU17DI1EWwY2uEiZQ9M1lKoubFyA48lR6fo7II8kBUUmJoQBvso6+VRA0\nfCDOYxEpjkQ7nLlpXwga6PRRVu4kb7qSyscYsT/Rwr1v/ca3fW9KGBO2GTMh\nuKN0o38lB/mVleHjdzbK2d6QMcOUOp7D07vaJho/iwnTHV26O3scUaQHAt3B\n92YdkBX0jMeVouKmDrHg+2Ki66/HgWhoJOfpM7UlwMcAsO9WZNeCeayVf8tr\n/1N1+mHqoiNaq71FCeXFVx7gz4ekL/2JHHQkNJWXjBnRZ6PqVJj73S4sYCYx\n9r6/\r\n=NLKa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"808793cd2db91eaf9ceaa76accf405a7836c1609","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","git add ."]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.69-use-simple-git-hooks-808793cd2db91eaf9ceaa76accf405a7836c1609_1616642823233_0.7885707245492546","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.69":{"name":"@balena/jellyfish-assert","version":"1.0.69","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.69","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"47387bfcd8f21048abc20b972f42078dc7ed3ed7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.69.tgz","fileCount":9,"integrity":"sha512-Rkm+9wOlXvRyzhHqbi4JQjRccxKLI5+6U32cMZX356ytVyY6+Liql6rNkXCfT75Ww7+MfngjhwyB1j2vLKGDCQ==","signatures":[{"sig":"MEUCIQC7TbFxIr3DfSTYTb22/vdaaqUeEDTx/Sa4s1/5GbW6zQIgOFnCDhGXv/aDPWUQcFslSKxLAZQ92jX9TKRR9uxRDhM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXARcCRA9TVsSAnZWagAA38cP+wUYbDhDkltnwCYwZ63o\nKo0Udk+Sr3U8f9q2VF9ZpnZRXlHQ/xuSt5TjtDOGaWg2r/BJwuhrUm66zXXA\n0jncTWVLU2oyy3MzBLlox9oYXA0ngYlboy8x8eATDDV1umdieKkDWJgomAcQ\nP5f8QnzK1wuUGDEPPd10iGC0OHDoWIxLW1mcTih298CboNK2xeT0nrUYlBot\n7zSmwH7EhOV3UiafTQlOy2OIZLr8dIqMU0A1rZG5vneAiBJh3+JZtvA30tVr\nRebjLCl1MzI3Nt4zEcezEvkwsG2pM95LT7P0r4FLK6/yE2ax4M3Y+R7i8dnp\n2YoxIcU/oBU6NAD8Mm6eNbMWFZMOo/fRekNaYmrIDV7geoGVb63h8MagICyy\nVzqwT68eyFkjPfvCBF0Uryxf0ISSYE5iXRIGd16pIPSMRAEKOqEWFafT4Ci0\nUWmlvgNneR0z2GgtpkoV70ckS3NqMAPCYVcvpo6Ch+rQn+4ddIv8vjIQsHWS\nIazRjjDHWddWe3Rzh5vDrF63qKNyTEo4fyZiIxd2c4xY2GFAaaAsjZidIb0u\npM/W5sX+9xgStNFuXCFzLDWfn0r2i+TrkY30uiO8O296SChmr1mk2g9nO2nf\n/+U37tKUGs03/Thed/CFPdKLTBR+l+X5/QtfF/qOua0SGg1Hk9AmCdX86dc7\nQ6GB\r\n=dxJ4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f8b78719d0d85aabd8eda1327630570d3ecb9bba","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","git add ."]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.33","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.69_1616643164379_0.5359668428506512","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.70-renovate-non-major-bdbaff7a248e651a07a6ccf9be0ef3a33ae449b4":{"name":"@balena/jellyfish-assert","version":"1.0.70-renovate-non-major-bdbaff7a248e651a07a6ccf9be0ef3a33ae449b4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.70-renovate-non-major-bdbaff7a248e651a07a6ccf9be0ef3a33ae449b4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6f75dd3a72cd5f60ec4bf053f61e657275bbd028","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.70-renovate-non-major-bdbaff7a248e651a07a6ccf9be0ef3a33ae449b4.tgz","fileCount":9,"integrity":"sha512-PotafsORA27lfIhA2HhT4b+9MYm/Gf8ApIiAQO7i6DCIeFFrU12QEnDm6HmkdHhEtGHxLOlRdXLzVJBxqZo66A==","signatures":[{"sig":"MEYCIQCJE3JbnyyS0QjM9/Ut7YjJde28dRtdcxwy4R9qJ15RLwIhAPLFXYj/ujKpNrHva04vZDvBE952DnajExYMWwOXkGRN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXC0zCRA9TVsSAnZWagAAgYcP/3HKH89Nr/prnil3QLKB\n4ojwdr4mBPXLxuW+6wxGJEvWivVpJV+zot3VPx+E7Rxg3tfH8b56zFhozqKc\nXo/jYumTSHNGTweVLWAZvFNr2PuIKlOEMnmhqwmOh8xYEU+uqLBgTpgzVgTX\nUau+4ywVjPYryDcXSgbB1ml9+kB/3A5+5J4Qe/ljYYpsGoalNtRedo+Zc2ev\ns5PPuufG3eaNM6HaAu4wE7K3+n6b7KZ49KMqbuG+9UNk/44YMSOhg993vvF1\nNBOFPtfTWinC9f71ABVM7Ig7edWP2gtlsf/I5BMAhG8ArgxVsFKdOeDwp/g/\n8lcmzXdFt9jpPWOvPez++7G+O0S/ylhotOIRTm9BA7z9pk6g8sc5UfXm8DRu\nDOBL7bExX5tcJGyNFpb4fAUHCDw0DDd1z5lYkvTbp1DC/WjVE5eIIrWS8e93\ndvrhnAXRi9H8XNav+A5n7v6sPyBS+JVSkMUuTslYzoSE55obUMMAIVzqjZE2\naixyAFj9TFNEjgsR+yd4bwHWGE7qgh3/kV7pBDCxC6UT6gf9t2BkPscT9CHe\nwzO6DokOdlOwYvpDzHTlYxWzXDEAOoQuf5XufMkpXL35j5X4dmAqe5uEZv7S\nT4IBiSMdjpcvMB8F/Bh9jS5AuJRXgOFy7LEkOq1OIUKU9EDIW2LusflXLVNZ\nl4Y4\r\n=RyKT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bdbaff7a248e651a07a6ccf9be0ef3a33ae449b4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","git add ."]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.70-renovate-non-major-bdbaff7a248e651a07a6ccf9be0ef3a33ae449b4_1616653619074_0.22785604525390135","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.0.70":{"name":"@balena/jellyfish-assert","version":"1.0.70","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.0.70","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e81f28257dcd14bb981ce0799a659bda53381c3d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.0.70.tgz","fileCount":9,"integrity":"sha512-4RLLtY+Y5UQS4hj2Zali1zn9D36CDSatf0j0nEJAfr66CC06NBoOWd+P4p0IKzOQaO46dnWJkkucIp0CG3jiGw==","signatures":[{"sig":"MEYCIQC3wh93CNJ4N+UQZYB00vFoysFLv3AZOA9l1Rtg5siudgIhAMJeKpiRrG5H1JUWPEglVA2/60TbbDpOPnW1Z7JjLoIW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXC31CRA9TVsSAnZWagAAKEQP/22zEdhVQ+m7hxj1ieq9\nsAzN9t+O8hVJLSobApSc3vHCF7yDbYv8IpFoqnPHOjo9eMRW+hF1RLU9Ka/j\nwxi0MLDG6Tr3W6LwmCU1HeaLTTf5yQBXbefL9/8yfB3mRR7BpSt0mf3PJS7S\nMdcZmu4um1xpVjaAaijgNiMoHYm3gpNZSkAWDkN4jT4JWl6dRuAy5uRHtBZg\nuH55+m0lkyJe6pIpdR3SRpPf7R98Dnzlgl90mpSEKY6Qi3SrTJHcxJ2KOOz0\nvGmoPIYpg+NzTwfQJr8uknNSp77rqKWyk9/gB5126vY9g9IKLNvOABGZCjDP\nbjMOyT0fLdwRHFrbujCJ/pnk9PSEACBDujGhQfff8peQ+MTwNaJYxJQkbfeR\nkl5+UCI4E0rhJQjUKvCl1mZUJM719inBfjM5Jj66iHDI7zLB5u66MWevmBY+\nPMkcY5R5/OjeT1fwJnCiEFzrIe/dNmoaR1HIRWU8xxozKoWkCTF0GISJCJX9\nIp7Yl7BfxpGwx0jgh7dLSGaYAUhiNeTITJbHZsg/h3vi9yHPs52oWNGZmQQ5\nDfCNBY0deJlFFuvkfmb/OKB21at2EVtjB4fMzSG1JuKHyJJiZ89Z7sT4K3s6\nrRRurDIZTvhLTscU9DsfsXHqQx641MVXQ/3kG10Y/J1jjAtt64zl5BFO31J2\npv3e\r\n=P7zO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ceb8b7036070db33221de9f48e63335dfc8c2908","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=shellcheck,@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix","git add ."]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.0.70_1616653813092_0.056912941013655516","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.0-loose-assertexpression-4d23a378452270dd8a45b249427cb39042ca73ba":{"name":"@balena/jellyfish-assert","version":"1.1.0-loose-assertexpression-4d23a378452270dd8a45b249427cb39042ca73ba","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.0-loose-assertexpression-4d23a378452270dd8a45b249427cb39042ca73ba","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"35cfffc14db2911b8559fd4124e7944bcce49d76","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.0-loose-assertexpression-4d23a378452270dd8a45b249427cb39042ca73ba.tgz","fileCount":9,"integrity":"sha512-V48eKvbcBQAY2JEstJc7IGq0jX+rJt8PWxDX8i+8dtsroB8t8T4N/qkFVhYmo0o9Rs9ydgeFz4BERU4bqPkUDQ==","signatures":[{"sig":"MEUCIQC5Wt5+k8r4wHRnFxgLw1Jn2qRfChUh44sszywKs+WPgQIgViFG224jwD9SiEBzg3430v+noo0N3x3Ln9NHFGpCmBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXDAnCRA9TVsSAnZWagAAGPYP/2YxrphTFhZPHTDU3vB3\nHSSKBpjGWjjUPKXprrJq0JppIE5NqASqkgLNCPbWuJyVqxf6HhN8fEyHi7Vi\n/3OM1g+vz4pwnuCpq5yry4ULmX9HwTBv2rT7gmumKsoq4LDQhU9i/SYrrIrA\nP5lhjjTk645an9MT9FdzlpGoaHjBnLYwM3Lu9esXFBMnHIZN1UgCBkl0JYPa\npaoTeW3O0GHncT4yVuWKe548ZMWwF54pKQrHvsIWNGJzV6P2PahU5ssnxbMr\nKIJjkJWsVG85tKPVZJceJ7GBnEztujaMeofGqzT6Lhw5n5PV2kWW/xi7d+j8\nukLl991cwj86oHt5ZgVldDw6r8dFPm5//o+kXNlor3HIVzJ/6XdB64cPSniX\nTgyo+3ufQBkmhi4UAvZlmZBZPHW+LXGEdaWb6Z3UyiKqmGivAyi08h+7cZCu\nUQ1T94zyPxxegAAxOa+/uFJx0bSV4KojmtH6HSZzwcURCoiyUU8lZfY0pl8p\nW4wgmRuDrr9zO1etSY9jlHHvZrV6U2VabR5im9+cm8cUkGi1IaIr0fL8bdRM\nW/lN4V141pUdLKI+FtF8LwFURrETCw8npSce0mnAKSLjUFrRdptBDVXR3HlL\nyg3M0suY3aFZr4kPusW66KO3CGQTkbVQNsVVG/6UXuRRKWvWU6+7Z71tTd7h\n51EV\r\n=Gcxr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4d23a378452270dd8a45b249427cb39042ca73ba","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.0-loose-assertexpression-4d23a378452270dd8a45b249427cb39042ca73ba_1616654375474_0.5266045229840279","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.0":{"name":"@balena/jellyfish-assert","version":"1.1.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2109e1a328d8045580b8012744a15c6b547d795f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.0.tgz","fileCount":9,"integrity":"sha512-kWqwD8nDRkeEBQ1NfDFzxngTZJUynry6TlcvywGz6f4J4+jucNaD/3u22o2XSN7ImD087Kk/3FYOXc2ygqXVgA==","signatures":[{"sig":"MEQCIAvNtWNKSTxJ6/oDG1/0j7ohPPG+yMdeMNzqLYNaErHiAiAp2bQSi6Ej4lQkNN43h3vOQqSxEqDmBc97FRtEKHOV7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXDDtCRA9TVsSAnZWagAAyhkP/2LuMP6dEN9Aj3ldhAH1\n3SWnBqjRM7+GhbJ7Xzg9oZneUFeI0cSV+n9iMh5cMXgO2Ch8Jlj5uWdHjlfD\nbT4dLo7f987FNVJxr05gg7HucEyzjc8oUDgYRv6k5aF+Bmno4XwRDF/AD0cz\nnBZOAISoi6huMI54vzl+l03RrneZ2v9vomT4rsUxkcZgzOjTBw5Qah9OOSZo\nSnyXtyVO5Qzps3zAUuEdlpPu2F4aMlckOa7HCbI82rJ5C2UAx9vQ2JQhTIcq\nPr+WkZ9mlBK1dd+I5IDNFVGzIyXLO2j3D92fivCXuFhU/EuqLRqUQCD0LtNj\n1q3Czz06hzXg3HkdHuXsTpF//89zB6e7IyRyWXMLQFYvRzJ5J2W1dlRAgLyT\n0C++hPzjKWvFCu4EECToXJLWbYtGJ9Zz2ToFMWHrcTls/kUieLmTFq2eM3CI\nwN66YU0De8xys2bCV7+oZ9R/HEZ0uquoH0ziPDtDdzki3bf+85sRwRhxa3nD\nooLtAuSxQF6N/AYDy2Sq+DKKY8hdBNVSwB8yUj6JXDxG/yVooN2zFOcgcBaz\nEJz0WEq9pqmnQRGPV1xDsDUOhXfjU8ByMduDSmVdRvTQ3gsMRisrJhB4+yqO\nMjU4ACLHZBRJOUj41cAIhrjFIJnLVkijo+DeWZrXjFDZ6fX2hbNMvkRXf6Fa\nl5cu\r\n=EVKr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"21e337c94d3ad2474f7604097a3ce769ce2871eb","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.21","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.0_1616654573030_0.4509861597003657","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.1-renovate-non-major-4fdf947bce04a77ee1baed4927031c55a5637a78":{"name":"@balena/jellyfish-assert","version":"1.1.1-renovate-non-major-4fdf947bce04a77ee1baed4927031c55a5637a78","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.1-renovate-non-major-4fdf947bce04a77ee1baed4927031c55a5637a78","maintainers":[{"name":"belodetek","email":"team@belodetek.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fdf283af651224f7a1eabb1024176902cd6fcc5c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.1-renovate-non-major-4fdf947bce04a77ee1baed4927031c55a5637a78.tgz","fileCount":9,"integrity":"sha512-UouKq35i6JTnY/R3rBcFnJLrlEHML0P4gHZYa6GiVTVBJKAeDo1qJXZqFPQf3MnTbS3KKw7haQxhufw5fMH3Mg==","signatures":[{"sig":"MEUCIQCMUwZ/AG2Hr//EsviO/y2DvD/Mo3PKPcPRdWvYdtdcHgIgN5aMOPMuVYgKO3GEceBdCBPczJMcSdkJQ5Fn6i6Mvcs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXNeoCRA9TVsSAnZWagAAhz4P/jKPhHS2QuDRDAUjqI44\nlN/Wp0Bpl65zoOOt3QZSpUBzthGl8YjAjHthDH1WzCVDeeFzeGZCpTS7SWly\n+1jPX/GnlHESC6gGLzcLTysZ1eoyhgyVn55LkFbzVFks6Xs0824xEKKpDizb\nGizGu8uGtCp/UkJC64IKVXqjRay38yqEtmI4z3yUxqDiyZiKhRvx3lqRgDR+\nCCfSGVm+3LSwuNkxv1Sif1ot9i8hxmi15h0YAeoxBizGR5ayLu+TobDSdNW8\noqy3aNW/6+90mPD1nAWtgO+SVFT2KrUa33Psngd85SfByzz+LCP3IRF6dXH6\nTmEVqLkIGOE+5RdvZl4ZP0aoIdFDHlXXNM+5Uofl1afHaXDoY4H0BT9Ae3Z8\nWib463zjfS9eaqXDGW5cPIZ3JT9togWRP29SVbccHwcfjN8xaIoPCTFgEzEF\nBX4Y375s6bLAzApOGKmJ+0l6nAlx/AbqMDq9nLLN6VwgSnfS4b2yuMOkI95n\niMNNsnRV7ueykKs31QsALKSwA5RdKS3n/LjKDYaeUIKEUuc6/Xc17qmKTmgS\nNBLwrMVpBJTjt+I9PS5JIGh61aO5UuvaohXfJTGthAw0UPDfkuqsEh40iPUr\npgQTQmRmuRStmGQw/qGke5g0T9wwmJzZY23uZQuiv587c5L35V9RtA8AKBD4\n7CHz\r\n=96jV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4fdf947bce04a77ee1baed4927031c55a5637a78","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.1-renovate-non-major-4fdf947bce04a77ee1baed4927031c55a5637a78_1616697255754_0.9840633789501345","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.1":{"name":"@balena/jellyfish-assert","version":"1.1.1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.1","maintainers":[{"name":"belodetek","email":"team@belodetek.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"49e94f22c75b5ad5c6c281abd86ba0eb32855de0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.1.tgz","fileCount":9,"integrity":"sha512-lQxPT9fiLT22KOdt2bzL5sw2UtKm7pYeCp8b5S/yc8hWzhX37ohP3UsR6aEyjEwnU0JDuojDtU7HrQU3wm17Lw==","signatures":[{"sig":"MEYCIQDWONJga/MzWW6wd/0Xyv3p8qoV6tSK991Dv83P4W+8swIhALRqLhwY94t8+u5Bwe4DNXJ3K2xtcU1QbG89Whh8kMqh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXNh/CRA9TVsSAnZWagAAXXEP/012TJxYnYGZfBpJgK61\nl0f2FLtRUQ1c/XR/1O5X/Zrs9JjItT3peDsFiCi+oKoE29NkwiuSGOjYoh3U\nmV+eKjouNdQ+FijTrwjNg9yVAjNJT6W8FH+bmoBhO7tjyKdzlDZigN0vgel2\nTqJjha9vX4kMCmZ77ku4x9YkqtWcTpueZEtH/6nav7Ptej0uZBR7kh5f5p/m\n4AmZqTRgUDp1SuivaNcLAoSxr/h/5qZ9/viezDp+mzeQI8T38yeCai2JSAMu\nXZYzPIJNgr6JEY9n5Xv9sNLroMTgoi8jNVyd+jY3Smqitgf9XTKtHJCdy7OY\nM2l9QJyFG1eImvQJwNukyBvfJRevbBqQumLhzDGl7I7qs02Ee1W1iX/exsRD\n/umA5nbdkt7LQOBK/iZksN19Q6siskHvqC89gjOaG4x5lAy9zRcqdA0ZP+sr\nQOfXr+NmEemfAWOrHQ/XxCzVQCUUGsD2K+Bwk0XHXQMGUO/T7R+nFJhPdifo\nxDKu3CTO5rk+AYQTQGlQgDTk12Rk2s6/tWwoXN7t+VtTgH4bMc6Et81t1Dfr\nWYIjEjB2nU2Vhht29xyE7p3BRAt6VKL5iDPwR1cRpgjttpXdZ+u4Jx7iC9xF\nvnvYZdhpO0sRGyeRiLrFOCav+HPJcN8I8RFKR5WwCoU2S1Aw1hBrjnTRI90c\nsx3h\r\n=lTb/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ab5ed6905684c03e2d1ece7675bdc5c0e67f0c9c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.1_1616697471325_0.6115601025953727","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.2-split-tsconfig-71382256f6de5c0fcde76ce08049bf5346de7dd9":{"name":"@balena/jellyfish-assert","version":"1.1.2-split-tsconfig-71382256f6de5c0fcde76ce08049bf5346de7dd9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.2-split-tsconfig-71382256f6de5c0fcde76ce08049bf5346de7dd9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9cd1815f442a43739753be5a9297aaf3c635c8b7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.2-split-tsconfig-71382256f6de5c0fcde76ce08049bf5346de7dd9.tgz","fileCount":9,"integrity":"sha512-J2EANkke3wBRmNNB91jTGvYYwcHAbiw83SDQy0qZ3b3Wu1HJGTKdtrTDB8BQ9AK3U2tiJz94RUiBQE4jBzxY1g==","signatures":[{"sig":"MEUCIQDQTY+Mukg2Mx6+DAW/xSXwxUeC2HOMO7tey7fNHs0zwgIgX7a+As2ZjuN3a0mscCriHbHgq1FrW/KILZxQ4mN60Cw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16183,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY7wzCRA9TVsSAnZWagAAFmoP/04s31IXAtoLNIBbQJMn\n8k8pPjpiYRdBYhsKC50BkT5o1LsNIAlm3LUH3isYEnoV2BujGM7ttdKT61Ol\nFL/DMw6UPOo5lD5GihQTQXUvvNJYnWZycIs/a8ytXxdP/PFcq1ftyoZMov1C\nk5+ZdsSsbqTB24TKEk9NMMxyTSX/giMufY31YGG6NxN/MwuUyyQAM2t4gfXy\nedX9TrDLFl9ohvdudzeeukxUb47K+VWDcEnxQKOQhKIqWoBVF9clEf4kYHum\nktXCVuuZfz6FDkTs+CvAMG+JCVqw2el1LJDC33DMgn/OZuOFgYw0wPADrMaq\nsipIicJzFTnFZ/f+iJUP1rtkDYDW7ga2fCJQlxTlqSmv9AFy2Cn3Ms6a4R7M\nWGlEDYkMdrRkjTx+A9gwXwYjGPqYIvfQLsCzyGPvXqOg3VtdwMoQTyjf0pFe\nwfG33PgJCt+MA/gG75OTICfQe+58LK8pCfETkD3Fqa+72vtHY/Bbu2Hiw0ZO\nw+OWOfwPzsupbk5G8d2cbtvfRzwvuSTB4PGMkdXUE/aH8OqQIy0xrmYAmSAS\nTA7ARTsjq9smlv77zbEk81CgocXbar1bFzI6M4/YaFHZjFLLXUwSG2l2+oTZ\nCTAG/dA1BucV7Qg1vMlcG4kl54tgt/ymfpuz4sn5VcKA822HmrHdATG29Ifd\nmHuL\r\n=Dxr6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"71382256f6de5c0fcde76ce08049bf5346de7dd9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.2-split-tsconfig-71382256f6de5c0fcde76ce08049bf5346de7dd9_1617148979323_0.82449117193093","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.2":{"name":"@balena/jellyfish-assert","version":"1.1.2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4d2a73d8fe745b3bc4ed2b80ad361c5085326874","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.2.tgz","fileCount":9,"integrity":"sha512-6hb3la3G873oATeLBwXyioj6gt4BHp7CTZGiU9jBgd0hCSGpQYEYsXmQvN0+jQ4vgoHAKfueI399ZHLH1CtmJw==","signatures":[{"sig":"MEQCIBXV0rhS4ka9xBlpvefaixM1knuOcneZCzouQhLKWKSOAiBnGI7eT1Q6Ei+tGYYiD72oOuAWb5Xu4BcAsKRhrDvQxQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY70QCRA9TVsSAnZWagAA6YgP/2vBb/t0lEXaTqzHIYkJ\nBgrMsQPJ9STTloCE0U2PrXKFPjxzoDmwbSzhODLysaIeKS4k4E9jWcoHJDKM\nD9V8sDihXv51s9Q2AClYpwAIr6ueRNEDVqYA7hZHCD5JKH5garaEX4ZMAlFs\nqbqo53hZpv8zFQQ4EXEPHEBbbtLr9iT79wVQXTENQ6SIlUC4ZnEIj5IOXCak\nDZ5O4e7qlAbn80rAmgyYXTPfWk3l6vdKMk8PZTFiLLBeGFlCCd98E1xoC2KH\nGXw3eArcMBWfeNT874Mgn2GRcTFhI9hP5papvKLs7DvMwydAAZ/fX9cDCct0\n5QBbAoCCwyMpS8FdoLz2PAorSLV70rVI8Djtbfo6oW8XIWdGEczW5vxmV5ef\nQHhR3HKce6vc4K+vt3pisodfI5lWLmaIcTnQ09hdowP4l6PcAEx5eV2HhIrQ\n5l7d6kP8RdW0wVMBfzRXfwtW6YBttS6PTSGSQ7Wwow/9qKil6nDvw3uvQtSC\n5ZfrX42jv+8lKtR/Ot3a9kBTC81tMWsXAcEMxQgSG8ULr+LJKoDMnXTAkB7z\nB4X14lTly8f/uv6ryMIklDK1UGXeAysZo45Rf9lpdDQEigEB451D7CfhoiMB\nsSFky0DffQzbpG11HY368DFVPvKbSo4tlPab04cz4t+m7fDhO5JBLtDK2lco\nOgBb\r\n=VbP5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8dc68b664999c7484d9a48a8419a80231b07efe1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.2_1617149200144_0.7952572260539805","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.2-dependabot-npm-and-yarn-y18n-4-0-1-34bca0d32e9d34acb4936dbf768f5d929b86eb1b":{"name":"@balena/jellyfish-assert","version":"1.1.2-dependabot-npm-and-yarn-y18n-4-0-1-34bca0d32e9d34acb4936dbf768f5d929b86eb1b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.2-dependabot-npm-and-yarn-y18n-4-0-1-34bca0d32e9d34acb4936dbf768f5d929b86eb1b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d41b3d5f27c79c6be906058dd689a8b7c0e00aba","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.2-dependabot-npm-and-yarn-y18n-4-0-1-34bca0d32e9d34acb4936dbf768f5d929b86eb1b.tgz","fileCount":9,"integrity":"sha512-gv8/APQJEgPbG/sD+TuLB0hQ7Xl/W3b+k1ztqTVJ6WwfkLFzeN+89RMO3uRdUPMwv3wIfvH/CG16yN71u2Bnvg==","signatures":[{"sig":"MEQCIG+CsTe95AujR8qNlIm0YrS8uRHFgbzxUIREu1i34j3lAiAbkDc/KRk+peaN+6swP8u3SmHBOi029wYbgLkz++VSXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY73gCRA9TVsSAnZWagAAV0kP/R8wzTKXo3wnG54Oo2AN\nhvDkli05BthEBtu0kUPvgESNwnouD5sc3nI5gWfSdu5uQ/g+p9TWSJojS+YH\nhwQ00cd1Je52EiveqU+m4vRoGY90eSOEVqonxriJu0HWl87GcqXvntPi2guj\ni4uXDhf8d0BBKxnBCgkNCiKxA6GacXcrEVYMoQ6WwSjtq6Ka3Vk7y5v/dUhB\nCfhX+Lh44tOIQX4Lx6JOMxCIyKknSoKLrore+GF32lgFtwjJ/6HpIInEbOk8\neffzbjJf7Qxj7iKBIfFSagoyfpjTH4mAf4gsKg/bnlr9lS9fhndx60KnUO3L\n/hQp30QuwC6e0yCf7rP+bEWzp9kdBP6YGge1KFAU3qs+Zj/BR7FUPvpS0+3d\nKVYxyfLnNTL3SW1RXX2W7D+klIH9EYC5QVEY3qyh//s9iRFqBB8V6j3ltf+T\nQm1n/P+L77efnqqqIG/ghATn4laNpD96oz/16QljYe6k2sOmVk5JS4b2ITVJ\n9h/1fpda/aVinqZzz4RWcvvEkYGjBLNF1uDQk3r9YNtZXxwziRBq1tPhFJ7m\nlqzFq3KJ2yntc9hgdmCzWRlPrDuccif5QiFxGfPo3CvbK0lgsuKZgpvh11eZ\nGslccXfGRKz3qZAMZ5CIbakNrnpTGLM3VwiG5Q9/MtR0Q6qTt3JNvq20fFkg\nc5YH\r\n=6K9q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"34bca0d32e9d34acb4936dbf768f5d929b86eb1b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.2-dependabot-npm-and-yarn-y18n-4-0-1-34bca0d32e9d34acb4936dbf768f5d929b86eb1b_1617149407661_0.3522548989027434","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.3-dependabot-npm-and-yarn-y18n-4-0-1-6691865372ef5b68632f9f03c7efa57299af9559":{"name":"@balena/jellyfish-assert","version":"1.1.3-dependabot-npm-and-yarn-y18n-4-0-1-6691865372ef5b68632f9f03c7efa57299af9559","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.3-dependabot-npm-and-yarn-y18n-4-0-1-6691865372ef5b68632f9f03c7efa57299af9559","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7ae3ebe6a4108d4317e2fa52d53194647a229fd5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.3-dependabot-npm-and-yarn-y18n-4-0-1-6691865372ef5b68632f9f03c7efa57299af9559.tgz","fileCount":9,"integrity":"sha512-6OuYQQAejO7sDx/0iAkdreT0Xk5N40V3v48wNaMTez47L7PROkYA9sgjb7jinMCpcIjjIbKe/EEINwbTMbh3yQ==","signatures":[{"sig":"MEYCIQCSMayqIwJkAFYJZYcfGUoZFXHOilye7qpHAjupBgZeNwIhANxygHPhx8+OJDDDDB+6OubDI8yqqRawrwo/BcwirC88","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZBkICRA9TVsSAnZWagAA5ZAP/i9glpwJ14yMbbpZmUzc\nUtkb882yI1AQBpkNcyJUhF9mg3GDl7DT6Tt4uwF8c4FXMKvqiyvMW7iu5A1E\naIzuWeH0r80hk+Fa2TTFNpO/K7kQ5EsclD7NO+UlvSkFymQ2ydKs6cI5COdq\nTKK/Kfx7yp6VXpPo1TspnN7Y6pvrL2/M6qxPqCej/eXzpBAJaEkZ9u4z3sS8\nop7aTe61dIuhRTmIOdBKU3qZre/TOGqwG2ujK3VPx7y951PjKnAH0B1xacfN\nf0Z+h7M4Klx8yc6olhrbXQ9Z1IhZJQ1ZZmWThJs/6DCXBSc0nG5e9uv45Q2v\nTLPCAhe1o73P1PafCNfpEjdC7iNRP7iAArYXUSoDYQG1FbW2SPTjz4adho+S\nOwphVeMRuK/g085dn55ZDwlicADnQVpjtlfoxweYVuv8eFPV7NpIYjcn/jwa\npzKHyFvpTnMR/qpFXFOl6jt7aABQbrUp2/8dADvWJxBk9gEO+qR43KBoUACr\nEnFFyYso5IW94/ITjrAuppIu5/XIE64QXKqKsRulgox9X1JZkKHdIv3rIulZ\nUt7R/o0SQde8pa5Ocs8uAuJCIwyrDoPBS2u7Pdm7kUaK30ODHsiZyVYWPDoi\nleF69auDFpaASf69DJ8nqXuoJUu5juMV3fYXoDnuj6bJu6K8zXvTjutwIm1K\nziuU\r\n=rhjs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6691865372ef5b68632f9f03c7efa57299af9559","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.3-dependabot-npm-and-yarn-y18n-4-0-1-6691865372ef5b68632f9f03c7efa57299af9559_1617172743974_0.7735505959252567","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.3":{"name":"@balena/jellyfish-assert","version":"1.1.3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b4150cc58964071453c1d87ee57382e8f16c8af","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.3.tgz","fileCount":9,"integrity":"sha512-sTTgZWc5ZlIi0/vbY2xOcvP6xp4yIs/puz/RQIdlA1OUd0GQaV8E+ekeQ18PErDzHAYNNpTHJuCl57eDKY6B3Q==","signatures":[{"sig":"MEYCIQCoJRr2nA6tXKDxmxvWBKKNpKy37/KkePE0EpBaRPNwAgIhAI6P0Eb1ndH3gQr3fS4NBNrUlalIb1mBJmlyTJTOevHp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZBrdCRA9TVsSAnZWagAAdoYP/AmXlvUOxTnXudFbiLeL\ndh/KEury3txMkUkHlHC733Ruklu5iVikM53HslchdEsCDNVGDUFeT2YY+XW2\nPGjJ720IG+lvNHwk+MW8JvPU6p9OQQ8QcLO3l2VMrgNI7YAaMUxAE6961X1l\nY28Bd1szKvlJVwD/bfg3nSbhV8Ngckar1/UYGbP1ob/GvI0kqEZ63Q+NVDD7\n0ylHRnA4UfgkEeCbZhHwlZpwqY1W2KBRopJMKrSNqfnATt72lBYRYa7E0Vvx\nLpCzheP3Mjh2I5v8902OxG4hCHb2NJKQQsn3ftw8MQVGHyGyjiTMKMh5PG3V\nUURjc2tER7OoXirMTlxCu9r2nhVkzAODXpfP2+9c8hJqOtvlluI0qgewv9Xk\nWDx6A7BofZvIGF6RHO0IDylraP03rZH5jdRuEb8iLFz5YyhbItlc0pF2DZGd\nbL3v6BaCOy99a9zLwWbfuObLX4NChPhHoJuXuybMifW2QmLxR/kmJ7gUXqQm\nPzjo+wTAI+i0FWufx5tXt1qVfEMegFjZvdy0CYaVxYSAx47zq8Pbws0bUpPy\nJ7ZDJJ9P4Tw47/hgA6SO4UQ29D9GMTOr7vIe83u2ksnUdE1j0eeYrFwfjCQM\n+rTlNMCYUZ7QTyi3q+cTOX9aecqm+wSLk6Up1pQJEQPpKOl8QTu26Ji/xHyC\n/lGz\r\n=3O5c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bf14e75a95e36fbbab93632ca35989bd366b5b54","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.2.0","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.3_1617173213478_0.8366164401102854","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.4-renovate-non-major-82c9a26054a6268e4ec3d97f55bc276bdcd590ba":{"name":"@balena/jellyfish-assert","version":"1.1.4-renovate-non-major-82c9a26054a6268e4ec3d97f55bc276bdcd590ba","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.4-renovate-non-major-82c9a26054a6268e4ec3d97f55bc276bdcd590ba","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ef1712e3cb4c464b32b1286fbe8d98baaa023138","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.4-renovate-non-major-82c9a26054a6268e4ec3d97f55bc276bdcd590ba.tgz","fileCount":9,"integrity":"sha512-6o+z6XMQDLx4FKuTaVg+3FdsUJyfZkNx8/88lYSieBIIOqAg7qaMoe1punJU1+vtiynH9SI11qlc4MbuzGG76Q==","signatures":[{"sig":"MEUCIQDpNk/fp5nJWtGKkIUcXmv0CKWHXu91sdAP36W09ZPHZwIgEjBDmA9+MfW8nD5ItunSYtApq+YU/RkB+lJgu/0daDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZ4ndCRA9TVsSAnZWagAAn7IP+gL15p/i4bM23O14y6+m\niurgn1060+lVN6qlK/MDVCw1DS8Ozg3XtS6oSipHR8JEZg2GAZC0otoJUVp4\nqY1Fn1M62MF5AimdRKkLu9efngyop7bSYjUt36zOqQJSLvfFrEH6aVTtWHwu\nCtSAGHWqbF9weDY37lYv9hkDnXp/DiyYG3JWqGTes/TbcUnMEZvNOWJ9k3To\n37pkNNNPR1OBs7SIz3AmftJbpgnKT9Vpo7teJKcjllPca1PnsrphTLTUAN3+\nZfWPt1k/852XouAo7EN8U1trhXQ/ypTjU0SH1XtpfvNQk0drfuGNFRKH1vsn\ntcPjzzryL2NBybuVXp3oSe5k+11kEUOhR84vdci8r8nt6F237FKQ7ybPGQSr\nsMtoGiK/rNu+mWmX86BssgNb/CF4lvmqiGuz+/Pn0uluA9jYYrc7kVcOkQ11\nE9wSjlG6C8yuL0IV9KgfE38h9+HAAcOags6p8qHS4SGlugILx0G/IhW8Vdto\nxub5dVbALhlItj5+/SF/wu9iwWX6Ou1MBHmd7xWgFBW2IpeMFhQToNr0mNRh\ns+42Y0Vio3ykGompr4A/HJkirTKdUEd84IL5JhpkDRSuuWDishpKqGS02B8c\n7l2fwEc7+qTFCyyefiBsfTc9EVjE7XxaDzkc4OWeXgsobChTyIwnJGzDhr3h\nEA12\r\n=/sQB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"82c9a26054a6268e4ec3d97f55bc276bdcd590ba","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.4-renovate-non-major-82c9a26054a6268e4ec3d97f55bc276bdcd590ba_1617398237192_0.6978474807593409","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.4":{"name":"@balena/jellyfish-assert","version":"1.1.4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1bdba027722c8742f39892da34aecfab42622c8c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.4.tgz","fileCount":9,"integrity":"sha512-r4KjHGCESJ/LUkTOPoMm15eMo8gGda4+GH4nAKghaoLG8L+r2wKe2hW+JclsLNPTypctUAkOOTTrYQJdT5XQFA==","signatures":[{"sig":"MEYCIQC2dEcWQMi/jfftsVBpZTmwQ+14ZUx6rlZ/he+cSE76UQIhAJHe08dlYBrKKmS8+PzTymZTNquKy85je5eO4z6Az1b1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZ4qiCRA9TVsSAnZWagAA934P/0sGC9Uyws4OINr1UXVz\nQsMc07MMNo9XUl1HD+MAlq5gP4xSA7u/A/0TkJRMEsNK9K7me2Xl4IyvGo2W\nTIzr02j79a6hjctPfnovsY5cIsmrvA8Y6/25TrkrcPtyJT1QaoJWlYExf5US\nSNy1l1U+z9if/srtxiuB6h9Ywb11pPou5Bp06HXMzr64he16T4+TybYUypXL\nuSJQixA5oBOlnVozFkf6VgUzdNayfQGQ2/fzEvslLH333bUXGzFFpnO8Oq0y\noKDMzibV37hsU5Amy7efGGdq0msoWEcAX8+HlaLR7T7NBfN+FuXuGHkpZ9PH\n05OPRwOk076DmqB1FDPpRXWhUTtmPzWasEmKHpb7F6tp/Jq8gceEaCChbuAB\nFFvydHi842rvO2B7w9H2t1p13/DOxtEUJuAThy24ZuJbME9785EX3bdY0vgQ\nyLs3ZYPuGSfCmuUNLT1o5r+mszEjp41GG2Vme28I8diuOWrcAI3Bk8Jj/T9X\nIQQ2JjanNpIrfbErxctdWJ72rjBoZbxDHA2eg0CMTAmeEz9RmaW1KZLgsvKA\nI2jCXraT9NiG9cMiNlMowh1puz4B45PHjr1M+abUUKhyYaNprYd4P+NSk32J\nTlt2qBv7ozW4/QxQKKornmscLbFK598KBNYwgYtR0sJCCQ65fwfQWkgEdY4r\nsfrt\r\n=k/sr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"94e432b97520213844ce17928f9ca7e87ce97b30","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.34","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.4_1617398434536_0.6841307529164022","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.5-renovate-non-major-b75ef3b60c9d6c177ae51dbc8598401b8ba3a949":{"name":"@balena/jellyfish-assert","version":"1.1.5-renovate-non-major-b75ef3b60c9d6c177ae51dbc8598401b8ba3a949","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.5-renovate-non-major-b75ef3b60c9d6c177ae51dbc8598401b8ba3a949","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"423556ce7b729de858ad0e80bcabebd558080f23","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.5-renovate-non-major-b75ef3b60c9d6c177ae51dbc8598401b8ba3a949.tgz","fileCount":9,"integrity":"sha512-t2g+ZL6R69+yxeMuZ+/PzKIWXwtznrkWJzN5FFSBLbMgkjovLplZjezPwbMd5dHiPCW9/WgTcqna7jHrdil42A==","signatures":[{"sig":"MEQCIHADe+enrIb3NVwjredEZZvA17MYAyyg4gVtAZc9kBXNAiBJYoMYZfXscqbjM5pCPfmrBQcIvnQikotn+G3xmxyeiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaNwtCRA9TVsSAnZWagAAHM0QAJujyWZLQNTFolb2YABb\nOP+1ANox2UKOvmEkupG5zRhM5cWx6ck3Qa6mE/QCAEy5xLdHUUffOP7A0dkG\nxXSxo5lZONDJfNHM0G9sehS89hDxmIpICKXj5grTM/8MZlfyAjBsh2Sg7qZx\n0OAp6D+RYlG1t68Tnuup5Xp/y5KmC93qake8y36qyGvCXTqi4V4JytMzIAwc\nJwf6WXQWeJM7aFJla2BlH/uJ7A9sh9upwo74Zc1UnBd8ol7BRBEt67AI2p6R\nlL5XbdQwwaPXNQzqA8OvKn2yAlh58Qwd6MXQ3pjtm3LtnI5XBRtTrg6A/olR\nMSJHVeQugak7dRBxOIFdqsOO7xSKp0l8cnr9xZjV3VAhDTZIJwPHvNE/h8jP\nmtqnmhr0qEWzSTJOvRYr7Aspo18LEBMqw3Oi6HU8JVnuRUkhoehTvpLJcoIK\nJYLvhtg9bks8V39tqVVmKbzrtIA/x5EafFOvsl3JH/XDthTjClIoH7cHwOi4\n3Ammjr6tKlst529KQOSEIHgITAART/4kHYb8Y9YErjth6/ElrNksxSM+dz79\nFzW6ctEe2SlO79QQraGlmdYRZnoFjZf32YfduvN70BhguP9GXhRn8nZVatp2\nmNjxeZNthX2NRxLqnvEIjOGW5kEHM3oau3ANd4sACl4m5Xe/aB2ciJa10Asj\n5gQv\r\n=Rq/4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b75ef3b60c9d6c177ae51dbc8598401b8ba3a949","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.35","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.5-renovate-non-major-b75ef3b60c9d6c177ae51dbc8598401b8ba3a949_1617484845171_0.07031186430455172","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.5":{"name":"@balena/jellyfish-assert","version":"1.1.5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"73884aeab83ab4f8bee5b53042e39970666f0e54","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.5.tgz","fileCount":9,"integrity":"sha512-D50E2ruhUyj/8Ql4s1+yee7AX/c/Wk7mQF+CNJsHvosPLJnTKzuiwLEGRs9acLIWOTG2sb1QWkq1NRUdnvsjIg==","signatures":[{"sig":"MEQCIG5xdGnLQoIH+yiVdULMaMW2vuQDw5Czu3vAB73f/pTzAiBuvaC3z9Jz/bM1dLo2GfnSXzqPHl5yJML/kLTZnfXZQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaNzrCRA9TVsSAnZWagAAAFMP+QGeBxJq5Y2TxO/2lTCr\nD/gkQz4UdbBKfr5Dcd7OLYJyOPd94Uk80zIe7+y9FcqBFOtdEODe09tUOF+2\nKFMkZvzSIj0iCco5+8Ked3K8ApDefQz3zqYE1rJyzjdT1i4m2aILwDRSHpQw\nCWp9bNpMYj9Rk2Kz0IGmFYyU9IrtxOwp5erlTPddCb8FX4JZTiHxRHW/N3xM\nslIkQTnQU2mAKJ8aG3LXeImUC8ev5OMVnYCr5u3r5aTHqI4ZfgKTIJvhBrZy\nRteKKjxGyG/Kt7OefKg4rh/hfLxUq61PFgTFcJr4sZ1NrlrCaD0NgkQor+uN\ncNcUbICwgAsM7C9MOFcxnNPE62CMAdMbCBPWDWOi/m2XywjOUMuEWqLNIQQ5\n/gDbaC1JKOCXOkxQCF4NyXngx3Mzh8OlXV9GDKegPmuDefgk6EL9mVHBWbFU\n/p6Q36ez9vbYkBVaYMudArsD+Pw0LBUvejBrc32ZJjaARvrUO/YV8qgdyiut\nWWMgc3j2ten661tvDCzKDz1SunYBx9HLg4v7re/hSswTG0/4GyanpCt3agY3\nCpkEPH9jTBApS1zHD7RcDJYCPagjT3CCATGwnmMT0oRGcOpdPSzrpp4H4B8+\nnqBx8d/n4K8Q4JNwv0mQkovVK2eDIS+AFqjJrffWmyHnTV3oXsjhRlcwJEnf\nsQ8y\r\n=UAKm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3e47553b5e20ed1d0250a7dcd6d5ace48d828015","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.35","depcheck":"^1.4.0","typescript":"^4.2.3","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.5_1617485035243_0.504937880747865","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.6-renovate-non-major-924feafac2847365a6a0adfadad47dce704608b3":{"name":"@balena/jellyfish-assert","version":"1.1.6-renovate-non-major-924feafac2847365a6a0adfadad47dce704608b3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.6-renovate-non-major-924feafac2847365a6a0adfadad47dce704608b3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"abbb2021c2fdcee8972e858921d00d73ee60ff70","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.6-renovate-non-major-924feafac2847365a6a0adfadad47dce704608b3.tgz","fileCount":9,"integrity":"sha512-fqDxAhv2mcUdCb1B8uU6RQF+KT3tlWGomBfp8gpA0r9Bxj+Uln6mmhKKITBzunusCFVV4UcP9Ir0YEwN9NeNkQ==","signatures":[{"sig":"MEQCIFihm2FepEj556yVctKjK+5r3BooJyo1Qwl9bD+3BLRiAiAw5rAt3Ds5SO2WpFa6BscNiBhq4t8+0h/y93Owe76LIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbhZ7CRA9TVsSAnZWagAAAgEP/0bXdZm0Pw+bhYi6pzHB\nAgHwFaGPFmWLBAvesYCcZBufGDOl4jhOwwW/jMfcY9et0lp8+67dvhdZosFG\nf8g/+6o8FuMj6ZXveeg9n2TaKxm01uAdvALzhmsBK1ImtqzKGbFYoxKeuUSL\ng645qLbtvgv4mCNrU8J5qMtblGw/aSZFoLyyjf9sN2Fk0VF1D5bBelQnzEbD\nE4R//X/inVtMKZEVHPLVCsvobft7sXEIadA6EYpBhe4ivOQu85z/qb9iCG0s\nr6Us4ye2BesU405H4b11uAva5Fj7qBsCApmb674x43eHMV2ogVFstPMnNq3P\njrjEDpLuFm+RX0AdrqTwASC8DEsLe9r1Cpm2RKDwvOorPJ3M6KHmXKgsdtxS\n6qVBZAUbgkEtjp0YkIY0CMB031IMb0RCRb/UBksmz8TcIhYf5HX/bVsrn+5s\ntx0PVYnqvpI0dLySs3894O/6IbjZVTj/nLWEDYXjpffSiLOi48Hl0Pw3HoDQ\nQhj089GHi4vI3qZNbXabyzLKbm8u1MKX20LyCk5eJ0AB2cn0T9mrP4jfVhLd\nTCrSOk2GE1ckJ3b/vGl3msqjkEQ3Z4vQSBTBIcZlVjyLjrWYkMuSZpsF1EsG\nRZvsRlcZDAvuEOVHGsKA83fw4Tv7U5vTQXAQHZY8eWtWEluY2VRyNdQyEXfc\n9r0/\r\n=K8I3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"924feafac2847365a6a0adfadad47dce704608b3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.35","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.6-renovate-non-major-924feafac2847365a6a0adfadad47dce704608b3_1617827451298_0.36744140338648745","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.6":{"name":"@balena/jellyfish-assert","version":"1.1.6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dddfd92b8a8477b51ca24a1d43daf5fae333f907","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.6.tgz","fileCount":9,"integrity":"sha512-RpcM6yOyy/e28OC69m73iP6c49DCbUdkX0YuRfmLU6O7JGro77+Jojpyims/Y8Yt7k2Xi1HYOWxsdubpYXGjRQ==","signatures":[{"sig":"MEUCIE2nDbVZwcGUqyZIht9gizmEbnIDwV5oFBcrzU1ei5iaAiEAvOPleNFWit+tviJLICTeUUYOmNCDJ/iD53aKaVSyI6k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbhc8CRA9TVsSAnZWagAABNkP/2kwReZ8XFqoJ488lHRr\nG2dkZcbJHGz8ukoGkNTjIgM44L6/vI/lixmYv0v9IaphKZBn+8Aj1VgEGdIK\n7OBxYTOaKfgJcNUs22Z1NUCd3QrjGzuswcR1vF3TqMwUoYYRDccDDl81avQs\nm4sbud1i/J97GCxJWCEn4TZI3rAnYsuBPCQCwUJ/Gjc1mZfnBt+yIrtmAGZ2\nIhrmSPJEjCgDjGb2FufYfeLtGZmMxq3hr18u2WUAb/jqvHSTzLIWeHGLL1PK\nnccOmhpaZ0oUXZb5RutPbJmgJeUVm8XqM2syhgt1BdjKhg3JeDf/yc8xVuNn\n60TAutxWRjRFITtSBvjP+X1gP6CyI4Bf6eHrmKsueSWByJHUcyq4SQb3GqZy\n9uO177y7GCigA0UoD3EM4t5EfD8Eq1Np2CjfuUODXnULLZ9Bnh5qmLfxl4hu\nZkAgEJhJgUGNYX1+KdqNyGrqgX0cIFn2R2uljkfRvAgJuUpKlJVx3P8BwMH+\nwpX0Z9SAHD3NJ7paQLvFR6AgbypY3eWZjy7tEMHaR+32FgVpskpJM5DfikEg\nZ/tHJC2jAJs3UXMK/30icTDzWu0+6stKtL3zkAbEqQ+JYTWq+8B7O2kQiqkH\nn+p4RALsrZodim9zJH04KgLaHqY1vAqdPUYMxeVIflFGEdesr7WZokZNaz3i\nGC96\r\n=R8ni\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cc072033a63f485ab1d4386be5f68a3bdb143c21","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.4","typedoc":"^0.20.35","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.6_1617827643886_0.5702790922224059","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.7-renovate-non-major-a2deb3a8577ccea4cf87d8363bc9eb132047f105":{"name":"@balena/jellyfish-assert","version":"1.1.7-renovate-non-major-a2deb3a8577ccea4cf87d8363bc9eb132047f105","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.7-renovate-non-major-a2deb3a8577ccea4cf87d8363bc9eb132047f105","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1dca3bf368413f8e55cb3dcef976809b2d39144e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.7-renovate-non-major-a2deb3a8577ccea4cf87d8363bc9eb132047f105.tgz","fileCount":9,"integrity":"sha512-RLPJnKf7rqw23kcMcCHn5/Sp5EjhxG5kfx4B+8JHg0StVJFTbIIoTOtJVy/zKAzhTvExrXg+L96lmCc+DZ3vAw==","signatures":[{"sig":"MEYCIQDvsM6WJ6WY/Bp+HvtXECYAcgfv+xx2foSYGVCOCZBcDAIhAJMdHFOohPvOiJp87Tn8V6DcLVuq5IZaJw7Lul/pBP1F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeHA0CRA9TVsSAnZWagAA3wgP/3X+Orwh3SbKcgwEihqU\nzC4VUchrdBVAkyyQULTsGMoar6LQ2QPe8iG1tteczg1yjVrifsqE5iV/jggD\nNyXHI1Tx+6FkWOPdiDqtg3pdYmYTSZEujDe1k8u/JYneuLAxl2BDXeRR5RId\nZx2IDcWnSjj1jJreFE3puueqSwXgzeWal/ddcN8CONHDN9uIgpc15sPYoMQ6\nCfgVn+bOo58LuYS7kZ5z1HFxe1Gwy29droGHoQC2pOC9DOWOW3nFnGC72IC1\n5ZmZfLPL9ArxKNZ2A1JmxcfrbIjTGTQz5czJ9yB621E9blLmGUHA7ARsoe0a\nPe1CU7mcyXNummaDNyrTxUw1z8abaAOIQ7iMVYHGlF7s3DpXq3RdbuIPGW21\nCfJQognyfXWY67IyNv5vUXIlsZcoMcW+MLGsm7TMNL/QZ9Mst2l5io2eHill\ngG9jyYcNgDGfLJsoJ5NeLBzJwiNlnf+iRgDcd+GiKz2cGTKq90v8nhg5Kg0j\nn1c6eJthOqMdFS7OV6ql56JIGcNs6hBzuiwYblz9d59EYv57xI8+NEsmGm+3\niFx/GVi+dA4+QvYkXdcCLpQ9xrkiVJv33nu/yBsem+fikFMLPyEg1bRtCGth\nkLBwXMg0m1Pk7MfcemTHzNKYW85WynlkybQPmDBZYwtFZKPrTOQa7m8dA5Ik\nf8cA\r\n=kXyT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a2deb3a8577ccea4cf87d8363bc9eb132047f105","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.35","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.7-renovate-non-major-a2deb3a8577ccea4cf87d8363bc9eb132047f105_1618505780342_0.0963710689978936","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.7":{"name":"@balena/jellyfish-assert","version":"1.1.7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ff8db4a7eb9d5929f2930984426100d8d594efc9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.7.tgz","fileCount":9,"integrity":"sha512-ocqapXYOTSrSvVvyOz7rgEpttGACMTV+gXu/R+6z/i3NmaXSNAGcLRbX8Gz5dHGLsq3UZhNHikxzZDlzq8/UEQ==","signatures":[{"sig":"MEYCIQDY5o/GnzW2oe5K2pWufztPwxBk5pHgBLOVtMHs8kRLVgIhAKO0CTbMOvbrlJOXVz6HNbSdliF/egJkmn26nCOiHR/S","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeHEsCRA9TVsSAnZWagAAzDsQAI0iN/oo4Ws7qhVLrR23\nWbohfJiRIlZhUZWniouU3EbLYzFxsmDizKXPkvn7TGIFuwgY9Qe3Zu4a1eMU\nHs+EbRJLXr70varvNTMlxwaOTMqz+iykcR4s7OBHye5AI6Tmpqo6k4g2QtGb\nrStkvO7/CbU525TqUeWRTmQiXTdkrqfaSnkDNDdub5pB0kApsFHezGRkkaZS\n+RN+tkOCsWIsTPPx0EEihZqJkoPjISCZoLNC7jJrcqGshD6/hOQ4mPq3FMJY\nHDcrwqtCeOUsmI8BY3DrFnMxJ51kjCiVZpq3BiicQCyHaph1KdjHQMt9Z/EY\nByJGvPH8r2nbNC3oXyvgKS2B1UjjuLAdDFzR9maRaMehVo9ET6opjf4xZUfA\nMv0K5bC8Ijgj/V3hbpsCAZ4cv/vb/AIB3mpOXmVq5qfd0NPHzI59VSb3JDgY\niAis6gu8xR/l8iQKPOusEdbNXyTevEjxALOjJ89aP9CKcWgcVPskpjeOrKF5\nMIJb9OsMROUu3jES07az9Xhvs54G174CPiVXGxHBIVAFkW6ZRSau5cdrser3\na+nR0XnMAx6ZuJ/sW64qjbeFdkPTk8obQgv91aBHmgo/7HgBrtViwR7vOeRj\n+/6zIl5l+GIEGnJoGz0qTVuVI/bfkf9qUgoYECPub45XcxH7icZKudNKQxey\nSyVG\r\n=bXPD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bea9a663abd2cf44ed4b7c9d57919e5cd4a4f349","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.35","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.7_1618506027791_0.5184950663136734","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.8-renovate-non-major-def43f948942a6742e4fac5e785034bba2b41bfe":{"name":"@balena/jellyfish-assert","version":"1.1.8-renovate-non-major-def43f948942a6742e4fac5e785034bba2b41bfe","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.8-renovate-non-major-def43f948942a6742e4fac5e785034bba2b41bfe","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"115c8ac8478d4643897d1b184b5a25a3253bea82","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.8-renovate-non-major-def43f948942a6742e4fac5e785034bba2b41bfe.tgz","fileCount":9,"integrity":"sha512-3MPWbBIA2goKBWxOZTZv9VxR7GOvRjq3yJbPqSXSIQhIeiMtW3g5gprJWBJdHwe/wHDOWlNFA+xsOVCKdDtN9Q==","signatures":[{"sig":"MEUCIQCBgwttR7+NNwwh0dtPQIqA9DHVqdblr3U8CKdIzUzRVgIgdugJrRWPg7inL5by24lS7LV2KS2vK1BZBzwJJZ66c6o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgglKFCRA9TVsSAnZWagAAHoQP/RgaVXXdyyN8V2NaPwOA\npMPKyuEj8xSOOLR1Thh8O2k1kccm5PEZKM15Ei26QxoCe5bv2PYFmroKnrUu\n4F8jGuIKpN5z092scBicZZxSA3m9PkUt43cPFWck2hEXs6NwX4693aAXIk84\nzYO/UoC/QAZQyh6NJ11uw0HlSkxm61G7iqvMJwVdvZAQK/wIz5XWVCpXOfq9\nGKByBWUXOw/McjAWXrvmJS1YwPjjfmtFi39OQTATJU/bcMfpCluH9dMyuFBF\nquWmUER6PRt/0bRRP+piVaQq74dcZA/CiRm/lfStgpM8IA6YskSaN1JnY8ex\npDsb14JkR60k+3T4z0ZXlBOsAWNxaWto0pQWMPhxk2J5idsBFSMxzosQKypj\nSU6nGsqmPTSLz+B7rvn1vxZv+kG6at/XrGg8TSkQ8rTtuV9oBW6DNdfD91Tr\nBlgnvWJQpWZOzxzGmthEThniYJsFB3H0aG/1yzIg3RvwiiWtzD4B3q/Y0FE/\nABIYoTP7R+xGF9wJZxGWBTtQpV/Ylrq+5ctXc0Uq0ZaCR3DOS9ouAl6X99U6\nckajVgj6vP4KP+f535FvgMmvu2ENdoKyg3zcwz8aMXuLiqobB9qxY7QdjRGw\naG9rnM72vIuayI8mgZ6NVVimgLTjkqNRqib50vmehQPOYDZVlaxQXfA73fZm\n+bwG\r\n=2OA3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"def43f948942a6742e4fac5e785034bba2b41bfe","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.8-renovate-non-major-def43f948942a6742e4fac5e785034bba2b41bfe_1619153540627_0.01215607007282915","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.8":{"name":"@balena/jellyfish-assert","version":"1.1.8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9e67f99a53d10d3396f6018d7da0066bc8592bc6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.8.tgz","fileCount":9,"integrity":"sha512-yMYE89Yy8aBlFtM7EF4adRCz6NdBkGy5JHuu1z5/7M+OhO69ynrwFIyCUzU4NdsqQ7lIbhsctlgEivn+xUMKmw==","signatures":[{"sig":"MEQCIFZykUmcviZxS0Yzo30zQNXAHP/tfr1KYfwO6o+B+HllAiBZ0n4735kbm+Z+wt46G85Bn97OXPZnL+OEORxmRz2qWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgglOqCRA9TVsSAnZWagAAUJ4P/AmgBOJV8hj7woJrTB9G\nfyI0yLcTCr1XscZsCqO+T478ADDpFzzRq1hBxISvxPgq2YaZyCCEcQnkWsAV\nDl4Gf94jO02tJuJD7dFk59TevPrFCRgwI9eVcQDnkN/jddHpGGK0O16sLcvQ\nLCGh8ldsvPjjBfNqdqC6Do1uggJJlo+I0n3Usf5wxGRKuDEyrEjbl++bvfrX\nEfJLZkPmTib2uf5xUgtrXZX5yD3A1EWzJWO9XlqWgCPocvBjHH2Zcc/oKRpC\nHfcCtYrkGUuDlg2YAFbBd0Sq3ZQAvmVZ5ock3zwblbRRKBB/alQqasEIQwJQ\nQrpLUFxKj1BbCGgKUdiBdR9ivkj9n8GcqpSWjqvbqiREoSNRb3cHXfmh78Zr\njVw/bSRrh92InDKE/P08D34ifZ6wJdJz0H00C3v1ZK0NIlH3XNebacQVNEez\nn00vLLgYZVREGXcCakATIofcM+RiMM/Qxg9eFCz3DT8YMuV9WW3tP6v9ij/8\n5Q3mScAHL8vimKj1AKQ5xCzZcKiXfwdcwhZMBmTJ9rF5zGwuWwAI6iOegBLm\nVd5633uTL2etCByvW9juxlxhHwTsKePC2mO0un+gW9ziHS+CoCPA01+rTHkl\n2cF37lg9X6jh1EYoGkC0Omt0pQ//CeySB2UPS0MfObf/LhzXhIgD3oM/HoDu\nTdYv\r\n=b5g8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3d748074ae15afc4167aca0f94c77bb4d116f4ad","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.3.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.8_1619153833707_0.3013207113730172","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.9-renovate-non-major-b322e7ec180dc38459e9bf09b1cad308d5b9382b":{"name":"@balena/jellyfish-assert","version":"1.1.9-renovate-non-major-b322e7ec180dc38459e9bf09b1cad308d5b9382b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.9-renovate-non-major-b322e7ec180dc38459e9bf09b1cad308d5b9382b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ca381088497cb7f668c9caac1aaf68b0385d1dc3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.9-renovate-non-major-b322e7ec180dc38459e9bf09b1cad308d5b9382b.tgz","fileCount":9,"integrity":"sha512-Ce5zhFuYrw7O+oynIKSpDI57ey3wHYdZGCVXq44yiuWV8S20et9IiKiJ9Vi3MoHEcX3ChWiz0pnb98imPqSv3w==","signatures":[{"sig":"MEUCIQDQVz7ECBObOpwB5yD7ajHm0byxzDNkHSMmCZWJThp5xQIgd+sUVNBA6XhXZsCSjIb87nT0w98a2K1jnNP3bULEFqw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghCZACRA9TVsSAnZWagAAAToP/2oCKP5/6VjXTE2bQscF\n651s4geDJfUFVBmB0EVXSHdABWBmz8kFWgFni7Rd2zlySdDh9u4Oj03r7rZH\nKF4Bi0QyUPU1G5o2Q7iW7xSf7zpVSWR+gL+OOITWfc/Ux20n3Iw4vQNnRXwx\nzxSg1UKCzRVvT+tF4LLKr1LbPNUO73V0acTkdz61DJkjzEd4y14AZJUg+hk9\nlKY02giPuTL/WaINO59cBPA6G8W7T74B6lHhABQBZs4DNUR+JnC4greLv7yC\nrvk5hthm22cE9rXkODYDzQgGUQV2bVWBmq4Yw8JKtyYm/81mAsyXNi2SJmk+\nO6pfp3tkokdBsTn9OHtnqVlPYig+/Ckuc/qqP1Jc0IsonHb6l8N0cKC47yfR\nMgBemsdO8GT9SNyUek99UcceG/pOn/86pfBZOApYKFCXH7EJ+41WpZHDZ8KF\nX6NC08BcpqqjsiWtSljYU0wWGchjxKeLDHUSbji6jYgg3UZz7VUzQT1mUhnS\n1O1Isz/0OTaVQxICXJQpit4X++a/ASoCFfBPfS9kcZdgYbB1nfnyHHlwC7CZ\nnfdfKmvvVJlzFhUnteNT+VSl8pg6yN7Tx2ZB8gwvzewDG0+hdVY6nMsSPL7x\nfzYdwyU9DNW8yFwzkaVIalnplGB9dzRRyFHUWOKUI+xTFYWimAzzgJjqSh/x\nPDnv\r\n=SiSX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b322e7ec180dc38459e9bf09b1cad308d5b9382b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.9-renovate-non-major-b322e7ec180dc38459e9bf09b1cad308d5b9382b_1619273279482_0.6077466903965947","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.9":{"name":"@balena/jellyfish-assert","version":"1.1.9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"93fabd5ee5d424220ac5cb934c9ec2603bde084d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.9.tgz","fileCount":9,"integrity":"sha512-3BsrYihE1A9kfaQHF2mKmTLtOsMeWrYznGfqFRWvIAFmoCMKrnFUfQcWmdD1IAwlvpnUihm2t3NXCWQHfRk+yg==","signatures":[{"sig":"MEQCICC2UvOVYpmZwmROfKOd9Qm07RnEG22+dnuAmYIoceLVAiBa3Vf9uSKB4M//r6FHqkNn0gIXFyNbvfeQi+wybYd5Ng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghCcmCRA9TVsSAnZWagAA1dcP/iEKBYlYw1JIdlVAfoDl\nuCLvHUgzYcgSne5tPpVmBpQ4du0SPyItjJCTqOQ+5ryx9KQbPPjvGh6vb9sk\nGJLZdchrOLNrZ6LK3gA9LolKY8VVfnspdYx142Xb2L0wy8spCy8+huGdbZGe\nI5UCsHHudSYaXHzCJ88dFelPODD/4TTPBW0wZD/JhmjwhqVXVjzAKB3olFG9\nK02kLhbg07WDaIeNjpd+cox4QyP+NMPBlvtxmFG6SeZx/4HqVTUq+2tZ8f4p\n44FvEeUM9pyYgbdyBuca7YxsKm6fCwm5a7X0rJrUpfmRmYDaUREd0+GWC4KZ\nnCxqY8GVW7DOU70vQnGjgRQ18oCBaAeEZuJyaxRjyxqwteXsnPz+WhWOnJhu\n+A7OSLIemKGPmaCrQEu+5Sb7LInP8lLz+6ieyJFSimkR3iBdsp/m50tAwYcC\nzwjb8aLJF8DU2kXpjwCwZAXSgoABtQ+lUs1zG6U/Zn9A4hdAf4+GPlQEPptM\nL2EaYuT0YYK9WSJImdtrjzUu3APRji4E6MIut6wzcwTD9QlsKO2a/9oeD9Gp\ndRCmJVe9xQfN73UhEEzln2wjQ8p1RU671d0WgK9dyKF8GeUbBP86d27cZKSw\ntrYDFOVHvXdIOSKGWuUea7N/E8td2f6scdmakp+upUQ+Xe8EulKS3v6hIake\neL+b\r\n=lpEI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"daa5297626842c52fa9b93ca3f7e2f8b28082f7e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.22","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.9_1619273510046_0.2619037149508272","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.10-renovate-non-major-1d08f86365534d9b1c1046f0e22373558297830b":{"name":"@balena/jellyfish-assert","version":"1.1.10-renovate-non-major-1d08f86365534d9b1c1046f0e22373558297830b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.10-renovate-non-major-1d08f86365534d9b1c1046f0e22373558297830b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8c06150d8e2a14042626b1924dfab26cbcd95d65","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.10-renovate-non-major-1d08f86365534d9b1c1046f0e22373558297830b.tgz","fileCount":9,"integrity":"sha512-SnlhCVZ+GPbSXkWN/0bWRxJ19gn5w3su7whnNl4CamqpBIHtrxiEdQe1r0mU1rSJtjoLo4IxtTCZJ3+748VtKw==","signatures":[{"sig":"MEUCIBzy+BV9WBE+p21xoRpe3QWoSwlogFZB6l1mUSpfSZOnAiEA550Ft1ZHN4VW1Eker9KZSlWHZVVzlJ3iKYBQNdX1Lbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1K6CRA9TVsSAnZWagAAkEoP/28M2PZ/fNbHLcgVzu/z\noopaTJRJvHiX2EFm9c7Dh5wCdcxxWREJnAAjh8GTGaoTASVvaI3N7SrT5MwC\ng879bn124HiMrORsoLYSW3V/jRXg6FmxzHkW25V+9nhitpcv9+6lS14AcTqV\nTxj8Eatp8S7u6fR55htr0n419V4MMXPoJmAl+B60RDUK6nwFylzibuc9YlDt\neW7JwvJIJ7NIqNkVf5/LBRqDRi61FAj9VOe+zzK0v717SBoICe+rr9drpCgE\njb6As8zZh95KAgdZbWILSbO5/+4VQmbiiqxkFysbKvfHNe+yN64vGwpIvAuW\n+M3mIXdI9/LPVGGU/Hu24GSSLA30gNpgI+/B/APr6A56NU14dssCBLFomIiN\nBkvuC+YEcKGqgWBTmHNFv9qxelxhgIqJOU3lDkexUakV41S3fmvfFeqCDjZX\nAr3I65fC0nro1V7EC4kcKYILsGmpU0SeLQXpLBs5/EEWCwd/owAbIukNhmFB\neVjUjRrVuRpeofapmcaF5CzFrEmyF6aCuWun7i5+JLp/OCY5/x2RrCr70GFQ\nmdlIaSC7Cj6xSAL39QEPtPjbgptItlfqxlrZa1yT3B1KtAMPG+8TDOPDGr+w\n7+AHD93VS4dmzgfxoe+WuhvwW4xu7G+i9mUEpcE0iJokWXorYu2VRdlNNGyP\nVCP6\r\n=YcJ5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1d08f86365534d9b1c1046f0e22373558297830b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.10-renovate-non-major-1d08f86365534d9b1c1046f0e22373558297830b_1619481273555_0.18243034479244646","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.10":{"name":"@balena/jellyfish-assert","version":"1.1.10","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.10","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"757b9393da7753439d30b696bff83b406e82756e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.10.tgz","fileCount":9,"integrity":"sha512-X9m8JLckbe3fjx2Q0DddCfXqHNMiS1XCBFmN+hvFJxk4WbUIN9nx/GsKTF7jsQ2sBpcNqogFRS4hmi+HQ3ifjA==","signatures":[{"sig":"MEUCIQDvFNP1Vp+D9CO+eZy+ZSgZgot24oe5YHTjzmmt8LWvQQIgJCcfFzUVA1zML8smPQqmSdNX4gl8wCMHdZaZzbusxC4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgh1N+CRA9TVsSAnZWagAAydoP/0jQNY+/X0fCAm41CPce\nrHOZCcE73FZgjtuc3HqatZ1m9PkpmE44fS6kSIhfogLCK8NY6N/vSSrpLVlw\nBNuHU5e+bHWCBHbpwGi7VslR0Q4xe+HJGoEpLZ+trJ59XbPiH1osCljv/koc\nt2zDA7Vny+K73gr5Xq6o0cXFdCE8HZ41BrcgzJNRsiZflqw/XLHUlOauAYKc\nxOOhsY8vwL7l3RP9GDSXBX7b1+d4lzN7r9PPzBYxe0xIt4R+KS68BaAN9Lw4\nJJaWlA82rPVp3EUex9ELdNz5e8PpN3SAk+LqGPKJPUSXl4heRjliDf7ExP52\nA38Um4wP/BqpxDzqVp8/+dSkCfBGyVPP7mXKL8USrbh1pOOeaBYUyTZhwYbt\n1TsbkOSyz5VB0feIStuVTOPMxE6jXGN1Y86VdBa9qi6B5vjb5s/XXagfOuc8\nbUmohSlaEmGtY5RwnDXDWjIKcM+ZWgf/dISOp9G/WOuXZsetNoaTuT+wybhX\nDJhRUie1j7rBdukMRkOGdaIACicVWuZSdHxSY/7EyNHz+8MfCd5Y7I9yHXtx\nZ6XjmxUB2ZxL+d2Cpkmzw/stdFEIyt+mD87lOz1WqQK9a1nY57RRpWTjEGMv\nR4ecbOR23xqtcQ/qc+j3Ms06pweI3YzJUX0hvIpPfg2mODTYotBXQebUu053\nuREl\r\n=x9W/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"11f4cbfe53f11c1aa10d7af9f5dd5b3bc0796584","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.1","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.10_1619481470404_0.04222125879611549","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.11-renovate-non-major-5dccf5796e89a554fc89560cf0d161567303f1e6":{"name":"@balena/jellyfish-assert","version":"1.1.11-renovate-non-major-5dccf5796e89a554fc89560cf0d161567303f1e6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.11-renovate-non-major-5dccf5796e89a554fc89560cf0d161567303f1e6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"179f8f68feb93beb2c8c314a6d582c88f9cfe6e2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.11-renovate-non-major-5dccf5796e89a554fc89560cf0d161567303f1e6.tgz","fileCount":9,"integrity":"sha512-ee8GJ4uVYcW0ZMYy3K5RdqonVep23ggO4j45Kvcx5xmgMhjXHDvxJ4gtVLgLT1WhTcvrMzUjeTUoSd1ALUpOFw==","signatures":[{"sig":"MEUCID2X6Xd/1keMZZORCxPA6degTllNxzNkysYzYBZwcqrYAiEA9XFMq63RLkx0fCT2Pyk9JnSeLeWZerbr+OVoPfuHP7c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16973,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgj82oCRA9TVsSAnZWagAAGKkP+waOmr/+HCb3+h9a4Mxj\nZ7JWeE775l7jxeHpho6iaR7ah0GMeLIT3sF3mL32ACQV3040N1uVmr8W4P/c\nObdXZj8agS/k4WofnAU8L10QSQ2+Jg1S78bSqXiysU3Cl9LKnz7YXd6/6+gy\nPpHv9aVHuegWjPM3isSGqw8f7NXzzekVrICFaL76Q0qAWwd1lfYxCKMgrMwv\ni8IXdOJ40AcejoiU2K+nU0CHf2N68yPmkKGo/5I8Sa3IsNeYjOahVahgY6Cx\nJ5srJf84foiMLP/30ysRnHXU+4hILYj8Xu/jC99wajWx6QLIweRvOe+otzs0\nkKFJzaHxsQs8eXc+m7arHmwPffZSRUIM/vlaDupXq88Ak6E7N5NFw3dCdzN5\nOSopzwEEuLoFESXUEW2FUJEh7q6souYjWCmeagkgltWNx+YbbVrmWGWAn0cs\nu+5KsswM8/4lzpl31bgRf2pE8uphb1I0ylhl2AZbd1MLmJS2b6bSR4UENt/m\ndqhS+L2ikDHd9IsgqAnof3IYlyTDVTurVaagcKkli/MM3OT/lpp3ajXdAKNl\noZAR6vYkTJfjFBLWU1Rij68K8vZVtAthyx/v7JncwsksZ5Txd8ZzHzOSdKfV\n9hdIU4cH5j1HxFDn8sU4iYgIVz4Jfyaan6DZWu9Fy/f9HKpsB8wCX9qG69b7\nz2/S\r\n=ctm7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5dccf5796e89a554fc89560cf0d161567303f1e6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.11-renovate-non-major-5dccf5796e89a554fc89560cf0d161567303f1e6_1620037031676_0.920414369453104","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.11":{"name":"@balena/jellyfish-assert","version":"1.1.11","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.11","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bf3c3b43481cdb21496a11a5242e281550e11e53","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.11.tgz","fileCount":9,"integrity":"sha512-XcUQiQmThpe6kahS0Ok8rc3DY1HinJNyueQX6wqw9W8J10Lt32YHSlCZpt07FGJXWzupmlrVs15otFwKytQvog==","signatures":[{"sig":"MEYCIQCmWCOfngCDgRqHTKlLfV/ivQD00Lb6K+lgFGvA9gWKAQIhAPyOHRwlICQge+jrEuAF78uTTXV3es99jxQ0K3PHT1fx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgj86ECRA9TVsSAnZWagAAAmQQAICystxdqJStlnOfxK87\nX9ArezBBrNXjdfH8sx50eVeug26I5p0HU6NwrIAgQ7aUDqJUc2QQzFTRzD7I\n9KilBZqp3Oc+ttW5yOVVmd7YYNagklFJduzVqaQW3nTQE36fynlAdl1B+ZaJ\nmyZ7dCCRmJK36/W2Bn4uqqWlZsgK2OlnyLqqn68QaP+0FFUMF1bkm5AvXkhk\nSUWoif07DBVI0IhH2c0tG8L8E5iR0kqk5O/zdIUtwhtHgbIDvQvr/qF2+Vn4\niiLDJURZhF8udPj7y9/tTl0CgkvWZq0viHFj7oBgFMDH/U5lCG2bTiP4g+sN\naLxdEO0XiSk0FEfrFQSCBWufkITLT0iO6WlZuc5I2C2DPAZ6cZPxzO2qdpcA\noiYx4x8M7UrAfqFTD74JyxfXo67JCQ4ts4b3+z2TS4V8gl93DaeuLTKS+Mil\nCoDC7kQ4WKmwRC8LXwOlYd/PvcCLVMQX5Y1WbN+0CDgeZLQqsvKsZLejtptC\nqfC6M5ut+DpOUiKFfhQdVTBfCfB4985+1fOZP1e3HICNhMfCDp23KnwmK7Lc\nxuv4gGuqU3qzD6auQtzks48lroMk/WaDKcW5Xp13X8ZAgzR5JUt/nfwx5cjS\ne1Hlc8OOPD1oDnro8i3nCGsTHkr/gxpMhHdBZxKYnZVYmD4n/ZoaR9wAM9jo\ns/qc\r\n=o9jM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b5dfa985ee9533eec501a3b4bae0ca86977cea11","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.5","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.11_1620037252303_0.07810465720526327","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.12-renovate-non-major-5b8663adff2eb5e4774dea9d05ad6362bf63b7d2":{"name":"@balena/jellyfish-assert","version":"1.1.12-renovate-non-major-5b8663adff2eb5e4774dea9d05ad6362bf63b7d2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.12-renovate-non-major-5b8663adff2eb5e4774dea9d05ad6362bf63b7d2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6922f5a61cf603240f0ace11e1c3034cbd91fc24","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.12-renovate-non-major-5b8663adff2eb5e4774dea9d05ad6362bf63b7d2.tgz","fileCount":9,"integrity":"sha512-cpC0wcj9/hYbLw0eHtXidFEjH2kTYz+u1IHWaVQ9mIqr9Bx55+A45Obr/cLAX5fCrSNfsc7m6lf2hzuPAyuaBg==","signatures":[{"sig":"MEUCIEPqtNb0LxWA17ObhSD0mrsChUzTmF4ynlHFUj9O/6nvAiEA4hYCmvfdLfT7OZGH8qffCo+5yGHOOwvJ7tIvNCntu5k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkrsnCRA9TVsSAnZWagAAGlEP/iLFjlbmdAB/UyhCNAJQ\nCb6p+8CrflVesEDgF60QqH+V9Iv9cepk8pTfGIILJsHTTU/A9X4WKqJzVVAP\n94TfFUHtcnMB6v4uMFu1FDL4m443q8XfJWqX5kD10VUosvm8zs+Sdvvf7JmE\nkNVR8pKsXLupEu3g+DhTwoehjdGi2Oy+rPU0sO02kVfE1re+fjgoP/WjllW5\nPzH1NaxAfP+uKkbsvtxyDCTRdYHmEQPRd3JXgL66y6n6bNTAYinNsYYCeM6+\nlrXJOAUEEdpfUIdTIGjT2Wan7xlyPLhcLyiN8QDnrJABJYuoZCdmreZl2H+y\nAD/yMovR/MJny+thLZyk+Qkq7pIF/JVVNDEKf+gnofqYIqaKLUHvu3mT0hev\n8cZjkT5bWgpz10JoQYA+hm8U5XAwxMP0xwMJao2B8eIGVvhbUp5OFD0jItp4\nER2BnOWX3zukWnCF0wL0OAMpQiqAXxWqsn+K4w2Vb1Bq2Mv7+GNlhvCBS2+3\nL9nUUEuU1x7PmqS77qJvoai8zU1xDsmFuRNfYxbXqMWZOpGfrXmpk+tkSewy\nxfPlPdipSkpZTimp3tdwGuAmf1ySEUcggWCXWJuCZdIwTD3pzEx/zRMqMRXC\nzKXPr+4C1gmB8/MABm2MwfFnLyefemNJYXXoXZxcFsg0hqc3ksjLoV8upYrt\n/Tub\r\n=i2AZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5b8663adff2eb5e4774dea9d05ad6362bf63b7d2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.12-renovate-non-major-5b8663adff2eb5e4774dea9d05ad6362bf63b7d2_1620228903403_0.7941588794300942","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.12":{"name":"@balena/jellyfish-assert","version":"1.1.12","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.12","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d4070f81d8817de346a103e0eba5742d0bba0516","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.12.tgz","fileCount":9,"integrity":"sha512-mRcduRjtBoft8N7v2QeWlTpdLfW6pU0jbIHwkUpUncJnA6JyhrNHCd+dC51s5fQeMS/2gB9AVousbcPlIqJZug==","signatures":[{"sig":"MEUCIEUE3F4NI4I8V4xEBYpuOCxQrBVQg34MebeL7cuNLnZNAiEAhzUNzWzQK0Y4rgOg0uNwy/rPpH322L0+PntQu3vuEYE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkrw+CRA9TVsSAnZWagAAxjAP/iOtxsbeqaOj6YjGFRP5\n2K3L5AiMg+vWdLRkNloaM2nHsZHeMomZ6NweJ5O4vM5JHrTGa3xsDPV9sXPF\nXeD63iAtbYkYd0ehrgGBU0pV/wEFRk0eCcHulOyhoFSa24csTMtj06SKsgje\nsWPrObnpMaFmLtmi+9tlA94R8nZSpF/DMABUAnBzermfxCr9Rwun8tS2s+AO\nLdT4shMNepmT5up0Xj7ydUCviYzARfAFi7NH8OWliVeNhExFrSilZ1jIhVmR\nvugA2WY/d7+qUIs03+rsHwd+sSHw42BwZ/1a4+tdqKinbpF/G2zsqa+BWueL\nkqDdjKQdlrIad3wGyxE4O4BtKs7LFwB7neVe8dQRZqPj8UbtJydnbWgohi7y\nQc8lnNhVsYU85cNOMnG5v1uxyjcKYWcSsibx69iHUxttOzs90yRbRXr/ppOr\nOdneXVxmrSN6tVv5DienqZVo5dlbCwjli0+bXtPtxajHgeE0QKBTmJoDuGWm\neWN95Nj9GALpvy/K2HIcxutB0jKB0KFYKWIA+0szPS6k3o54GD1CtqkkorL+\nmCR19irrwjkk+bEZnjHDB7xd9oY/US6+on51fR9c9gBTUrA5zyOXBKMVouQ8\nNwdCEsN0RLV9sONTr8d4O6sZUosyAisQ9vxEwyZR31D2HAdd5H1pHxUKZclW\nF7Mt\r\n=wgAR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a8da1318c7d6def284d469b4089bea00c996a1a2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^1.6.2","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.12_1620229182054_0.6046338900690369","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.13-renovate-catch-uncommitted-2-x-00f9c2a3fa7145949ead60e6c55cb87301805cfc":{"name":"@balena/jellyfish-assert","version":"1.1.13-renovate-catch-uncommitted-2-x-00f9c2a3fa7145949ead60e6c55cb87301805cfc","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.13-renovate-catch-uncommitted-2-x-00f9c2a3fa7145949ead60e6c55cb87301805cfc","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f5bd0469a4234b997def4898cfb6223953b03582","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.13-renovate-catch-uncommitted-2-x-00f9c2a3fa7145949ead60e6c55cb87301805cfc.tgz","fileCount":9,"integrity":"sha512-TOdBD4LZZ4JRB4XFSym7Euqkq5S7V/0ogK844vdDNHmtAck+bYdbJA73Ucn4amlUoOMFWHW8n8K4J0t2zvuiIQ==","signatures":[{"sig":"MEYCIQDOpJ3MsHmD05rJuWHSLbnokcJ7huQy5MfoWP+3HMAfagIhAOm8OV5+dnTnSSwizuPRkYo5UVdBhvBGWynEApRutIPH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkw0BCRA9TVsSAnZWagAAHa0QAKA96UjUgNbgbwmSI9nT\noHzkOFU6buaOyrhW81Zm86gleBvWmYQ6CryoXuqf1MA14oaMFpofPlbO57YW\nI0thxl7+2NtkvEi1dYkyfNni2EuYFRbD5nKp2ZZA5XsczdAO7PzPAG4BWbHW\nM/LI0/AsecYiFs8X+0lcotVAs3gYAGW6ii/aMz0CkCC+tBKvS1LIHAsc4acW\n6riEHyDaw8p/clP19Xp1sq8bHWxqG0SW6Kxzgi/kjWXCZ8LVnnjqTw3e6gUr\nfm3rf8/eHSVD+VwW7Ce/UpD3f0y0WFVL6wcHP/ATfIs1oLbnd0zcdcEBfn55\nmwqlYdiu29jGYIFQGyvyQcPKozTy1l8/PmiV4+KSo8gQtumPaIlxomHRxHp/\nYA5RSwk+WTpHjmqm/SbIrII3V4Gy53dohrBDnOJNW+8Qn0tLl2VLfL4OHBkM\nKsATnBpPbSkMQ3x/2cW/t7YFyWxoLI/gJhYs3ZVb8WCU2ZbELUCA5HVCw58x\na/msX8qbSDmzUDQ0w1VknjriqG0JEp0Mn6TCQbSnP2D5RUIrCdzgsHVkruCp\n2MsZf5Qa9u9fq1vsbOrcjWpGk6raSUOVN5w/hrjB5ypmvcykSMQ4Bbo+mdrq\nXNg12+P7rOcOUwUGBbOqmx/zA/k5ghLR7Y/a2tyUgKGFKPWNf9sCFEQdFLVM\n7JA5\r\n=MPtX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"00f9c2a3fa7145949ead60e6c55cb87301805cfc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.13-renovate-catch-uncommitted-2-x-00f9c2a3fa7145949ead60e6c55cb87301805cfc_1620249857147_0.18164483770529727","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.13":{"name":"@balena/jellyfish-assert","version":"1.1.13","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.13","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cebac944252cb246e3da677dc2942226fb1bdebe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.13.tgz","fileCount":9,"integrity":"sha512-ZDFxu+iCXB0JD7ZfmnRnmYrROMwH32ISPC0trmRn3GuVCW2sASgmsZuxKc66OyePYa0xfhpN9yBBEXWug1ALLg==","signatures":[{"sig":"MEQCIBcw4opbf+wwBe/KaQwWtgBpD9rsLFRPgos1iHEEQoToAiAIl5l/GRwDB2Wyk9A8cJyHzTObbHFsbjdTOu6GIiVcPw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkyMvCRA9TVsSAnZWagAAUsMQAJC7shk2wAhpRK3IVeoi\n50z9mD9N2PyCWLY/r4zUIhpZJzLTyegPSuxDrf5k+IfjIu6/lfWAOTjKYduK\n1e00CJFTC86H4a65qUTFX/IFj1+gucQ1sbPpO/0emYR59MIHRGJmHY+Ea/oE\nygBA9YC5otulbmOiZC46HOYYaOau87K3DNCXOM78I7P0nXWbaNrLjFlwsTgj\nYntT77qq3YS+S0RvZ3F2nnp4HRlhrRP5+SeNb721agWY/v5FZ33nbPctjjGB\nYqHDVHtnHJAn3PMMxsQnXqZajyrWiJq2/H8BwB46Er/h9e6ph0JKSDs0Kr38\nfftzQoGTkaGXuRfUxSOsGD54QRmpOwSyA/neLZvItYvWKOD7Rk/YX4QDXu97\nixt7fTuQhv0rCKVV5b2aBgzt+9LSX0DV0CZF53oyju+ZXHAbBQ+6nlpYX1Xe\nw4vmeeBOYjxnR4nEZVpuXfd8issoIh5AOIqQE252fmt2bm96ffUgPBeK4DT6\nQ6MlyuMn4BIZa5R2KjApielrOEyQhP9kzzRDL24acLl2aLUctVyc9bPYlQhW\nsYRVdTliiDi6qFHuanI1ZvVkHhW20vMLnWp8bLipKltNPZVhqaSkd3qiX1sK\nOHkq/9bSgfaVQ9Vsp2A8hgUVHqu1YdBMuAyy5mCwpADn1KXjhK8y3Kt0H09X\nxutA\r\n=2y2w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"405d5cd7da5ed5dedb2d4977e28b514f997ab222","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^10.5.4","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.13_1620255535246_0.3724803880622576","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.14-renovate-lint-staged-11-x-1b32a9385c86336b19f2c2254e77ce6a019d57a7":{"name":"@balena/jellyfish-assert","version":"1.1.14-renovate-lint-staged-11-x-1b32a9385c86336b19f2c2254e77ce6a019d57a7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.14-renovate-lint-staged-11-x-1b32a9385c86336b19f2c2254e77ce6a019d57a7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"628813e4d1b6df0d9d00f75ea5e0c6ef27c8adab","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.14-renovate-lint-staged-11-x-1b32a9385c86336b19f2c2254e77ce6a019d57a7.tgz","fileCount":9,"integrity":"sha512-c3NA6tdm3NoX9kdd23WP36VHX21dsZF9ln7KfQiqLzzg0HTtNVHzFvo4n2wBC5M8ubRwtvu08CbffDZyxvvWUA==","signatures":[{"sig":"MEYCIQDXdsPzM9h0iqJUNei4WssHIDbrKk8MdBheZnzdilXzKQIhANfcv/gX7hJruUrGVCp9XP7umvG+ns8yXOmgm1TXCnHA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglX7XCRA9TVsSAnZWagAA4F8P/Ak/gz/z15QaVspI0Mjl\nzvEXj4ODfdlxDa4vb4sK4Rpbr6vy9NIkzJx8nhUZ1k2KH1nZ32FOabm7GZzg\nSQtNMAVwWY6CJMYrcoh1+cD07mnr1pjAxc2DEYaXXw2kryOLtwgIB/qloY7W\nZJMmHVr3zViK66q0/DHp9fWS0nU1H0fqhjPLTJekDxsC9gM1oVn0AaylPwwx\nO/slK4IumyyrGs3fPzWX7WNQu82atGKqYgQR8IkJQJpHcRI2dM8wQYQGSaM6\nOHMOrNTMzNhKeOUuPu1oZfkM3ht71b8XuyXbeLM6txgyZhVL5JHeYMBoZkQM\nFf1p2zHmYdYR/MpWPSNo1Wd2b8ZUuwmV3wFwVQOtsKVIMs73vfy6YSSWG9mZ\npT9MgScBKVUkTlJmrmLYYf+eeX4XESI5nsw0espcAIk/HzkvGN7AISGiRRR2\nsSxeHI16R/lcnbTrG2eoo8sPU7CAbHAvIkd/BdyyF49RxZQGy+TnR/dhZ9WN\nislHwpiWObs809XISh53Gb4TOiYKvLiLdMFpdpAUNGrQ3lmyTuNuyIslX7Km\nZ5wV0uPgPBBRkbBUDIxmOa6YVVP9wFufedettu4sPDL6/8IeizRV2az8pBQ7\nJEu4+B4j0i8CPX+Ytn+Usf/wbCA5HQbLu2pvKOtBmNWhfEZ+ksEKgutZoE9q\nD04G\r\n=qAFk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1b32a9385c86336b19f2c2254e77ce6a019d57a7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.14-renovate-lint-staged-11-x-1b32a9385c86336b19f2c2254e77ce6a019d57a7_1620410071142_0.4759924937453972","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.14":{"name":"@balena/jellyfish-assert","version":"1.1.14","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.14","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0707e64a8e33a69ea1abaae7c42181840660a0fc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.14.tgz","fileCount":9,"integrity":"sha512-D24QV+o0VSUCstXlcrKdH/ULwRgi5w/+GKegtT8I91QJu0xtSwXIzYEXQclYnthd7lETpkYwZFFz/Jyh3enpsQ==","signatures":[{"sig":"MEUCIQC1OhciSBcIBy2i0fJ8XhdJsfTNKmcsp6hPmmi4kTaBsgIgNPirCdzdQH0F1Hqh5iieE+xtMF7+SJMWHDRgKzdaglc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgldScCRA9TVsSAnZWagAACnQP/1mkWae/qvwdBr3rg2it\niPwlsqaurzTd4j0LnrHWglgBKNcLlfjjFtOYcWG6acKjouhiZPep85yG2FtM\nufOI5J+69zojePl230OeGUZNWZTFqrneP4gCQQeDQHZNoGsRuNyfkbBDEprR\n+vW51Oc33CJuTBZ+ZNMW136/8Tt/w5ZbbNve50mQydFitg6SzUtMm9jRzLNl\nQGqu/t3JCo4KBRj2q+OvkEWyeLi5svWtguu5ew2Dc88zq78W6u3grmvYb0UD\n7G8OefN2ZL9IbAx50SyVYGNz1gv0GdRJmZmZQau3bvhYo0WDHq/6RICWkaT6\nXr03y9Y4u97PVsGyCQ58qrkYL0ds1JqPhSIK7457bINp/qUHF8NPo2HoGDYI\nB1nP6IvMTd2cM4SFItTNkt1VeHlFjd0w9ERd5ik2kqQJy/tHenbOBPTLM4Pf\nahuzSyvzTygWDSNeZB7Wq/2vb23Jp0YisdMsghuoluhAKbu3zvs9KE2reAOY\nmQxPJ12RBCM6BY1b3LFau/9WllNHPIm2pqzE+uL9CFn9Bjrwy0J9PynK6YKN\nowE1dAuBvpXGj1LfwkuNNtQaQDii7cVkRYqzqVLE93aHRNtPml0auq4sPm5w\nf0+FCgnG0n+YGPK3WwDnQ1wz7lgP+aQJEWnKnWTNQizE/iFC7U8AYiKUQsYl\nSdLq\r\n=VCg2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e7e5073d88b006742bb1f5edb2a0f84c5775a2c8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.14_1620432027788_0.146551370136899","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.14-dependabot-npm-and-yarn-hosted-git-info-2-8-9-20898f9749f54ca43ae9ef19753d0b2a08253c2e":{"name":"@balena/jellyfish-assert","version":"1.1.14-dependabot-npm-and-yarn-hosted-git-info-2-8-9-20898f9749f54ca43ae9ef19753d0b2a08253c2e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.14-dependabot-npm-and-yarn-hosted-git-info-2-8-9-20898f9749f54ca43ae9ef19753d0b2a08253c2e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"73dfc609f5c3f122227b1aa80e71864bc873bcdb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.14-dependabot-npm-and-yarn-hosted-git-info-2-8-9-20898f9749f54ca43ae9ef19753d0b2a08253c2e.tgz","fileCount":9,"integrity":"sha512-XB2PEG9ENDEXO8Ve7LohE0DBiYW5sUGsSbx0TrY5vgogXr5E+kmpSvXx8faH9HNONFKuKlN2rLbn/0tC5toy1w==","signatures":[{"sig":"MEYCIQCAEu14cEx3UpHKO/K6aZHJUW6/kb3m9S5oEYUSdDirGAIhANybKB60ssA0V7v+Q3lM/D1XkCw3AMK4NFLSgv4Mv8Iu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgldc1CRA9TVsSAnZWagAADukP/iMz2KPKfy4FO3hG3SO1\nsARSEwbzpdTH4LqCd2Y7op6RV0ArA8cULExFH5mUfgxlJ+VwF03ISeR5wQs9\njov7SlLi2wJ3QRGPCJM478vrB6vTiWqRyQkpgOBNtQEAs7CpyukjY27dodXU\ndClW1oBscrnYygS30OeC4SN9kMk2QgvJzH0uHyTdK29Abi6dsGyT3jY5N6OL\nbfIMrxpoovo6CrABts1cj3jU24m9tawtThXfr+kVIYlOz9RUl7HaaTM8fMAy\nJRy8llOysL6Eubu2lRPR/2wTzdp83NJywfx1/yATwMzH65CS0tZgq2YcKGiT\nUxcgCP4LXvTnkcb/wo6UUZ5dsIP62uuRGX7UHlFZe6+/nqwrrtIG9gq12sgH\n2BO9Uh4RdpataPTSotjSaNA66ks8gYZHB2UWArZO3ReDsxX7jlJ5rTeETyv5\nNLbgwcgvMPiC85sHDSk6q25lZM3+HboQYre2N37HDV0uU5E6QhkHwXiXmL9c\nXjfWQQsFnhTmYd/noS7hHIDd1R4TxwEstvOFw5mw2NVL8c81Q1WxQFEkzXvZ\nH32Zq/dERa143tLpL67yMo+2VjjcQ3/4uVyxwdFxOe8/pVKDmcbvJIeCcjmE\nlCicbjQfFrPGZyEb/zvh4cbmyTFB4Mhu3g50Is7HT6Nqt4qTWIf9ocHKmTaw\n+uhH\r\n=j/DM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"20898f9749f54ca43ae9ef19753d0b2a08253c2e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.14-dependabot-npm-and-yarn-hosted-git-info-2-8-9-20898f9749f54ca43ae9ef19753d0b2a08253c2e_1620432693366_0.11442368594709063","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.15-dependabot-npm-and-yarn-hosted-git-info-2-8-9-d9cb99617c936668e14c7060c3e6da2c1dbb5e95":{"name":"@balena/jellyfish-assert","version":"1.1.15-dependabot-npm-and-yarn-hosted-git-info-2-8-9-d9cb99617c936668e14c7060c3e6da2c1dbb5e95","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.15-dependabot-npm-and-yarn-hosted-git-info-2-8-9-d9cb99617c936668e14c7060c3e6da2c1dbb5e95","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"71f48bc70d8a886786dd2c78ed5025d729659c0c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.15-dependabot-npm-and-yarn-hosted-git-info-2-8-9-d9cb99617c936668e14c7060c3e6da2c1dbb5e95.tgz","fileCount":9,"integrity":"sha512-6arOjLTMSj27pmSuku606gRoZr7TTv2Yu4lnTQnSrniYruybXXj+/bJwFb1xJKy+eHbiuvUN0Gb1vrFqub831A==","signatures":[{"sig":"MEYCIQDFnsAStvpQkA18wA/UzgLlybC6pQh0N0Sudh4qd2zHgwIhANgB3HdcuprKpqQiwlc0osDzRlfo2DfN0wfMKL+sWc0N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglgFHCRA9TVsSAnZWagAAMAEP/2+e/N10HIa89lJEZdFp\nJUX97RSzfSDRpFcs/WbiXK5LSJ1wWEjUb+m/OkkkfEv37q0RWeMnhZAk5dDH\n/fXIdL7cLVPqs5+id7cjscG4F+CLSnCFZdx/iNlSx5+u2woAR242YUFCRyy4\nSjkLTLOI3KyEt6ePQdnYhmHap11ufYHtOyAd9WCTJ1H3jI60npLLt1Zeu28d\n/Ssvy3BcxVmTZJLYXkGiJmuyWgLkAbia430eZ+01tPRANBDiGq9c3kNunP7N\n+6ilfcRXYy1QW80UW9pl11n3/dKKjnbMbvBq4SKvj4Va0v3W032R2yDO/p9u\n1JT2Hk3MyIRcIE4J3U00Au6wUckZbvxHE3C1kTWWC7YOXknoAmkSMj6PXVgW\nfQqRzgIUL6iIELnUuYb0XxdUoFgO2+2WAYWXl7OPy3+LkEpK7ORlGJK9C59y\na3SI4lc2e7owTnvKc0iB0bJ0SOVCXbfLZ4KuuIkeqnQFCIGWYEb/FrVSiRqt\nbr8M9dBnXLZiCiwi77UFyvoAyWLE7RqnMJNXBbB4tw3/G/AokIj+MNiZ93jO\n09ecQ5ua3Bv3IBB67fOs6QNOIbidhMZkPnaiLU8u4F/JLW34HYI75zclMfDX\njFnzxw5sNmD8d8rOORvLokuIcRR5OPU7rlD7T9vnov53MkXJFYqcWltp5Y/X\nLCam\r\n=CFXD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d9cb99617c936668e14c7060c3e6da2c1dbb5e95","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.15-dependabot-npm-and-yarn-hosted-git-info-2-8-9-d9cb99617c936668e14c7060c3e6da2c1dbb5e95_1620443463140_0.7196469815214204","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.15":{"name":"@balena/jellyfish-assert","version":"1.1.15","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.15","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f5e813ae46efcfd1a0f0ff8005233611a721c510","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.15.tgz","fileCount":9,"integrity":"sha512-Ggp2BCJXlh6sB6oa/PlDGaWZA5Y4hStdU2M4Wi3yD9LhF+vTcqo2BoZdYPL/rswDJmcZZlPXhIt+EhxAjZVKyg==","signatures":[{"sig":"MEQCIEiP0idzaM/QqxpWix5KOC7vertIcuYpa78sLenGn2F9AiBMGSX2aTd1OQTWQpwxkOGjBAuvswmVHb+Ngat9UZEemQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglgJlCRA9TVsSAnZWagAAdxIP/ijTDKabFpAG3VFMO9aQ\nwp2K6LlDkQRnZVRJs2qpzHYIZoRHwpQYurslLX1wOoj8bdO0qdwiYCGAmx/j\ngdQegSHemiWueq3i+2AjrR4Np9LgBGryz+9kXmju5zWwsxsed1yRoHV123H6\nDW02K6QmRsDjRJHMyRPzo50eOgwwZKVGmKK6gkv41xbsswFuj4vAXyGNzoDV\nRdcd+TEy8TEE9jR0rfrnyGx7dPcCDCKowoniZkwwdBFnQhYA8L5A0eX+AbOL\nsnHRMNLfzc+DRUY+FoWsLeNEKDpHk0nYGQx09/l8L0stDGHs1WUxp5eCCpwJ\n2pa1fLT8551YSIxA06J6snulruSwt49V/R5fPxHpiur3PIeUXj5bdoH6C/Lm\nP6TP1+USdX4JdPDCGyQciNLDcobM1tDdG12rL9X3aOHtaDYbsnUYzxs2a0nT\n45FR+4y45ebvkYWObIhzYFkGqd67ZiY1jrtFtCoEpl0cQwWoTtSWe9auubsb\nggowRKjlp1p16rWt9iimUmmeVGYlFGYsuc//yAYKGKi1yqqPBIKuuK4Go8Qs\nZ17Rrr0gGP4a8CszSktNMyNAjDGs5N9iTlbOjIik7i2dhaVXuwaHEXehO622\nVjN4zw+FS9y2qQs+lsT3REoiFSL0oJmr4iXyn13QDYhkGI4HjKgWIlfP0V6D\nBdSu\r\n=k1Jp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f1e3a705b10d80a71398542db8cb4c0a8ce2c927","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.0","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.15_1620443748879_0.7087597862307684","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.16-renovate-non-major-0f55d4d2e92a97aa9fbc200408a5ab1d4cbc279c":{"name":"@balena/jellyfish-assert","version":"1.1.16-renovate-non-major-0f55d4d2e92a97aa9fbc200408a5ab1d4cbc279c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.16-renovate-non-major-0f55d4d2e92a97aa9fbc200408a5ab1d4cbc279c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"85bf1023f2656ceafadb3a362840ffd64a51ed4a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.16-renovate-non-major-0f55d4d2e92a97aa9fbc200408a5ab1d4cbc279c.tgz","fileCount":9,"integrity":"sha512-g0VDGUiEv+WgntX4VDNpzyi9jrfAoXK2XVre1MbxiIyIVm6RG4raD3MQoQuTpjQIs+U4BdSfYD6DAw4Wmf5/oQ==","signatures":[{"sig":"MEQCIE51ikGfbUmlkUckCPCeQrOyLMvPS4LfgvpJnG8iDMHTAiBmpuuK75V9Wh85l5lMv9T837nGfuBSpxCQzBNJ0d4JYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmjsjCRA9TVsSAnZWagAAkS0P/jUwFRLPAealcX88t9uX\nKhAMg3SEnx8L3Jey1UBr10rh1U5Zz/0NfBmC5KUacUdsxUqtvIJ+3oVJFbhx\nY+mVM7X6Uk0BtJ2RQxBW8rOof3xmpSFIYQSA3121UpYiK8K9qigdiU97YGik\nYFilC9FqgE5y829Sszu492CGhNoQcfWsgCOb988wrama2MnXKb51lD0tuF+K\nK+zqmx784mzS/bY7pJsqIz0UqKPwGrZiS55ZSdTTJGohHuINE7cOfoUJNCh0\n85JvZxEl6r4BzdJ8fyQfsGxN8IqwTf3n+Drd+1ysqWkqAXw+BToeygL5j+9T\nE8ZOUu7tGELTA4ugC/mkAmpCLpYqtml8SZEsxInZvuVJYZLyEbhVo0hz5m2S\nn37gWC8Wet7CKECf2BNzEv4zNZVM7udbk5bSwxdmrTx8Kgn3Y5GthPHZ5qIm\nH90E3zYkvSQpKsHy0YZUDibCCWfsVOesYTv9Xy0fnyIWSb7JG6SUPP/froJH\ni4330KOhp6SIfwBXV4R4IRAA55DxXUYof8y9/sCXrKOJgaLr3bfN7LrsvWoV\nCz8e1GwzpFg5F53wl2EEJGGLk6OeVuVsLawOCSON5RCKIgCKweJ9PLvx5CqU\nUkH45Wm/F7EiqTzJvxuqPCFdEqA6dI16dNJo0y4AnAHveUrNsd65NTnjhKEF\nqvS5\r\n=fywP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0f55d4d2e92a97aa9fbc200408a5ab1d4cbc279c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.16-renovate-non-major-0f55d4d2e92a97aa9fbc200408a5ab1d4cbc279c_1620720418661_0.8618086491571189","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.16":{"name":"@balena/jellyfish-assert","version":"1.1.16","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.16","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6929fb2a400caee5723c9e77212fb6e039d60f12","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.16.tgz","fileCount":9,"integrity":"sha512-0jByHuHGrA7sDagUBId/oWwPY9HV+FHXxtsY5gF6e9UMWM2j+0AfouGlFTWBczdoALajyDlmQh4FIBTIlckblQ==","signatures":[{"sig":"MEYCIQCS55zHFVUiJXdQDqBxXn7qd99B9Lmm/X80kfdAR/dXhgIhAI+p6w2eS0v1EGRz8M/KhVxntwKawK+CDs9LwAcmS7ZW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmjwlCRA9TVsSAnZWagAA+5MP/jQAqTmTVFwNqtUUGEAE\nDdFA4+OPi/ZKX5fs2nyfRon3/Ech9nwt2R/6tGSo4J94hHF1uwHo4u4hX9cq\nWgzttPTBhltcpFeLw9dXSozuBg9xzZgWU2TfF+XhZ1lHv8iBrWpnCOLHrjVJ\nhRk0qwfqRY3KsGpz9Q2jkvGdlumm3qjaPLdvlILhSpTViFUWtrPF1pt02VOu\nWjpqTQs3LZGsCvMj8vBcRcMN/U41s7jjoEMaY4vHKNAIMIKJWgFOcyxIETmW\n+3QxcLyupShb56vsUUf/hLyoinPudG+GbZcDIMkrzbGWl1ooJq/8S+HKJsY6\njHRIjAsHhf6z+4J1rfcTVkzvy54J/xwtSUZHITCIqoV0ytRkH95ZHG5gTyd/\nPzvRiGWxyW6cdovYV/3AyDMFqQwlaP/v7yBYlTna1mIZHa+XDVQ0YWqySw5D\nlJNUSLxbgkeisrFpYmXgiQtlr9F98VBzOoG6GzeodFLF4ou0DMTgRi0JAG7u\nrcOeprnq5Q+DZSdLKd0m5Vx28X/A3AxtEBIPZ1Uuju4V47Mre2mQkCyg/8JD\n/9ZnIwwuoFzvxV72zEzuII7ThLP2RzTJzXVfShycO7JVkPqlbEqPaoAjkBAx\nZD4AA19KF3HFhGVUVssRwTgghva/TFK1Aua6tSiAMvLOw3Sqyre8fu1A8CuR\nN9T6\r\n=MxJA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"15de78caf7326040abebd3bd4a2f6287366740e0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.168","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.16_1620720676729_0.1819968558734415","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.17-renovate-non-major-6cfdae2231b54c9f63d03cddd7033d953b05211e":{"name":"@balena/jellyfish-assert","version":"1.1.17-renovate-non-major-6cfdae2231b54c9f63d03cddd7033d953b05211e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.17-renovate-non-major-6cfdae2231b54c9f63d03cddd7033d953b05211e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1051fcfc91f16572300ec35d86675f50408db1cd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.17-renovate-non-major-6cfdae2231b54c9f63d03cddd7033d953b05211e.tgz","fileCount":9,"integrity":"sha512-gBC9931gTXWvLSihTKJbG8wcNrf3tTIZmCTryBwLcLWbOaSw4aQWXZIxYtgc1VTM0FUUdOQgMJI/LnZoiAIpuQ==","signatures":[{"sig":"MEUCIDqRVCCkCDbP1DBNeXN923XAq16Bz75Urt+AmBNp3mktAiEAk1fR1Ss8xEcIZWpdwMolxCL55oqbCROn5G3hQ0+ENGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgm5GfCRA9TVsSAnZWagAAHUwP/j0Jxz5llZ+Pl+LWMPOj\nwmEtngEnU+pMq9jAnqBojUtkYfPT3lPMlwgZAVauqVbbHNZ1RkjE1CYugw+M\nIHx1UyQFj/24hYEgvB6fnDOO7eSld1DPw/34Nbin//ULTgpKCU5SwDXEISIA\nP0VR1fDeNJETCd7WSwfeT/IQ595tWs4VAmypN1TBfhELhIXgafgD2aujKvOp\nk4YjYHw4WQutHpP0pYJxlHwQJlzpz6UjaDotF2hFeGIOfsVEgGUIDMH+fF4p\nm+lVO+pzQwZQd+n58Ts3dRMnpTvBoS/u4zQWSWRqyQQ+TwVK0XEMGvlxpq3c\nBsvpdkDUh34IiZuiW6ux8NTrE37sSY2DNZZcR791it5RzM699K/KR12llD91\nA/o7W/XiG+Nb4M2NkhpHcapJX9NJHv8LZYn/bcU94RJl5UmRN+H58xAikfEK\nUTq+JeWSJHy3xWlME3Z9ficCqZ+DycaMUusjJgfZaZrMnV2Lp8RFQt5gyx3G\nsZ1B7G23FelkRzEvg3DzzSW/gSJFRWnsSJTcTVSPz1e4SBUWg51IwoJX+P3e\nsQ95b1w/nZFfYicToIaXerem6hkPO+kxOaJgAWgmf5046egIOTl8oAGk9SDY\ni9yMrkng100C6aG5pzMi8eJWXkGFjqQ4sbcZmycIkzd6d6hv4qhgbXKXDwB4\nlZkq\r\n=uojZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6cfdae2231b54c9f63d03cddd7033d953b05211e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.17-renovate-non-major-6cfdae2231b54c9f63d03cddd7033d953b05211e_1620808095428_0.9064961666654496","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.17":{"name":"@balena/jellyfish-assert","version":"1.1.17","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.17","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5ab3f5da7980638cad614f32203e5906b1185eab","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.17.tgz","fileCount":9,"integrity":"sha512-psUts9IYOL55vpthps8C3iwyhVROUJU+5KpZNOVbORfjhMYZQgsQoiJ6J0jnUJl+YzJfPaWk6jz6v1qUJYbaEQ==","signatures":[{"sig":"MEQCIBJoPoZY4u3CtNcnSV39wGYgnsHPNSdaTxHJGM1uutgwAiB9WdCwrt0bvjdFhNIy++hkYlDrZIhb3d9d8bQbhS+bLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgm5KgCRA9TVsSAnZWagAAn84P+gI8CKE9ZRVCgdntG6sy\nHeu1xxLXY0ZQbJQdDAFWmmepRyPAfI2RmePH+69pc/B6+jJf3iz5axHRPngc\nSzAXYuygSoePPA2xZ3MIctaiMj5guYao/eHJH1JecwqMMfY9j4BLZn37D94x\nDtf6GzBoq4IOqoREauvk9sLLYDpebxDboh6iebc9DQ/1LMUCDkrBgFLZIkyS\nEBw9DHY0PvJxvs4k3T0hPCpNTguIUOxeGWtKDeHyeBhauqZIBoYz9+O61Buu\nOBdjXK7TtCTCwOkPEgCRn6NoiaZpEGLwAQBVZaN7xQjbuya7O50EsTDCx2vV\nCi9+p5OelzxD/FgCqz4K8o73b+rjX/jC3qmM6Ca1zv3EGqD1Up+/wjJVNVU2\nrxttVCg2YH+ngwEZDhbu4+PmbCDls8Hhi+7pWScTtBWjy+AWdKgv5+Hi3phL\n2+mW1AnpAHHfb0gb/iVxvcO7h1lS99dd2Z2cM2lAk1FlAPMNHHhJtM7lGTyb\nelhuW8KNQGMUUwVzdLkCvikrR0JYwJLEJ9sGHQj0hq5ZCZh9uMTpqDSAH0av\n7DFYNQGG0vsZWTG8N97Hcj5fgl/t7mElV9d6xubUUCgordRHVf+kJgHZudzL\nfDfObiVtLGYG79WYt+PQbPntHkwPuSz84k0t6qk3mS/h5mdPTQyoqfoTbJJl\neGZW\r\n=0DBN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f929028c0834060e96f40bca71160b8c6dea068b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.17_1620808351919_0.8834815229355937","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.18-use-jellyfish-config-09734a9fbd1eb7f32808a25ebf7a59e2848359c0":{"name":"@balena/jellyfish-assert","version":"1.1.18-use-jellyfish-config-09734a9fbd1eb7f32808a25ebf7a59e2848359c0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.18-use-jellyfish-config-09734a9fbd1eb7f32808a25ebf7a59e2848359c0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"14d766f2514247896156a33e760fcca95e748ea6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.18-use-jellyfish-config-09734a9fbd1eb7f32808a25ebf7a59e2848359c0.tgz","fileCount":9,"integrity":"sha512-HYeXH1v73bPlMVwvjWee2Ly3IV4c+/TT8OVWmG7dUVVgSVsv1gA50D1lcCp0XKf/FN3o6/uxdoZR89hMfuf46w==","signatures":[{"sig":"MEUCIHFsUP9m3fXdfcxyPsNx/kFHxxE22/MedaYNhm6Ld9R5AiEAn0MF2yypaVsH1TQXOBZxBc8bmky9tk0Zg22UgRD/1Vs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20391,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp07sCRA9TVsSAnZWagAAvS4QAKI8Ih7SO8nbjWsoDLgc\nTuqbw/b8Eil1hC5WcWevOnya7kDfu+33L1PqTUFoQknEuVz+YSt+eWjyOba6\nWcUGrpOPKqis3c4K1rr+cMxV6knugv2sVYsOJWlT7vei0BcLfLNBsCwABnhQ\n25f/Bv090lan8dIrNss3HFmdd18Zpq9fEqOCeY+ie2aXmmvncIZhcEL2OZ8o\nH5vEiAjlPwSIULZd9x+YA0UWRw/2Fe6No8MY15PvNpikO+ELVj29x6bPsZaj\n+HTqt5P65mThM5sVSDv9K5IMwgMloJ0UrhZDGaW9MdQsgPI1wa1bYxCwIBS5\nprPaBF12B749Xlhy86IzjuppDk6rmOfuGanR/uyHo506aDuXA9UEnQz2kAFC\nEVGpcaur+g402LMnV+aJ///VpbIBhr5gI3UYIxUPy5b24RrtC0Mek8OLfUBM\nWUlnEZTPSkqhuat8R+QjeUjeXYTyBqt8UzIdJdYinzSmcO5edcpT38ACrbPH\nl3pMuAozjYwkmeUP0uTv4rr57dp/KfPGmGBRq9re86u8t5kuk187BcIFkKRZ\nH9ItNZZEoBp12zmKlyPwWqZ0H7XBFF6D6LarT/LWy/6saF3t7LKkZg2902I5\n9gS8G0nLmI5rVMdRO0lh/EvBGMf4NyzZKgZrmW4JYi/ZYATa3fxvfrhqmkCo\nDm9A\r\n=zIj4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"09734a9fbd1eb7f32808a25ebf7a59e2848359c0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.18-use-jellyfish-config-09734a9fbd1eb7f32808a25ebf7a59e2848359c0_1621577452547_0.6162507098196044","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.18":{"name":"@balena/jellyfish-assert","version":"1.1.18","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.18","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ceb24624fb16eb1902253f84555de8aafd3a366d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.18.tgz","fileCount":9,"integrity":"sha512-bhk9UQl+SWbjw9pzs23CIiYq7tKKjJO5Dk2aS4IFT8UWGSgLHuZuA9nAyfA0STj6cTdMAjpePph6EuYEfOacTQ==","signatures":[{"sig":"MEYCIQCTGNwgwBYlFABDQ7T7ptcWrZYtLS2zLrV2Ycx+pPYeJQIhAKvZuYLN2jQ2NMRyD2aU/OhsWeNoTAhf3T4NahyKRRPl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp17DCRA9TVsSAnZWagAAcqYP/3qOMl3W59aUzsidjteb\nzgUaoFOPAx169UVfTlxJMNOYuWt6kKczs0J1GMOrBXXC799PA9EBrUBljX/m\nv/L3/IOl9VExcaReWSQhuTpnNMZmrIp4neCQisjz4P450JPBmUXz8SDwtDoM\nIfa8DRHZxrf1TvMzHZ+mW/iTPO197xpJurpulirLLmmiPlNzFWyQmME+NoLF\nqf21e7eQrPdafVSrAn5bmzebIGvbEmEpgoHqZPE86bMBqyUKzGCGBFBC+qoF\nuiaGwNtRvYz0X3myjU5Kg4AM0SDaTHZSrvmQ5RwWcMGFkGYpfWe3LYiHWLMl\nunoUdNGevDXO88lOBq0MN9rIdwcC3IjjcGNYmtYW5/d0/7lmojtP4XkbuLLC\n8JQvk0513E+kosLaDhsTdMF+OYP6XhCltSUiwoJAPT9J6UdV2J6jDDZ4wmgU\nYOJe4avmsvtHR1+f/gTINzIg3aw3xQB806qoDo61Cc+4LXUmzCMsiVREVbsv\nMIypJINKKbOJTw98rEdfUGmvWloBfrYmCV6b7HnIXWMIs50MUZOspUbb9f4n\n++v2W6XO4VxUIbTsMteSw4WPwt1Tue/TSDvm5C3PZ+PvXhK3n1Ux2ue1rh//\nrfqLILeuC624wQ8aucF+Pi/7+yzN7jP0ybgRLiysFDfDX1NhCL8p//Bh6g2B\ngc7s\r\n=zWqh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0c1d48fb9dac25cfe78938600ade6e04d8ca60b3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.18_1621581506833_0.8125720352703663","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.19-use-external-workflow-action-4a8d4beb8331af7652b2504270ead09c154ad0d7":{"name":"@balena/jellyfish-assert","version":"1.1.19-use-external-workflow-action-4a8d4beb8331af7652b2504270ead09c154ad0d7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.19-use-external-workflow-action-4a8d4beb8331af7652b2504270ead09c154ad0d7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"019551e66d7026cc108b037cea5ea2717da9a6c2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.19-use-external-workflow-action-4a8d4beb8331af7652b2504270ead09c154ad0d7.tgz","fileCount":9,"integrity":"sha512-VcU+X8GXfwT9DKNRaMKU69gpRFTGYaLHv0aK4d1dnnEO2/GQS+a1Ua/HnYTPIE2fuFO5NkjN8/Lv6eq9iv96cw==","signatures":[{"sig":"MEYCIQDLSv+EoUkKB8GEnKabeEI+ZQX1aW7yYUoOBTaZsbOINAIhAM177vVpS+CsgqG8w5Dpj9H+1gonleFzwGNsYCdKYgQy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp2ljCRA9TVsSAnZWagAAacwP/16Wm54DQonifby0mDIQ\nn7IZ3gq/ZGIarrsoJBKGD2UCM8PmeUaS80k9S4WNDSeMkaqkDuFwLX06COv5\nDqwdQeXW+DzzqiwBlpOMNv5bFl+JGmbpMHDdkVsYguspsV0OjBXoHmPhVNre\nRwQ/YxbRbIMISIV8ax7JHDj2LvZxBUGKMUfNhacia132lZkXmaTC5ADQwomm\nqV/4PLeIOa9aGgc0bTH8xByOUSZgCq5MS8dljvFwsakLxArWZEzuAecfEvwE\nwM9yF//+mjkq/qCa1mjw7lGl0zVi8n1fn2XFYgHs7m4bK8VELkpTGprfg7Tz\nrBVbYFwvkCjZ44HMc4wLGnHxdNC5Wvjv5jx7LKwMTtc/og25lo6g0bYBGjxE\ntnjM6jfiDPOHAk2YQbDMyvUjiruGmWb3wjCI5uei4Ml+woP74acdqLTmKhGV\ncNQh0o5jTMq2tmE8xMXnbGXNFFidpTlsS2fkbfM9gm2RiPMMUew5cCoPTEQm\nEndz6eAA2RodhxgpOw7Ke1o0Kc+0chcXLKRe260gUjW7m1+Qrq02gdfvuKmq\nc30waAHMsaqRNzMVez6OC6l76sns79f8YVqc2/ZisWZ6uAAtfHWvrtwbB3SD\nBlut9wl/Io78Flp//cdn4Rthw2wz2RyQEdtgtVPIr0ZYrpx+kcStwhjkEocr\nNvGg\r\n=rVSd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4a8d4beb8331af7652b2504270ead09c154ad0d7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.19-use-external-workflow-action-4a8d4beb8331af7652b2504270ead09c154ad0d7_1621584227281_0.6905589839875708","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.19":{"name":"@balena/jellyfish-assert","version":"1.1.19","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.19","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"426727c1d71e518b7b1d63beb65e6c05523a97b0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.19.tgz","fileCount":9,"integrity":"sha512-sCGYLZC+Vty/VWVz861cp7QZDfC8aaHxpoO9/jmHUVV7yaG0OUBWa77IG1SOmF9fPBwJ8uLecrAnMk5NYd2zDA==","signatures":[{"sig":"MEYCIQCC4eDvSjz8Cz40RVS3YAPVmskIVxETy6xpfFQKxCLXqgIhAPd/v+cP/T2ztNbHZq6OhRyo/BSHVFusV4vspYGP893B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp2oKCRA9TVsSAnZWagAAxagP/2gsBvG/Npl/zrLuPJOU\nV6hhFyT9AZvTh0meZKE4qdMWmAa01cqnLLIoL72ba5bFgvR+62EaxuX6d9VU\nShpqS3OKLRH+4vqS3mzTleWpIUo1ghN2CqhyZ3szCWuLHK5CBcxsmbBDNx0I\nXtiYtoz0jkfNhqNGBZpMkxfi2j8Upy5h6SrII5nrOdG+ld6eV8nr7vDWaK2K\nnJxXBhmrVISDMlyfvKeeFEdHVidngCO0O5DrQF9I4roDRIUbuHMQCWqlNBZv\nKOknZWovItgrVTe6EIh3g00S6SR6hYxemv6p8f+Y59gzBdWSzgUosr3gA80o\n80UClHpy+teWOJd1pOkWupt/u06MptfroOZxMdY41W+zYwLallUv/5P0mcnV\nh1qcTY0+AsfCplBM5hPA99gKZqv6q6NoKpnA42i5xNNFRutfuRkFH9Z40LQb\nhEznWuwgTULBKdpUhQfFCOe+p8K1wHLhcNuV6XxVdgcZ+26JimWweetpfDV4\njD5HO/61++MThVv1P26ZyWrDL2r/CZeERa6Qk3+LPhpJ76g3I1OKNTcCMzJ8\nHsJHeGO65icC1wHsW8SCqj9FmbV5itvVAwr9fM7eqb9I9XmxNMnlNL5HjXRs\n+GKNCfrt62xq24rtdxY4an1MkuH+V+TIYMRkSF6rnEcKblNSrWucLV+Du8RZ\nBXdi\r\n=bvgc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"63f0ecc9a9984cd40b29e96cdbdf48d0e212280c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.19_1621584394300_0.9311796763483386","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.20-revert-workflow-change-e4017e7c7c50353beafa2f1a4f596c33703bd858":{"name":"@balena/jellyfish-assert","version":"1.1.20-revert-workflow-change-e4017e7c7c50353beafa2f1a4f596c33703bd858","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.20-revert-workflow-change-e4017e7c7c50353beafa2f1a4f596c33703bd858","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1177e4f48487efc772f0b46f4363ea55261300e3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.20-revert-workflow-change-e4017e7c7c50353beafa2f1a4f596c33703bd858.tgz","fileCount":9,"integrity":"sha512-zFGDuee8clUN8wnT8i80/RhCtKx/fv2zPoMg5wgijiYUzvDO0m8MBKDy9P0KjjKW1+C40OlEDCNwqNdIn3FZZw==","signatures":[{"sig":"MEYCIQCi0KlONVMGLK1fc16l5UsX5RW04Sx8t0ntJgmvFw8mdQIhAIdpPeKFnDAvsUbFD0jHuM5tvB1VpxR39xgBQokqpImI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp2/gCRA9TVsSAnZWagAANpQP/0CcZ53y6rJcsCbkM+Yd\n1NdRqJ1DwQpeIEyonhuCyINgTQgc+KzSLwf++NrCkd0aHs1zdz5jX+YAzF6f\nr4SmCfQqQbI3Smd9gLjlFQRxbVAPIXO667BmQwokiGF8+QfjxM4JhEMn1f59\nzEnJ+NktcNF4wUpv5yrvXBH812DEmdXGvvZqyvPb6s+CZTvH+R3uu6mMGRfo\nISYzJAeAfjMIyb8scpgYJeL9I4JgXBcyAAGXb/ohTyW+liPj8h45fwEjbiBr\nKpnmpdylAYggjg8CmYtIo4Qw2ZUBWIBeFX436xij00mD9YvUzlm6Kp1fUtFB\n/3m5EGQvxibn1snbRZQKfTtEzgzz+eYsq4b9PIcp9U/U6s7T6sH6nVQpglTx\nYlLDOedSYVkFE3FnqEXeJHu/MEAa9e3/Mq35ZcoFFRJwCCKJciLyyCtQlWh9\n30al59nkZxTKFAl3omZ9MBg+i6A7+OuwrJbphuFV2ck++5SsxIKm/EjnObV+\nGVz9pp/h5TsEFSZw40dcu0q8YgP2PLH3StougPD80M7v0NGWt+eE2OwK1tzm\nfVmWwo0ruHU4E9UAjfL7P3s/rKwzzZMzNwNCuL2qBFvsHjov3GJIDN6n0UJJ\nP5SEj/Ojuw9acWR4Zdjg2gnbdqV1Eb5YSv9Zqq4izeDS2/qjiq6MGUKkQv2k\n7Wvr\r\n=ACUS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e4017e7c7c50353beafa2f1a4f596c33703bd858","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.20-revert-workflow-change-e4017e7c7c50353beafa2f1a4f596c33703bd858_1621585888509_0.2745037999083242","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.20":{"name":"@balena/jellyfish-assert","version":"1.1.20","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.20","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c5743efc7c583ed6696ea6f9432435339cefff96","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.20.tgz","fileCount":9,"integrity":"sha512-tZSNejaSs2ARso0m7zuTK8knixS2lDils/h417BIb6BLSHWhAVkoQckWxHqJNpXtkUP8MEjiGCviyGv4AEgwuw==","signatures":[{"sig":"MEQCICgw/gR6RfpAiHd65NHqT/LXuEaLY5abDRCitx/ZQKbmAiAJOyVZAtKH+l0gzMMC4UgcYIUhmZM9wiupR1qGSomz5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp3CpCRA9TVsSAnZWagAAQ2EP/AzUmNjqO4Ge1T+s5FIn\nK8CVbaTks5vd4dOSzIvHcWKl/5/GTQC7B677fJURD3uZi/1/BCCEwqHRDYGZ\nKoxGIJZuXhShxrUQ67fw6CgoxRNe0ar9rz1l4RHG5aO9LNlZz9s6I0pWEz9s\nlDmd2XehCoT/j8w0ebmNFM1Wjmi8r9bhd5k6mvyrSim9kCj2PjmwjQpkxyVY\nuo2bf8HdvzbUsU5zkxGADjgaHYHE5OBSy2zkuK2sbThtYjOylml/AFxZc6K4\nX0oL9YM1UPWL1O9Jz3OxI2BA8KGuvuteGxpHmloLj3H3V7oxdx6z/m8iT1B8\nb7GVdRIYBnoBmJiRbIg0ESP2V+5PLh+iEVw6AswYNxM2NaYpT9RQSDZScqGU\ni3IAXUT/VEJ1SnJK1a/mcT3bYFgfpEyOAzj4Zq3RXCzf6XiKxm+mVK+mGnk8\nTUQctW+RDaxGYZEfnzvB0V1n+Qjxn15Iz21NpF/nLo4Qs8umHrCWX0XKgLda\nadHMlzByu+HSXiNUM0oY7H/KqVio/hrxKH4jb5Hw7fu7PMBoTBBqE2fSXhEg\ns8eIsCpxvNnx+cSEX/7IzaFpsiXZ/GNKRGFfeIdw62dhFrmf0W//R2XCddmh\nkEtweofoPeomt/9xJC5hPGR5carCCRanEgyKeqTPXW7W3IeGEYwB9WnVoU/v\niOKR\r\n=i5mv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"79c240ab93d0705735ad8e63975bd461a89187b9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.20_1621586089036_0.9954476656612574","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.21-renovate-internal-non-major-bc81fe76bc5d1d4db63708a590f9311228be4933":{"name":"@balena/jellyfish-assert","version":"1.1.21-renovate-internal-non-major-bc81fe76bc5d1d4db63708a590f9311228be4933","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.21-renovate-internal-non-major-bc81fe76bc5d1d4db63708a590f9311228be4933","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"be5fe49609d9ebe75c4b939b7b5e753f81234e46","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.21-renovate-internal-non-major-bc81fe76bc5d1d4db63708a590f9311228be4933.tgz","fileCount":9,"integrity":"sha512-f07InHGoYOigWLg34bB+KpDD2XAhwW6k94TLw4DaYag1zJ4vIgcsLIHU4LUM7VETVlczrIyGx/CvANIffD4k2g==","signatures":[{"sig":"MEYCIQCyXzwkSGF9t23QyMO5egbEr/98u4a/QNv4nObgrow/aAIhAMhD/rqNPFtqf6UAJmMUSofqsYVH/iIFK7DbI8aEMmm1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp4suCRA9TVsSAnZWagAAxJwP/R7X3DAZvJnzxnhhz+Ge\nZQPaWVq+7gMZbSCqYahCJRS1TvNVSk/2DsbGne9SyPExMpeljD4AuuR6VIET\npLIhd6Hwr9nb+zqyMqiPr0VJ2YcsenzO27u5SAPH/Zcm1EIghzlLknxE1FxK\nPmKye1XNh7AZ9dG6pn/Kqyk2K/h2mI9c+dEkhZplBycNF+qJArldQoEvQ84g\nxHQYb5VIwPt8Ll3m5IT42ADJAOC0n2eihV0owzFO6ZLimOtGB8zKhDIDFlnz\nPyClkGSfkZChtmDLdlmSTsdLc28mlMlnnii7mVLmopgLK4XaibKVkHNZGVOg\nANwM79TpzPThlWXFOkCe09JjQBULGyc3CGEKpOLllnoz/oPtBY+Gr1ZjlKvB\nOcF/FqflarCNogfFCi9j5IWAFicCQ0nriHoCUed3CkgrkCR+hGStkNavwUZO\nqxdBitpDXFqj3Kj7q+C5OVkkkcxETbGbxSI8K2D/6sdfzZvU+YM7tKKIpTZA\nEw+okAcneHOk0q7L761M6rx5Oc7A44ZIUVdVGA8PVIWA7PEdaica7bLLFLSB\nABsl+MVM5BbEIPL+QzFvAdN/2yFFy9nt+L+uAHb3V62L0SlAcGAToI9kfB+r\n4dRRgOquC3qQp7tRrsHpsxDSaVzKtPC+IBTZXh5tjAkbTEOT7ndJXS+nRfac\nXtZ5\r\n=4Qnr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bc81fe76bc5d1d4db63708a590f9311228be4933","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.21-renovate-internal-non-major-bc81fe76bc5d1d4db63708a590f9311228be4933_1621592877992_0.6241997311139964","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.21":{"name":"@balena/jellyfish-assert","version":"1.1.21","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.21","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a7fc8b1a6831b37c36e12cfc4dfee1112c23c65f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.21.tgz","fileCount":9,"integrity":"sha512-vXv5R3Z0pmNDYUXM52fuNDrB7Va1+1LlxwZdrHyfPRhnL4BA7uct8U5xxX+dHJ1YmfNhZR5a73WzzHizWkgyOQ==","signatures":[{"sig":"MEUCIQCDUsPt+m3yNW5clFCDvyJTApf3V+HZxJWTeD7DOVGFEQIgdsimvRnQuwMSDJp/PXLsr5IqU4ImvXWrrMcv2ldmHz0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgp4vcCRA9TVsSAnZWagAAzuYP+wZX9d2AMbirly6g7hJI\nfkeCQIXXnpGggvv18S1R0Lic60GbJPR/7h2DIzfPPA7OaEurOi1RWyYkNXBU\ncgtql53pCopTSY1xlP1wB985E4RcZ2Zyj9i4CB0jkNxL7ucgiGm8+u8N2AW1\nNmWfC+DdUUHM3POKD8dkr4knRJ0y970U9be86/kUQFxbacxse/IYJCTkAAVj\nfU9Isjf/dJvMNgw2GKcjtbg2ItJsK/rKOFREtwkT7/rKdZV3HPJI+VTSL5YG\nQfOUL6mZM/wueqBaQuC/HbHwdQwKDdaS+IkABPpXz9cpAgO7HekpNpZK5yQb\niLb7wUD+7EujxlH0IEvGE8s4w/M5pWM45jHUNBXIKznbaZE0ObYcyafqxwKG\nGr2gIL8NAx4gD9Px59EbaSvTG77T9HjVBGbdlUD4YW49eMXXVM3grGLeBNse\nkDWELnvZN2GNzbQw5vk14sRlr1L9du3YwFc4MnD91Hu2Pfxg/vKInFtp0C+w\nTjBUxdqm7uY0LFM3zayEKaThRvxiURinvwj/UMaP5xlUbCeyZpenTYCk5ER4\nR82nFbJITkvVYtjtauaOfWM5dD/wTHOqA7KJkJbV6H2e7hyVhC4hNKO3Z9Nz\nVcFWrXxBkfbu9FxXiRnk1Q1J1wYOgDyJYw3zyIJLQhN2mQeXIBsVgItH9X1s\nOFhQ\r\n=7Hrt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c4759ad3321d46221ea475838a4881c749271c77","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.169","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.21_1621593052373_0.8365013456144736","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.22-renovate-external-non-major-5c46833ed480ce46b6082939e7a03f69421bf833":{"name":"@balena/jellyfish-assert","version":"1.1.22-renovate-external-non-major-5c46833ed480ce46b6082939e7a03f69421bf833","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.22-renovate-external-non-major-5c46833ed480ce46b6082939e7a03f69421bf833","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c726bdc5bfae84cd02899c1e76591f824344adf2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.22-renovate-external-non-major-5c46833ed480ce46b6082939e7a03f69421bf833.tgz","fileCount":9,"integrity":"sha512-i6iZMl7x6w+wm1RUfXCV8uxDkQLBXfg/BWVUzJrGe0ufAuwvkF/dQz3auPKSoyPh+6EK+0mL/kTQ7ny+Xi1ZSg==","signatures":[{"sig":"MEQCID1/HNQVSxFFckGSaErubr9LaeZ0O/wSZ6YepNP8BYFJAiBvkiCwX1gOFc/Rsv46N7KW7+guS0VZScQ0ah9zzQnIrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqE+MCRA9TVsSAnZWagAAKLsP/0s+ithFCZTv7cI1BEFw\n4hth5xCwQXofBweJFbkVPHHcJ5AOD0x4sSxd1DqPuA/qMX2YfFhcAuCqSrMm\nh3HygSNUSNWlzy91rSSEWQuM1tXZrYRLhyhAX6l1RSVZYREfvQ82gTpZGVIT\nFI0IV1SOu+vdn9B5xqWsySizBtMvOVTvGRerM6uMU3q1x/X0PSQa3nybY0Kp\nOFDqJomFALVY0CA24cZwkhZSVjx8TY1EJP2tRLiPgX+V/Xro/df2WlV+lQok\nhA0KuqTy9PtTRZabXhAC/es9ikGD0OTZXjrhVgIkpQ5LoxHaHlxYVKnu2Ekw\nYscqkQ7zb5ZZdDRGt1LiHHTCTO80n4eYWW39baq2je0h0tcl9CmPmZ0Ye5j5\n7NM2KLvt6vZstySFOwx6cquUnNZ2WbAftPJB69a0c/HRutgi5s5zQ0w5WrU7\nw3Qz4+qKOJerfJ22Tmq+8/+wyiDyLRF1+81AbYI2yvwHAO5h+zqlVXNbDgCG\nZWVTWr6GS1abmd3iGqZ5S5ZD9wjvN/nt4TU3fPdUP0CD8yRTBpDey4ClMErJ\nlYkmqgMTWqr95y5n5EoVM95HJMuEOGrhnnXffHO47WzJsarK02gXzTkpuLcu\nsJtb4yrxkgX/jeh2dNGvoLTJsJ8z6TExvUuwnlRB1Af2D+8xvP6kU5hmyZuC\nzWPv\r\n=ZOWD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5c46833ed480ce46b6082939e7a03f69421bf833","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.22-renovate-external-non-major-5c46833ed480ce46b6082939e7a03f69421bf833_1621643147130_0.01873379096333272","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.22":{"name":"@balena/jellyfish-assert","version":"1.1.22","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.22","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ae73d851cef4dda7eef8e595f44fd5d48a327173","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.22.tgz","fileCount":9,"integrity":"sha512-zld1ar270LubPZ3CorqyKNwyXg9kloSaCxOnRmv9Ls+K5AwghDg0uNG2BRtM6XcAwCcLPeVCunQo9QjIB3kQ4A==","signatures":[{"sig":"MEUCIQCD+2wD69KmOPDlB7/+Bh4mvo58wKudvPXIGRB6vRHwfQIgahxzWB6PqU8N/qmgANHvskR7qMn24MiMhMnzcI+BzDk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqFBdCRA9TVsSAnZWagAA8IYP/j6k/c6UDRk8dmZF+VEF\nV/CVCa44U8iVxKeoL9RtCfQdXXlC3ghdouvJeAk2i0nu5tskE4LP5WYGaxP6\ncnzsgRDQrHqc2NObcOG4GJ3HOlN7YMBPiRE9c2GXkslCkpHSfyOiOPzrP7fd\n8+dQzzj+M1GgnnfIeqdLJnZnMOGe9l56wFbU4qUzGxdreqfP9/CyXwVzNu7l\nfyQLKLw5lKGpH9sqL9x1nrdcIR7Xb6i3l8db6Vrv2E57a+iEYRWegsPYLS2u\nkmwfWC9qsIwlCGuc4o+PgROHdfTlnKftSxYoDcjKTer5DOskbRKlKmMmiL5q\nZs/WjheVEc/vjlBBqSCquUJFJ6IvGM3hnta5zy/ZODt8cvZgFlkLbA9bJp7p\n0fDbiaAQICCfgPmEknAMGs76q0HiyEN+0dupYLFJ2LT0CPYKWVnq1lFKqjn8\n5lJs7nluX3eHYH4e+kkHQrQR3HIQv8Dgml7JVYwpA4svnXu//5+aAymju7jw\nB3WLm2VagoNPQ8kiqpXICrpuEEmEd42m/6XPemZFG8tp3Wk8WmusEsRO0Xr5\nM4ZZvHVk++wgj0pm0lCaEfh9hC4MKT1+GW+g+S6orVqFhRG/ZKR8CRqSavBf\n0bl1Wn/mzLMJY2Q28KD52yIcVMjDOyrhIUhotPb66nIN14t7gNY1mRKSsFvN\n0kT+\r\n=lR8V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3325f7bebf4db6d23693072c450c080bde6dab9a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.22_1621643356655_0.19762151222082558","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.23-renovate-internal-non-major-9c36a018d4ada346aa442202c81deea4e6deea69":{"name":"@balena/jellyfish-assert","version":"1.1.23-renovate-internal-non-major-9c36a018d4ada346aa442202c81deea4e6deea69","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.23-renovate-internal-non-major-9c36a018d4ada346aa442202c81deea4e6deea69","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e5b8b91d67e1d5f35b0709e8c5e9b938cc9fb4a3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.23-renovate-internal-non-major-9c36a018d4ada346aa442202c81deea4e6deea69.tgz","fileCount":9,"integrity":"sha512-M8fwK18MjI69ljDJDVpdNXyzLEBfu5H7MY27WJ6nTAWTUcEtAwqjey0vPJxmrUW5GjHOX26BS05HDHclYxHJvg==","signatures":[{"sig":"MEUCIAZPBFRKDViQ71/StyrE/SqXO6IgrXscC1o4V4VGN4BJAiEA8aP2EB3I6ecimD8adUu+C1ZMOKsshFXNh+nMa8Rw63Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqeYJCRA9TVsSAnZWagAAz7UP/33UvKzGczv7obzJnM/q\n9U3hTvb2CCY9qQuXb5TgT1Bug3zWz0bhvCAmsHzJuk5UA4hGLiES6TujIyBo\nECAH02mhrrrURG5wLpYrBCmX1yRK6GTMuv7NrB9mhz311YY/vBe7ydpXG+Rb\n/WjwqV1Lbn8OQyl6PkWaNc7OG02JdjW4UPFuHHg9kuP3aD7vzCiVU3K75rO3\n7f2bAzzl4utDP1EQHylCCYHkXsdL1lLyZNHy9VjlSKtzEBMfBal/kmWAR48t\nxfBsH5Ctgj1uZGJu0HOwAcL1abN1ZvSwkWAET3CvWU1opgRNgWh8trJgKMkO\n8Y3QSnAuzIY6VHAwZpwep+Vyyo4xyNAcnHbRQqwqAtynGaX7FccdzD5Auf8i\nV+gi5ceBla7WDcad4pIlby+FlIqHGVofV6dXL4n16HRGgS6re395Rr0yKHqo\nSyHIiXKM0EFpiP6GO+hrvu+r8YGZwpwYeutcQ9BE5yHaRT6f07I0cZRRYP9f\n1tfYghkXPwYxc8+DkkcQ1ivcRQEvHm9GZPVIg5VI/1lcroQbNh8a38Vtbo3Y\nQjZHjZNgOJwMRaQ6EIAcYCC7eILLTyFyjdAUpf+YZL+8CM01mR073+djL2ne\neM3HbAZyvWrPl6Vwf6xp6kWg8tmtT67mp9HCwZb9V/bsW1Xc6znJaw4UNl4j\ngvhW\r\n=vg4b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9c36a018d4ada346aa442202c81deea4e6deea69","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.23-renovate-internal-non-major-9c36a018d4ada346aa442202c81deea4e6deea69_1621747209428_0.5420334481735012","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.23":{"name":"@balena/jellyfish-assert","version":"1.1.23","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.23","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"09a0330e03fa5110bd42d62ab1233d2ac78e45b3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.23.tgz","fileCount":9,"integrity":"sha512-9/BFTHYB3PNLEc3VYw48CGYuxVQV64N0w71/JcUssC94RejKZAuU1N1zVAbKxRFk92T3dQxPwln4tLxSWnko3g==","signatures":[{"sig":"MEMCIF7h3MJ54HQWk6LKETEjTUNDYntqhHHsMNb6y8AKs8QxAh8b906YW/FIB1FBbwxL1sSSjxtmjLY6FyE5XfofbVuk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqebOCRA9TVsSAnZWagAAU2sP/1I/LsEJhohEM00uP0i9\nlbn2Kb8I8NCrv1To+j++jDDfRmzukr/TIcPuVhZxnts0Ak6GvPpQSQoaI/SN\nhgoqoJJi4qjT5tTy0LU60UowIjiLK07tAp70UUcASBARFLIAekZbVrLGMDL2\n/kZUM5ZOMMXK1ojhcqEhBmrDV4sZvJ+VcYpZC6u/8QGdExLmwjMNwtyUeC57\nmFb13HzxesMZjABRnSDH5g+p8lwvEPhiyIJOVO9NeU0ufekgh5M74fbwY4VX\nxUYezYkHbk2U1cApyW/aiyPtXNk6Kds6XGiQLXJT2veb0wcHoKPJxudECfP+\nIPFy/2EyFUIBqUIkm2H3vRrrqPh3nz1B5Dj4ptitsN5ZVKSqi8ZzjeyYxKwC\n7kD0UBUa1/kDSeGLgZEDAU7rl24LaNSdIJy18glMH/KxDs8eJkaa3kXgwxFy\nnWXRlmMx+G6cXnyjzXKWGfBOvlOfkDPiLgPs+JdXTtJDiXp/ko4qLdfsCGtA\n+Ic5z3oQCkt4eMzL0LEHdsjBPYc3SV1WCDdSYm2MzuOqpMfLkogk3TVv8ISC\nhKARG7XIWzlx6OwhIjaCF2wb9HB5j6ZXZkRCIuOza9y4y2nDuRNW9V2K6afL\n7v31wrqPkYXaiyCuXlQoJz/HS4EEwmx1sVsuGoXnFT1dg4F28QFEh3CQqENL\nBrHB\r\n=sbMZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b70136d85f4b684c839418231af3936b86fc1ad1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.23_1621747406086_0.1750749926207229","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.24-renovate-internal-patch-82f45226f9943693dae357c2ae52e4b20929b2da":{"name":"@balena/jellyfish-assert","version":"1.1.24-renovate-internal-patch-82f45226f9943693dae357c2ae52e4b20929b2da","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.24-renovate-internal-patch-82f45226f9943693dae357c2ae52e4b20929b2da","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"869e1c0a59cb7a92bfba329f3a02395532562f4a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.24-renovate-internal-patch-82f45226f9943693dae357c2ae52e4b20929b2da.tgz","fileCount":9,"integrity":"sha512-S7iasoTpZtis1MHYBgELtamKfDw+L8Ry2cWWU/0xsfkemyGeE7O6OIkYk+8wn8FHh7rdzEtgFw2rrCse2gIhFw==","signatures":[{"sig":"MEUCIQCAySD9Q0JYUT7NchOJ1IJj/0UsVhjzqw2wxsP/P1XozAIgdhI5ES+ThZjjri/7OuHuFF0H1rfmEbYpy+dqEFi4hdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqxP9CRA9TVsSAnZWagAA47MQAJAuDHyYBWPqVRltFqA9\nJ9BxzPKqTy8J2oDYO4RC/LF9d1JvBZaATuROCcjK7Ul+m3HeRzKzQ64w88Ze\n8TtJ5qYQsLeQ/2I1yqdVWnyhMoxTAKQIs/gVH/OxdWjO4MHYQ3noQnuhPH30\nMPvS4qYTwj+VTrYWFaB724wvZ3W1qgXcvVeNwGJMTa5eca9g05Yo2mG7jGjL\npcAz5UEjLL9Q6KsbpUed5Fwm121QCn8H99pNlJpeiv98PLmio+azAwLLsgeS\nz1tgwG/0ZL9QxhLTi5Ghg2ILKHJau+pKD3oRmJoRnuI7/VlaKvS0N1ZxnTt8\nL4RH3UmFG7SzIv9xx/plzuuatBj0M3pYcn5BmS0Qp0g+57JcbCkEGCDTNtzj\n84Ez/ilG0NyWKlvUncf7LKFCv0PDPb1KkG6ZQPW+bj8yTe70UrgkMYJkwuV3\nQ1j9FV4FyjiLeeymNpyGeY0x3bJVoVT7vdkEIGJzm5esH3Mepj3FLa6byq6K\nb2isQuZtwzdYF/6vq92IBLA9hpSdEQEM2kFJznz1MSn7FGDqSZrB1RoZPxxi\nDgPaOSr5Fxg82tAtU2q3xAIuSSM54EAb6FD2PXihxeBnFVnOreXKHGr6iUZI\ne5SjQv8jX+lloaiu37xbIOf5K/HcPC6Xf3Pu01h3d3/UG1aYYzInQXxAn2Mm\nbrjJ\r\n=IjAO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"82f45226f9943693dae357c2ae52e4b20929b2da","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.24-renovate-internal-patch-82f45226f9943693dae357c2ae52e4b20929b2da_1621824509223_0.05519345765665484","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.24":{"name":"@balena/jellyfish-assert","version":"1.1.24","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.24","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2a4a66e10f2cc8e578827b756718ecab2eb18439","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.24.tgz","fileCount":9,"integrity":"sha512-L2Rg94tqrf5+X8JUOXKvT+dfRfVltyLeuRHqHsTTeCowWkSQWHjgeZ9Q3Sd/TPs9V8vjccjniDwdrS4F6aLzbQ==","signatures":[{"sig":"MEQCIArFuT0odnA+mDz/5sCRAFQWRXgYN6u5347lYU62EnapAiA8Iv3lcG0c6ZxBIdFH219Thy5kci3GvlhSkXol/e9vXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqxTpCRA9TVsSAnZWagAAFCwP/jxS8yEFkxnce0/woyo4\nPXPKrSZ1PozGjD/BdvL2DLs4NsEbcFbnUOKZO0gbOxnwjrUkjkT/gnHLHw7m\n42xsXySQyztomCP5g+RuTR+FknTl5PKzlcaj6RtDK+AS8jm+pOR3BuiCN75y\nyvydYi7Hno2vhQeHU7+3fkOoz7/9/ji3rfX9hgvavEuUb2lfrq2LTmcmwXnl\n2EywFTzuIo4bc+nLGbjWfl6U1wQ1X+K8ecCTgnD07/GxmJQLKrfNIOscRN1p\nf+BphHoMSaPImaINoAP1fC8mF0W3PHh9GKZsIc68XVnUBTC9myPiN11Wv3Eb\nCp6XVHoEH14tMjY+Lnb8inVzTyBUIL26R/bEELmTlm+v2pMciGbre56VMTyr\n+dQTEZkG09S4Djw9eY/HIikgpA51TaEHxui0eXEvfZemV8dHZ1l+sE15GKtt\nw7Tu7DWap+AGV/I8KtSSwaMHibCvYW51vcsmauhpLrdXsIcHTC2Jeju7c9mR\nRvgqJC+t+8vBe5EfUzAib8majZym2Rd5nM4Hs0dBDUxTVyanAH9baGG3JzId\njvFHGeS7zJ0Wa0JVTkduCGeAdt8FtpCU+HZN7PIvtolaRgcixSrIBtTpapnA\nL/qd5UR4rPLqNbB14AJ57oliijCmq9YnHlOgWLZhIPekJXxZo2Qsr93HUJ9m\nJcIY\r\n=Zq2T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f8c1cc6ec775f7b4dbd213a7276d38dbc64a3d6f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.24_1621824745361_0.13759679791849022","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.25-renovate-balena-lint-6-x-918677ba9f5d4ef91e16fd235b114cf7ef03aa1d":{"name":"@balena/jellyfish-assert","version":"1.1.25-renovate-balena-lint-6-x-918677ba9f5d4ef91e16fd235b114cf7ef03aa1d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.25-renovate-balena-lint-6-x-918677ba9f5d4ef91e16fd235b114cf7ef03aa1d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"876b6a38132e424ebca9d61b3e334c8a9e888140","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.25-renovate-balena-lint-6-x-918677ba9f5d4ef91e16fd235b114cf7ef03aa1d.tgz","fileCount":9,"integrity":"sha512-BLnk6IMXXvJnTbalG0zUCpzCK/NuAfp9X8+aCowX8ePwRcjG5n0kUQZ8Akg17GqJGcAn3+ORnMILMw0QQK3ljg==","signatures":[{"sig":"MEUCIQCmHidzWF36x4Myp48FZeWQLvLfmYW7mQPycep7nbHnIgIgOE8Ad8Z9Q31BVOg6hM7hYEVxARQ7iW76rXhU63LzaoE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqytbCRA9TVsSAnZWagAAZXoP/RDMTEnRj3xkZKp7Xgqy\ntJSHJQf6o0OGU32YJCX9Hu+XZSiI/yWhyTbd6kvAolcipezvSSbfO2oBGQAe\nPj0IoS9MJREHAMebr6tNNzXz1tC7NnV3j3CITkCkMk/FgjzRIbhHEEoiVgJs\n8iGUf2hQCJbTBTFdzsXaQKh2srBdrt7r6bfHo7NjgwiWNY6Zp11+EhF00oso\nUeYvWDcxsdDA2d0iyw94VdTuW1aUJM6oVjaS8hQNqUUDjG6r1/qU5Xx4anJN\nqBjHpBFrsPvU65tsFaH4YI2V8T10HPaoHsBRBat7Eigbsv/5mxcfWYBhQ3MP\nJ/A2GKwo3bqdX8Torvf3KzKEwif1z3lUcaPuyuEq1gVqTtaPljGMIzv1fCqx\nduzJjXdi6fvurRglHD+NwPg/NxcHz+JdgfMKCovXvrHGpbYLb7p9kaQmZ1eN\nFyuZ47Qq9VFxJN17zzQwZXxy4ROZrvZmWP0PGXiSR5/F8igg56XtJDlAs9rg\nf8GqvSQ7GJGHK92gs5X80xSs4Wl1t5q6ILzFkTBRbw7ZX8UQl9XdZqFGb4mu\nw+d3jkQc3Q5Gzg8ny7kjSv/erSnOYWjdDdrvkHZ3ncXkKq6nlE5Lbq3byVKN\nvRWYcapatYD5JyQn7qatII9q+rpVdPj6CjwA9aHW4UvQl3JJalq3gE9KhHJ6\nYMCs\r\n=mAsH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"918677ba9f5d4ef91e16fd235b114cf7ef03aa1d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.0.0","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.25-renovate-balena-lint-6-x-918677ba9f5d4ef91e16fd235b114cf7ef03aa1d_1621830490868_0.164745870952828","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.25-renovate-internal-patch-bbc2de6fda2cbbf0a817f0dd41ebf018cc2f8cb5":{"name":"@balena/jellyfish-assert","version":"1.1.25-renovate-internal-patch-bbc2de6fda2cbbf0a817f0dd41ebf018cc2f8cb5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.25-renovate-internal-patch-bbc2de6fda2cbbf0a817f0dd41ebf018cc2f8cb5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"72851da4e85b64e9ae4bb44f562b4eb8c7706052","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.25-renovate-internal-patch-bbc2de6fda2cbbf0a817f0dd41ebf018cc2f8cb5.tgz","fileCount":9,"integrity":"sha512-LuMpiGQ3D2+J1Dzx/G9ikdxWvs+9IXZCCXGJdyr6DYjoC1lJmJ0b6NRKgyR+PVHfiV1Y4P3d/yTdcrounyviBw==","signatures":[{"sig":"MEQCIEkMVxXMn/GTS9eDpr4D9nBBFUaTVc8gXxS+iwFqZMo3AiBJ1hTWqNpyFI/UWD/UPQdzPgPPk8MfrY+GyJR02WiIbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqyuHCRA9TVsSAnZWagAABvgP/0zRSJ759c+JIQOMzJ3Q\nbGejpwKfw9zbHuStsBveUFhg99baVjFGTOhSHywcg994KsRFBhNkM2NyhFLa\nEBMgh31CwztWFHjtQr1Y2yEdJHMVND32MdH2HRFF/eJy+wthtdGPb4MS2E2Z\nUrsQ/58HW2g/ar2wP/rRvnEzBuh2EDx/6GGj4PXvtlxKXLTqod/0AU8DIT8S\nPsfNL5CZFrrxfjea+lNNscooms9Sw1VNsr/gn3l9rEGeqMzNOk8V08UQvXG9\nncKOcYqbdyQBKAIDo/P59sHw7H/cf5Ga3lLS8NUJnSUTagFxoPILmLN5PJie\nKJVBaq6eOLnc7rgo89VMjt9TlYT5JgcdHvb8kJmXMkQxgOUm4ruhyXV5s+gf\nthWYTo/S926kVstZ1MLqvu6oVjrv4EoNIOEZFs9w8vLPzuBYVPM9wYgmTebr\nKebBbapMkF2o+EJhNcJtf7bGWlGeKxvm7KPbKGiNgCCo6a/pFZ6bx6R49cGc\nWwA6z2ve2lar2P6h5rECi5tpIKrdAxRvFF8TzpBfYiQsNNogVaxiKZMmeOAQ\n89ypppkLsBoHPMEbD+WXDhLRkPWBPmW0Jkir/hCib6eV4dF4CMvQL3bsj0Kd\ngGAc4Yd9pKhPPRBWuehAF5yPYHyb3MtweAfgPUxlwrNu5dXOmjaCDzWXcWrO\nMYOt\r\n=v3pv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bbc2de6fda2cbbf0a817f0dd41ebf018cc2f8cb5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^5.4.2","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.25-renovate-internal-patch-bbc2de6fda2cbbf0a817f0dd41ebf018cc2f8cb5_1621830535148_0.0698879372296568","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.25":{"name":"@balena/jellyfish-assert","version":"1.1.25","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.25","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"766831c62c67ecb9afb37130ae611dd9a61a300e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.25.tgz","fileCount":9,"integrity":"sha512-iPkI2ZfA30pc2G/riT0B9pLODBBG7qcF47hVf3HgwcbuIodmxmMWo5zy6Q6UkiQCNBZBQx2IL4pPrRF4S6mCog==","signatures":[{"sig":"MEUCIQD+093boOAQpebMgbv2IhVMKRz26QiY0iZB9N1zIzpD1QIgFJtcP177RLTE6pObGLiNgQgVnTXMkcJusHzDOqfLYgI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqywsCRA9TVsSAnZWagAALwkP/j/4cPdm8SFUOxnw6fYQ\nX6ov+eFdRWE4BleqyzePSlBmats99RG3ZQEkC5BSfY+gasFnhqFGUNLgLRXM\nv8o40x9VQpYr7n7ZbY+X7SYz4jdUZiXD9DRVujAbeZMp4dluZLpfWTX6AxGU\nnuIYaVIkqB+9b0HCK5Ok1jTIXHiziYeXNKOzMaMYhc+nGP6AcKjR3YhQBZO9\nAZEZIBFdkpndxnKGZWc7wOdwzFu5Rqou8Ufo8En4d41/zwG8M+f908sUhlF8\n1BhovRnjM8xeRtxmp4jO3h75dKYd1wPBRm7XpaLwnnjnhzd0INEbpoMB61Yj\nvz4vJWon0ATm292g8RhGGVQeZMExmRpebGCVPeiEc/C13JOZJCzg1evYvg0A\n4zSVuPOJxSrFb9TnXbGCu8VB9B5vb02VWX06mPqgdtQ5THst0XyefFBzw9/A\nDRLqbRd2vbV0V5EYuGCQaSDROj2D5VFErvNzu/AI29K5hbyrEugJRnMF87vh\nCetWPkjeGIqPHaOQmw1HkZevPGZKQrV7MWbjZYuwEwsno8VqYJqaW1HyqOT5\nx7zqYY1DUHrur7z7oPKfNOGWNP0Zot+HYb+bbvFUnooTRBUOV0zBlj0rGWoE\n1gSoJM4jMAyUxOk13zDoTBg7zvRz/58eOm1LnQcwwlUhsIxNvucCUt4YGocb\nbjuB\r\n=9mmR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8030404485775b6cc53c30629d4b8860f6f30da4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.0.0","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.25_1621830700587_0.9828873742210154","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.26-renovate-balena-lint-6-x-f0e314d0948616f02c26aedac78a8b6eb8222161":{"name":"@balena/jellyfish-assert","version":"1.1.26-renovate-balena-lint-6-x-f0e314d0948616f02c26aedac78a8b6eb8222161","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.26-renovate-balena-lint-6-x-f0e314d0948616f02c26aedac78a8b6eb8222161","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a1cd1a3ce18e19697c8305bbffeffd4acb16a65a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.26-renovate-balena-lint-6-x-f0e314d0948616f02c26aedac78a8b6eb8222161.tgz","fileCount":9,"integrity":"sha512-ju78sn451a2Sb0sC0m8H0Zupc9EnSxNgQnTirjk5bdAo5V01QzwJQ2d5uWtYFqpz1upUGA8GMQRueTrQyIre9g==","signatures":[{"sig":"MEQCIFYOLMCaOInJR/CvZRSKLZ9uClNq+c2Xplz5jJEE2xP0AiApCKyYH3yWrgLD1HOV1fWtG/gAMM3+uFzUmUDL4dwU4w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgq5mBCRA9TVsSAnZWagAANuEP/3E0es8DyMoetO3YRGKo\nYGikgSHE2ZsMC7XVdjiEvPx3g3XZcWyB2GhcpqGhe0jpa1YQ3CjXBK3QN2cJ\nQeeexR8V5Z0ORYivrTX+LWx17EACGNdrtqheGldk6yASEHhE43n6XUdgalq2\nC7P8GICBdrk7Cmw9mRB/mlmrWfJrknx7Hl5+rhcrxE/Ng7znTdQzMNGlH/Nd\nRsbsXu0VkFB/Q2nzG/K3Bh1mdgpETXa8B5OdbuvyByaA6TEcVgBC7RbvwBoC\ncu/cIbILwdYrxdoCuuAGgSTTuPkrfeATDdnm8NNcmdoX3ireBo8JI71vCB9Z\nM2sxftouqBp0kPxlvArcNxToyEXUHjuHpsOB+JfRGF4BQsgiLnhlJmoIIW9C\nNDyLDQVzAPuTWL5x5dnOLTxi14Swm2sEqmHHjs6smF6WK7l6BpIcCK5xsLFR\nhK0MIF6mwIIIjV3ej5sCEYco+cLbVwx7xuzElEkQKu4Eq5WDRJ81cVJJHjG+\nmV/UJD2nnVRKPDZtKxYs8ItjJGHKKGVlcmA55SZY1x9jIbyouQU8Nt9Aordm\ngJ2NNyR+grVjvWlCkl3dZYuYyLfNvjbOTzqt4Q/LEaR6xuqcZwh9Or7i3z2S\npgJZBly5D26YBFfHjJ8CVz5ZLz+tje96Az2oN/qyP3C0g7LkBfQKPTH0gKth\ndKU9\r\n=mqEp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f0e314d0948616f02c26aedac78a8b6eb8222161","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.26-renovate-balena-lint-6-x-f0e314d0948616f02c26aedac78a8b6eb8222161_1621858688992_0.9825303535706815","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.26":{"name":"@balena/jellyfish-assert","version":"1.1.26","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.26","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9a0eb4116e96c6316bc0dbad22334ca7d434acf4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.26.tgz","fileCount":9,"integrity":"sha512-9nKK2iIYm4ESQIIwKpPSXjNXuNckjNM5tYzZ64Xw0QIH67H8N+yNrOuDMLgjOadPZe43vG+LMJoFz/7K9wIlMw==","signatures":[{"sig":"MEUCIQCHgsuG9FtiSbBDm+muNyfffzV+95ZWsA4DJIx72fbanwIgDA/+C+A8diC4tmUj0tK2tbliNpKleXGc0zL80uJqGhU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrD15CRA9TVsSAnZWagAAL6EP/3IUBGKE2iSigBcBBFvU\nLupHdl9pLuT3ch0ABnuiJnGXCvd7WfHoTAWomlV3nNI3vFaaiKFCjDL2s810\nBmAPv34bgruq9NCc8L3rUFn3wfdbebMQ+qXOf9LaWmsdSEcB/Bvh56C8Nq9X\nNXX8FvOo3wVGmbe5zEk6hOuwgDgh1uRLPHE4lNpyFZ7NcG1qBHffliw4DeV0\nfrlzHQ/E+ZwFn4zHwtplpa1HMDMUkEFGKD9UekQAmXBNwH0JU2jel8sYyWw9\nu2rjePl0k1jeKj0w15l5TRgTDMJauiOXv/u1VQghD4u+myUxTJVLg2iY3BhU\n5tkRDrJqDGk+7uFQJPC2HEZtl4617jtqn0jomkBltw+PzdY9dHrYbN9uci0U\n07I/TuQITjZKZ837C9Z/6qtcN8Zxt8J3mC/C6rdJgqGjV09H8z5MQ+TqiR2v\n9fgD2Tw2DXbINBqydohX5FYw6RblaHP9j2r9xAGoMBw8vRADcLIhyRlGe5pC\nDoROgDjtr9TuP3MTDgnxewiAoMdsetvTxg74YyW0qKR4ja+dfSmNvQow9QJH\nFuzEb61eUHTFwc8u5IMPhgneP1m+sCpvoiE4MgSgYxWRdWmcBZwx3nlORcJA\nGt3tprvsOVnfc5HKamWA16BXfxDta1/gy3oNVAzywFzgWvFRtAa/barG4IiK\nuWgR\r\n=BK5v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"999d79062de4159eed4179321628c8d084f7bde4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.26_1621900664924_0.0908825042343564","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.27-renovate-internal-patch-a4008824b49101d7ee9d4d469c4bee93d5b16505":{"name":"@balena/jellyfish-assert","version":"1.1.27-renovate-internal-patch-a4008824b49101d7ee9d4d469c4bee93d5b16505","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.27-renovate-internal-patch-a4008824b49101d7ee9d4d469c4bee93d5b16505","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e634830bb00e4999ae6dd2a827dd28f22bd1ad44","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.27-renovate-internal-patch-a4008824b49101d7ee9d4d469c4bee93d5b16505.tgz","fileCount":9,"integrity":"sha512-1aehEI6Err45XxxDBK8NBEkCnGUtdq2Yo1nvtrXDV11vFNozwWEJPFMQnnIKLHb6TatYTidP1AR5aKYsqP9KrQ==","signatures":[{"sig":"MEUCIQDxEYdg1OVvGmsQDm94JDcKrY5Te/iJiEpL8Ie/1jD4ogIgTzA1HzooMdiK7TnAL/GAhOiHTih4OR4lQxSzxfrKJ24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrEGWCRA9TVsSAnZWagAA4UIP/0+pXMYaT0R0ulE5g+BE\n+dUDE+bnKAfKqF68kz3Plak8NEQJ1IwNZwt4RGtiSKnuBeVCpfBNPkZi7C2B\nU27lkl0QpqhnkdxSGEiBtcw1M159x2tYNVFfZfYPU51msf9dQty61Zbp1Ke1\nZIt9f6TeuaCLITVC2uR+nE5ffrPxhuEVeFWWM2zbdeGTDDiu75vsS5ZrE7mI\noYyll47dvjdfnnJrsWRZia/bChpZhs8ihhZA6jxWotQlYGN4viA8rwCDsc9Q\nTIALq72n9Ndi3N7MlQtyZNI6E4MnRHq8Pxe4EwvJfdh/dZrkqURMb4OBlmwW\neOT/KRbiMcJUvOGyCJK7y1IN1eR7bWaT5X9peLPWCBenleviuVciNIfmNjlR\nBcxvB6Q57eIVf2BU19gNo7xrYe8gL35Qj7SWlUyZKuHeXk4R1ABtRxkXCU0J\nl2cW4IDiVJcpZ1IOy1tcRS5u5j6PuH3NuUdSZ8pIRjuS5dUezZFYoFMVv0jR\nvFEtADmLpAdrcUsdKA5k/d+RBg8wvgcMHnv5XN2kwsQLe1UO3m/hvAa/UIk8\nrjbhiVsPnCCSIFfRl/KW9aEcQeC8vSTTqZFQra70MokKFriBrvy2n84AS3qh\nc4g1U6b3nF74ikY8/yzefnkWtlrZdWwobyzhn+2hgNJUe6Bek1YGYoWOU/YP\ntnhT\r\n=tfqi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a4008824b49101d7ee9d4d469c4bee93d5b16505","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.27-renovate-internal-patch-a4008824b49101d7ee9d4d469c4bee93d5b16505_1621901718545_0.27525716974686","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.27":{"name":"@balena/jellyfish-assert","version":"1.1.27","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.27","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8621bfdc08f2cd00a369ae431e1406ee09df302d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.27.tgz","fileCount":9,"integrity":"sha512-+M420ODTocfQoYh9c4fnVryBwc7UrABmCTEhuE3mTcSvyGqmPJ3L4iWrceZgp3PacUxIO7nwa9IBvwfcAgeyFg==","signatures":[{"sig":"MEUCIDRx0vkiSK+9Yf1tPDIxGrgNQwAjr5HO7ezdwhpFiivJAiEA/b5sdp/SgIIbCKOKgNUG80KFyij8gXBUYa4qEAOAsw8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrEU/CRA9TVsSAnZWagAA8DsP/3EgpmALMxECTECW64KT\nZ/uSpboaSZ9OQEUfE1B73BDNBvMtXVtEjJgkW3yQ9VxLu7yYd8wpjHUitlUJ\nNGavjAngNNKXHlVN/4L6fZnkMi/EN0gdits+s+8txoejh2l37daGo8UX+zLi\nVWqSy4vH5IWEM5rW2WcWZ/Ik9/xVW9ZN1SRsIdTkjRfCSz+igcBYgg9apY6y\notO9rs3id6N0zuYCno2z1jngbdd8W+wL3mwSfZHXRdI1InoT6SaFZZH0C9Jm\nrTC1DKBzq4LHZ1McbdWOlu2kPA85Tr2ndFFHXsceB+5GlGBIKpl+ZPrICk67\n+F0QpclNwMUG31p0k0yBYC0YUSyiu+SDb9hsrJcWoqoRbqJadteYtbxs2Q5U\nvajODyD+xEBgSwZofVm5YGI8H+S4BzojsDaARnNwbvHeWp00+zCKe4iCgo2l\nBIS078S/W/B3bOfavfrbIH9M0dpJWsarn6thXHWShT4aH7G2kIFvvMVHvj77\nT4mqUEGQimoD2etu9LUVfUbmr9lrN1Mt0Dkwgttye01j3a92HFVuEdAcFYXm\n8sNeVpLzfdP8/D6yD3LwvdEbI9po6r9CFP/mvS3VLbyzv4rj4WizsYhRy0JN\naU0R6tjo1/X4qA9ZCTb11wiUGT1DYhquKMXOIP3HcwMusnts3oZRPdYm/jr4\nO0py\r\n=s0vG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0386b965ce82d7dafc51f0f4bef34c5af5cb6461","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.27_1621902654824_0.25080559917173617","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.28-renovate-balena-jellyfish-config-1-x-5dc4132be08eaca81c9d00d4917c70224ec4d8ad":{"name":"@balena/jellyfish-assert","version":"1.1.28-renovate-balena-jellyfish-config-1-x-5dc4132be08eaca81c9d00d4917c70224ec4d8ad","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.28-renovate-balena-jellyfish-config-1-x-5dc4132be08eaca81c9d00d4917c70224ec4d8ad","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e2093f5c33f1955ba6db26c55804ddc0ef3b262a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.28-renovate-balena-jellyfish-config-1-x-5dc4132be08eaca81c9d00d4917c70224ec4d8ad.tgz","fileCount":9,"integrity":"sha512-C/ZzlczrPeC28caPMJzbDcT3qCF22RRbtC7+GD9GWxPW8rdl6i3w0rwHkQTqJ4Bb1oWB4zslosbWXLslUyb3mQ==","signatures":[{"sig":"MEUCIAdbNQlM63GVB8P4x0RpBdcCTQCMZlzwNk2+DdjB0/TxAiEA/lrCY2fRMeClhwA5dZ3FayebX4NgcCIqOsziZsQvR6c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrg6GCRA9TVsSAnZWagAAbEgP/RIYWRRG4XiHlXj5JpDU\nCceEVzN0bpPLlv8OHxBsBg/sKctwVxDMrhO/07wxzf5NQEhBVteWQ4eJO9Qh\nkqw6jg4GXwxYu8F0c/Geh5FrYwi7Vb/ITK6rmb3uc0MdZy9WkskwJseN0qv5\nBBtLf7h5nM8qIR8Qj535dFkHin7qgxBwm6gAFahZfTQY1+mKpZH1UcFY/lwT\nbdjZ77P41ffqV0FmUNors2Dik7KpyKxATVPDx/cSw0+jRgyjvHT3LW99DhAe\nvkAP/j9ViASS5HnI4FpoGM0qZ2D1uqfb3eDXBgq674W4rTAqg6MulF5zHc7K\nD3Yy824g3Xe5F7faH3Uv+wf5MaFHl1yUhsJ/Ij/ZUuYHT746CyEsB2NH6f4a\npSKDItnlvfmu7n7U1huz0d8VIhKvfwvMF7+sluqv5li0VBO5nacC0i8RWtjC\nL/PRKhcl+xohMt19aorak9YzQeYVT8KTWvsVo1HetQuJQUbpyO6KhQf26KWo\nKJbf3IkpbHvAGfjWYrhsSJ+Zu3jJGTKB/wcYdR8Cai981shhYSjHuJTe6JNg\nrUzsOjbJZbSyf6wapIaSd49svhpBqE4yTkp5U3OqJnhFV0FqvKwi2EfKTFsi\ns2xpcqQPdmnC6TgQtaJ0fgkEHuvmRUSqAmw8Je/A2nmk+xzJl3yR4n34WGaV\nI6pL\r\n=TwY1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5dc4132be08eaca81c9d00d4917c70224ec4d8ad","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.1.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.28-renovate-balena-jellyfish-config-1-x-5dc4132be08eaca81c9d00d4917c70224ec4d8ad_1622019718385_0.4242980310900859","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.28-repo-sync-jellyfish-config-default-f921a3a10297f1e777cddbfc86fb88d5f30582a7":{"name":"@balena/jellyfish-assert","version":"1.1.28-repo-sync-jellyfish-config-default-f921a3a10297f1e777cddbfc86fb88d5f30582a7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.28-repo-sync-jellyfish-config-default-f921a3a10297f1e777cddbfc86fb88d5f30582a7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f645c283486118d53089373305747d065d121928","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.28-repo-sync-jellyfish-config-default-f921a3a10297f1e777cddbfc86fb88d5f30582a7.tgz","fileCount":9,"integrity":"sha512-ZFiQzkCW9WRL9Qx3JR9jJ8wHVuZyzk0DOuMozsXMqUZpgRsH/VSU6SZ6L62D2zEk0I3n2/NA27FueJchIn9qOQ==","signatures":[{"sig":"MEQCIHq1Wh97cPI9RdqTfaDBIoSfGEKSJhGOW73YHfKTlXPaAiAHx7p44Rf+QkQf9GxWWTA3j8lhxnTWiA1NgrXQC4MAZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrhDXCRA9TVsSAnZWagAAjv8P+gLynrLi95F4p8mwMhtV\nKLuAUwdlZcUK3xdCQ+T841qG7si0v9anks2lfRn6YodeToVbCT3LSTLaBYBy\nMOfowV7fB04R21tnxhNJrb12q/rOQbyDX85qB/cam9uhuy8KNiab9MPHmeaJ\nNoQLrgpJJvVfubwT0nJ0Bx4IJKHWyHPpXadHxHMHLAmYsaPBVSLGIUupM5wu\niSThVcYFFprTsOnXeXHFWD7oJw+N4+GduZ4VbnXT8TVIqVSS0iWM/8gef2kw\nJcWHc5O67hfGemeHunks3e4BGWayFlF3a2pBCU5ter+0LS75Wk47fmrCAzZ/\nTiq+2eaXyFBVEkxGxURljjTKqFdaG5yOfig7y+KQ19QNXuKUW9i7UIy5fwQM\n998bdgowfBQH15YQVehejYLKwuZnC9vjq0zGXR5+jMZo4n3eP6QTHZKBoI+C\nOGeElxesSCepnRR9ZYxKW8t5KwQjlk2ATwfgal9hsFsDLtRgnKnicdHCnytH\nmKsLyOg9MjHZ7droNAvU2c/ehjV43+Vhc3uRo+X8Fe8tHYbfBcGtnvptxJ59\nKDjFog9AXiw6QTbfqmGksXCMscD1LqoHuw0P/rO3MgOd3FSve4VXzR9h/NMG\nok+r1mdc231AaBqVtzdE+LVXlTCMtlfSKTSsSfpzoHwR/XaI+SpEaHcgoTzc\nXfBG\r\n=SRv/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f921a3a10297f1e777cddbfc86fb88d5f30582a7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.28-repo-sync-jellyfish-config-default-f921a3a10297f1e777cddbfc86fb88d5f30582a7_1622020311183_0.3801195444157699","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.28-renovate-balena-jellyfish-config-1-x-fab7dfda2d0aa18ee15bfea11692d5f5d4deb2a3":{"name":"@balena/jellyfish-assert","version":"1.1.28-renovate-balena-jellyfish-config-1-x-fab7dfda2d0aa18ee15bfea11692d5f5d4deb2a3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.28-renovate-balena-jellyfish-config-1-x-fab7dfda2d0aa18ee15bfea11692d5f5d4deb2a3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0252803c992cdb6741d0e000cb709496c41caabf","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.28-renovate-balena-jellyfish-config-1-x-fab7dfda2d0aa18ee15bfea11692d5f5d4deb2a3.tgz","fileCount":9,"integrity":"sha512-iicFzEQFqOiZF+QWQZseHSXozmrt9XqEEzHz3jqt+wIjiWx0oYZKxKFkI+dJZLoL0l2YlUwlHisuTNev1ifjtw==","signatures":[{"sig":"MEQCIDsdhYkzmPjIwYLLS3KktXF1bqsSrbmKDp63qhYkdcyAAiAas+O+tIBTUQ3W48jTtSW6hWZXcMG8U6gLYhhvDqH/0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrh78CRA9TVsSAnZWagAANLYP/1Lo7MzEBJxts9nWlBXg\nQVnR4z3EwjOHuz8Ljm2Rbg15OFX4T9nQHO/q+EwNb312iJC6yyCbfOa6yYod\nyan9Ai4+n/NUM4QVI2cP2o2dWIzcG1g9ERH2epG5pQsEeIwXzBVtlYEeoTHQ\nP55/eo/BcFoNr3p59aySbQf7UI/Z6G5d00u7n10KAMmJGS47pOVJgdeRlju/\nBhUlf4wuCa6jNazrhgKaNT7K28giAPGdeATqxPtQ/p3HTsSO2T63OOzK6mq2\njNxnh3u4v+CIVszlC9qnkASuut42Q7v9gFZ/PWYciH2kkmqxDV1LxwBGu4db\ngKuu1xw/ANsTU4zk8kvFTU1CBckhlZj+51wGI3T0fFXUhYNwtXq5nYZ1frMA\nfZnk+awRUXgKj7aU8PJVrnrUAXAB3e73v/Qg5uIOLDvhC+Y0csEg2qIvP3kt\nb/J9U9fThGFs4oT8+d/lHMWjnwr+TZB92eRIDcgBSCTGQFZbDvQN6xTZhTyA\n9R5F34+5JgaIVTcrIwpG16IpNdAFbfVSFqc0DpkfdU5qEilR+bEBLgYiayqV\nMKFe8yE340IeGxJZyeHzpSdL/1/dP9Q7R9II7JPMwxNFVHdgksULt+gnLKEj\nYf7MbgjV8O7oM/N6SAB4i0gIo86g7giakpGmmWMR8n4Kk3VMkY/Xqlk3dt6o\n2W+x\r\n=AYd3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fab7dfda2d0aa18ee15bfea11692d5f5d4deb2a3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.28-renovate-balena-jellyfish-config-1-x-fab7dfda2d0aa18ee15bfea11692d5f5d4deb2a3_1622023931770_0.715457621062183","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.28-repo-sync-jellyfish-config-default-60432323953d26f13420564422cd25175195cf71":{"name":"@balena/jellyfish-assert","version":"1.1.28-repo-sync-jellyfish-config-default-60432323953d26f13420564422cd25175195cf71","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.28-repo-sync-jellyfish-config-default-60432323953d26f13420564422cd25175195cf71","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5a46894bb2f259deabef9150406dfef621dc5248","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.28-repo-sync-jellyfish-config-default-60432323953d26f13420564422cd25175195cf71.tgz","fileCount":9,"integrity":"sha512-lKNCVOy+ZtnN6boGKEzA0MOqt4Iki6ygbEZhENskB0mbKguan7nfXWOtmSjGw961718Z0BUYumGnp61RNSwXMg==","signatures":[{"sig":"MEYCIQDek4GwiijjLpbE4g6ITb40mOPdV+Xn3ChLWVQk0bAyKgIhANd5C/QePX3i5wL1H020dDzre7LKsZxxluRH1aJZZ61N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrvOMCRA9TVsSAnZWagAAnl8P/1BI7a0ISr8G9Hp1xFhu\nMtb7vlVag1XpSxeWac8nawUHL73CIWDSrBz2IDNoYHgwKPItUSjwHAS35Jio\nSdkML0h5gQJLzKK9ZZpcJiVTsBRBAxkSt3BTA0M9GywY+LDZcCyuKUzF9mIH\ngfxbfpZpVlNa4xgzsP03meU6kUMJzlpylHhNb9kPJs6GSMxF/MERWy601EGp\nChlvAmiBnuegbhItQYYrVUfPknk4LpvKcVDDaMs20sxP+guJLEegDe1TXNp1\nN73x2Q+wdG2O0zZ0aERTeOqF8WrP4MXunFqtEtTFUw1x4/UjLpMWQZyert/C\nuA2+G1QpGwfoI5+Aw4HfsFZvaw0Ra5NQnMfWnXkRAMPBfHfjELRJF6PBgyC5\nse+tKYndzOkuUkT385AFsTmfq/nPWFbn/ak5UqRaPuu55WteT4FzHYAMc4vw\nsLDPMJ5ocrSa6RqWHTw42k//eT7vehbbim6ItL4xIgDQKijrbwnhckd8azZW\n6Ml9ibkHjoy9jMxnDaR9THIgWt1HCGVItmsAfrzKbATvhFvp/tq7lKFeWjHc\nPay/DoeCfO63MHzJ9qx2dNQvJyVjWt6npgc3/c1dovxkHZy5NR3lYKgLKFxm\nFgHCW134xt32/Ll+bskz507mvrWWv/LGP5tiWhbKZIta74tngBd55WYBL4BA\nxfF8\r\n=OCjs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"60432323953d26f13420564422cd25175195cf71","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.0.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.28-repo-sync-jellyfish-config-default-60432323953d26f13420564422cd25175195cf71_1622078348497_0.9480139222069521","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.28-renovate-balena-jellyfish-config-1-x-91397bf1fec162cf128abbb5a947f66f98856990":{"name":"@balena/jellyfish-assert","version":"1.1.28-renovate-balena-jellyfish-config-1-x-91397bf1fec162cf128abbb5a947f66f98856990","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.28-renovate-balena-jellyfish-config-1-x-91397bf1fec162cf128abbb5a947f66f98856990","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bc6357f70e365dcc8925344d965a6c17a6f89f4f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.28-renovate-balena-jellyfish-config-1-x-91397bf1fec162cf128abbb5a947f66f98856990.tgz","fileCount":9,"integrity":"sha512-8gGT/tVuPTHi7hQ3/S5bjb9JqK1mSpikrUS2UGGFyVVGWirAZPourm2ni2AphvFycI/X/TWYnj0VTtiqKxySCg==","signatures":[{"sig":"MEQCIES3YVmlccfKs1mn8zeVhgJMcFiltmorRSBPUhRkoDheAiBA6YNEDHs3mea9bIlg1IQEF6RXvHQ0/SwqJYje0GxeQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrwRLCRA9TVsSAnZWagAAXq8P/iL9bPPcSKwQ/mjtWu3U\nKMnFYpirJBVP6bo+vJsZk5DZP6dJXFaHdTV4QWRMMRT+25kEpPsMn3u4IuFf\nBZjnmZWjubUK/N6CcSBjNZQaFeuJOMZeabIOFla/saZuckCPqmAsO2ve2BzH\nFPIGK2+y867yQz2zkv45SY6eD0UsMWZD3WKOvm7dKmdAeS3eliaoZ10ZaAU1\n250Lkp+l4QRVUTv622uktApLoR7Jr7YttVxzP/XWOuWhS3iJcL5//GYiFXdy\nX+kJGYB72vKqVx8BLz4818p0g2hMJ/kCcji4SMqHA5To/hOUOxD9OvhxAEpu\nCrsHlwjAIUDYjhf1hib2d4C4VMCQ5jtKP9ZQGoVsg8R7WECqr3JmchoiV+D1\n7WzgBvuRTt/RVCFqjaUE40hSB4G6puPOpdsi3VjIf+Spmj3wW3sQH6foEFAg\nTB+BcAf2bXV3toFcc2GSAnEPI5uNaCGsSKLuZn/zptIj4JDt+bRjAuRz+Z70\nChrYUXV0glSCQsI2EFRHg6YNiHU0pLaskkneOk2+mdWSZGvQdBteEKobXAz8\nJj7K/VYbP5811gWopehsR0mv6tjMVBM1R8PPI4hhIbyUsV/JbhqIyBSJ7G3b\npopnz95ce/77FetM75F584TH5C1ApZ3OAV6ZXvrZJBBgU6VFHIw2AD7ucxVu\nikMF\r\n=36uM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"91397bf1fec162cf128abbb5a947f66f98856990","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.28-renovate-balena-jellyfish-config-1-x-91397bf1fec162cf128abbb5a947f66f98856990_1622082634968_0.4792953639843933","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.28":{"name":"@balena/jellyfish-assert","version":"1.1.28","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.28","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f5818e4ba71f9d97ee513f9083ed46532a3a96f1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.28.tgz","fileCount":9,"integrity":"sha512-Tly0Xs88WFBwXs15ZglbkN8TH5zRjGzvvYOxrd8Z3+bpFqFW1KisxsDX2BwoxIUzy0oeCCcpzv+Oo71AHJ3/2A==","signatures":[{"sig":"MEYCIQC3PXFWvDkLmEdIe4b6ZSz5aWNozWqBRixQPWpQSlGMSAIhAPoHuoSc4/RXqg0FDN9SNLaQI0yrV1hmSSk7L0sd9eN1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrwWyCRA9TVsSAnZWagAAoB4P/3NBsLwrrgZaC/MDOSZY\n8srCXuI/aTRxz+v58bxd4irO5eQdYin409zZeFvFeDR0hQOcKcK0kNX2TP4d\nAmm9bDSpC3Aw9AvOtdzvK2lNzTqHCU3XUe2MBmmrQG9aVhzwus+d4mtshQwr\ni1DkDIUkRgtEvm/ypTykOSISxP9vo9UjFi5ZEzL/GdHPr0vbrpv8X9VwYh5z\nZWvCS/PaOmrlTfwdcwbiQXOzRiJ7Td4VU5IPxKZjMw8MONLVuIU4YSJ7hSO0\n/svEKhFLglxXH+n7tH0Hc9JrWjbW0FRSzezTdMekciqsA94YGUM0cB9PmNNA\nz7RrRAFw7FZmKXEr7q3OCAPWbD87sjnjcXDd1q7QNbRy41BgU1upsHCzDqnd\nO3MgcoQJpegLxKQpiI9G36PFdkIp8Y+HzsvMGA1kRpO38bThF5kalVlTUYbT\n4cdrS15JdgOm5smdmMz4bRkb2NYK5O8UeECydbInGjlgYXAc+BSSWJxQL6za\nq56+ozRysfE1CxS51qqGvBIKUO2C7wUBfqjMUDRhPJ75fp+lF2QunEq7q4Kd\nORuOSpX0wwRprI6CGR1xkbxep2950DavIjMo3dumssWkLaXpTFAhIAZZttDP\n5ZEhJPlT5/z5sFkKDBaG1Smlm7HcxUlXHsRXvJ3kYr7zlfq8jZHqT9nmUq3y\nph3n\r\n=Mybu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8244a7e9ec4c4a117e56e6bee1fbf68f19969442","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.28_1622082994155_0.5206140068998486","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.29-repo-sync-jellyfish-config-default-b956c2d68f2f4c9516d5ecad3181caa85340f6d2":{"name":"@balena/jellyfish-assert","version":"1.1.29-repo-sync-jellyfish-config-default-b956c2d68f2f4c9516d5ecad3181caa85340f6d2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.29-repo-sync-jellyfish-config-default-b956c2d68f2f4c9516d5ecad3181caa85340f6d2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ae5edcf99adec2fbd8600211e861d3a2e198f0b7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.29-repo-sync-jellyfish-config-default-b956c2d68f2f4c9516d5ecad3181caa85340f6d2.tgz","fileCount":9,"integrity":"sha512-5EFqpMnaglrPEqjKn32irrlggvm4pPnzcOh3B8PMyT/jMDaEaLwofOwfCX6hURPnPOh0dWhr2CWIrsi8Q7zzwA==","signatures":[{"sig":"MEYCIQCR2DvhSLQTqn3BKNjqExKprWvOQ4vFgBjAl62WuJMHQgIhAIH3SlcYBFqa9cmMwWUZfQa2m3e5oJxuvgMvPVmF9qpq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrxCMCRA9TVsSAnZWagAAGkEP/3DDbhbyHFTnKYKXxYjo\nN/zXfF9nmQq6g9vaOfZWEnP494pvDc4A4z1MJrglo2rllo8hSku3U1EGDV6t\n6Bl7v5deCE7Aa2cfB9zbUFBhf60KYnhYSWXnRZP/gGy+0ke8K3QFJgEjQMvs\nxJKu5OVPNrGcfYi4hGn95iJGy4LSzH9Kc0RFSnJWljSyKyu0Id70qWnwpJYs\nVNvit1O/NSEGuVtBDqVu3CHeh5QUylYQXHLJlVfRWzLd8oFfVJsiqw56ysNG\nM0MbRg/CXTnfmRecmbJ2ewVVnxs7Jp7967ZLYghRFE7xKLsyIJ4keUsI5cm0\nv4ofEjOF7ukr1ggxH5FLJagMoMt4dICjCsbisTALIg4QNl6Qh28JKYaTq8eM\nKOkMsCS5NEpO0BB9zjthkVkzwq/pu1zekXPrWoKRGG40Nd6brH4JMG8XLcyG\nZKYz+qh+uvzl8Nfo+2RQoZuPRFoKknB886V05tu57mg/r1RQ+n6a+qZONjo/\ngpVDx2WTt+uDUiW89APgaMsupFkDAifkxAiRsJ9mMvDReAOCTrw8pXNW01hA\nEx7Jr1EHlj5Az36HgOE2/0N2A6RENBAY6R1a5UMNCQyUtAfAHhzli5zEoT/6\n27zXoDXWL3Xo3Ke6r/GNbigctRwsqhsnEnMlRL3V+c6jbzds9oSHQLRYg4bS\n140D\r\n=pmOP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b956c2d68f2f4c9516d5ecad3181caa85340f6d2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.29-repo-sync-jellyfish-config-default-b956c2d68f2f4c9516d5ecad3181caa85340f6d2_1622085771470_0.9034446022415967","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.29-renovate-internal-patch-0db1b278b3d2048ea58e628e662c3595f8aa3a16":{"name":"@balena/jellyfish-assert","version":"1.1.29-renovate-internal-patch-0db1b278b3d2048ea58e628e662c3595f8aa3a16","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.29-renovate-internal-patch-0db1b278b3d2048ea58e628e662c3595f8aa3a16","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"93e8475ab5e7d33c18eaf130bdaddf585efdcb49","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.29-renovate-internal-patch-0db1b278b3d2048ea58e628e662c3595f8aa3a16.tgz","fileCount":9,"integrity":"sha512-SfbacEoQkYKeVlCp131UF1vdr4b80kVEZYdpMAc6aNcSPhH8RpyShfDJN7hlartyKSVlxa72e2ZJBYIxBAMUAA==","signatures":[{"sig":"MEUCIAhl9UEtSc4oHtvpxaJH0M+qis7uHgOE/vgzffqw7JKuAiEA7A7+78Dyv2pTdapgF31ooMGj6YdYmv9ybvZ7Q8FMGd8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrxjUCRA9TVsSAnZWagAA5sUQAJyIXUzkCO9cFCP8JgPR\n+d7ydl2Ql6nrxXIFd5Ds2fN4kRFhJEgm3/xPATvpuGSExA76af+yxcTMdfQc\nmt1b+STKHwqKi0WvUwl/M7wHI9P7/s+HF8Q5ayLNc0Z3S4+BRgBsJeY/f5Eu\nbvYhaPK0z4Ennm0MlyS+lsl0SAacWBQZ5M3GvoMYadgyjg7oOzXUmLXMc4ka\nQkzluLQZ3Juyj9qZjOlOB3OIoiKpQ5Uq4vdHOZoXWvPGbSeibJgwPv2bzKMd\nTHQo5gU+LKt4uFVDl1zV5kWoZVozftnSPl2dy0FvUQyR95IWqqAxrC5NPzbn\nzzwOoeGvtyBbBnulQso4G+KGUGn83FoxboGHcPiAXoKYz9iSL/ACNwwiL83P\nyOTDL9A2TpV+62LeUNSoYSJJ+4wk1SvjyXKgQoELihEnCO795VgPaTK9ZgaF\nkN49XXFazMjdQsn4/zhy/UkDwrfl7fb4J3RQzFQoYguikktXea8ZSDfsb2bA\naDB6lb+iOrPwBw50GbXo9/3WYn7LC8slP64RUxXboSTzI6D6TorsSjkRnYx4\npVnE9oogB118jrPjqz21c0zeJsvtzwgPL7jAOE9sPiqWNR6Dg0SDDT5zHBAn\n35/qBLwOc/3mI7GYc0z8SqwZVDnobMU50LJQSsaPeAcTt4jrjLGLbbqQHsHg\nh9dz\r\n=/Qpp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0db1b278b3d2048ea58e628e662c3595f8aa3a16","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.29-renovate-internal-patch-0db1b278b3d2048ea58e628e662c3595f8aa3a16_1622087891701_0.6554255656154977","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.29":{"name":"@balena/jellyfish-assert","version":"1.1.29","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.29","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c46b3bef3416b97eace3d229b842e15e1c0ed156","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.29.tgz","fileCount":9,"integrity":"sha512-iqZTm6J11bd4JKklyQo9XsbMSPZzmzKi33bwu/0102aZRpuurT9lMtFu/mgs5rIaENkXmU3iQ9v6sx6zgqi+mg==","signatures":[{"sig":"MEQCIHzxK2VoCAyxo7f3FDADJDK5VzL0hnv/DEqF/KQPEbV3AiBGA79k6irg4SzNUcQhacnpf5Rh8cr7jnH7oxax90u7Lw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrxmJCRA9TVsSAnZWagAAjHwP/3szFUdb02xEg5atA50p\nQIY3afC6scuR6MeXf4M84hBuDHrtf2jy66RRuqqhvLDh44zjzQoH67S3dUsi\ng6O0iuNsI9Dw51ytmpLIz4zxZklAd9bRPILMGeaXomIg/UAnv/R3PVDiVW6v\nYTA52eNXUHhpkuCIl2Wzl/vLcOipNJTUNJkw6hRYilKHYKp/ZldPHpV8YRUa\ncZsuh2g5okU/EvTze8nO0x0/ecvVr81jBU+QcBjEGYwkU8y9mWX8l60TJW/B\nKbrxtDpuNygyCNjx49LjC0Z1//JeCgCbDLhOH9CbOgpixWYav4Fe2ThF5njC\nbVhppf39bwZfxzRM0Amv4ryjebkyVMUuwpm4ucLTtjwshDhXEwFu/vT4bqda\n0u+GmnPL06bKjzuez2snbmF+s44ls7MvF8cb8ZlEAkgb0ow43Rq+89JVbEwb\nx8aH3Cp8L+unNVnBH9T/aOeMHvc13baTHhW5Na5qBXfsDmTYZoLq1Bo47M6b\niGlm9x8ZuuHgAFtVUdj564PWvEOJbjWdq8Ux7mA7ju+crNAeangIhhf2W7+u\nvjaRS/y8wZNd4YGecUjodzuM8BLmAfKBS+QUpFF2mitAf9WYeC41RmzxrLJ/\nWcMhHSPdNvJsInP1yVVMN/MU4VVfbBmJsk0B9S4Ie3jA54mjnIDEAHM/gyNv\nMz9n\r\n=hHtm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"13afff80b9ea8bf35265304db44d4a5a7ee8b2a3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.29_1622088073180_0.5111634729762475","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.30-renovate-internal-patch-283711f577dc1c7725939632e4251ab95363bb39":{"name":"@balena/jellyfish-assert","version":"1.1.30-renovate-internal-patch-283711f577dc1c7725939632e4251ab95363bb39","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.30-renovate-internal-patch-283711f577dc1c7725939632e4251ab95363bb39","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9a2809d8a1264347f5e24907df14df9ab80ff897","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.30-renovate-internal-patch-283711f577dc1c7725939632e4251ab95363bb39.tgz","fileCount":9,"integrity":"sha512-aKNskPAu7/vWHgH+cMliAZTzRuCty0ehCcSyWRB/+2jDxKZZF4Rqkw+mxIzQDn/eYfITbNjhMZjHuymcB7b3AQ==","signatures":[{"sig":"MEYCIQC/cZaAQnYcHCYDnhzbb3md92x3Gp1QzYO+nRo9hhGnHgIhAPXWfHGz6HmSYarPJot38oxWFv+h7o/y662LjZ48fxtV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrydPCRA9TVsSAnZWagAAq8sP/1Fp6Hc/LQk6l/tPUXh/\njpU4lNPjgDfpX/tUQFu6v46gJK1jYrKbJkWUEpSiTk05jbMl4eLaNg8Pm2JV\n/zj0UJyONnFy0mTMkwaQQvSVfsXdmQuobblKtOYzWVsjDYIMkyzlOunJDcRr\n30jRfO5MttIOEkdlL99141HRde9DD+rNp9XruE0KTh6g7eIebil+34OS1/jC\ncJwQJtaXrRZumc87PKwYhz4gpF7GUQbfiMy8zbQRvasxjJKTRWu7ZXaEDxkP\nPkC26QGRHgit2pxEExajXLqH0qDmENpQPTHghMBbaoE0ycTFimeC24vRgosf\nM+WrTMhJ1CO6hZEvp9hplWVi465pS64HEsACiiWjVm/XngbwPYipiZYJd9ac\nbkHZnPJZ91iv57rEqaqVI+HF+RqGlUex7z5IcE7uoeoYHdyxDTt6gvuLq0WR\nlaUEoXhF1gYj8bAevAyYruvrJ6XSwBsOvIJCpTDpppoQd08prA7Lq/OSZPy6\nZotf3nUfnPPLkoNRLcNfnQynYQfVWoMzSWIJjgDx9GV0zAv0ErppiXlgRzf4\nGX2viB8laHK74Q8cs7PpLR/i4cNa7/gLLeZ1lGBT291Gim15FA29FOGjYe86\nQ59gflI7/t5N8Ksxla8qAA6hmcmMDaRWfYsctlCgcBEJUMYqubtYWSOVqvnN\nJ0vJ\r\n=N1VN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"283711f577dc1c7725939632e4251ab95363bb39","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.30-renovate-internal-patch-283711f577dc1c7725939632e4251ab95363bb39_1622091598861_0.9281583965945779","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.30":{"name":"@balena/jellyfish-assert","version":"1.1.30","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.30","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cbfec008121ea4a6ac4d0790e0e665d5933fb229","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.30.tgz","fileCount":9,"integrity":"sha512-XPGnVZyc/nY/T1GM8/SYDk1TtGfvfua5IlvYQPjNHALGFZl5ruJYC+tQ4GLwRtxAC6mgDIYOfmIXfX1fvpu2tA==","signatures":[{"sig":"MEUCIQCR2N1TATsC9xzIgGgViXBl6wnkIwWWeQtih4DNJP+csgIgHGKkD1LHzk1fO1mWjG3eP+h5tM+Epir/RC4iwy4bJWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrygICRA9TVsSAnZWagAAhGIQAKH0PeLXiuB/Tp1w1R7M\nmp0qrRbyRe/CeaJ1ofc/U6U7JVAYDYBEVMA50bsbYBQOuutftE718nqu0zwt\nwaG3BNAK3HcCbsaGemlQqdXqnQcYVjadsUiVCM/NywE6FSp+glTfrDxOXoYS\neg4G3YC6rsyHO8nAWcmy0ly1UCtkgDJ45gaoRmTSgzS7NGuhn+ahQAC339OR\n8Ai+n3M88LSUPQ01o/ioMaKZuaBdefFZX9pw+w8QT0eDxiQUHgH3s83C+80Z\nTcLb/E8V3WlpRJ6eotg9lMoY9E209uB6r66zvCOvpOh7aSaFrJjEeLvGAI6D\nUN0sRM6z+KLKDrvPORtZ6KHCeU/n3iwjmWDU875wADMboYGOHvGk3b5fCdMt\njIshHHOaPQWaXqwp7M4v4YBGDp2AC5Vai94+6WwrNKVtCmAlO7+mq+QON2Nc\nktLL0kXnCnYca+K3nXK2d22xG2kRiUVTGulBqMGdEx4N0K+bf/ncGPOBt4C4\nhvMsed8zHy0wYMy+AutBA5pvZIgOo0he1VJzFY+6NnaHtSgwaXYN/mXw3HU/\n7RvYyW1Xdx5ZiKxzYe73CQv6NCIctIeJ3oEgyQUidPRBldaj0ibQqFG7Y2/K\nRdC+ZWcSGVS7ZmJn57VL66wcSp6EaALJe/eFaDuuxdSjlAg6LavdUnOiIMRk\nLLeq\r\n=5s0j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4df648739ee03e11877ed9bc2c0c7f8214af5b4f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.30_1622091784049_0.2916515457660138","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.31-repo-sync-jellyfish-config-default-0dc5c137466a1d9d6f62bc0069647a49ba43d5f6":{"name":"@balena/jellyfish-assert","version":"1.1.31-repo-sync-jellyfish-config-default-0dc5c137466a1d9d6f62bc0069647a49ba43d5f6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.31-repo-sync-jellyfish-config-default-0dc5c137466a1d9d6f62bc0069647a49ba43d5f6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8271197d2d848d56bb0413723623a2ecdfdd1b74","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.31-repo-sync-jellyfish-config-default-0dc5c137466a1d9d6f62bc0069647a49ba43d5f6.tgz","fileCount":9,"integrity":"sha512-6u80Z+2bvFTaw1Vvuhndc8yYtqOQOQJtTlB8MlEfaRFgysFYZX4s4mrhPTh5mXjG9b3U7HCtpwTeNhuXWSMBUA==","signatures":[{"sig":"MEUCIQCobIp3/5rrTdZRsn6fljQv9Q4B3axD69lWbOeIgsNNoAIgd8o6wYgyjYLF+7Q+xmSc0Apf02OFxG50/wDc3AbGxBw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr0DoCRA9TVsSAnZWagAAgrcP/RLr+n9E/PrrVxb6FxA9\n7CAr1oj8DNlEByORqzZgg/x7gDfAvP5CDnbuTIlAaAWCHfiSWocsfbCsvONX\nwWhCjRALEcqjFVdOocVhGpN468EWyjSZKCi76jYwQEXo2C8Ire5KSRGWuHsP\nVU3PtSAFEhKW63R8EN+F6L5FjqXSu1MS4T734o3vjU02209e9Gv3qT+EF1aA\nWNncsYnJsZYPmrZpjyNZfu+Uf+6ZG1b02b4lyrhTd/FlNRcJF7peQku3WNrK\n4ZJIB/ZyL5iPavM3PTNnYr0PCJaxywIsxnSbxkbAwxO50h+Jp5tq3YcuxHui\nT40TWCDi0I64t1oyRTesdlyCukLr9ROd+VEyYTdlpaSRU8HSkJyCM2Guqmx/\ne6csNf+Nbnx7AuCIyC9LZIwvp4abu6G/QH9y2fHKoyrd4VpQ8E04C6EkWpSw\ndB9brrgMI6jM5tKOTPdkcdvJ7V09nNzI9sLcY7EeDjHb/EOzqxeAn8Z4nFPQ\n/bb+tQffa/bT8qiVS8x+eeJYKxv4pllWEdOmT2TWIlv2dDvKohceOT5mJ10R\niOTZTOf7POxRL9temf9UfjXcdYkFQepBhs6w1JCc/iJRyOpumnrRPkd92ilc\nyTk9zHLGDchJhX0h9uOEMqkw2GwPbwNDA9RtPL7UUr1xa4gU0TqkpQQRhOGj\nU3Jp\r\n=6Pdb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0dc5c137466a1d9d6f62bc0069647a49ba43d5f6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.31-repo-sync-jellyfish-config-default-0dc5c137466a1d9d6f62bc0069647a49ba43d5f6_1622098149804_0.5008643705463653","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.31":{"name":"@balena/jellyfish-assert","version":"1.1.31","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.31","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b0c737f4455eb81f8c3b2f75c1aee91c4d7f282","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.31.tgz","fileCount":9,"integrity":"sha512-kapRWeezOUfDPSYnvE1bn7eTeaBK8qLeQZbgVidwpFQRc3GVh/pRzRsGJHp1z+xU0OAPoBzFlJLk7jjlAXDwUA==","signatures":[{"sig":"MEUCIDtYlyHkYmWzZQk47DNt+Pt1U0j+X7Enm9SSaqurCzrDAiEA92zkmqBzK5P4uJ0YCSPCOS94m1lPx7nGPgSbIB0Z29Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21645,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr1hpCRA9TVsSAnZWagAAp7gP/iv/DVKZxi2Ls7M/iBNE\nAfIExuDDHB49TWpQMbpQIp1rGUJjoWBg28wpVOZu1aX3Vyr9tXaA2GGNkX7z\n5qqdK3PR3xyl7kVpflenDVph1Mp0AceZ0ZpfMJsOnVG7Crdc89Bz60fQ677k\n2HyYFniU+aB0iqLa8vWpB8TxtlSdoKbwjvgxFaMv3QgJYp/P3LzaaiK8pBY6\nYhVYqdp8Rl0+paz8EzOXrrwSRD53mTAamn51HZdWmdI3a/uSFoQ1h5iUxxcY\no454VCE/GM0of0Y78J4DI9hM+i1KLBqTCuR3egXEhd/9qzJKQmw05blRokA+\nMwPQkQAW+O1eCJLE8Hl+QSfULT08ldE+QaUPCCKdstOcVdUc/r4vDZ7LTt3N\nZIwtN1ioR/PLoyExM7vDAoYmD0pwnsOr7dSQzIuAVGS67lhTsmWriLMouOdN\nEa9uSvz52fDKK7lpsX8+Xw6YLtaIBXORZewiRhvzpUq+IGjbm/LEMiS9VD9f\ni0GPfdjudjuQP/krefAIOOasa/1JSf2oZXmj8SW5WL5Pruh9F9HoB/j6Zvyg\ntZZiLiCrrlNX8rY3GZwh+c16FLaMsOVVDknHPAc3J3f1TnYSkaJs6jFV8/vU\nm55COinlk9176Lwya4ziZaTSHbIRvZlX5ZboA6rxq1eIaj8dzew0Z+bkquwH\nGSOO\r\n=GxTd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"93cfdd12765d622eafe5dd69fc996f07dfca2822","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.31_1622104168822_0.5569746069712598","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.32-renovate-internal-patch-c2eee78d60dd2c7042d27864bee83f75ca9cfd07":{"name":"@balena/jellyfish-assert","version":"1.1.32-renovate-internal-patch-c2eee78d60dd2c7042d27864bee83f75ca9cfd07","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.32-renovate-internal-patch-c2eee78d60dd2c7042d27864bee83f75ca9cfd07","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f8e4b64b2d4d266e6ef3231cae7d499221948518","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.32-renovate-internal-patch-c2eee78d60dd2c7042d27864bee83f75ca9cfd07.tgz","fileCount":9,"integrity":"sha512-bYZ2QySn/rW2SCKJ8E/Q9N6pkmTy2Xyja3aLbfWiW3m3ZIRMl0oVOQNs2m3+L6OzlsKExsjzW/3cN3F2gBI1+g==","signatures":[{"sig":"MEUCIA55ixV4ycr2c5Mc8DjsWp9o8xTsnCchxS1hae5aogvGAiEA+s2Xx6YrrcvhIYH5a2t+FLtU84BbvxAl/5uNs+m8buw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr1peCRA9TVsSAnZWagAAGiUP+wRu0Bbp7B87Luv5mJOH\naVsIhoHI/dCLRfcUHey3YuOzDn4hEOtJs8jEK3RjTkwoLt6Olnw26uh5bLMF\nHuZiOkMIhbk6zRTvufOsAfMM9N3To9WZ78Z+BTGKW9hW9ZYKyjXGDZyAkD/6\nRLgO0fZ59kYeihWpfK3gg7QvBSS/HxvJ0uBoLvIxquzoTYgZTLGD/f3Gwg2Y\nHb5CDtoJIIN+KzKftlj4M6gfeb3crw9MIgubTUbPPdF/a3/41DkcMxwFDMM/\nw0yCHm24dnw5rpwXZlyhmz4ATLZ3ai3xAuD9pXG6IJGv5MiWQMnIbVUF59o6\nO/tij17RisF0jykyLkyonJddcrudEpLotZDPw/NSA+YaOlf+B9KA/8V+T4zq\nk+FlN51Y8trHo+90dBKr/vF4+/nANoKphtolKixWhv78RFSBRv1I9yzRbXbW\n2caBIPlZRrNi6TRdi4g46KgEVV3XWaRbKKShn/AmftEN6yyqBILAmJtUd0DW\nJ6ArWteZ7TmdkBa8TNo3FFfnVAo6kuvcI0/gX/xlyqjodLeUxDKxC/76jj23\nAlForTn92em+xD+FngV+8F0EArwANYJx9WqVuwUHsHNxbgSShC81mjI9fQo0\nRwrFp8sp6nz0jqOX/TBRSCxxcGAgvXB7tyZqnsiJk4n2Z2mOJuL7WDCXL5tJ\nfRrf\r\n=CbCu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c2eee78d60dd2c7042d27864bee83f75ca9cfd07","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.32-renovate-internal-patch-c2eee78d60dd2c7042d27864bee83f75ca9cfd07_1622104670315_0.9337488758377002","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.32":{"name":"@balena/jellyfish-assert","version":"1.1.32","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.32","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ed03abf95bd56453c52c248f3ff424079b1fea23","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.32.tgz","fileCount":9,"integrity":"sha512-s2ll55S5iMfSRMLTBqnzUN/i4ULkVHzWgnZIR4mjgfma6AANkonEE3bnwk/xd3f+eur/1xJ2t1HHmWKq8oCvog==","signatures":[{"sig":"MEUCIQChugcatcyio+ft7iEZukBZTOFUxpdWPEjkjFwkYkl8AQIgXmoXNVSKDNNRh8AFY1bqDTrJT8YxnIZ8z5O3mOWQRI4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr1xhCRA9TVsSAnZWagAASJUP/ilyHPAdFygve7zMF92r\nlBscXu/jplHTfrR4EVDJiBCB7jv2/wCppdXI5aVX0pkLlcMfP/Nc0MU6uv3/\nN/Wy1COqCl6LhR97HNwpCe7BwTh9IeYuRyxnyKp5IESTs/OJrZaikRhUjG7e\neDiVooMkIMPl4lgjGy5yooHFy7bqT2IDAT4xlkrbKLNvIibIMmTVdvSRKWTj\nwWIfzeq65e5lk39Dhfs1uK5XsV02DHICocwEBxO3u+LQGf6ZhSqOk0a1vilP\nNv9eiuIWRjR56lL1S/C1w0VA2HJY/cnICCJhBieO0gl19pu27LtTInw95rzC\ntl8T049fLYWopeRfho6cBrxFRAh7/Pv7+owJeSBcN3solSI58fqcokN4oN6b\nV8FaMuIDqPjfAB0NaDODd1xT2JImfmRylEPvlW+gmjt/iYj29Z9im3DgR69K\nAz1iHC7UR1UoNdm3L0e9OSikp/jRGRRUYt0KMMsbfdYRqKpq6ToJnbij88cF\nzCSJy0L/zvASz2KPpJk5gZvHG23zd005y9Ibi6mExgcA4zXIL19rJmsJwABT\nzcXjJX9onCdHS90AFkwyFgfYP3svM0s0xhd03InRvsZizP1K/RJ2zkCN1McZ\n+ar8xurikGTS+/yqe6E/5Ctlgglosfi9j9XcQuBAaPMg2nQu2pboa7YRODLz\nFqM3\r\n=/rVC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f949b88f34c4f35de90db0ae0b8b5d1467e5ea4f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.32_1622105185215_0.5478588056959233","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.33-renovate-internal-patch-0af777732a7c58feb452fa642080e39e03f617af":{"name":"@balena/jellyfish-assert","version":"1.1.33-renovate-internal-patch-0af777732a7c58feb452fa642080e39e03f617af","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.33-renovate-internal-patch-0af777732a7c58feb452fa642080e39e03f617af","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c4e437d9c942f2fe3fe4b318bb2e945c361019a7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.33-renovate-internal-patch-0af777732a7c58feb452fa642080e39e03f617af.tgz","fileCount":9,"integrity":"sha512-qxRiIpCG+5xJo58gCPRvJZ2MVumr5/p7BIt5tJywfgKOm3ssP6BKOqPQr56wmZ6ac/IKsQ0eHwnj+m7cW7AAZA==","signatures":[{"sig":"MEUCIGqj6xQfIj0qZ5HDsfos6KGUxl3FJd+VY6utky9p7H83AiEA2Xbb4W67QOpw54rYm68kbuiiLXS5AkMNAAW+YjlNgs0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr2ziCRA9TVsSAnZWagAA0ogP/isvaCY2BycKFw7SixJc\nR/Qy/LfXS7tfmDCWZWCaYQ2w++yblH1EYrQ9IliBls0/u0+Nhob9zqncorsc\nTu7nZCdj+whqbbY08MF8LPoOvc0jHWVYC718FwTZj0Dl/6ctdX8eOnBvK579\nyGOSt4LbKlz/0UsH1pPQvM/7VHo7bFzbjTZVkcC5yFpj8HJlWn/o241DSl8W\nQK9SIfttxLDIxNYep8UDCVazleyTpejrxju0zn+A52Eoq86BFXrVs9IARekN\nef0YFrhmrjO+5ELJnAg/rUzuOcy3MGD6JdxyQyElmmfZZE82PRL3fAd3vUro\n9RkSHFyzgE8X5Xw7vnwL8orXo7cr9tPdf1vW0sObqdi3CwH1vK0WFpSUr0qH\nxIzRgD/YuMW/4yigcJVyy7rjUl4KpQJQVk1e4FnFyZdReg945PmGN8fQBsbk\n9ecNVIfR10Nq+YkHFtx28325nMPCATTAFV+Y6cu0zXmhTAplJbzLcrrFopi5\nG3CmXOkMaFu/3u1FRCXi5suEBLIUBNJeoeo3+WDuRI8zt1BZC56dFQ2YpY9/\nKwvybcnZU7c1wf/rCV/jDIv1YB/O4vB9lhbi32htIqRJ9peulaRr+02kcZ1Q\nB8oD5TcfMf0lEX4645ovQQgT9I9GKjxUWM6u44yCmNkfawVd/rYolpSVXr7t\nFtr9\r\n=veJe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0af777732a7c58feb452fa642080e39e03f617af","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.33-renovate-internal-patch-0af777732a7c58feb452fa642080e39e03f617af_1622109409957_0.7685409268862045","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.33":{"name":"@balena/jellyfish-assert","version":"1.1.33","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.33","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7bd3de219c1b63cd68352c9b7e894431f1be2304","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.33.tgz","fileCount":9,"integrity":"sha512-Q4Tm+3XV3yopwJclpGCkKkeaH1A0VRkhBAM/RUqXDnJ7Lkf8/vzoq9hrV/jBc8+0tlmAA6Lcglru7yUqM/H6qQ==","signatures":[{"sig":"MEUCIQCzLYtAbatuYS8pLDT2KAncg2JKCvGxugmgmNHpikeztAIgDz44rSUHYTHZO9UvbI0Au9PT/2iS6gGHkf8IIwJbT+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr23KCRA9TVsSAnZWagAAuXYQAKQXk5hBEIyWOlxR4t5V\n9fvgCD1x1DeB/YenjEanEoCncobxPc9i9UyzG8JDjvFWTwQfW4VuvolALRPs\nR+vW+YcYFqunjxzEE1syY7QiQPsPEkeNU0eDKr/BqAwcYm3pf1Jg7BbM/mIm\npp+e6+0uGu3r27DeObXeyjT6QEhb2AjFSQ3XqLRLrXfoAwEd4HdQXnO1Vv/J\n+8ShL+3klIUWSdjTdBisqjIaIpMtuXwHAjZtgygbh6a/VdmxA0ymsn0ArVsS\nRhd1Hji0TLD1kFJxs4d4LKwt0Zhc9p7YoQZX0wdPcqgSWP+6NWk7s1I/GWoD\nIskPNNWbm2xqHoE2rzpi1LHcMkYN4A9Vu5fxZ17Dae4twCS2cmTwySu3vlt3\nFsERwJTtgQiL84fQlWFa/4sxZGwPTpF7BDXzwB0cUk2Trr11iJHFKFfvGbo5\nzyzc23AC132JMplDKKh2TTrk2OOgnzSxm8RM+0Hw+icICjFeKuG91s/9T4RS\nhVGa0+O51saUKAzB7lTr+tkJNca80rYUZb0mUKPska8H3xmSOyiiD/L0AjxO\nOVp5eHDfD16Xgj87lFRBUiJ6ib8u6odWmhqZw3P8wGv2sAU8DnpELN/A8KUw\nHw3OkSXAIf2lRa58BGyfqts4KMbHwoAEKNcVsOh7Ha+l7JMYFzrVGL/Lcens\nFBxt\r\n=kcLp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"970266062a2567de717eea5f129750b35a4e1cdc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.33_1622109641807_0.814995621130731","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.34-renovate-external-non-major-6f416acb77da94f527e0e69e9d90402b35d4a3c8":{"name":"@balena/jellyfish-assert","version":"1.1.34-renovate-external-non-major-6f416acb77da94f527e0e69e9d90402b35d4a3c8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.34-renovate-external-non-major-6f416acb77da94f527e0e69e9d90402b35d4a3c8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f6e1f1168318ce0c2324450a9e1cb519179da6e7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.34-renovate-external-non-major-6f416acb77da94f527e0e69e9d90402b35d4a3c8.tgz","fileCount":9,"integrity":"sha512-Zv2OXOaisfdE2pE5WAwQjUtRp8F/jilLEdnZUlE3rvLGan/r+pe2udtZ8tURs1P60Z5XSF41rGInyiY462evaA==","signatures":[{"sig":"MEQCIGVjYQU6vuMEaADCmNayYa0yt5YS1x8DP/FvRuOCObjZAiB0AkwJ6C4yOj1+fv4JZ4m4AjOT2qnGJwZ2G1MoO2M7wg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsYzyCRA9TVsSAnZWagAANvAP/2x8JBzh6jakm7vVf4s+\nBZtEUQemOESYV+v2C6sFCHpaCQ8SIJEWHeJNwMP4h76s5tOaUNX5CIS1+kwS\nmbzqJPV2I0YH1Xfri3nwquGKzld9wljUdEDMtFpQb4dYavCuhg/9g9wIU5va\nashHgsRLgikiIc87DADWlduiZmv0zXrcbYa8NMHH7X3Mpu7l9UI5v+SFoYPV\ncTr/eRemRmfAbuxpD81ZARggrxqx2OPMxxZg9yGJzFDaAwBfXrD6kaNEouLM\njhQZC/LHMhPZmBwg323So+PsdiGfDnzW70BuD00UZiTrtLU+ccNJP1sBPVa+\nfS6FleFoC1reDhgQm8akrPGVzdrdpRaYK5w6uoZaB1+AJ5PDOvQBKe5h9vuw\n4lI+sPwcvdtW6c5zXwoDnQiumShos9uSJs0nRMMjaQ08kF94coOA/ap0gL9h\n5vWNxt9h5QMM8JmN6p3rrthPz0L00sQlIY3HXX43Sff+MiDDKndqty7z1uiL\nPPDuhwHK0cnJEG9YjRU6IWved2UnZaOWbutC4MY1w54s3GPR0sQeQDhV4WLl\nVl3uHIWqQkiHAwrqnQc1zwMGNQI4Ji8bOXgyQlwybOlxHgAHBbDIKvdegy0V\nSaeoBohG0Q5sd421ndyOUCpgxOrhP+tTvCwlckU/y279w7dIuoxN6MO4NK1H\nAD67\r\n=lrVK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6f416acb77da94f527e0e69e9d90402b35d4a3c8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.34-renovate-external-non-major-6f416acb77da94f527e0e69e9d90402b35d4a3c8_1622248689688_0.9041331035346327","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.34-renovate-major-external-major-7308647240f536819409ef6696d403af4d02865f":{"name":"@balena/jellyfish-assert","version":"1.1.34-renovate-major-external-major-7308647240f536819409ef6696d403af4d02865f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.34-renovate-major-external-major-7308647240f536819409ef6696d403af4d02865f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"85216f7addd20b79d8601b52aaeb4ace60d2ebe1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.34-renovate-major-external-major-7308647240f536819409ef6696d403af4d02865f.tgz","fileCount":9,"integrity":"sha512-WuZzUllzFOQMWA5kOgGAEwizZF0ioMRybEiKHdelf7mMnRwcdM91A9si7Gc6AkP2FzvUFOJI3k9NhiQjQmhoXQ==","signatures":[{"sig":"MEUCIQC4eECfLmtWXAU7cqGS4oKkic6L8Vq4MueVLCRvD2bX9wIgf4EGOpp/F7e1+9Qqj4PwSuMcXGU4dgEq4XUA/jxLH+E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsY08CRA9TVsSAnZWagAAJgUP/jD3srDiAvVCMG3Fz7dT\nPLrxJ66dfNnPB86Jfq3Cvyti1CajyRPCLoAWyKsnbWAxpoS1V6F0asFsYAMm\nB/LywKqJC2w2srFzPTi1GXG34k+W7OB646RifOXNJYBpbbuORcO0j6uQEqXA\nKkXOOqJeIclBfxzxiN/gqyS84DvMvSKv4h1WRPF0k2Cc2JvOWlXZEk+kJkrG\nHFqnRBmyvqUKQaktRIdmHmmONtosnj6TIIxw8xIzH0IPQQWbqgojnWcda2BE\ngM8i6BrnH4U6pF4jG6Q0OawMt3fRp0ZKduC96Ibz0IVrzgqhWTiZZr1ynn5w\nO0s8FeHfEcAyagPB4B0L3AIxwZa2+UR6rZ0eJ1DSqGiKuNMhGfGrIb1dbiff\nSo54UpV9SNqukculZPicRQDyYYoDCcj8CROFd9wYWb2JKYMfjAYSkDSkNSY6\nfgrbRJAh3E4wEpNfn7MRZnXTYTfkWsgB8bXfojZFPom3Lh6aKm9MCjrEkkAP\nszUxkKMnknNW4IdZsoncwV8I5xskzytVXg36PqL3Vjoa9I3Qghmhk3KiaDdP\nfsBELrl82LDtJBcWTe1/iy4ukvTODyww0VMJBtvH1hUbWr29934fxtHOI/mR\nFC7UNKV+t9WJs5tl+BvZqHPw0OwsP0OHY+0buPMPxU6OXTN9E3yzT9zdUK/O\n/H4v\r\n=yv27\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7308647240f536819409ef6696d403af4d02865f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.1","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.2.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.34-renovate-major-external-major-7308647240f536819409ef6696d403af4d02865f_1622248763834_0.29770889670340206","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.34":{"name":"@balena/jellyfish-assert","version":"1.1.34","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.34","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e2851d97450462828f1123b51d9d8388c3d8df35","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.34.tgz","fileCount":9,"integrity":"sha512-PoaF5+YgGinbOndmrCCNo5z7J0Ro0VRJeRF4SrTyCl9QgogxDtDggfxZ+kkd63xjKS9fPVNz2ZwopXxNp+/vmg==","signatures":[{"sig":"MEQCIFw1mibCQXfyiht1ZSlfXGSoAAHvNgAVexkTscaDt2F8AiBBQv8JMkP2DCWuWJPT1f3YhdmIxr/WYG8ReVkGsdHXtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsY3CCRA9TVsSAnZWagAAgswQAIKZbO5M7dc5aLtG4Qtw\nT/rJ2sBgNDpQd4aTpsPtaEqlLgg15c8YpaAx469GLn6uzfdF2VU/4neu62EX\nDxbHeA83E57EtqSYKBD6CY5fWpLGCC8yO0cLBmxrkpN58q1Y9z54KyvtcQEV\nx5h7UVadg0ogR+B5TXTiNBwJ+at4GvhINWqtCUY4krYxn7cGtjez7gLFrkcI\naofcE1yWSNKXNFl3E/SXN4GSnqQ8hJzC6yYN2h66jWG23E4PPreIdL2oRwt4\nbc6GXN8FCP2B+3W4dgRyL+JOGqeY/rzEqqkkZkrze2npWoRpmieeCNBvnwXt\nq6nGmBmTB00/XcqcqxAlB6p+AKrfQK1+LLlvmlsh5mCLXLbSW9EU8uTvY80W\ntsV7WhTV0BrRsxIkGqa7MZb2/7LtGAzvhXJNzR7BnpnG6tFxrd0Jq2Bv2+mL\nTIN7j1lCrf5NCuGD/YLVmbyuRg/L9TwXkjZddISisl5qdl2ioPJCxQcxap1q\nzVggO5/LKhiAe+LvKwfS8dL4rSrgsmFRwgM5QXFJtJ7sHP7FX7HFan4XOAI0\nP8t3RJ+2DFpB3uTy2BpnT6/aFRc5xvcVRhz1Y/m36dUi8+7N4dQB11/vp3ZQ\nR/Y2sIBlkoru9yy3tmGYpE4DsaIbW86xy7V+XRXffK9Pt6fow27XEPNVsWDY\n2cG6\r\n=4Em2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bedfa976d66612914fad81faa6c74f6b50496d4a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","deplint":"^1.1.3","ts-jest":"^26.5.6","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.34_1622248898371_0.7524486696699437","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.35-renovate-major-external-major-a8566842fc951bc1e90108337b50f2de0b1306b7":{"name":"@balena/jellyfish-assert","version":"1.1.35-renovate-major-external-major-a8566842fc951bc1e90108337b50f2de0b1306b7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.35-renovate-major-external-major-a8566842fc951bc1e90108337b50f2de0b1306b7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c40074f99a71bae97336cbf0589a00469e97afba","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.35-renovate-major-external-major-a8566842fc951bc1e90108337b50f2de0b1306b7.tgz","fileCount":9,"integrity":"sha512-op7BSsO0rdYxoOoy/93vc8dCo8JGHc/US6SKrja2qDzhbWezuyqCW1a+GvPKsX58GEffwMwsDQ9fkGJGTYh+6g==","signatures":[{"sig":"MEYCIQChaR87QecEObu3HnsiTWOpTyxSHpKUZ+VHOydZFOU8nAIhAMf8zjJRhKD8MbBCaqOQEW8soFMxA3SGS4JOMFyAAxvN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsY9KCRA9TVsSAnZWagAA5rUP/1iyoVMUoOqVJL0ufgBx\n97yfVmt23177EWEGDsdw/5+CCY8CL9rPLZZtwkW44MPIEuAwXkjDz+G+i9qn\noubhGWvlK6ey3bCNGCpagn6uEdRdHcw93RAkfPx67CDfR2KvMCpnTvrya0vk\nltt+bPYzNivU2wYJBW3PUUJ8dPcjz9B3QRbNaAb9kAjuNXtNVyNi+K2Pn+3a\nIkFfYoJsbx/NpW29dysCGVpX6AjzYyEtu6aNNGZRk+FAUJI1HG1W2fTDH7X2\nKMqfWnp6Vj6oPeN6+f6pFtKQYod8vC6jfd+KorxsjWvSbPrLncDSIWMHHipT\nsEfPsWjZW+n4chxOtjptJswchtxflHafM4JdGBYcCpxvHqyX0wiDGK9VP3Sf\ndF+fXkKKWl+DTRbh5PerCGXLLl8mN0QYsVG6hJG9k0EWltNBZ0IXPD+7ArHj\nmgeJuHbvLza2HGrqKgEz57f3iOhx3NNc+JsdEozEPSKH0+Eu3UNi4RMuvPyl\nk1IU84q5lqkMyxaYGkb/cZbM5aboiWm1v6Y09brqZ2UnqrS8QloNX1Ut52yY\nnn9bPxlxJU9mC1RO4nEtHk5MQQcRVnZSsckpt94sahR5Q+RNq+FLjzbgZW4R\nhrjB2RZVXODR9X2tgd1gynV1z5OJkxVdAuCtgDJNToELrqCG0sVJ8JvCSd0T\ntAn2\r\n=qF6S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a8566842fc951bc1e90108337b50f2de0b1306b7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.1","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.35-renovate-major-external-major-a8566842fc951bc1e90108337b50f2de0b1306b7_1622249289858_0.07855801014641317","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.35":{"name":"@balena/jellyfish-assert","version":"1.1.35","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.35","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"639e4125b66cdd1974ff42cdefd36f0d27fdeed2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.35.tgz","fileCount":9,"integrity":"sha512-rEvEtVq46wuTXTKuhvj1OWTPnEySQVzXHuitiaQVbZlfWrOYRBykos/Ea7dfmBjTdewkGLX9SFYy21w/sIK1qA==","signatures":[{"sig":"MEUCIGn7tPTlRMIAiDak3BefYoon3wLJrDA+AqKyMQjlNe5SAiEAkaKawrSa4GgrpDWjhCxTf1lwKZoZ/2ZhdPeKW62kbyM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsa6nCRA9TVsSAnZWagAA7pQP/3LAlDPmIpvK89pWObzg\niLsoaJQ/B/7dooSmwgya+v6fO6C6SBx1rIZvEr8QF5e6gnV1OrSLxYjmP7X/\nq+YY57nEthN31+kdAxc/PMP0BXx4FVMYHJf+L0u56cK7PJ0FasHrR3HOCMJr\ntJKjq8Jl8t+h+oDT2hJySwt5EAmglCFlrHI7wBO04lej8kxFol/FG3b9HCOT\n/Nz7aHBbhiuTkdAeYgP/OFszYwio1M8YteTO4y2tdaE+HDnqy0fxBgR0pKnf\nXpP9ZVG+wt9aex1+UkBk9X1S5pc192fdQFYovSW0vT1bU7A+sON+ou9oW14r\n4VRl7r00enZ5GU5zVYh6wj6G0Z4YHE5wYpaGKd5nEHkLOtmpTCmygfgoEq/D\n7SyQoXTi1fFGelzfzs49IITC6I+OCmGZ/f58HpXIKJQngdZn6L2nLunWOb9T\n04AjQJcRuFs9M4XbpBmnuNmfOUP7I79aDYCb+oGr+g/u0vSwUHL9F4OJgYAn\ncTdzWHP7WKo/DqIkyOt1DNejkM858gplt2OxYj8789U9V8QbGa1bYc4oZobO\ni6bq8JPyvU05C0dL+068gnscqo09eCrxTYD0Z2RWzlrA5DJ5Wey7yLlDcDpH\nnQ0OvjKACKM6PBBoyNhPlU/+OwP+KCwkGk7Z5JSsP33mfp8RAh9JtFzKa+83\nRLuh\r\n=Hmvr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"32984bf7b0e349efd38c57d4fc829fcb694521f6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.1","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.35_1622257318420_0.07715681720672452","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.36-renovate-external-non-major-5c4702f375838ceab6f6c4b2fff5a8acbea69c93":{"name":"@balena/jellyfish-assert","version":"1.1.36-renovate-external-non-major-5c4702f375838ceab6f6c4b2fff5a8acbea69c93","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.36-renovate-external-non-major-5c4702f375838ceab6f6c4b2fff5a8acbea69c93","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9bd3fec8e326390e1c20fbfbdb50855f4d849010","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.36-renovate-external-non-major-5c4702f375838ceab6f6c4b2fff5a8acbea69c93.tgz","fileCount":9,"integrity":"sha512-tQpWWPY8Rxy/SDc2uVxwMOkUabgj2hb7xmC0E6cykklIfTSPLLheZVuelJQ2zGq0ko/0rQyg5V8gufQUnIwgmQ==","signatures":[{"sig":"MEQCIHjjzf9YCpMJjqeSkrYUjULasVu8EHjBsiDWto6BqleRAiAKBD6UyFd6zkfnlxx3hd9n+MsJIKHtWYSfEbb96K29Ag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsjq5CRA9TVsSAnZWagAApRwP/12+BBJSe6gHTx//QG1t\nfcyZLfpii9e6f5ruAGmEoL1LkjUh3mLqixKx9/PAbpmNtq6atQ5JvbAFMtAg\nwjFc/gZZ/oQCXojPVSsq+FOJN1bvkkCXIW2Vavi3D9LR0b9xp4RoXlmtyUA+\nB2eUH4n3u4C2Jbcd3YWuv/+PmnUx24dCLdZNO9XRtYDJX/HRoQ1ZBcRzx0ps\nvso3t97d8HCYc1Pd1M9SIC3UFu89g3QfR//fPIrHRhQru2m8+JyjQIN78abc\nXMRDWXQr5J6+nQjM86KqBAUyHKyIWfeh6VBQ7LIy5RyfaDHeJ/lT5ITYqsTj\n2UplzedNxa2sXDWVgUAaAhP4y9oETsJ60W4RX6nyx+IZsFLD0VBRayMeRNZ1\nVjZaoAz1uqLCQOJKiwIkeZpGUY4/J0QXEaRL7lvm8M2gFMCs2XZ7WxCxmcqc\nWUXR8e507Tpncke5y5+wGii0m9s+BmUfMikswtPaprTFJqi6QtKr0r/fxSke\nqucEJS40zFMUifmoZISsgh3HFdD6imYwbRxS20AST1nKhmHws8NI6abDMcqQ\nhKd4I660I/+0H3rKt0CJfzW/+e55iimkT3kMvYLT3QVvfsfX8GQ3l9Lk6R+a\nUfBRN3aS+zWBiMybZaunDd0LoLYiDBXYkkSKt1M+lgadxCKAeZSpCeorLlbT\nwcuG\r\n=sZ3u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5c4702f375838ceab6f6c4b2fff5a8acbea69c93","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.2","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.36-renovate-external-non-major-5c4702f375838ceab6f6c4b2fff5a8acbea69c93_1622293176631_0.1814949834761721","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.36":{"name":"@balena/jellyfish-assert","version":"1.1.36","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.36","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0cf09a10e829a77119650472ee4893777aba4719","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.36.tgz","fileCount":9,"integrity":"sha512-1JvE33xdChGSbgtqAJPGWdoapEui/P4NmHpzhVMAy9O++68UfxMNeZ/uBmxwIFMUEWzYw2pvtDH1snR6gBHFSQ==","signatures":[{"sig":"MEYCIQDL+O+8iVuZ6a66GcAq4mPAXdwrV6OoXBGVDj08IIkDSgIhAJYlXq51vRokLppe6EIQVua/Iqd4sL6mpBwyDke4tcn5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsjtuCRA9TVsSAnZWagAAfJYP/16frm8Gee1zBybFjOpR\nzGvh0SJcEyzdrtjYiwolJvs/y3xCvmWwHM6uzGvMU//zuJBg54+6LAfNIp/z\ny+fDte6WQwvmi9shIxElbnyNJNc71DJ+E5S7Lz9d/Wx6Gn5S0+poqCby6lZu\nV/+KNdw0jgegkHsAQe6Lvr9478WFXthhRiB+AVuhwDI34cendowqS/c5ZeD1\nSFuN0YIIgn1PRC+wLRoI8S+MIrfYCT3u/hmSJkgTJPpHGp+cZMgG+U4ANnO0\n+NmXUE64f3Eld7UkDk82/f3LOZxSqgBkBrE74Gpp/ZPvecz8LRamxMEsYk5k\ni81Fx+dkb9KLDfBcW5TbUdUvoicAuTL4NLE69ytnkgQ3/WKL5BgrG0NdgBp0\nfQuSDxJkv5mFBJK6s1v+S11Pwd84KjH8vS5b3th8UKy7YYTVzt9fWJlJaCf4\njcndWYE3y9YyERJEwTfbwq1q169TaXM7GKY30dNxEGBM+2mIktCilLuG1O8Z\n4BXSziq6XwSmxUXOm++9mx0MXi4enSPVlCk5G3DGieXO2yCnq9+ROrgnUeIt\n/JhDgPjBJ8y+h3bvyZzW1TCZoC3/M22SFJvDiB8IAUGDNdiiDQj5ebecGhU3\nXbeVvYl7DsOKhFvKc/tdP9Dv2q2Se2lX2naR0iNBrTF/rZxgNMqIKhIi2QEP\nkFld\r\n=D5Jz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f5f59fa55e8de990832019fda9bcf9f9f057ed59","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.2","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.36_1622293358177_0.14131919618778066","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.37-renovate-external-non-major-47ffd87ff350ceb45ec12659d40083cce40b95ca":{"name":"@balena/jellyfish-assert","version":"1.1.37-renovate-external-non-major-47ffd87ff350ceb45ec12659d40083cce40b95ca","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.37-renovate-external-non-major-47ffd87ff350ceb45ec12659d40083cce40b95ca","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"18aca9c86b8e165d5a922ac387a22817111beb1e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.37-renovate-external-non-major-47ffd87ff350ceb45ec12659d40083cce40b95ca.tgz","fileCount":9,"integrity":"sha512-6tA/Mn7g8Q3u/xXqRIMAkSq4ytg5p97RYL1UAMlOZCHZijf9DdgeSNp755GPQGzVx9r+DEUEgNKcSQ+yDQz8Ug==","signatures":[{"sig":"MEYCIQDFcZuCCn5szALZ1wqWcRsXZHNb59Ngdh+gsX3B1oe8NwIhAKixfJRJ3GjwOs/bhPFdf/978p6zAbaWWgHCAq3Vf/bv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgspinCRA9TVsSAnZWagAA4GgQAKFqRNZku43FP2uzZjgh\naN+sBWRcrlzwfAAGhMev5GR9nyeS6YPkHl+4ej7HWxzkI58JggwuC58MSvi0\nL1lgSPkfjD0ledif4Sby7sNPGlYU0pZdJ9DtuTdFan02U/b+CCdhlsHu+pE3\nRnE0ie8kZOCWrFIrbVEbwhBNst1D0CsormC6dwKnQjClTSRnM+b3yvzXlZHe\nca1QX7YE0rUhvYx+n3b1ogf3av1vtWyYdbzqcDcKAWQXyk/u6IO+7Yz8l4fG\npQyTaeEeFAy0+64qk803weDy7VHN56ehFPnQsaB0N9YhORC998qY1kuN06QD\n54dz2NzlqrR4N/a/3/W0xyjxEgr6OwoqIf3/n+hWalJ82M9KL+GjdTFEiuQl\n7amyAgvqzGh7Ozd6rbx4y2gxdv+RAkMMZG9ThvXpeTlNYdlbFb11eg4Ws1zK\nJSYRMM3BDxvbSfcMAOTrTeulZ1CziBoI6khoDNDvrvvrJuVlUL7WHGWY5YxV\nlOLXsHH3dT36OBe5RfS6QHv46VGtc4tofNHrtpaacC1bqWw0GOLa3oAmYLGh\n7Vr8H9/tuPyJ4H2VZNw+Y/MzTLr2YPo5bPU6PDVYP1ibA+fRmT0MR2LfohWU\nLPHI7mWcLTLwv49Q9xSdxiKKOgCKClyvlLZtv4BFqB6/Dw3pb4RiDIvNzk7w\nnJSv\r\n=xBnw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"47ffd87ff350ceb45ec12659d40083cce40b95ca","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.37-renovate-external-non-major-47ffd87ff350ceb45ec12659d40083cce40b95ca_1622317223445_0.17562181694579349","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.37":{"name":"@balena/jellyfish-assert","version":"1.1.37","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.37","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"20ba4dd3adb01724f2f84400445ba9f103271653","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.37.tgz","fileCount":9,"integrity":"sha512-khsbjM4FyEaCGc/xpu8lzK+OOaPryZwJWBS+62Y+g+KRok9Q2JHgGqY/YQIMCPLdwD1PyFcRE9Mu+MafUfF/cQ==","signatures":[{"sig":"MEYCIQDqfofPaSVViu2Y7TzeMggkuONljgaGSN7OLH7NNSHDsgIhAKeypFS6u1RP5LCp9gRXt6GAUqFprYbEusVCQ2mmJDQf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgspmXCRA9TVsSAnZWagAAkjAP/1BYBJQDAAK75Lx+Gslt\nVs7DrbWBILsSaC8cQZvJfAHjmOYH9tjOJ2F3At0rX9VVf490WZxunBAYJqBw\nsCiBSUt026V6FKhgI1LffBd88Aqt44OTfKxQP0N/kpl6kpBODLsOBRotuqL4\nr5jOzPpPxTm8spEE0X80eE/96krdsqOYfqskcGYICbjejSVaexfyJswXKIMk\njLCIqKttyqZFrtp3X2e3RumMZh1/frjFoG4cjmY8Z+IW4FDU8c+TkB+fIH55\nTkONuoXu5mi91GphBMhO592sYEqd6Cw141BPOV42jGemOXID5/O+ofKTumJ5\nC2pEk0jihu0bOAtzN/Kvlgc+XbZ31UdnVpR+ST6VBU09nH4eZ8yKGmRDdTnJ\n/ePyTwRTf0oWN7eN2uRWhLIgoWq81cFEztYVhBdCXEHTGQr8ErmRP3742Qn0\n0wPLYxZvzUIv1f9/FRDWd3PX/fv2jq41COflElJJ16Hk8a3miI1+NzdxSWHI\nHMmKcXEX0eeuRySmKlO1L1kiKL8Vxx0fDB+hTx5kFOFQujtKkuFGPbyaOYuQ\n5uLYqsnQFnBO0jTaGyJHRXu5hEK9yxb/Tf6pwr8SpiVTNgdSU1WslNFEwsMf\nulZACU9GFYYFGUPWNe1EZtQygng1+0sNoqPJaGAJPbrOv/YMDjV8UCujr976\noh8g\r\n=70W+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b1c0b35d1929c2f453e82cd31c1a46a4bacd837b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.37_1622317463447_0.8712385047296474","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.38-renovate-internal-patch-f8ddfd33a45fc33332c38286ffdd39c6844886bd":{"name":"@balena/jellyfish-assert","version":"1.1.38-renovate-internal-patch-f8ddfd33a45fc33332c38286ffdd39c6844886bd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.38-renovate-internal-patch-f8ddfd33a45fc33332c38286ffdd39c6844886bd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6921009b96ba43f14d0cee52e36069aaa8f78fb3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.38-renovate-internal-patch-f8ddfd33a45fc33332c38286ffdd39c6844886bd.tgz","fileCount":9,"integrity":"sha512-TBgb1yD3/mV7/WCwr+s4a3sJ849ViRm1pj+2xHbZSa3d3gYaJnUjNQhCdA9QQwlFccfOurm4NJA4JN5CHH46XQ==","signatures":[{"sig":"MEYCIQD9nwe3PcSCuiXyFeCvmuFa3M7pjrh0JN9YZdwb8HPkQQIhAIiGBRt/Sn8MI933qLcOHGyBFnoO6mdLbpxvGzCm2FMg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22348,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtFbMCRA9TVsSAnZWagAAaBkQAJFznvZeE6t+T+tch4KR\nDPlSV1o5y5rUUrl099/ybbDlBa+tUuXjfF455K/zvcoUGGMMRy/rgMK+G4Ew\nA4Yxi1M1ADIJWpWIW8AVzmjyz9v/5kLcFyiwXh5z8Vu1ivURDs6dPpE1FWjx\nAYSlrIxFwOWsQ57MUow932hoxg2Jp/USi6LUX30irxhsXA120NzbqXYkBSuD\nUrcOrtz5N0s2sGnYslRAuX3ZNikgPbBCqEkSKbaT/ouD4u82sv6dZBqDu3Ai\naejUCna+qKwVF/Zcz/80sqWOPWAWEEoPlNvCg5FmCvDutY+wxz4Vyto0Pd18\nUYXISQkJKcEgBLKIte0YGw07aSHwnwpPQSs0ySmNAZyOfjgG07JOrosWKGc/\nf75dXvtW2xqzr0isZVQUU4aBKaAWCcmIM5+bMg6ecphl+GrF9HDcZTGLk0j5\ny6vhGbZjoRJ68YT9DCyUYhvdzQTtUTsf0NbWV47PZgj7TG532ddkTsefG3ad\nHf1NkyRIp33T974EXh136DfivkmOjaaQGhRxkUGZ51kmFc+NCGNm2eMOfcSE\n27MF+oBhEm06wGIJbcvw3MbKg4OuGZVCg0zWStd88RQzbgG/LodDFr7ckd2Z\nP0qXWFDV4I1hCZ3Gz+KLU+Tdlhbz6LXK6doqfeFO3H+sRqey6TqXsQudvZjW\nM+NU\r\n=S3/G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f8ddfd33a45fc33332c38286ffdd39c6844886bd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.38-renovate-internal-patch-f8ddfd33a45fc33332c38286ffdd39c6844886bd_1622431436189_0.9416497309310434","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.38":{"name":"@balena/jellyfish-assert","version":"1.1.38","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.38","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9b716f15d6123a44808de536dc2133b1be951918","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.38.tgz","fileCount":9,"integrity":"sha512-KdtnQwVjuwsnkoJbaVXo00W5HrMwWSGHrRzRYiXUKxd+JaN6t8vUR/jNz5sOZX/yHvU+1Pp0iGx7wuSDG9WrLA==","signatures":[{"sig":"MEQCIGsJLo5s1/qOv/s3AOv9MVQw3OPTo5fRybbT/13fOdsvAiB13zeCYwMSehfvW4T6kRaMqs6cmd4LpNDUUqIkGyvcWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtFfTCRA9TVsSAnZWagAAXo8P/1eqSPOCSpZ0sDarO+tS\nixBnyDqrXN3oFiih8Q+InWK3zC1S7ZaSrhQAPPfG/pN25ftuxv2v2AaeDAu5\nQ4zraP8j2NVMhYjLwUlxP7TyXklNfIxL2/2XzLoS4ii8Cha6uJ3KlwSG/zOA\ns6IomVH5/Ijr40mjkce85E2q1x3EeP3jNsGzaf5hKqWDHyb3nkiDwuOqrIaj\nBTftQZpF9lDAIZJq5LMxVg/oLxIxplR6vaObYTTMY3pMGC2DaPqwDCxWpR/f\nNWcZaTZVyv1O4OitHOcw+8PQAoiC276Tc88jAbEX+b29rHlVVX6nt2S/cuYZ\nUFEBnC+VSfHVdMMOWpuEzKgqG1NJXa50l/9erMQladTqa4DEcli0GHjBH0YR\nBR8yst90hIn3lo1FRqIHwWy6sKXbX0fuq1XOAp0q52STLjC2O/Gn8qLLhqgx\nMkRxHm0O0JTfZ318zA/5woYbEdmL7X27Tqu2t4QMjJfd7cIKB0Ln1SYwQ3Gh\nnl01m2n89qKtBOZQEv+j2cqcuBsg87GVgEGVNW7Fr+C50riY2Eur/QSLYELq\nRm9vNCTvly8af0wCjbtM+hgmur2J2Z+WwZ24fPwVRQG6+Sksszy2hiA6x0//\n8tXjTNI/VnC8LamttjiBixQdr8XhEb0/HY/jGZBcjhSLNIslIvUtPwME+y0+\nrQpk\r\n=VkUa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ee6dab807f567f8a670996418d9b5106d7509e9e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.38_1622431698954_0.19185012309518945","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.39-renovate-internal-patch-fcc5469b974f9c62941689b595884356d7b3e978":{"name":"@balena/jellyfish-assert","version":"1.1.39-renovate-internal-patch-fcc5469b974f9c62941689b595884356d7b3e978","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.39-renovate-internal-patch-fcc5469b974f9c62941689b595884356d7b3e978","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2e618d242de50656125b7f124e2c24a1b9987ffc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.39-renovate-internal-patch-fcc5469b974f9c62941689b595884356d7b3e978.tgz","fileCount":9,"integrity":"sha512-golHYu6BSBhgv7+a6o7ec09mVjfsKW2h95d/XxfB+isJURLPSJ3T5TZpNg/fSU+SVJLuVh6bK7CJCEoMwznLAw==","signatures":[{"sig":"MEQCIHI/QY0GUMtqWSmhJCjnCcvr+SQr8EqvE0JC8qy2xajuAiAXQ2FNHPLfSrAg7uTOYBp3NHGNCp8INR+mCMScXVjaVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtVJ5CRA9TVsSAnZWagAAH7YP/3gZU+TX5eK0Dc8DSzji\nS8w11WRMUIJ8EqpToC7vuyj9aqlKk6tap6FMdX5sEOezdqg2eg1t0o5NcZz9\nsnwVlwOCEEgZk63nwu7rxT5W3T0SS3qLvRlYkXegrS0F/8WgCmPfsjTFz2Df\n1sy4BV50nH67vKZLUXG11fx4Fgl9b4NJ4LiyvJE79NTr2PGK8MJ9yCdsUJBl\ngfFpZOJwPG3Fwqg421D4VPbIoef60Fp8/ftosoxCuFfYGT3IGXfX6sC+RmNA\n/T1emDQqWP2wth45PDwWRmepkcwM+1ntLdwR4+4Cjb7aIkTE+aqKl/yWe/qj\nDEQ6yxkF26c5LwsOsqq6hjF0Rq0noFjbSTMevtMTANYRGiMTy7Rd1OErorxx\n9aEbrE6DoMoN3GJrLq+whRzJ+ta2FawbcoSHSIMXEHYo9ufERmfKT211w5yo\nv/WF53AsVBfOy4Q878eHEEbIrKyzpwWzbNGCE21GYWUdQWdwqeVKZvUCSrDM\nlJobjQq7fK5/EYGFrIMPAMIueyAwNGs6qShFl7YQ3vUE5a18yfk+bjy4IoFO\nlhw5oWsZAoRD/UNRi+o9v/rBqlRAvOpMEeu9fyh91CYNeexGtWU6eSL61QLM\n/6JQfAITT3R5x0VNc9GGb/lxx1KufI/O4JPnNq0xlK4dK5efKGhJcxfiqvya\nohyH\r\n=bH1C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fcc5469b974f9c62941689b595884356d7b3e978","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.39-renovate-internal-patch-fcc5469b974f9c62941689b595884356d7b3e978_1622495864598_0.2660021388797187","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.39":{"name":"@balena/jellyfish-assert","version":"1.1.39","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.39","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9e3696a4c37cef294b69cd0e1e047e7fe25a8268","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.39.tgz","fileCount":9,"integrity":"sha512-6tSt6cdGlGRv4quWxDuRkMCIEHT1spllhDcALjmrM6FumlETSjWAaklJ5pKKwjsF881C1UDG2p2W19VLpiODRA==","signatures":[{"sig":"MEUCIQDLn+k26lktDdCKWLYbn5uAojkaWqcMmTL5tUyHyrstBQIgPKbfcddwdOTqg+/w1YAZCAGdM5QuFcMtPhnDase8Yfc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtVPZCRA9TVsSAnZWagAAonoP/1/7p3ac9aKph5/+0fKO\nHwgahLd3/k6pR41HvBb8Uem80XaTuGEK+xbfDKHiFdqvO2n/qf1VjRlA2vFs\nUC5cD7vFMeHHZidf+JbqRwISCsD8bbY04FKXrzFrFIyWBDef55vagNHhpnLn\n7xrPDHBOHfXCSHQDaQjr/X+bWodinIW62rxxyLtVocY2zLHmrAADDiiM/Exx\n7FNhxI0hc4zpl9mJ/DZ2qGiMjCwDX9laLLhyhZzkHmbfaBa3K3Vjr5K9+e2k\nrKB8c8/87gCepa7divJQF7FfuExqQMW/Wol8Qms/0z8uPAX7UBTLr2As63h4\nZmtFUU8EqQ8e6x2l9WjwfEUdOVKk7m6qLiP/hYgfV1kea/BbFhKNbRhN7Ril\nVTdQIxQMphz2hpor+tnIcYBgEw6g1a+JsBKBVw2Cf8IjTarBX4HfH3niV2ua\nOkWmDGZLgHMh7DmWP4ZnWiFo3oQGp2koFGTpeuwvnxGXwbW7vbXtslDLD4Ti\nB2XvVBUAg3QRaiEAHopJlo6KTlNrW4w/eABDL4nMvs6FmLSdys9wK8SdqvjU\nlWpcHNwh4rPJFX/i47rzmdwXdEiLe5GY6qZhhiq6d7IJRDZfNUzQQw70keDE\n72NI1Cskw7NfjCn3Mscv9P1tfpBCEnDO0PR3H1VSipbX4Vxf6vV6+tbn7JWE\n/C4J\r\n=2/Yg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cf1c231e7c54dba14d596b151c81bc5a8b897fd6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"catch-uncommitted --skip-node-versionbot-changes && npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","catch-uncommitted":"^2.0.0","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.39_1622496217303_0.035186969664812384","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.40-remove-catch-uncommitted-21478bf1ac2a4d1388f3cb0af9ac796ee9654d28":{"name":"@balena/jellyfish-assert","version":"1.1.40-remove-catch-uncommitted-21478bf1ac2a4d1388f3cb0af9ac796ee9654d28","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.40-remove-catch-uncommitted-21478bf1ac2a4d1388f3cb0af9ac796ee9654d28","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1756a8548e478897b936aa68cfe6d088a1185217","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.40-remove-catch-uncommitted-21478bf1ac2a4d1388f3cb0af9ac796ee9654d28.tgz","fileCount":9,"integrity":"sha512-e3Z8b/n5a3M+2bpnPUB4hc+IRD3S1uunqF5DXk9iHJunizptthBzxMIX2uZyOxYh2M5cxE96ekVlcfPeXM1kXg==","signatures":[{"sig":"MEUCIQD3bXD+dUpV+XeYt71LfAjSSBRsJ9DFsBU1AGP7bAj9ZQIgJbtET+VuOR1UqBdkce4//LszLQuCaxdMzLgbf5szlcU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtzIECRA9TVsSAnZWagAAmuUP/02JhJ01SosVhp66jnxv\n9/laHgvuiJM8bdVg5fHLm4fzV98CXqndb74QIdasySRmnoAXW90Pkij4F/fn\npQRyMULv6mYqZ0tyNEfxRWdQ17KIv5relXIliBH+xKpatJzKiQOPCx78uWAB\n1L3TxddU8RnBECFBejYaSrhA9kIDjmwGXctEbuPCfD6W3mXAUB61s5BBn7dV\na0YD0pM5xX6qGJ/YzGhUKbF8zdWOfZ+o0wDE6VPJYGfxU1A3DzDkz5TFsRbo\nQ1bIyx0emgPWHEzEVAoEeytl1jcftCeZeCNeQ3Ri82cO88dD7GLfaQuEaAmQ\nXb83moMS8fIqhxNzEoU61rFI+9OPSoBI350xEI5a7wwAIzuQ1vIZgcgJG8xq\n3q8NvBzxMZaCMSk6z5uuu/mUj+9ZYrrssHiBnXpyBNoq3CO5Fso2dBmTGmpe\nr43XsS110mlGs6NUb6sB3dfBLzVEpBX4nyAh55U2TZOM5EW96RXBJOhL1F0x\nTAWFheaWwVmSH0fixqMagarkv5a5e+2g0GMCmU3dKKcfCRYgMZ7rLz4f/sbr\nD06AWdzBHRE1xqZza1TkOzARHCaXLmmtjaeC7Yu+STnIEgIvmyBpQYpKmBq8\n4vRNzCTFO2AGv8ulCwtVsGM0CoqUBSVuoGBWoRFbTBlmD/oSgTOHv4pbntMN\nIdge\r\n=2sYK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"21478bf1ac2a4d1388f3cb0af9ac796ee9654d28","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.40-remove-catch-uncommitted-21478bf1ac2a4d1388f3cb0af9ac796ee9654d28_1622618628116_0.26416697870417316","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.40":{"name":"@balena/jellyfish-assert","version":"1.1.40","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.40","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a9635fcb0ea2173fd120955656acd36788482086","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.40.tgz","fileCount":9,"integrity":"sha512-E9e3VQaS1wLInf+0yH7oYygBO6r1qDVSf7gMASDUQIWCJwciYEJXZgoySH+EMNpjSYdkmPdkzm/NT/GgOtVx5w==","signatures":[{"sig":"MEYCIQCX37mj+VgorpM7bLvPnV0ZtEVY0C7ZfKp6MteRriVWkwIhAJmFSPKd+UVCxVL2KowQARC/AsNqUeTNp6jbG8c52l51","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtzLJCRA9TVsSAnZWagAA13QQAIvlVz/m0es3yBmLF2M3\n4UVUJw11I3+y2H6yl5By2+PM6bWTEPQjvxguhJltj8xlY73Hfd7oCxYe/72y\nsN4BaHZkrCXCxJb91fGu8K9mYCF7GcNoVw2ASg05al2AbYhRoDRest24lqnG\nCowSYDYRpHp0Xz5HsDdIdVaEbEqRPTjxjFJR7gdmgxiTzQH5+kaPtcQQ+sFi\nWGIKu2iY+bhyTGDFI3EuRIIhV8JsWKyjqsK1RY6tMLGDTIx3D2nU4JNeLBtO\n2NSQRB4wu31GY1MIXhr5EoB64zwbVRngigot4HAlTcDHBzJhDApVq03CIyN9\nTMzrTfCe3VRF5/igUx2HrXbErSdhcaCJM7QtvZygnTtiKBdRTn481ww1oelo\nWvj33BYi4EghG4ZOdrBKfcEW/yaYpGtOj9bMHKazYHX1gzk2Yt5jCFnHy09n\n7mvXcOTTtP1sBe5KB4Jc7ZTed5kbHdILcyVf3AmI9tNdjpWn4V8XO2k/iS+2\nPIKz0vaELDlWl5ZOoSOJ6jxK91fEVNwofYQ5OAySX5o6PC4lQ00FG9XZtPLG\n8+pQbSoXkqz+AsQijkug/MbYpQwoqSwZaWgov9NM9jKTbgSWFZrZOqaa9ZmL\nkU6Lpjm5NZjCrquMLbnAZTu+X7Jt2OhLJXOMDIAUhSZ4r7X9BtzeYQVKrJDN\nXtxF\r\n=CBpa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"60c6063289f20987e54aa153c902839bdb670543","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint --typescript lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --typescript --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["npm run lint-fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.40_1622618825238_0.11817772840164698","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.41-improve-lint-staged-4b92b741972c22c5f7edbaa5e178dfb4c4239293":{"name":"@balena/jellyfish-assert","version":"1.1.41-improve-lint-staged-4b92b741972c22c5f7edbaa5e178dfb4c4239293","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.41-improve-lint-staged-4b92b741972c22c5f7edbaa5e178dfb4c4239293","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b154a1571e211b5b919a5bae3fbe45c6de79c8fc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.41-improve-lint-staged-4b92b741972c22c5f7edbaa5e178dfb4c4239293.tgz","fileCount":9,"integrity":"sha512-M7C1a6nxAoXKn7jnSZP3QOqjCk1WX19tvk16IuIUW3gwXvw4PNLmpkjIyQBwMcs2KuShNobHafbsPx4AgMg/nA==","signatures":[{"sig":"MEYCIQDD8krLYZGx2QhE43qN3TEoyA8Cb5/JJo9ZVDG6GFCTOAIhAPgP5xlfwSc9lgF8Fn/VUJGb8BedZ773Cv5riTimyBWs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguWHOCRA9TVsSAnZWagAAVAYP/09CpTNji+Rv/efveQMA\nopwBCYkyI4Nogli2aHNRFaXSYlmB/TDVBl+OpKvGTFGCfN13c0HZhqIMKndw\nOyAd9jH5xBqV96dnrkJWEOdqasYu2KKcLTO+7se3f/jjCo58MY4IvcfpaU/W\naur92CBify+shL3SEonbTebqH0IF7aQ7NeByIoDTRtePJ6LSPkjL1A91CG27\nF5njNDNd/U3luKAfjpHucLzcn8UXGqOkTrq9CfS/dS3Du8J0hfeVaslQzZmV\nCDA6F5hUuuWvhuJxZyj8twLngrR7ksqA/2BHaoKnqHKw6Wt4l3E6khIWodmH\n6XAsejRGhA4oHADcRxQfBsxmKh9Voy1JAPlrHXCYiW6CRpcdM69a3GUsCQEM\nu+1tYThRfSDoNDrEKskajI3Y6a6tsT7scqQrU4hiyKXOIH7vBNQcme0iXiqx\nLs+u/mVUiQv4Ijdb91co1YU+KRNaEha6GsskIVR0Ye8RpkeAfG+xJgCeM2rC\nwd+l4IlpYJM6MV6KNjRRDa5AL80+DV99QFKHQPZhhNKJTnhxEqtX5Qwhngem\nS1QJCJ4fYhNQDQxz4DYf27EBZcVxMFEuqMpdp7F0+YGdR/SbbAmbNis7fMag\n2fUhwrjOP1M5v0Z78Ly1geRi+bLSJwRBZ6Wg0kaJprgZvhMwCNL8VqZGrN4m\nMTLv\r\n=AAIi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4b92b741972c22c5f7edbaa5e178dfb4c4239293","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.41-improve-lint-staged-4b92b741972c22c5f7edbaa5e178dfb4c4239293_1622761934757_0.013129188621516352","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.41":{"name":"@balena/jellyfish-assert","version":"1.1.41","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.41","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a8ef49e5d34a130629946361fc98901df4a3642f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.41.tgz","fileCount":9,"integrity":"sha512-KQKiy1l070DzCDnK9G2xu2PUj/pinCQ8kpt2n1ntuCopI7WLPU3i/ZOiC+FUMGQygVLJ4kiCw+sIKTuFv2yFRw==","signatures":[{"sig":"MEQCIDgHhTM8vsx8eNoNdqbJVzrqBfFpzlyXuHtWsZSpAg08AiAnA+1OuBvbXt84d3x9SxsU5aJu3Ypk0sZG0nn0qXeNPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguWKSCRA9TVsSAnZWagAAt5kP/04ubEwIrVJmiz/NjZcL\njJcfXsnry/cTfmIjUri4aEbBaU0bExtiKW1po8pJcsTsoMujerGY0ZlN71Ns\nMEKTS78v7q4hik5DLRrcWb9xBHmc0BzHjJAEy3QT27tGoLBZ3oJdIe4XTndX\njpLy4ZxJGlgfB+3w10xG2fNI/0rDIjXVt1vVuVQYHXomEjlETTQtto8fyHNr\nvw1iihpKhgBaUfEv7Tp1s4GpCCgTDgDZvq+GYulfIQ+XH+Hde195pBKlYarp\nbnU9AVgJBwMEPl7pi1mIaPhAXJVXvIkBWmSg5Osy6Uoo1zpoo1JJikHmFhEx\n3igsfkb6W8/gkRl4XECFiAVI/imjpae2DeVnlBqYxmOswNmhgWAu7YLFK9p6\nN7ND2PWqjubJKBcLL/nJUfO6zZEdj4shHl1VgakSST39IUPYP8dDPST4DPQZ\nysVFKIMRCR68sbIVhqBBaFUBXyDDVAPamnGtwHcZapQJNY074IVvhtmQ5/FW\nM2yL2IjPw7KMOxDTMd2H6XdfX40LCwWMWifGNdyuxsdDYLA8jProbqCU5b9J\nK7AlIysjkaNC97HPSdKsFXDjAc08C/7Mj0cRwmU1ejNV+zONX7/Rk+oGyopR\n7k997Y/jUpWbW4XxfNRpvh7CQS+klNb0CUPHNwanOxBkPqgBnKIt9fTyN9t/\nGjsY\r\n=vOWS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ea6d5c35959817792335a879c9bb620965df7c0f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.3","deplint":"^1.1.3","ts-jest":"^27.0.1","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.41_1622762130288_0.18921566277728008","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.42-renovate-external-non-major-cf11f73e748736754faf55aaeeb03aef08ec4031":{"name":"@balena/jellyfish-assert","version":"1.1.42-renovate-external-non-major-cf11f73e748736754faf55aaeeb03aef08ec4031","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.42-renovate-external-non-major-cf11f73e748736754faf55aaeeb03aef08ec4031","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"eedd332b0c58662241ddc9b93dbe679c05af841d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.42-renovate-external-non-major-cf11f73e748736754faf55aaeeb03aef08ec4031.tgz","fileCount":9,"integrity":"sha512-U6X+kGEMRxi7qzHngw0aYiFgVuj5DNhk3c0RRGXE8RNxzzDifJHaZq3eMyZHdmDNdai7yNcX90DJR5/ZclS2XQ==","signatures":[{"sig":"MEUCIQCsY+p+l3wE4SvDi4KMu2ksnafIeXEfyJXdfBl7DUTm6wIgJFIINKReUzc/EtA3FQjcp2ON0uPqjpGKrAp8hJxWanM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguzSRCRA9TVsSAnZWagAATYsP/R5iXO10AxQ7uCK7rquh\nIcXLPO0o9wsFsp0Am5CZar//H5nCaPyqMkQ/HRNROHsYdgQzdDcvvQixhHwe\nJ2IQ3UObNo+5wBEkq980f7zn6Gg7WF8uNhz/0wCn4mJokcFGEr1iNzK+ZjJT\npf/yDvdFVqYyCGA6UfhL/fshmaWp+wAxuZtt/mhqegxhENI8BjKpayX+0vEp\nW0sLCKMAC8InGakjhE4mI4ZEaO2va/IEYj8Ti2tWat8+hgCiB9nefRldgRNz\nX3M9Zp2zkyg/wkvF+UKhKo9aI9KDdvVRsn/MyaKsYFjRnm7fXVgeUaW4shl0\nDgZ+Jmooui0tICWG5R0fCUGBjyKumgVoaYgxl4WWPPNDX3PBTvo75naH+8AL\n1aSV1p88Bxe5e8Z8zdcW69IYnq6eZFJm4HW6ypYeYiEg8TaytWs0XARO1kEG\nekhsPR0nkv9RGAPNRw6AbmMswl/kbJEFTDHuI/bTTiXEBDsmwKZXpTozMugI\nYDxT17I3p4O37Odt3/Q0Snz+Oh6uEsGPes/jVXxJ0jI769ta9T3zVi1Drx4R\nI5LZUceVxPqvawJh4JAYHVeoXma+9YvzB6Jy0WgZtyYi5SY36FfeRScwl+vG\nv0AiZOUEXO+Ikvk/hJHCnkY2UkpHeePw557eG86qoaZTSDoU0Iur65fjgLLb\nwlUf\r\n=8oDm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cf11f73e748736754faf55aaeeb03aef08ec4031","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.2","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.42-renovate-external-non-major-cf11f73e748736754faf55aaeeb03aef08ec4031_1622881425528_0.18051637524853748","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.42":{"name":"@balena/jellyfish-assert","version":"1.1.42","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.42","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5e01a560f9365291c6d2fe55b0d3842063b769be","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.42.tgz","fileCount":9,"integrity":"sha512-CTMJazdf6opbbkiK+J2R3Wcwdbkr9LNSlf0gOmdv5UpYT5AJcE1vscbU7/XQAS67i2xfwVT8YcEfjQZm2ksPfg==","signatures":[{"sig":"MEYCIQDkh4s9R2n5h6mdUZyH7y+orYxzoPToOL02Cv/Sb9I9xwIhALfDHGZ3Nh4O8DFnu2RHGI59BHSs6dtJw1IYZRFhK33p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJguzYcCRA9TVsSAnZWagAAjPoP/A+8TPLL0xDebkzw/wxS\nCYmbkMouR2goG1by1zDbhJVgRwUccQERhx40wh+/wcI/ZcFZPWR41oHkYSDE\n5Lko54LKb7w48YLkPmYaGTEotVrh9avjFNcMhR65YgUPuj59KmETFUNRNmFI\nC390os5S5JqzVEw0bVnOluOsHEL/iTifXpu/NCoG76agJk7jwSC85HHWWwt/\nuTD861mtM3pA1jcFJRfeTd7FykxZyDD4u/CT3Xs8PQ8E9hmJqf8DIX1o1NJw\n+5tosYMiVxev+KuVQeCbe3jbVR6KVdiz0kVOnztveimHsmyqW4cA8h5Gr3Fz\n9LolWLOpfXEycu14TLfN7wXNEuXjuDEB/ZLyxTJQkUue3ZEKqM4ZytXW+I5s\ngJsYBshuaTqqbLlhkRF2PHtw3jDM2Qvj8QxD4P75gkswg7iIfRQ5TOExyfal\ntSrsjDxirvoheNRITtgUlEM6kGlV3AzP8UR6a7uqlMADojTJjpSkbDFadnCJ\nExvDwenDGBx3PefjglGCyniFak2NzOy0LdGN884m+A4ncuLQ361h94Gk+xbt\n2+DKMDjBJ1RloTrX2EvbIOGjc+3NMDl8AmW8O93jzy418zidjJ79HybJQpS9\n1WHd/Rdd1VmnDS6Zxt/ybgsgsXuKSfA3kO/XeIVkahQ8F890N8+LYJzT6VYJ\nCf1Z\r\n=OOYX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0f4e44bfda0efc944fbfbe8b91deaad553a9af16","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.2","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.42_1622881819792_0.31690039357262334","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.43-renovate-external-non-major-7e0387d7cb0d112c5c40885959203a93a66ed307":{"name":"@balena/jellyfish-assert","version":"1.1.43-renovate-external-non-major-7e0387d7cb0d112c5c40885959203a93a66ed307","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.43-renovate-external-non-major-7e0387d7cb0d112c5c40885959203a93a66ed307","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f56363ad6465231730f137517ba083d7e6bf4992","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.43-renovate-external-non-major-7e0387d7cb0d112c5c40885959203a93a66ed307.tgz","fileCount":9,"integrity":"sha512-apuoTVzWKWMadUFrPdYIylN9osxYIikqtfcpJ5gpt8ecCC8Wna1/iE6+P3XSK0yBqjwcDc+bgBs7JPHeJHzG8A==","signatures":[{"sig":"MEYCIQDVtSfbp6vfmjTRQzq/8p9tE8QM4vmncofj3qH01zq7cgIhALpq3Vg0XNJ1++P3DmWMVX+kX3B8lKc9o0Fxbf6jCZnc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvQeMCRA9TVsSAnZWagAAHuEP/jYDpUchRt2oK6Qr2hEE\neKAbg+A9xYT0mzmAIbdAoWSeo+fpznmHmrSLnAK8NSrMHgbfzkPx7R5KWbGa\nYTAYc0aIrLeiFZLQ7rnOp0dqCgkUIOU9CpwITlcus5EKAO8wPEXhqMYk1vh/\nczNw5+BKAufYL49qIEW1SZZFzlFrMVjnFBg+BZqBrTSCNezRQLzeDXcdVth/\nefCbwKRH0V7cnDrNpbhLuAE65MlM3qnP8lUtnrekJ8z0++47Z8Vgl1D6uccY\nRE41Eafouwnvbwzb3l5yDHxJdOwpocehq0/AEAi3Q9Tq+1hhefVoS9pm8HOJ\nvBipBDM4N3MUdlGE9HfzYfXN8tBWtL1Jzgcr3KmrxDYGMe7ZF60sMhgxt5/L\nyrAAXR1vyyS6rgWMNEfPEHDoh8O3IAAyOMpaNOg5dGLxqGc4WpjF/URwux53\nsO5CC8Lf4NZhAX3rJ+VbrqCJoecEiSkZxlMH+1x6Y05jz/fJwg/Qd4japngw\nByNxOPYlTC+khRuuCXuPV+zFEi5XsYIG+CY/WgTOL7lnCzfF+k1yLQRCaDaq\nElJzxY9GAZOyCo3EoO0KdLrO8YvByDWnfpfhBV2f+lGZA+Ip8cdowTfZmRI5\niNfTudM/acHtGQqqOv58r3mgLbbhw9rR884H6Rk72XU9kFteolKnjOe/8VDh\nwZkg\r\n=kt7c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7e0387d7cb0d112c5c40885959203a93a66ed307","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.43-renovate-external-non-major-7e0387d7cb0d112c5c40885959203a93a66ed307_1623000972489_0.9583074493860886","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.43":{"name":"@balena/jellyfish-assert","version":"1.1.43","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.43","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"945c48898f4dbf2bab3cf5a77b1062a33dfe94fe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.43.tgz","fileCount":9,"integrity":"sha512-syb1D1H2QhxeR+248dHCJhy5z6pETKDBEBHr1UjoMNVnd7+kvP+L/NwaLEK5AQEf1TNOKrtkC6PV2iVCSgJafw==","signatures":[{"sig":"MEUCIAFv9iQadSnyC0R6Zi+MuYTtj6YI/bK30vuhFf7H9TLWAiEAqcQNj7je0lBljBCTDh2cbxwtdQx9/Hg0OczddT2Iw4k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvQhfCRA9TVsSAnZWagAAxtAP/0Ws6kqWUu0APF25cRbM\nIJOSzXSZLAcSNc0edCEdKxnAuEpM2QVk4LSLXkavVpj5eD7W3lDcVYrgub9H\n0arez6tKAAeu9bN+u2I2qgBlX6zh5xbOfMux3uxh6wDQFz9FHSfTNCR62Bmo\ntUHHjFPtn6SSedBLOz87zalAlpWfPCDiClsk8lfdlyl1gAVB5bVY/aMirDMm\nxWk0+F45C0zEHEI3pvnFMrWPhEElj8hexQrUlGbYpa56x6yN9rWpSVC2wJDW\nu9yzezscfRhLaPMG830gPFRDIRAg4FKCcKMIu8ldpcAyAIBOUdmE+DpO5tm5\n9Ruk0re4AFZqeDVbMHDgt9fenFWupWgccmLDp03xX4mHkVuXKlyP+dJBu3sR\nQhb97ldr7busl7cYojnhukgfkBHoDsruEJm+LkpZaQjN3H+PT6kBF20FDq6E\nPFWyZ+H4R8w4vuxdJCifMdzMao66j0GW7uBBQql5JyMRPrtDJJtdV74o2hvI\njnykjsiwDOtcHtZXACX9Ihs62+RpHqT8TpuWlXjuy+PgVk5mXMnzSX3YkreD\nPnnRLM7f2wrBz/VEBOS0L+9OtMFrJxrziTI9wz8XnJ7W7En1Xu9XXGuknmFW\n1ktrwGYLMuK3L/WlFvqv+r1th9R5o2ZvBQq+NAv17dWWSqMsFM5V6cBa4Cdw\nUaYz\r\n=75aj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3bcf76d2f28cf2ad77768f8df74676731526456d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.7"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.43_1623001183177_0.027007732499257253","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.44-renovate-internal-patch-0299f9354148dcabdad7260eb6d83eb85f9b60b5":{"name":"@balena/jellyfish-assert","version":"1.1.44-renovate-internal-patch-0299f9354148dcabdad7260eb6d83eb85f9b60b5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.44-renovate-internal-patch-0299f9354148dcabdad7260eb6d83eb85f9b60b5","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"85f38307b37c1581fdd0b756cba1d1c5198ea902","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.44-renovate-internal-patch-0299f9354148dcabdad7260eb6d83eb85f9b60b5.tgz","fileCount":9,"integrity":"sha512-jdSO84K+WJ+79XA8QtWNE9Ioeh6VyM6F33MEJgGvc93EodGWhM1w4aF4qbkuzQ9ZED5iq0ZRn6FV+AdlCCtqUA==","signatures":[{"sig":"MEUCIAQ+3BImgnA+AiELafm/DJr9y336O0BvIcWnZqIHEGx5AiEAnOT6rEVsTbTobZfjSy34PE8xxs5Y+YLpDdNz1y8GcjE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvt0rCRA9TVsSAnZWagAAJ3YP/iOhrWgsouROnqgorb6u\no+6i+yS3Uk/FSO2u0jhQW6UfSSkcqu9GDEN+RbSfjdCRAv56CRObq+GV9aq6\nwA/PlSlLE2dqh9fic2k6O6lkVZtSaZd0dsZhOSeVmKjmYDQGGs6M36GcTdcT\n1bsEqY4uaLBgFWBhcrvGHR4Qb368gZlnvmW907oJL5OmHzrBW0ufdwltQwGB\nMum+lzy3iEQNjwRaknh5AgwwW6FAzbvrJLIwR+mQU4p5YXbZUJWVusjQr4r9\nu7xMBydy6+LZyxNknrw7Yv7Z8I3uYayN4fZ9keFXTqt5xJXgaHBg9QosxSTL\nABFpXoJZZdjSUz0Y60nXYPsLDfLsMizS6u4scwchZMZQgK2pvIs8N7deLP9H\nuGgeGCx9yRVsIX3Kyv2QN+/cum0h/GfyQe/mIKKxUHpuwsF6wCFIdxNl4UHp\nkWo1icVnvRPS4ree6+oBr+mTjNyggq8SliO1c5HfnvN/FeGQD+HOM6GsRP44\nr5Va8OO7OfDPX9TPJUnGm3yuYMj5sIiEJ0rlh3pf83BA7/24aafNWd0Q5vRp\nhUP0jM9Uuxy++9Xi27HXDmgPVMGdmJiVu0X3tqBw7i/y2NoVwkagCRZfqeKl\na64p2xgHVULalAJS2CG+hYjNGgxDrbaYZ8NtezeEOGGn+ZFbnuCZBwPbHaOt\nARZB\r\n=eDqO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0299f9354148dcabdad7260eb6d83eb85f9b60b5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.44-renovate-internal-patch-0299f9354148dcabdad7260eb6d83eb85f9b60b5_1623121195491_0.26201940790803757","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.44":{"name":"@balena/jellyfish-assert","version":"1.1.44","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.44","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"60cad11382d6fe5704df19bab071af5792ea1dc6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.44.tgz","fileCount":9,"integrity":"sha512-h/NoOrHcBNPPg+6m4SQQdtKL7L5IqsfMat0uAuqJ6OBnk8NdgmWoMIk7gWY3/hWDbDn2YWsBKXnLmN8lB/aZGg==","signatures":[{"sig":"MEUCIQCIEo7m5Ja0fNk5HV5eu1o2Bz8JAsU3bGZD4XmRe2sY+wIgKqlxNrpnQlZxkqT8E283I1Y3rMQWCtZtOBo/ZScu2xQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvt4UCRA9TVsSAnZWagAA9fgP/2rZyooFhp/H8qU/h8Gw\nCtizH4bE4DbzREB392Y3s3N8NUIczwxAiFpwr7939Yg8BjRHtx+bworKxrBR\nwJU8e9GhNb+Gpd42lPjp304yA4YGVUHkN6CSDSXuy4cYDsQB27K62Z9U1iWM\nq6oJSsH7u0PQ66yp7uEOvKB8Y1Ve3m+sa42IrCqPwuXBMdSFg08WG7SFJIOj\nEo7k3B6/VzPJpNwJygbr7ggtVH9nuiyvAIxNCmLZhONqa1joIl0F59jrL6xX\n0SHoIoYvT0QGujtT13SGnyheHFTPcK9WgE+ie5z/LlBUqd5JaEkM4VVeCn78\nwRp8E4UR6YQQcVZaei5oRKj/lS9Jgcqc5SHCkvAjyqqE75I+Or/Cxzo1TWkz\nsyVvvzSaav1H8+WDMErteJ+3Os79ZA9VThSioD0UIlFZrd7KFoAUdJGZJvBn\ncH9h1oSjCvTf5jd0qoh89IQVo7g7lykFIIMLWkvgj2k2L/9uQfrh79E7Ch1g\nZCMdQEKPisj2w+IEliDBu5VWa2Czz5uykJTtekx2sB5Pm+0+7kLrKA7UB2U3\n6kII/p1qKyQ/G4S+oK9vDltjhD5Olu4Snfr3vgMKeumHeTJqnjSgxiZRMK49\nKKRslP/PDGRSc2AhvGMY84u0mmivDqCxJJB8p+zqZTkwLRprwKePvFDwpGrk\nBaV5\r\n=8br+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bca77d62f92936825f48a4441f8e14cb9642fe34","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.2.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.44_1623121428776_0.5128502350003759","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.45-renovate-balena-jellyfish-config-1-x-23982b1b36989d783db9e089a18a1d4bb758b911":{"name":"@balena/jellyfish-assert","version":"1.1.45-renovate-balena-jellyfish-config-1-x-23982b1b36989d783db9e089a18a1d4bb758b911","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.45-renovate-balena-jellyfish-config-1-x-23982b1b36989d783db9e089a18a1d4bb758b911","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b286e8eb6615fe2d764826a76266bc348a966728","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.45-renovate-balena-jellyfish-config-1-x-23982b1b36989d783db9e089a18a1d4bb758b911.tgz","fileCount":9,"integrity":"sha512-wrhJQape0h8c4V2tsI9RXuPm56aGc80DqmSDUskTqKIH+2f8VR728afI1nTEyNyVRw58ujr7QRH/mE04ztwacA==","signatures":[{"sig":"MEUCIAzcMBb1epIN3tQvatQqw7QspTleQMcdJNvCWcLYtVEcAiEAlxUfC0MJx68EsIgkiUWNBmSSOj0kKTKYvAGDFiUXmKc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvvDeCRA9TVsSAnZWagAAAygP/AlIClOyxgDyWoDBVqme\n2qVzTuyV8X9P0irvJAsHiAdk3gs6aWj+5ZO/of6Z68C4Y5p/ulNyKH6ii4nq\nrMWiKsh6rHrY2P5zKudgLOPhs8u8ucecvaEEfrPsIZ6SOzb81Xo8fJ3yTwyM\n55iWUGAJXATmnNDEEmEIcx6+1hxvNnBpWbeC8AILnJ1/DFVC7kiYFdhcJB7Y\n48jNvggEGMuoJnLE1D+OcjqN6wmRmf/eMqR6gBmxEEtnsvenuryGUXO42rxk\nB0FgxxUxJqijCUVDGkT686RSmXH1/y5RM1rNESGxhpqVzQxloH7IlF3Vx1sT\nxq0EmsDgRSX34ZXWBYz2X7eKBZE+7WNuJ6lK8bbP4g295xnHNfbPmr95LtF3\nT4ZL55iYNDtaZk51Qfw3NEXscs+owskQMgmHNVO2z4JD5Srw1KDHvtJ/q8zJ\nByEMCpJSc2M7I+JqeonhNj2gOhUBbgMi1MYF/DdWfMlM1m++48IAGlh2s5nX\n3aDidxsQxg8NpCfA4hFQLHYD0c6Y/otcQvmYNzYUBq5sCljJDNwY+mo6+zX6\nfuEhwPYPpsKqL6mwj0Q+zv2fFldoGEfH33pqzHBdyhNj30a2ZkbHnRRuRkct\nMEVAnR3l9Lm8PCgJG3P9xw08KPON2c1WbpifVZaFmDVlFNbE0orrGIQBsfsB\nbJtn\r\n=gruP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"23982b1b36989d783db9e089a18a1d4bb758b911","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.45-renovate-balena-jellyfish-config-1-x-23982b1b36989d783db9e089a18a1d4bb758b911_1623126238756_0.3880372579202749","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.45":{"name":"@balena/jellyfish-assert","version":"1.1.45","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.45","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e63d6d1bdb3c14ffe5d1f5a851fc8547050fd063","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.45.tgz","fileCount":9,"integrity":"sha512-ursW/RLE5mp4oZ16BjwmfYIc482HR1LrNWpjQKZDdc+dfmGlQs6gniacis3adi0OjRcqpgrpVhpIlRbA2pE5UQ==","signatures":[{"sig":"MEUCIQCRWruKhaMAd/WHE6xUYUuw2E81mIL5v32VdPYqySvvQAIgD23dnPDPU+ECoq+ldTjJWk7NhzgYSUZ+QnoiNChHL4o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvvHgCRA9TVsSAnZWagAAx4AP/1TnNMLz5rpMcH/4G4uE\nhcGyJG7l4HRkcoQ0CwoVVSyoh+ADPYjhpfh5NT6jTqlUyj61h0efqzXON1EW\noj/bN326lch7hbGCgIr2LecIEQ+VYwDCyMGVub6l5TndJEkgHh0YoXi90CIt\nQORyPcVQjjjTLp1j6AS2eTpLjk0uIRtzRCE3sfQ7C6MU0crZsJriL6ko4qfU\nH/Fs8DzxiYjiqE3WhwiqsKh63UsvgNcwQZde6bPOM9hZElYDpXSV3eGBFnOg\nvgWxt02BNRZny7Icel36gIPdMKfYjsGIjPa58HjuS+I294kbhGbtwrHC7ctS\n+Y/WsY/cxe61pHydxJr+d1LHMAyqAZPEPy4u47I0L43Sw++leCPrNn+kM5Df\no90O7ifmedGjOFOGVr+3HN0PmPssK1/N079wXfuZ89pyesbomi2yTyn6D1b9\nyv7wRak6CYDJ8oCchpfV20TleK3S8/uA8lbZbYN+hCHYXi5T6h8JttC5yFYI\n5/ZtIcyE9Wo+s/KOgzqY7Wz4aMvlk4jxXgoS2p29748JtEc2uLP7UV+pmu5i\nQkRx2XuMYzmXv59kZVnHUzTuknMsH38de6YEt9kSA8avHhV8qz6GH2DJPhra\nFGIbTk+clLLu3Tm4dUr9QA6HyzTLPaRcPjyBLQv8Ow677duQazMStj4QSrHp\nXOU4\r\n=BWvB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2b18eb181db951fba8158695c4b2a8445e2270c7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.45_1623126496114_0.26952981579852886","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.46-repo-sync-jellyfish-config-default-3848a02ab67e15a13a09022ade5321c0ce2f4af8":{"name":"@balena/jellyfish-assert","version":"1.1.46-repo-sync-jellyfish-config-default-3848a02ab67e15a13a09022ade5321c0ce2f4af8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.46-repo-sync-jellyfish-config-default-3848a02ab67e15a13a09022ade5321c0ce2f4af8","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5bfd845a04c0b677e49148e4541543567ca0730f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.46-repo-sync-jellyfish-config-default-3848a02ab67e15a13a09022ade5321c0ce2f4af8.tgz","fileCount":9,"integrity":"sha512-F0xP9aD7+HUC2+imfj9ofejg+CPgoib8RNJfEMsuAlty9Z8aleZFSQVr+GxOCU9SYR7A7wND5OAhk4V6H6yu/g==","signatures":[{"sig":"MEUCICODh1HXNP3CbJ3a3VT8fYv1z6InUywhB4UxultTZKVcAiEArq8827rOiO2c7CBhBwAhhmBoVV94iXOz8WiFPCbcuOo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwu5UCRA9TVsSAnZWagAAx90QAJXW5FFmM50l6SKIi0jS\nDi26n1XL6s5CArJb8NZxr1dPK0ypR10vheOBx0v83nnvbJhlxMficNWL1wnp\njKFzlpExkhLnFHPnUmRXfue9lkXZo3wUe1fC2iy/evB30ln3m5tKy9MV3qH8\nGpnyXgweMpsz9xTcRXG61RadmMK9CmnF8qsjCqs/pV7+kM5CpilPAvRMk/si\nertz+2l+el6FT5lZIjES+hkHUaJoLZ4ucNzruaIeSIwa7KPQLZZlGFlBr5Pm\nSeDBDCRS8uO3uKKN9XXd6hPNRbQXWWLYcUNPh7t6mXZHSSOyBGGaHo8z/eXO\nvZLjJaRK8y0G1+J5eBrO1j49Qg/ncc/tlJVvb6W86m+VtVRKCfyMMqyDnMgI\nm0gGJa84NgmEOTlu4v+hEkkjEx1uAeVm0CTJgz3PmasKkZq+G61LAWQTcxE2\nuh1fvtIScpwSR1FQ3XGarf2dmD9S4uiBEzg2t5ceqfSFyNTW7GHfI5noQhWe\noL9BgbRiimFF6icZAaNS6b03mxeyy0Nl5TVGk+bI84+YxPK4z4TWkXec4EZ0\n/ErfxhqVagpkUu+tFNgfLoUFOljjAWoezQx9MqxUsWtTX1aiVAPUcgaP74N0\nsY5eWM0Pq6C60hMMJRg4b8+H01bk4aYBPg7VcCZ5TRnwOvNMoXWbzVtIgBtq\nRimF\r\n=gCZ/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3848a02ab67e15a13a09022ade5321c0ce2f4af8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.46-repo-sync-jellyfish-config-default-3848a02ab67e15a13a09022ade5321c0ce2f4af8_1623387732762_0.9712423840972475","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.46-renovate-internal-patch-384339ee1df345d3f2beb9d90a42405ea2191b62":{"name":"@balena/jellyfish-assert","version":"1.1.46-renovate-internal-patch-384339ee1df345d3f2beb9d90a42405ea2191b62","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.46-renovate-internal-patch-384339ee1df345d3f2beb9d90a42405ea2191b62","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b014a2f02d0d9af35d7a87aea86a2df576853e7b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.46-renovate-internal-patch-384339ee1df345d3f2beb9d90a42405ea2191b62.tgz","fileCount":9,"integrity":"sha512-59TJ/zKq576IksTN1rsQO0+hCBoRnY6VYsVH77rZFe889BBJ79mG38FQ9c4V3fbjaLUksSoMRrO8QOaCbifHpQ==","signatures":[{"sig":"MEYCIQCo/kJ860+iqJPOPN/XGZsSdY+dcPF+LCpvyXdad8GWcwIhAO+YrTB0gWaRyB5vWYel1vsNN31lKbZUyxEz3sHe0g+9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwvGMCRA9TVsSAnZWagAA9e8P/ApTMrOXuVJa8XRXbRCX\nZJazQ9JjuM8VPQeJGGOZIp1jEZo05OfKIO88ZneQiXhM7A7vVgHqmzPb56Gr\nOfkQz7AL6dB5MDQVEETMoMi6Y0X2qPC/cnvzrJTMNIRNMDIyKEBHEXsaq/em\nk0qk52FNjzaksWHpwMrkOLssA2THpleLILK464ErcVVXpF5tQ4cYhdcfnExP\nyluu1Ja3w2qONetGkQg5yYQm7W2zSAJBro2N0MNaPfi0KySgHdUMWQNp0+Be\nGMtpoptB/nh05xMDsIsAtEkg123kyoSpst+DN9inNTOeKh6shn7LVdzEBgVe\nolapzzAtgM6vnRxrD2f0CyetHxJt7Il0cJY5Wcq0zacGPdbVPQC0Ot8ystmr\npB01cV41XmNE/hEkzDe5nXWgCn6XaROzeisBg3Iz1UwbyG1hh+5ZpO1QvqBd\nDcDFvdevUfcy8dn4bOUb/Sa2gjmmd+f1NXF7ILxjR/i+JJ/VjXzw9rRsACJu\n42XTjXcT3RaBuFWetTs/WJncW9NoQ+8VXWMqakJkPyhlUINTF9hYEXFgf4RX\nXcvr1TkmjUPf5WEOWYEQt9W2WqcsBs91VGeJbY3Uamvw4AJNdpmw8XoSDsZn\nu1mrVaeY9Ss4H8NO+Kw9H+ov0tJQUj200VMndP3M9MJk6abyaUUj90SFcRtR\nrXQK\r\n=xJRv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"384339ee1df345d3f2beb9d90a42405ea2191b62","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.46-renovate-internal-patch-384339ee1df345d3f2beb9d90a42405ea2191b62_1623388555950_0.028814238835872308","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.46":{"name":"@balena/jellyfish-assert","version":"1.1.46","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.46","maintainers":[{"name":"nucleardreamer","email":"nucleardreamer@gmail.com"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6214304a4496f5222562b7d6e4193e7ad9063649","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.46.tgz","fileCount":9,"integrity":"sha512-TFVikpMxp7geDwk33RnWlqa5Hhb3kBFo4DrhkI+fyxmeJqGeOt1E9By6udp5osnYsK5eTb09IsuQwz1VqPkjWw==","signatures":[{"sig":"MEQCIACrQnOkZ29c7KzOKAlgAPNwOPYc7pTLjZF1SVBYYqQNAiBSCB3W8vxl2+FC2v/PGzxEtOwUk8G12jsLe2muIlpMDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwvJgCRA9TVsSAnZWagAArSUQAIcpbeExHBq4EMGgylO+\nhksvDBW8bROwpMpZKoIV5QprMigSgsGy6gCuRgj8vr+goI0zPAPC6MaZSp1F\ng0NK1SiB8H+hmWmTsRGgiCxxM7g6D6Cwf263ZY6n5Eat4SfGfuzwH7eMVvvO\nD027s8ZY3AXEd6xyygW+leeKftEWrGz/sQnsHAb1/p7YtrDcZlhOZ0Vh/gwN\n9TSVGT4Z2ExNQPwkOMr7qsZdVm5LXVJyJ6R9iC6CGZOwa3sOjLh+bUoYC/+p\nKp4ilVRvi1zHRU39PD+niJQLLli0aCu2Rn25gIgeVKzNkZJiCuqdkvcGK1eF\nWK7JsrpisACiUKJkQBZxRrRgWDTwLJ80rcJsbF4QLZBFEn8qGKpWwx6AxeKu\nayh/UsYiDama2CNY/PPngtoLTzv8/fsVstVSBxKeQYcPsIqqxplf3+SNqJN9\nqMOptgBPAoommJ4LWLk84H3cDs777cIyeOGu+eU+JdzJzaqQ+ZyRUMN6n0Rk\njf4/CkuGuatHBdv2b3rBA+OiG3WeqRpWZpEM2vFNkN4xgmoB6NEe2inYMlex\ngY5/EUWmH37O7tanUP+mpRK423zRi2ifvYmF/b+P8vtgyYUrzfof3rOMvxyd\nnoR8szeuKN1C7AgQPplb7VysbLaiOeIuioSkDhF0krqg++hmW4hQt+4sMKSL\nn7My\r\n=Zk9G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"dc3a628df035cc073f8804e41058834d2f51d618","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.46_1623388767901_0.5413789632671517","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.47-repo-sync-jellyfish-config-default-d8f0d4af045798b7e65086c6bfd710abb318b258":{"name":"@balena/jellyfish-assert","version":"1.1.47-repo-sync-jellyfish-config-default-d8f0d4af045798b7e65086c6bfd710abb318b258","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.47-repo-sync-jellyfish-config-default-d8f0d4af045798b7e65086c6bfd710abb318b258","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4fb313d30781aabf5871c2fe1d0a563bc70a771e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.47-repo-sync-jellyfish-config-default-d8f0d4af045798b7e65086c6bfd710abb318b258.tgz","fileCount":9,"integrity":"sha512-u9uBlRBEH0mmgqxQ0W5Y2pOxH5yPl8UeGBR76fwFaSFP1acWvBwKbGZEeBO4QYBgcCxNKgitwOf79gQlX871QA==","signatures":[{"sig":"MEUCICDk0xVhvxKalSMMY8sqYeXtNFrhEOMxDI7yezF/vKE2AiEAkGujYuQmWJU3gCsUU5LrXOyPsp5jY9fCbvyQ/N3fERU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx+qGCRA9TVsSAnZWagAAw/cP+wWtVKDC0l87fX0sEw5j\nPBSB0FNaki1QTtqp61byDLLemnt6v40goJMi4n1kuOiZbr5VluDhIOw41DRT\nvnJdnqKkzuVLE0bio4SExIzEZD5fOTeBPcZfBmJQtc0GZ9RjrRL3lhIHa0fH\nL4Bo7lRXt45aWWKuLPUi0nLcRHjXWudBeGnZPg2S2HPybRB105j2r9myNyM0\n/wMILQjrnCH9Df8lu+V9MCpwGCaSLFY9DXKKTUJcoXHkQwfrs8pMiUpMaHg9\ncKntwxiE629LI2Au7knS7QF951XMJ++H2dBeaLauwp+bdCh4UUCNrcQqXOyt\niiBZNlQa/awRyIlHYDKgewfo7fKGrc9cn6If4ngW1IIdw8w6K1A5xQpvj5e1\nikTwmaRoJJ3r1yDfV0i8TVX2jfh/IkMrFbopEeboxJenGO48ORjvE6gvQWsc\nOPc2oLu0BAE8fbv+zklsmkrrZeeLsHLR++dY9YNyvYAGbwTOl9caSlsZPuVI\nm7SeOkdh2a7V4WlgwKVClq5ipbSHMoGx7sBL/3bbrew5aT6Sj7v1ekqEPSFF\nnI4uCKWfkOf5I0AtFRngnKY0RsVQjBz3ISwKFJJHRRLmkHbYRohTmja4KhMW\nShiuKJg5B6IR568riWzAcX5JdHiRZxPytjaRbVweaMy+icdH/HuwmMqfFJKd\nDwqX\r\n=O8YO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d8f0d4af045798b7e65086c6bfd710abb318b258","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.47-repo-sync-jellyfish-config-default-d8f0d4af045798b7e65086c6bfd710abb318b258_1623714438524_0.26198518658695336","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.47-repo-sync-jellyfish-config-default-f4c824e1fd3b8dbc1ed223b26f5cbdfdbf25df38":{"name":"@balena/jellyfish-assert","version":"1.1.47-repo-sync-jellyfish-config-default-f4c824e1fd3b8dbc1ed223b26f5cbdfdbf25df38","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.47-repo-sync-jellyfish-config-default-f4c824e1fd3b8dbc1ed223b26f5cbdfdbf25df38","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2b4d923284043b191df75b4b2de81125a4df680c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.47-repo-sync-jellyfish-config-default-f4c824e1fd3b8dbc1ed223b26f5cbdfdbf25df38.tgz","fileCount":9,"integrity":"sha512-HhoL7AVzba1EmcBjQ551TVUwY81S5iJskVT0RHbh758f+uBLQTmZBrvsQQFGvDBe7umGu0a3Y63Bc6tYsXn8qA==","signatures":[{"sig":"MEQCIGE5k6ghhJDEDovUYBCdz7ShtXiIDpCqyogEbaRdfuTEAiAyCJjz4Ah4Tw0dbxYSaaatNX6p0ACGoBnkAKne8dFxJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx+zjCRA9TVsSAnZWagAApMIP/3UOHegKyRDnWhUziCWz\nmwgFUz7L/UpgpJ/fFBYc54zeV+rmFGLvP3f7sPcIkRfQibHKCqIGSU2qpfwS\n5sYEXYqZjkRPs8j2HbJiJukEnErI2pYcXOrFhqghu88+oK4jNWnJqDPHGPm3\n4kqGHdwq5hlXRpJQdPUCYMNvg4tPIodbkR7/aFtZA/kjmcrKKklb+PbodemD\nl8PuQn0kS52eDpvwzM/+L3mnwjj4TBKXFPA7/JaHNHv9xYrLompwdnq6uxeh\nOV7rNeNuVmf8hjdO30yD6lGEsVS4xN/lIxeZMpZNN0hI6pUzcEKPYDrFdPlO\npXcEmwqFkRl6wxNQyj/CviGrPy6g/QMzL4+OEZ14MWIxPFc/8jhw3bECbpNT\nk2nwIUirw+Okoa7KDsaEWdWHjwcewwpG48+gOzNQkYZ9qvjTkI7JiOSUKGIw\n3/j3SpUAplfvTfBjlpWOW94TaxXqrOrtaGSPFJWe8NF9O3ebBX0eszXM6+oF\nKRmzUWBNdv6bdNZIQXWC0cFQzQJI+Iy2ybC7bjD313KtExvRZBnxf1AngpmS\nIAuLETnr4Y3dvQ5cZ4HsTpw1jp+NaHgKHuMEZGBn32vFN2dUh+5uPBdStlbk\nluKIfU9DOQVV0eg9lKuMLz7k98AtnPVJig5noZJuSDjZsI84ibx9PckKbbXc\njTAT\r\n=Yca3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f4c824e1fd3b8dbc1ed223b26f5cbdfdbf25df38","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.47-repo-sync-jellyfish-config-default-f4c824e1fd3b8dbc1ed223b26f5cbdfdbf25df38_1623715043548_0.24081978604020016","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.47":{"name":"@balena/jellyfish-assert","version":"1.1.47","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.47","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3fdd5df56a1c8332be2e225c385d58b8398dd780","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.47.tgz","fileCount":9,"integrity":"sha512-cuxWaznwQQN4H6LktNVFiLZZ41HIYkKZIhn+7OslZTgyJrNaSlalVLyPXUNPv3ClcZnzt2FEmWi5y2Xi6c6T6w==","signatures":[{"sig":"MEUCIQCJXqNftrNOtOePr3GYQn328sJ7cVy9Dj65wMG58SQYxgIgDu+DwSiTMU6R7QZqhhEO84ejmFNsgyV4oJw5F3nXarM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx+6bCRA9TVsSAnZWagAAI/4P/jpsCCnLtwN+0joFMs99\nYqX47VTFKzaE8uRF8rAfrqirXJkGGWuEfkSKgUw3rM3ejUyIs36ctoa0FFSL\n0DCh8JJ0jg1l2ICUBAT0AABK0id60Rb5o7njxHKnwpG+NdIT2QsmZhCWUxdK\nZxQX4AlXr3F1xUAI1YNFTNMsHhluvGWw4UgnjINe/Mh81PiP+Fh3zpUO5s0J\nQAMHiHNk59jzSUCZzjI+s+jILr9oweRYHXJ/xywk528IQgmmn3NxWOc+F359\nmtWrcGJ+KzfLNH3ZuQTo1lGpWGeZHc1HS4ii7SomrlpBWheMKu/SnyU1dE/0\nmpf7ztZ0gIAop2SvWRdEAp1ZAP18CGEsK/rmMs6kGtFl8qaxY5e64cnGH2pm\nqlacm8jY4raOUEWXNiFj+oTRTQbKU+OLaRh81ygATLJ3N9VnsCCBIEeFCr5S\nuGWbQ44PBTsNuPUY039ScWAf9zZfKWbHrZtocnam9mzKHm2K7Pg1xKk/3qYw\n53/kcdHOXY1ZDyF44CHcHaFi82Z2gj+H1Iz52lVqrrvkTwLBvmk6r7mZ9gPd\nirc2595TXhNuafN+gpiMSe24LpolThZ7kITR4bgQRh+jWureuZYDIZvwuBhY\nxGmIrxfqMg0N6Hx1mK8dfaO+F0cNpOBCrNXn2MH/9CPQ+owzJU80/p51Ambk\nBYqZ\r\n=+eEu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"398f3e169dc9695bbf8d4e97924aae8661cf1f8a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.47_1623715482915_0.4983049426359978","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.48-renovate-internal-patch-0ef9f9ca6bc7bfe53664b1f167cf0b92857067f3":{"name":"@balena/jellyfish-assert","version":"1.1.48-renovate-internal-patch-0ef9f9ca6bc7bfe53664b1f167cf0b92857067f3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.48-renovate-internal-patch-0ef9f9ca6bc7bfe53664b1f167cf0b92857067f3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8408b333f6c60329c5a664ffa3de29fdee3e7d11","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.48-renovate-internal-patch-0ef9f9ca6bc7bfe53664b1f167cf0b92857067f3.tgz","fileCount":9,"integrity":"sha512-NgewlKQYPZU9qTTWbkKsnnTnE84rVCmJL7XkVRFoxDQ/ARmw2CQy24B5LKuoOocdeG7TM0rBPpHYp+lQgS4ikg==","signatures":[{"sig":"MEYCIQCV/j4qEqYI+qeRjcIFmJn0SbdZm0ebxtwXH3gI/PFmagIhANmHPfpedzMou3SKxHvm1rmIn344m4VIK4lPc5o31qkA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyATzCRA9TVsSAnZWagAA4rMP/i7d0uDzdvMISarTJh4a\nFtPwRVNeanWzxxzvc9JzHdk3fB/4gKVsfa+kWgrh4hXWfe0/HYTYqpN5rbWm\nZ6DrDy21e7uSjtJm3QZocxOMBGhWOZtluWOxwt7fPN9vgV7hn15Oz8nHsgpv\nytqf9bEf7GhOooGoAe+9kfE8mZiwZ4KNc4r2lP8OQV4YPwmPvjYdHBp/zxEC\nIzCRsnB7tx2uS4iIKujNahH0Mj07yDse6kEAlnJeJ4rlKVlhmYipT5UmmGtF\nZ/4d2tblT0K8aEZB+fXbv2cxbAEDkdV59EB17whbEeiwKxAX+ZjSFUJK+xV2\ncuruflynrw3abJzgsMtcKStv3Zj43/icvw8BiRSpJifWm1kr3sOTt4rzKz39\nEmkP0Y1o84yDK4EkCFHRq4KZUpu8PO+3r/P4L9SV4cg5Mwnhpv2VZpMtLAQE\nlWWDyX3OQxYE4Y0uZFK5RvCJ7Mwkp81C/Bsewp1jqNP8mhvNU9/bRRF5AroM\nU0io4t/0uY6vNkkYC5EH8yTuftpJNHxouAukV+6BcrHIUkHpBbJOcmOhMTYi\nocM6MJV2uuz6bsvopiVEcj+PFAnKa7Vpy6RxlwJ0NOMFyO4Vz1g3d0GtaucJ\nj4vKWo3klIYSTBR2nt7wV2MAROnUzvEs5gWGnMwTaVspicmhW4/4MighyxYm\n6/xQ\r\n=d4z9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0ef9f9ca6bc7bfe53664b1f167cf0b92857067f3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.48-renovate-internal-patch-0ef9f9ca6bc7bfe53664b1f167cf0b92857067f3_1623721202835_0.7839003762804477","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.48":{"name":"@balena/jellyfish-assert","version":"1.1.48","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.48","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3adccc7e18b63ed9c8bfb709b4c233130a7b11c3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.48.tgz","fileCount":9,"integrity":"sha512-v5SVDzwhC8Jx5G4aVzLJMb7KFC9fLy4f+5+IlBkoChC3az3EbcmMNjCHQki6dRp7wGa9s6KgC4tRNR/vlxDXAg==","signatures":[{"sig":"MEUCIArioxJovRDXFES6Rgk7jSZS/wAoi/bbx1DGvXIkbM/nAiEAp1LuakKLwZWB6e2Msu1a6YEZZrKNm48MG7nbptpFJ9w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyAXCCRA9TVsSAnZWagAAq5QQAJRaVQI7WpMimDDx//Dv\n9CqL6HmZBaGK1CBQGu6wSbN0RsrvZvYAZaocbGwqWntNRNr6N3kH7DXMCLT5\nKa330HgxFa1fl5IjHp6bEkQOWq0QqqsUaTrWyrhUOQAaR2p2SDn3NVsOeUxc\n9OR6AB6HKuMz/RTbKSC19RanYTYOrViVPCfwSg+vudrHY5cthilXypcdnwDM\nQ6H8EUu3ZBfpE2AsjlZBjLr7Wshj5Vpv9fAYnlk5UJS9oIS18TTU8Gqrs33z\npj0ACZiyC5CaklIfVHJ4eyMF3ovghq6O1uy557mpZY6syTlooY0B52XYLSpl\np1Se0GetiuFhJwZh7bKAPr+X8QxAYgFlBeQ8V51SSSsRWTB0ZKkqfjvA4M+V\nYW6fdZJR//MgbNt3l7G+SvXBkdJeRuuekVjgwxElKh9pmt5VRiqxinGrNhJo\nFx6Sq9eIDRhiePOB7n9scSEGo0gpZTYyqbA8/nYesBzjJPCzTMOQdL61lngK\nNLiIGp84fbelvCwcOZGtci1nb992ROs9ckbqtcrcPkrRhK3P/WULTz0/uEfn\noMVuNeh5zuWUpNKJLjLtdBqyjCb/NrNBlxFzeegnWF/HEtGTrwnBklNHT+Uj\nvwJPeOj4ZCx62dVA6u/9enKC4Bdjp3DqhKpEiEquuDNjo5Q1i+boMOL0VpEk\no4at\r\n=qH2B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4698c0d718a86fc14a8837722a24f03209ebd9cb","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.2","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.48_1623721410274_0.444329217700429","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.49-bump-typescript-a30de3f5410d5efde33c8f273b95a68e1e544926":{"name":"@balena/jellyfish-assert","version":"1.1.49-bump-typescript-a30de3f5410d5efde33c8f273b95a68e1e544926","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.49-bump-typescript-a30de3f5410d5efde33c8f273b95a68e1e544926","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"560d7fa9d4de9586146041de522bd71ddd593882","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.49-bump-typescript-a30de3f5410d5efde33c8f273b95a68e1e544926.tgz","fileCount":9,"integrity":"sha512-LWTRBdAZzS2nS/7AKv1Y3sJ9l4zoqkkRldnaKckOkurJpZIYd07VGtQZGXfbwPekPt37XhcLaNJRDyzmSQMlrQ==","signatures":[{"sig":"MEUCIQDA9mW1JcKqcZ+A/AB2laR7ejYOyaHCNqa8crtfChe1LQIgO4dMrqra7ens3iKUCUwzrptxkYanJowPOuqG3Xj4x5c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzbTxCRA9TVsSAnZWagAA0xoP/0A8ySdeilT0PeLANKyb\nWzWTHTLBMpDYdXK4cdDpP2gyY2xFY6QKpa6ZH6tRNKHLZ54UzpO9RQw56zDl\nb/BnmPn7YFyrpoyhq94TvJld6M/RUGM2SxDoEltS+KWtJ/e1onMZop6pgsob\nFoT64ydfPYIf3FyxVnOxg1yLoFm7OgWIgRcUCFNPDetTY4IuVHOE1uik0HH0\n7MFSQpLSUdgkoTi+1szB3hbRxjuZKdc/TRrnJT1BB6FJt2/Ce6TWAHYDbcRG\nvXcUhUHRPSQsRCDOkrw+za5xwyWGxc3SB/mUpFAop+lMCNVyYmUF38WWBaSD\n9RMiQxqatbZq4Nqc/DZL6zp4KMhrz6uTmhyW1a6j41/aOdbxxEmuUgmyxL58\nOsQV1v50UNqLGmKM4RKMB8bEY3rl7A9CaYVCnWeNsZiixCXWhAV9KJt69c+q\nNQiTv8VqWTuGZmPUKEL/vs/wKbC4xjig8tg9aHSfpao2Ky6TgO9sm78L5EWm\nHlQziTTRfqm27mlpyOIcHMDuxWoWP8DS+LDlqpG96/lDHjqcgfk4USzEoF9H\n2fvpuhLUD1W6aOFAHhIr3MzjQ6PPFWeVxZGEjJojqzx2o3fel59TrrcRYDzZ\nNqWKJLu41N/qhIN50YCx8RnCEGkpqXWmHqR0/FIa5S+Chf/zlopSN4gDH2+s\nk6vt\r\n=G9G5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a30de3f5410d5efde33c8f273b95a68e1e544926","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.49-bump-typescript-a30de3f5410d5efde33c8f273b95a68e1e544926_1624093937361_0.12124822734191976","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.49":{"name":"@balena/jellyfish-assert","version":"1.1.49","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.49","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4ca1612567de0697a9e4800438640f3528974761","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.49.tgz","fileCount":9,"integrity":"sha512-Sq0PVVODfMuaMR9VUI+CcSG1IUEXY8FgNCEq3/+mOd7E4OE7LjyCiYOiu/ymIbmRUQCSKkeulznbKsPBDZbucA==","signatures":[{"sig":"MEUCIQD4ddDfzksYXD+3U7d8Z8hMptJSIYFDaiguWVKNKXJ4uwIgFI3EZ44xDidX8DIsNOP+vmQ0lOlVpOtdcUww1AATFpY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzbWwCRA9TVsSAnZWagAA380P+gMcFDjjfL1+LKag1/fi\nEan5pgjOJp82S+d6FCQSMWu+v+UCsvuBAdD+HV7BhxtE9aALK6j/+K/s2WjB\naZ2C4RgYBybiOuybQYoaztUMHVSRwmClNMASCIS799YeGwLEzxB9u+4Qin5B\nzO7FwGIeqhmKtainLX14T8SjJ+oVruXBqqSR0YJNVcQnY5h59/cQZWTpOhzw\necn+vYvxM6WwVJiZ1qhG4upx9oDVDNCBTnnhHvWEf/bZ+xvA//ms+A3bvpGg\nx5r4rnzz9qw84ek6/1/B2Fbj/nAzc+VVPxIdOQVsrQObJnigd2PuOFNgWxH2\nSuvDdT6XnhcY+27TkxwQnsPr5UFreCF/+aWA9S4B80DOlfEsnvIMYC7VFOac\nTlSSsC4BPX7HH0aXSjBCYkvCFDm6ZS4Uy67VfljGVykRACLJZabUk0yOsQFy\na8RbTejYj84TmDOMRlZ5dwBL2+SDTN00r5GjZ403wgFIbsWNAiG086pkbjKA\nXeQYZDmQuHbeRe0nRNL5oSoGokscGu4kJA89YD4KM22d5Ol/q0lIfH2AMBXw\nxLjN9R4SCkGVuLYwVu/jI4iJlAvq06ClcyjM97doSBFM4oKlA4eHcBz+9vqQ\nJaSpNukBCXnmkVnpz1L97pNhyYA5L9SeSSavScI5xq1KJnelWGAlpEjfx/dB\n1P7M\r\n=1DvH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"19dee966101fc124022c2dc6f71ccdc7e4a81019","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.49_1624094128359_0.42505962264641384","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.50-renovate-internal-patch-f1b64d8ab1a1ccad6234ddd52bf0591c5e83a1a4":{"name":"@balena/jellyfish-assert","version":"1.1.50-renovate-internal-patch-f1b64d8ab1a1ccad6234ddd52bf0591c5e83a1a4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.50-renovate-internal-patch-f1b64d8ab1a1ccad6234ddd52bf0591c5e83a1a4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ad46e49026b59e580cdeedbe1170802fc89b6ae8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.50-renovate-internal-patch-f1b64d8ab1a1ccad6234ddd52bf0591c5e83a1a4.tgz","fileCount":9,"integrity":"sha512-6xmkQNRkU0cAuUd0cNfpU8c+Jgx89JtLSGy+n+eiRF1FG7yV0dFoFtpy+A+XGuEM7LjfltNHR1adcpSybecG4Q==","signatures":[{"sig":"MEQCICI2LsKPcX1+KSHpQgbNMBgsUu9xMckYsBhbDmr9AsSRAiAvfbFl+pGiGa/5hCXzODzEM1NfCTzNW0zO4RhP2+/P2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0Y5DCRA9TVsSAnZWagAAHd0QAJ0eIUo2CCPEq9yQ+9dQ\nfnx7O8Y6TRv+pIZYl5/ekLmDnUQCrvKmu6XbYvD/cBH1jTNs4kVUe+Py+TQF\n2iMXUYXCiF3okUs8SHjxCXbZjPq4wFohonu19URkLJ97T1oXXK0pwTU/HAWP\nUsp1ETM+ax86KG+pUs2l7XJzBMmlSzrXD/hSHWtmCIyEmoMP+jWHLjPGV92A\nJhssM11OaUCiWsEO+RV6LwZLk0bDol5pUj9LaFZtspK3ZHPLocMiemkTU4E9\n6xj2p/rwtEfwTs4sVUHXXzcrUpSifQmDW5kha3My1QPSGKwAXH2xrMGYncaQ\n/tUzP+ga+/f3XJb0lA6N7iAMLZ2hsaGE88WT0YvCQhPWdZkeb+v0MI4Hamm/\ngay54Oucf6M/yyoIk85szo3fQPUYyvuAzwTXB/Z5xd4PUy99oqW9yVGXVigR\nH/ew1yyr8vVvqtUmfJF9xAMQk2PHf+H1WX3V1aekURfTrtKVwbvxdKGHgOhk\n9EmiGGKuuk8qf0M2gF0oyHBSKhaC3PAxKfULoW+uBeoJMJ7U5zisCCEo0Pwq\nmi59YJYuUVpF6+s5WSSlAC3SJa18bVgrKtwUx2tK8kqZXfSP7xyLQb9aQ520\nlURQwM6klLtcTRiV+JQqQVzCw5LHmiHQSyJF0kaqQvHXePHmutpgMMhdfVCV\nSXwj\r\n=OVoB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f1b64d8ab1a1ccad6234ddd52bf0591c5e83a1a4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.50-renovate-internal-patch-f1b64d8ab1a1ccad6234ddd52bf0591c5e83a1a4_1624346179271_0.18755156910307536","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.50":{"name":"@balena/jellyfish-assert","version":"1.1.50","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.50","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0ab2f1e33052846d93b50f6d14bd484e27368358","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.50.tgz","fileCount":9,"integrity":"sha512-xbMF8gC276SZNozFJ/Ya2Gruk+p0zSL/xEY6DNFWzUacWMX08TND2hsnqxwQHlCEMCnwz9E0UdUOMyfDT4M+sg==","signatures":[{"sig":"MEQCIBnp0x+xsQvGITV1t/wvzCEtvJZXN73X15tOMFYcBIfCAiBWM48xzV8yNyNvRG5c5HXcKgTG7wVi2ONn6fu3bej04Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0Y8uCRA9TVsSAnZWagAAACEP/0qcKAduA/6V5DeoW5sr\nN3+GM8fppJSDjoq0UHQNa/eX0CpFN96LMbAWpxPHirssvN/O84OQ3bZ7Sm16\n5ogKY4zK+s447RLnHlCawz2eKvQyfEUGtmsVgsWo4vEpLPsQPOoUZuQQYQxJ\nTF+jCafgnyfVLkHUISHFvsFUtfjZH2/mpuLpig/QvtfirmcHq0zrZR3dazjo\neURZnrcFdX/6rcxfLqNZugXlI9mVtVZAgq+J6WvDuFm+uvhCvuLyxgU6Vfiy\n3d02RW+RkIhafQwAMRBCtcv37kA66+eCD9ikyWh9wCSWyZNRyqW/GOI+VwEm\nLVXe+2DpzmklVQZrp3JaluB8c4AWmpHGVLQmT5VJZdyxQUq8PzNw8nY99iFE\nodqDTp+Tu7NhqjpDLPeezDxibHMSrcuHy/wB1OPxtEkL5SaQuhclbE7Sx++k\nw4IxAqQA8T3HVoYdQGz+2qOcIfCO7wvluOPImyQf/KA94lHlzUrq+6y713E7\n5jKviwfMLcYxqHs2cdTXlYdmt9mv5odP3eeeOHEt8Nfw/St6oYcE2F0yjfLV\ngApRw2PoffmFlKE2WOleswNgiZ5JHM6J6uhcnTRC0lSocTEzeHroAZ3hmNmk\nydJIxpCl8f6DH3jPyYLa/ycfakSdnPVayQJd5dM3m1WGBqAtgf2wDglYiNRm\nTTpq\r\n=hijk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6b0e0a6470b3c3622ef51a62c6db79ee6e3278f2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.4","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.50_1624346414204_0.31628680810186993","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.51-bump-jest-7fadb1caa5f399cc919672eb63dbbe5b4a77ab94":{"name":"@balena/jellyfish-assert","version":"1.1.51-bump-jest-7fadb1caa5f399cc919672eb63dbbe5b4a77ab94","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.51-bump-jest-7fadb1caa5f399cc919672eb63dbbe5b4a77ab94","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1efd966e6bd16b2c02bc95e8e4d556926092ad9b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.51-bump-jest-7fadb1caa5f399cc919672eb63dbbe5b4a77ab94.tgz","fileCount":9,"integrity":"sha512-EiOvYxwra7AeC+yf+zVU44tfhQ3ZQkXAS2iyJwxHxhAb5dN3993dRbPmIalpbdivlK7U97Tj9QhdNLPKSVhzwQ==","signatures":[{"sig":"MEQCIA1yuBHHDz1ng9M3HJn1pQWtVC7loA+TrfOuBO1k7bNDAiAJNEqCHXPX5WmEGVUzVIquA1YZnqY170oAaqOYAeSWUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg077ICRA9TVsSAnZWagAA/zsQAIGyjWGJ9AoDGAgM+IkI\n51yNDzi9LcoCdgOX7io7yedjOxgWULph55W7K+XR859Pwnvv6zQxYTvjZ2lo\nRcxCgfAPHUq2rP5FAEa96XAd2qGUEcKLckLphSl2qli6DViu6LNLdizgGAaq\nfZ6zs6GdTMFd7TC5qT99V38iV/Y+pZqTS2vPkJEQDCB6siU1Bx/CeaEs6w3C\n561/tQJaR0cei9+MbJmNxBZL9SkX3Q7zu/zSAYVjK7zilq75plqYw9AncXHc\nINx3UxdKUYV1WW9u7tfvDrj07rx1pr1sCPvcOos7RRed4wmA1PxbizYL6ENd\nry6IcA6OpIng6uGktGSmb5gWHM12/QckFMLdOsbvzoaI5mup1YlKt4Y+RAxd\nTNFpNYmZk/D73Ts0V6dxRHai2wNHJO89r9GJZW7qN9THcdOqLUJrwoNDvOht\nhaxDbdV1Sul9n+W/rNrf8LVmlDuqbYddC2j3CCr4kv0rPcUqbk3SKLCrmJmp\nEd1eJ/wYRq55wLOTdr8mWHTsCtCSDs8TtBrTD1cHsZ4N/O3niSVi9kAfEpgt\n+3abjG54PoOk76UOVr06TRSTDDkhpDp0ESW2jCXOJVo2pOqYZXSw/xxR1PGH\nLuKDe3Jx9Q+P/e/UvrdWZXcpeX6j59lD0W6djXoNwnWWKIlnDOKHhQV4eLK/\nblrJ\r\n=rmcC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7fadb1caa5f399cc919672eb63dbbe5b4a77ab94","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.5","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.51-bump-jest-7fadb1caa5f399cc919672eb63dbbe5b4a77ab94_1624489671679_0.15416431235748673","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.51":{"name":"@balena/jellyfish-assert","version":"1.1.51","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.51","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d3cbdc1aa48f35725d24af36a5a46d75a50bf629","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.51.tgz","fileCount":9,"integrity":"sha512-Ae5oTqVHVYnxLuJzqF6Nxvf2nekQDBg42PLOF/A7NGnJeB1TTEMrfKYjNn8YKQX3YzcTnM8vJuFXO7rcFfcpNg==","signatures":[{"sig":"MEQCIA5OMe32VTnch7NlPGzfWAdYL1PhrRxrjn2DSt4hpBoCAiASqXggcFhofqc9uEtMKu9B7iI548EB8kFVH1xZRsJphw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg07+oCRA9TVsSAnZWagAAY/sP/0g7RMXy2bb5aV2hslIe\niZxcTVSeO+dwvV7JaFI/XLXSsK8tdPlyTi9q8abtk5XhLqZS8W+k3TeUkGC9\nMSMgC+Hzpexz16UMKWRvualgGnM4c0Me8eurCO8xj5KEetJemivmkUmIg/O0\ns6VKc+tyfUAOP3tavAugnS/SlyehJxGkPM+NqXBg/wIkxYFxwmNhbf7jihun\noXnT0s+aJYVB07MPCKemOGg92n/Qx/Pp5Mj0G10NvgAryx42P3MbxF4nluRi\ntYl8wOIpUK89Gc9HbKjKjlyxzhbYIjsZQAp21qLqGPz1tJCuNzm4TqYULzyi\nBnh59QvJyqq80abTvcAlUq9a+z0ZTTjRsRLcqyBU8DrKR5tjaRGVRDOu9RTv\nCQ89nG2tOa4LrUBDzuymnLlppQsDUmslvGZQRm4d8AAY0OGkjiAy22TRyIi1\nanPr5eI4zX25JmNvBEi2PPAJt/G9b3ikMRQuEnDGTR/E5nEaq9JbEKbvpDGJ\nQaAk6ISrrvK6xiFkSyIB7ERhlP9pMhuZi+akJmnResvtX3L6UElxQTBKRXo/\nWgd6Bs8MbVVs94RiB/WmV8ni3ZIHR4pU82OCyaDY3u0d8OpZch6fvztaA4pX\nFtqkgnPgiCg0TLrSyVHYgFPESxRA7ADNhhTauuCq9ucFfbEJ7b14ylao64N7\niB3c\r\n=zl4A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b22f7c953907a9f4affe437d055339bf8486e0c6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.5","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"12.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.5","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.4.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.51_1624489896341_0.7022574566391657","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.52-bump-simple-git-hooks-fdd39fe1059755bd329ca3b861fac2c0bb0eb82c":{"name":"@balena/jellyfish-assert","version":"1.1.52-bump-simple-git-hooks-fdd39fe1059755bd329ca3b861fac2c0bb0eb82c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.52-bump-simple-git-hooks-fdd39fe1059755bd329ca3b861fac2c0bb0eb82c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9e009dac30d0c60804cd1e7c0fdf6ed5d75dd2e5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.52-bump-simple-git-hooks-fdd39fe1059755bd329ca3b861fac2c0bb0eb82c.tgz","fileCount":9,"integrity":"sha512-N3v2trnLIfVK9GZeK7SlAwdCodAMvknCzImWviyGXUkU4aPxYw6OveNIK+rTO14B610BDcWv30Rn0NftBSt4zw==","signatures":[{"sig":"MEYCIQCmTPbJ9lyPeno/yIZ8VKxSy+213NqKpthk1+BLs2QkeQIhAPiDd6vlFP6yXR2QtHfPHcSzmGG8CE9b7Nmdbg50Yv/K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2sIsCRA9TVsSAnZWagAAdu0P/2FUVRtaFhjhTADuzAWH\n6GVQ16Tw+K7xMvskBTmbHM8CksbT4EutX9SCd+SvFkXNpOnrI+p359wEXu8s\nDNFC3lzacbnbTAPEU4sXL/GPibQ0tTwioWqffg6Cp1syMF9XigMNxE290xZh\ncTbg9jjHy+QoowK+CrT4D1vNXENbsjoQ0HaGTkLmPAihdqznMt63FqnSGZtU\nNPtosBWJpvDVdcK4zEizgSSt91pVX58LG+bDWSr0X8AAhE/bpmyaRxub//y3\nNZo5ZvKttwDSPQ/F6hunsvWdPMI1S+8u4m21SspajNK7cTf0qK9hIpsxHbET\nROSumJXAg9h8+WQNKCkvcT2gCPaaf4s17rIxAhNphsPZ+v8icCmJwa4j38i0\n4RAEKOZEqqH2Q6GePx5mk0ut5IZxfxJo4u0ndGh4piyVUYFaKbodSsPr4LBW\nrQcOpq8G73MMbEQKE/dIeS+U8BF6PwiueUt0pE+LlsZ6doJaM5IvnjJyB60z\n4QP9Pxf/mIya6jbuJrrBbMgw339kYKyMQFltdRk89CtDYf0vqX7P1hMjtW9Z\nHcX1n4DF7Bf2313b8k8GhYKJ40ohwdcwUX7v8ITlbdb2fdAUptUn06hA1tYh\nyqj0Qrx/pMWt3myg3sQKR8lAi07CQfLtia+XJ7K+xTXr7sC2NvV4V9VMsZlc\nFfrN\r\n=MKLe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fdd39fe1059755bd329ca3b861fac2c0bb0eb82c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.5","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.20.36","depcheck":"^1.4.1","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.52-bump-simple-git-hooks-fdd39fe1059755bd329ca3b861fac2c0bb0eb82c_1624949291689_0.8558454855637285","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.53-renovate-external-non-major-5d5fc132fb4ed2be6cc9e2b848f6b46aeb98d489":{"name":"@balena/jellyfish-assert","version":"1.1.53-renovate-external-non-major-5d5fc132fb4ed2be6cc9e2b848f6b46aeb98d489","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.53-renovate-external-non-major-5d5fc132fb4ed2be6cc9e2b848f6b46aeb98d489","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3742a0e8a266d7ddb097430ac005f1b909903afc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.53-renovate-external-non-major-5d5fc132fb4ed2be6cc9e2b848f6b46aeb98d489.tgz","fileCount":9,"integrity":"sha512-t3+aJ9RppQfKZ5KdELEa9kZbkd5kOnjySJCtsFSeM4FB+m51lRLoADW2Dut10ym/YxjoXqGDi80jOoY4pxt2Qw==","signatures":[{"sig":"MEYCIQCJ5tt9jHmm9+rQwPSSlrW1ZwnxJiPL8q0yIbhfG6O/TQIhALANSjRViEDEv/wXemONqNWDAhEYu7Dk8U2dXwbHuB99","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2sR6CRA9TVsSAnZWagAAew4P/0gV56n1zEYlm5KS5BkK\nVc0W/qSYYtnRRSMuNjv9Kf6PX/MC7HF/L2SqLyK/5U7fFamqg14vqPZlj8KH\nhENqwr3b8YxIFaXN1gIG8L4kYY8ay/PytnT3b4UA4BPTAloLtHlKY9MTUtSw\n6XdZakg/TLv65qspARYjKEJAMSUQB49+Fk+WgOav9J5x++1fN7C1n/yW3aR/\n4+u0sKDI1fVagTkpQgR4DTU2OddlLgpGtN0AvuftUZ3CAnsHUgjNl2F2lO/Z\nxT/HdsHDzXlsK6rIU4T1CsYSkhtbJyORGZUHxEJA6AEIt4jZcFxB/VTWa9wE\n/kVu71iq3idlnry11NULvjQqdP1SvUtlp9UgLZ+EVrUM0f4YW7eWQLpNcuUX\nFH2PCNhziz3O9cqocKnx1h+vP2MOt6KVBe2I/9o87Ot3aHBHLllyhEdcdEdm\nioDukFotA1zInuF6KjNXjkplRm46LGdur3vLOGcCtEMdHCFLacOjV6zIje4v\ntMS/E0xYyYCurdB2GRmOL7uEPbJAw5xWNRsCXdhtT35ZBjaSg08gmJgx0Owp\nPcJv/OsnEDlLqbaMXEfobVcd8RVnMKr2+0Qn/hjoDPk8x9XvKgf/DR8DzyiT\n0Kdusb47mKvj6xcPlCytE0upIOi5Ii/T0g1u+ZTHwSP2+k7+QqQWF1/QT38R\nZwAn\r\n=ds9t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5d5fc132fb4ed2be6cc9e2b848f6b46aeb98d489","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.53-renovate-external-non-major-5d5fc132fb4ed2be6cc9e2b848f6b46aeb98d489_1624949881759_0.5274026246851828","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.54-repo-sync-jellyfish-config-default-91518999c7821ffa6f81b8c3ec467c2a36e44fb1":{"name":"@balena/jellyfish-assert","version":"1.1.54-repo-sync-jellyfish-config-default-91518999c7821ffa6f81b8c3ec467c2a36e44fb1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.54-repo-sync-jellyfish-config-default-91518999c7821ffa6f81b8c3ec467c2a36e44fb1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ab95e0be0bceed2ec1262258eedd2a5dec32337a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.54-repo-sync-jellyfish-config-default-91518999c7821ffa6f81b8c3ec467c2a36e44fb1.tgz","fileCount":9,"integrity":"sha512-PyZ5cIKxlKZOrEu5z8AkeU0SGKR+ls8gJIqPxzSczcdQx3OZZBY5qNqZft5SUsGx9YwSB2Jnhab4oCNxRqB3fQ==","signatures":[{"sig":"MEQCIDLZvRIE1lVeHfBdOcfIv2QWRlIzfd9E/mKwit/NK6b5AiABH0O47fnqH2WEkrnz6bq0aJhlwJaur0GW/2UH508/HA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2u/pCRA9TVsSAnZWagAADXoP/j/J0PF9CG7a5WoWo8Ph\n5PGYmAbEg2kZFfzB5Z/Z84ZU0VIV8GH+XiRVo/TXkjLNGingmdeghEr/Kacf\nJyhcDxTurm7pQ6g3Lvl37popbADfagwQMx+nWRzN3RCZPd/N+HvOop9uEOnC\ncS/nb1FWA/ZcdBKDCtelaF4e9J/g8YHRwr1LcBsGwrc/Dp0ySkCknZ3LZ1eN\nAhj+VjA+xCAbOJc53dtvrpWf1GItL3/QlY3hPYibY9tCjBc1sRVGuMLzlu8G\ndlR+Cmk2RG9TzXfU9mRQr20Yb0ikh06mk5335yx+oWskVJPUzKcqnHLC5NUW\nJZv80K0HoQu+Ic8oUxlWrztnIECrI8nF20CHyBEJ6rOX2IBQgdOU5bT6on/y\nQTv73xOxtr02UDGxwq9r9jtROpaXvVFm2xejC15Af3MTd/tUUQF9aqFqkgCq\n7MH11FihB+GeEtsquiafxk5kquYVXSS5Z8W5b+fuXYV8ELxIObsUtlgPaVrR\nQvrwNIQ1tx91vx3tKp6oOjmeVzBLU8toALoU/dGZJOAdq7/WAF95tx2zG3+Z\nUMXRvs9oCbOl7uFI6wvtRuDcUGxdKMaT5bJxijr0oZk0yXL6Jefc8qcp0ghs\nWXyyUAYHio7FGQcqbeOvoCawheAXWRuMSUyoeE1RExQfHjLQSbwKNJ+BvCmS\n+7EL\r\n=BRcP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"91518999c7821ffa6f81b8c3ec467c2a36e44fb1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.54-repo-sync-jellyfish-config-default-91518999c7821ffa6f81b8c3ec467c2a36e44fb1_1624961001127_0.8854623816994469","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.54-renovate-internal-patch-26b309d6489768cc0f2d392a38b4f5ab3e5585a8":{"name":"@balena/jellyfish-assert","version":"1.1.54-renovate-internal-patch-26b309d6489768cc0f2d392a38b4f5ab3e5585a8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.54-renovate-internal-patch-26b309d6489768cc0f2d392a38b4f5ab3e5585a8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"75a9203e5310c98a7b98b1cd3bb891ad8c9a35c2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.54-renovate-internal-patch-26b309d6489768cc0f2d392a38b4f5ab3e5585a8.tgz","fileCount":9,"integrity":"sha512-G5hqd8twbsNsUYHuYYU0KmKNM/iQTRGmBZzhyj4WpZLTDAy4S/oHlJuvzxZsBUW8VvW+vxq4tCyXXmlifFadQA==","signatures":[{"sig":"MEUCIQDMfzt7S8fhfYXziO+7ox2YsywTJAlt/klVLTAxCSgbKQIgPWoxVJXTGfYlC8V8JW86YlKJxfzGIJl7HwwWwSumVIE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2vCZCRA9TVsSAnZWagAAYv0QAIS+JNiCRqXDGBr9NFNT\nuIlUrOw3vrXPW3ppMqF8M8hD+Po9TuKDasc9m2OpMq+9gYNFsMdnAOzQXkqg\nBXkgXb0/aCFZ+58+sP+8E/y5C9mWJSIRTTWTUX7706hojjvE4WIvgMqhnbzO\nrjZRewi7SqKB89xrl1k4YL3/jmee/tvhb3/22vf9yTDEJx5+sGCM+WqWayl4\ndNG3LHhPf+2iO3EWx5FDLYdl3nlhxdQIqU+ki3gdEARJg45d6veg8qGhTOD5\nXSUOWjNO4ZnR4ITJCWrq71OFKJ+y9CLvQdgnwND+pftIkJzMUUvJA/p+8HRf\nZBZpXYoCM0hp37tgUK+ToorLckiWuqJpWAUwhtjJglFmT/d9PiCrYqg7/Bu9\nPxbsYTDgPoPmVF4Akq6aM3fPsEJt5GM74BTGnuB0Ca/cCrAXBDhfMCVi0EsK\nN3daZWIvJwUp0Kbi2EZ9gMXCyairGWkyLC/X91x/ZcdNPUjJJwRClmLZYLJw\n2K+rsxSfijv88e9QVTUspiZRbp5iHoVEO4ODm5RPXw3CwbF3wV0UybhIlHKn\nrtTVkZ1AHKLnLoyrsGNmx3o7EnF+2Xn2rypvOr9zMSZq623SwMA+qVrXfY1Z\n3IOwRPF0yeGjh5TLUFEIYVpA3H/YrkyPQxTiyiWgwVk9pN7qEqaKoPNxxRYT\nzwMD\r\n=JHnO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"26b309d6489768cc0f2d392a38b4f5ab3e5585a8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.54-renovate-internal-patch-26b309d6489768cc0f2d392a38b4f5ab3e5585a8_1624961176506_0.4100839323131702","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.54":{"name":"@balena/jellyfish-assert","version":"1.1.54","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.54","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"faa550951e3df0ceb986193dc0f0b789f14bb5f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.54.tgz","fileCount":9,"integrity":"sha512-GXf/RK46EJTx9I2KM36QgkWsHRAP8FLEw0xMLj+izTVJ4uqqi4DCsC8jOQEa1mDgCR2W0Tv8qB3LE4HL/0M3Mw==","signatures":[{"sig":"MEUCIQDCjf8O5v7e97c8Ue7tNzZhLihJTErUUJNnrypEXCKonQIgZODlAJUnLhIQzudkQpUrD0IfNOsqGstS2EKI5aCeH7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2vFzCRA9TVsSAnZWagAA0a8QAJyrdsdKmCiRAv5B+PW9\nofPbfVWnIkbKn3Eghphdr34luBvOtuuwEIPH2wzB+z6BxxDn4d8ccLpIrjfm\nSv17wMITzG2qInPbsyYgItTePW8j6vJJq0L62mQRr0UvdiYPxwIprWMncb5q\nzYJivkfQO7G7NkBK1lE7tPPaSKWxlTrlTrpbLcF/31yQQRgWpcYW2h1qBsp6\n5uufVAekgoXorcrjlI69XVSnOp/ZwMC7bxeAwZ5Js9rW0qa7RkEPbb29pInS\nRPIfLkMOyqYW3nbH72+i2u+zE14VtyXkXnWRZVJO9FgSLqomTEOCzWbEudNT\nZz+3cYypluo1aE1DOHSkTdoyIBgQ+BCYih0Syi05bfoM9ISvgvrNRUgQdCni\nyz0Cih7ARVR9d+8qXqyx8SMe7mkq8qSa+Dw52gVrFUH2VG0vBxCW2xKT5rPB\nxFwvJF+PX7Xj7Gu2NOjrT0KDqaVjFUcBwJUKot6iIfc/ElWFssK3rqvGwJba\nAX3eMoJtZPK6bAA9JaJqjKEDCqN2oPSIeXMY3Ax4PRjo8kU/ECtu7ZPEzfqx\nwHaoSDTeh7j5RzOqIRWMeIh54IqaAgVEjQLtAjnyXS/u/OjGxmupk2kOXlWf\nwFx+A1tjWK0N7+RIGvx5JHxtv5N75RCQVDhPJuN1aVfndsWoEewA1CG9d9c9\nWDgb\r\n=+tXp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8418c3f0e9d3eaaf37f9142035a800c31fc24d58","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.54_1624961394972_0.5430087437087947","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.55-repo-sync-jellyfish-config-default-5e2f2841851d983dd23a2b6f01bbe86b5e59f160":{"name":"@balena/jellyfish-assert","version":"1.1.55-repo-sync-jellyfish-config-default-5e2f2841851d983dd23a2b6f01bbe86b5e59f160","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.55-repo-sync-jellyfish-config-default-5e2f2841851d983dd23a2b6f01bbe86b5e59f160","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"df4801d8b88fc53369ace2910113ea7ec9b8adbb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.55-repo-sync-jellyfish-config-default-5e2f2841851d983dd23a2b6f01bbe86b5e59f160.tgz","fileCount":9,"integrity":"sha512-6gm+LMSoVS/JJQScad/xyphMYt31iFfPHb3MZphrMu2gLauDD9fmKmqJzzrSwskMipFCSeADrNNknqJ3PONEyw==","signatures":[{"sig":"MEUCIGn9NWBphqlIGXWZ0L03Et0Cg/KBW2bftgFdMU0/33/uAiEA8A59CsTrydG0X087El/RreiwMf5s89ClEKcpaJN0cw4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg28ZuCRA9TVsSAnZWagAAp5oP/jmCH9hZIontWpSasTuz\nBKSpTjKmFKNZejXMxJ1LhtoBbHjGN+QdG7LpXJSq/ZAs7HFvk6jj0vYr/zrM\nsCXlFPf8uvqCS+x11mmKewOh7K3qG78thcjgiWoSeyaxQchBhEk4/7BqGEga\nO7mC7dJAKx9vArGtluwtl9WJqY280bd6ZM3JN02KEqZZqA86NSEGoLSxDYl3\nw3w/XWLUsIlkekLGRfUU2aXMy9klrN9lB/+NPUmjM36TZywnoD8W/0c3uQod\n0Uosjee2Gv8rZsNur4FRaslrn0/6ee0rl2i4dUcw2SrG5XFe8h26aRpbIVKw\nJrg0MqNs56OVqAocgq0R6DQ1jpFSScd4OE9R8AujIpgbwkS8SXU4QRg4vJPI\nPCspfFaLL0qkxWm/w6cgz1DBXTLsh/cDsfF6lA+wPI94/TYbCv+lzCy24C+Z\nGZSzBdxiB28e6mFL4xDTH8VOYc20kHSDH+BOYNXzFPm6GyOH7YWywGWYWVXH\nZTQXvSmFxQAwY3K8SMktfhrILONYu8tD5ESSYw4+H/uMJJTcnUzUN2BfMl0Q\nyofw59VgvEiaWqTwkAfG8zcdyytyvRibNRUFooLsPGZ3syDkr30dXzDE+CRo\n7Tw/rueERl2ctOsD6icMJXuJgoKNY5hIlXpef0haDS5Er3p/pIBUyMyWBJoX\ngC9g\r\n=Okfd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5e2f2841851d983dd23a2b6f01bbe86b5e59f160","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.55-repo-sync-jellyfish-config-default-5e2f2841851d983dd23a2b6f01bbe86b5e59f160_1625015917697_0.5365642028065716","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.55":{"name":"@balena/jellyfish-assert","version":"1.1.55","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.55","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c6f33d9a163c0c1c7b84cc299ad0967588f8f293","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.55.tgz","fileCount":9,"integrity":"sha512-qG+N4v1614jovprGKE9DpXR18JkBH8D/yIySJ8FbV3AWb61Vp1249QIT38nR1acgDo0o0SbMV1iAHpA2xZBtRA==","signatures":[{"sig":"MEYCIQDaFxGpXFz/SsEO6SweuLbswOWzmY0x2aFxxSuuR5M0qgIhAIJMJQbTWeuqBmuDshn+wPr4RcvHkV6xKZKkZN4OfKqM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg28dHCRA9TVsSAnZWagAA99gQAJp2eD1bzVulrCC+PxCE\nELlv8izXWNeX/CVSLN7sMrGLmaiCYYZqjznAyRBUx6YKgRky4y2GxiaTxu6Y\nLXkFUhVaMEOZsHyvSqWdKzD5zXyhyrbU+aPvxJALoc4AyilFh2sGpJNyEH5e\nVxh12tJwOFXYNlhSGnWcmYPiSCACx44PtgcudMCabPbk9cRnAvojag780uEQ\nRSLPq5eyq7w8RsHi1nu6uG4vLGURQ/zAakSkLI8cSJ3PxFl8WyHsH26HIydi\n5UEfNKmU+WOmeKA/t8SbcmY4PBjKXUuWo7+vZRZSoE4+NjJvi5CoRO35A7db\nXRLQp0iA7vqMwmobpy5i9s6D/PIQSEh/MHCJc36T4LO21LTMDQB1jx9nzZNT\nKVGJpG/6P9o6W/tOnJ152u4abP9bFLY61aoWMnYobOAy3Cbgs8ptXG24lWKP\nhvnPdpe4+kDgW4hofhIJg2PCP73n+tfOYs1mSl/e57ro36MGIviaLDOsqS8E\nakUxKdC/8r8aZkVoCIpqU3mVTDYs7gTpIX2W31K06BZzQmT76GrkLDvmO5KO\nKbfvds0NbsgcOapKpG35yXgKo8URKat8anY11d9pP44AFIiOEjhDDbgAJYVV\n+ctn/K/AHcFi+oh/dnMKpOfmA+WRidbPmaQ1S5FPpiyiNX1pO5DwSfCe9r3a\n7xdf\r\n=GDCE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"68cc847810c28da8f878d26fdd7d632343fe48c7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.3.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.55_1625016135498_0.6512597384019467","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.56-renovate-balena-jellyfish-config-1-x-dfbbcd47bc803374c805813c7aee57cd82bde361":{"name":"@balena/jellyfish-assert","version":"1.1.56-renovate-balena-jellyfish-config-1-x-dfbbcd47bc803374c805813c7aee57cd82bde361","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.56-renovate-balena-jellyfish-config-1-x-dfbbcd47bc803374c805813c7aee57cd82bde361","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f4580dc90703fca6cc4edef8e7ac26b268844d42","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.56-renovate-balena-jellyfish-config-1-x-dfbbcd47bc803374c805813c7aee57cd82bde361.tgz","fileCount":9,"integrity":"sha512-WrL2wJ5CukSe9qW0GMoECtnXjjreMpna3QiTqDRQ828dMNNXMdYxzBJjRO/CJJqy+wCf8iwpkTXlZ3ug73EXAQ==","signatures":[{"sig":"MEUCIQDZ/cn/e5014o4Nw5BoG6/uqxVUn+4Hb9I5OoN1LfPnpgIgXqgwZHmmtYs4PzqBxiJ5uPytjNwEax5nEmjopd7p32E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3rStCRA9TVsSAnZWagAAQGYQAJ/I1qT3OIRzTrNbIA3+\nJa38AvAkAybjZMYFkzXTdf8++SYXKT/hgc9uthP0d752cPTHdvDB9eqKiN1x\nJsBnwnwSKaX9OsR4n/+8vQnVXvLXg9c1pxkFzdsczZM4unPruU7GAR2B1dZI\nWtYo+8KH5WjCS1BUR0iF+ySZVf2HO5gVybFk+ebtEvko1MLQ1JtqB34KQIUc\nwgjpyJHjloh+2dXso8J4SK6JeDj4BuIxiT0C8M7c+rr2k5qHiogcNKNRHHj2\nz4zceZRcaUBYRU6ScCUofnigtTm5QnYQZi/p6GLFVy63yfUnSx5vPKT2YwYm\nV2vSt6wZ9EPpTV0CisbXtGWpuW4W0PEwDKWgjZZeVbzB1qudUSJJpqM+105Q\nryJ7qy+myTAvkx0JT1i+Obqj7xVF9PcfCkkiCBFATgTXTaLBqj15trUXi0bf\nZFOdQNzaAg8mSWbJYrpG0QZvtRR/WfOMvsTguDDU71R9oN7/8LkQOm8pBfW4\nwCHHK1n0GKcjFMPNN/12AprD5HTBn/xNAZLpnVPhrhdDyfbbpYIDlxrl4p60\nypuIwiHX6qzOKk7LW36nEVZSMi173Vtevtwc48CwoysgmUxHHPER1GGL/npK\ntG1SuJU1yLCI6Oky7UQEjnp+yVQU+jpLfDsmZ222W9JVRZW/TmYfZBuBQD2Q\nkPWW\r\n=elqF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"dfbbcd47bc803374c805813c7aee57cd82bde361","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.56-renovate-balena-jellyfish-config-1-x-dfbbcd47bc803374c805813c7aee57cd82bde361_1625207980911_0.01223484089810789","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.56":{"name":"@balena/jellyfish-assert","version":"1.1.56","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.56","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a70ab04397fb4595be1fcfc70256661547c852f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.56.tgz","fileCount":9,"integrity":"sha512-+c+l9MokiIxGHI/yQA1M20rJlhSUWMnW716bvEEKXbgbeY0uL7p2jcAuIOKl7xYFDndNswk6SlKjvVetZGKGgA==","signatures":[{"sig":"MEYCIQC3WPVQ8241+zOQfUVvBk6hiHq30krnOips/IwRCtVQRwIhANYw9XMM1rnJi9GRcj8MD8HxzQvVwL1vjP/+1aRBkozg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3rVgCRA9TVsSAnZWagAAA4YP/1ohgZLo37nlwvPUEt5T\nnMm5OUNJgLK1ffjdJ1EU7chKnVogOib6Jw2NqGepOBxvYKAAhCC59ZrJXz4f\nuEshb8X5cxGFml0s9QqYSzJ8KIPj0gdskXTwcTxKP9X0036SU6gkOhbgGFgf\nbtQedTLbEvB2ZVvRTcPSYxtVr5kOtff+AndLXMwOiYKtg5gtnSIygG/tOqW1\n84NwJJFyqJWuCmfBZAnNZat4pYcWA767bmqZCwR5G4QDhUgj4k+WxO3sfqm0\nkhf6BoGuySeFDJZUp/77+xRLNeu1ytdeJfu1x3nVF3x40BYfW1DmbLB/y2yK\nw2Ck+Y58sY7+7hvSE+TNzItZs/9va47Q6xIh9hhecwmhKcMNXfAem0FKgz8A\nnY6ba7rMq6Pl01N+skQg5AwkpYbbkzm6skDhMgXlJw0FVtVCg5KU1mc330S5\nz1+yhCIxZSi4M/HBHlg76Od4rvLnIdvJQnu+Iv4MeYzjSN/tWflZJmYXDLqO\ngQtjtTton4co+sZCECDvHqDmivNdKoQ3CajL6t6DfRGNllP3RfM+LQilUuIl\netxVeAGVEqI6ky1k7lNA7j5jPocmB7jt1DLcBlPddvcNYjASQldvc+M/DntU\n+pSqNR1l8uaIS7Doax/EzZ+p0WorOMB3U+RxdXMAARJtaRdvKxS2OnrimVVR\nVrPC\r\n=OFTG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"674d3c530a231a437b616f40cc4911f3f13443b8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.56_1625208159913_0.29478237653590056","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.57-renovate-internal-patch-28e8908eea2763f88ab0affc9c162ac82074f667":{"name":"@balena/jellyfish-assert","version":"1.1.57-renovate-internal-patch-28e8908eea2763f88ab0affc9c162ac82074f667","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.57-renovate-internal-patch-28e8908eea2763f88ab0affc9c162ac82074f667","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"66cc7e484f8451a6cc93bf18a4cc76754e970a39","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.57-renovate-internal-patch-28e8908eea2763f88ab0affc9c162ac82074f667.tgz","fileCount":9,"integrity":"sha512-PmUaWn7NjxZDYOT/59uKEHvoaE+hb2WyC+I4r/E0zprmhbwyOWw/1m8aM9HRw6PoLGjscD5XrrCkVMbFQQ3G7Q==","signatures":[{"sig":"MEUCIHOYyEAydNxe4Mzt5A7rempUgCXsM8PF65+zgEIjdkZpAiEAyiMRGdlJQhIrEKrc6h5b5DYRj7JJI5LdXOdBKLmHH+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3512CRA9TVsSAnZWagAAVfIP/iS2iaducexmPFxK5gVR\nV7iFbqlPi9b4ktju5VBA+tX5aZSKb+7c6ARPNxSEr6fc2e43Q9LQlOSkruB+\n3q/Ois3Q+59nwBR9tV+uKvcn8bCsBFBhakyUWbM68H6li9vO8Z6m74+MhsJs\n9gvh8zP1gcD189R1JCID5jb6VKexnrzi2cnw8iBze0eHDKpJYZJQEfzcrHzM\nNRSAbcCaZWkOlR4koTl5kmAnzmdcdDF0wCeYXno7Mci+ceAz/c3jDNJqWUWQ\nMv6i6qVKpJP4w0wEwFiFJjaqUvaQxbZWrpbDE6sdY58Y/TbPy0NbNfA9dFqW\ngK3i32hMbwIYYR6uiG06G/aJ+gPOnMm2C8oYw0dWmk3T1dCuD0huJQ8TjP+V\n4o4KkWMEzBo+kWG3MN0j75gDlU3eNr6SKkN3cExPkOwc87KUgOF0nmTmmd9n\n5HEAt/w23gjcZ4V35p/zkiy4l1hmwNFyUZXVm9jp+MuIc/joOxLZnvxaKUA4\nrDtzzHLQnYq0y5bCQDrAmKnUchJtqDAdBKgdrJFI0AtBidD9rXJ4guvMcTSd\nZFv1Mgv/BjaSgi1nwW2rYji50q+R8c9lQi7HA+8zS08xcd2wkPQqyGkX0NnI\nYFtQuaO6zfFnTWqf8xR+Evn+wjaq33NG8LY3CW97WUVtZIqADQYc1HbDx++9\ncRuS\r\n=APZj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"28e8908eea2763f88ab0affc9c162ac82074f667","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.57-renovate-internal-patch-28e8908eea2763f88ab0affc9c162ac82074f667_1625267573542_0.5395399114067008","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.57":{"name":"@balena/jellyfish-assert","version":"1.1.57","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.57","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6eeb2b23b4025fb77dea8161e0cfeeda2e238b02","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.57.tgz","fileCount":9,"integrity":"sha512-uj4PdmyLXeLd2HUXEMhO3zgAbh5ek/6Aovvge4QgPiqhR7QHFienBntT6KcxiAPvv9m1ccCWyiN5fdymDKTAjQ==","signatures":[{"sig":"MEQCIF/77wJrdHRLJS/on6BrEcvOgGV+3x4RFf5W9DvPZ/hhAiATDsDGXPgLWG6BO3DRidRcNIAE+NpxCMi4QLiu7GszLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg354/CRA9TVsSAnZWagAAZDgP/0CSA4Ft4YZlknvGzarT\n93eq5SPsQj6h86s3m8Kzwmh+ITiSLLVYZyoEQaROOtlS2+FOws+WxRl5SQnl\nIjMlzcY1EH+YBMpoJgSBpzjB8KHdvf1qRKjZ2wQ1rlKuFiOI5tGdcRkUCTFu\nWWDUVkjCyJ6/g9QwHwRMHFb1l9MbQq3kOIWgMR6UY2J2SyvKWo7Tm0YeBAIo\nsO5xafIpdOKFRI14h3Ws2tSb3BKRn42LtRs7jMISTjsNzTenclHej5WGmnYv\npGK9k5YDrjIcFrMv7GftPaP0P4hX5vGFp3+jobKEs6SIHkwQHk2KoJnXcKp0\n613zLu7cUPv71Ow4gc4Z1xp3Oi3NMQAuCx87ID/tzxrKFbUBTf+UBOz8o5fr\na6YlOPu6ianbjMSlbztF3d+6/g608us7+KZoza4uHuKVW7cEVity2I5RJ5py\njNle/9kJmcY0sVR2S89HKBIqxBS9I77FIS91xhuyxM50maVEhp3Y0svY3/17\nd1zj6K3965xO5udEpUl7sJnuJ5wIozBGHxjABRqoHKSlIr4mwbVZzM4ApfiC\nixV2Cgrujl+cKZvtXaoChj0mPhHIiiTvWfMB4vpnHdbhQkvpKal+KOKSEsw1\n5XGVY9GGOpliJsLJOBXaCxi9mULTXic5H+jQ860XOoFM49aGMSfo1wN0BIGP\nunZw\r\n=ip56\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e7c3eabb2fa78e17ea3cb2f514878207ed5238f2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.4","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.57_1625267774540_0.22507948807925393","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.58-renovate-external-non-major-c9d08c42007f5f3e17dc8ec07217bc307d29465d":{"name":"@balena/jellyfish-assert","version":"1.1.58-renovate-external-non-major-c9d08c42007f5f3e17dc8ec07217bc307d29465d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.58-renovate-external-non-major-c9d08c42007f5f3e17dc8ec07217bc307d29465d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"43672ea3e681908c2a29e11693bd4f206b5b9863","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.58-renovate-external-non-major-c9d08c42007f5f3e17dc8ec07217bc307d29465d.tgz","fileCount":9,"integrity":"sha512-ZGtSOumN1SStiVl0ghgEm+4tft+XJS4xUcOSE8JAf8G6BcbfKtKBqSIG67KsuXdrHLjvb4icBbiIaK+vVltUrw==","signatures":[{"sig":"MEUCIQCbGReo5kHQ1Rja0pgu7TlqAnPEFbBG91dXpneg3AYX2AIgBNxo+rYOx+Hvx2w/RaA/CVXNfoecXa98IrjUaFnEGuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg37fxCRA9TVsSAnZWagAAIF0P/114NBCYfHDkiqJuVAAr\nayWTDPP5Mxw93NXtep/NdidFMOhq1WNh2HxzhkEbrV6++R2KLnG3xlUqoRMY\nkpAMtDZb1STUxmHhD+IDwKDKTCcc5D7yrYpWT65Zj9noK1oONN5WMkN0yM6+\nemgw3o3FM1l2W3A1VGOq6hI0YrwtY1LnzPZ/akp7COWIGu8q70e4bugbcfZh\nz0uDE0u2y83PvZNzCQ6tHKvAJW29YWWjSE7uSYqN4ZEl/3bccUrjzyGP6wdm\n6ZECmuN1+WJZNr+YqeYlTImJejOydt6lGdxUowFfJdwM8b7g9BxyWcgLX2xg\n+mjpwkokmdoMVREYqOg7WdS8lBPjqz0xNkqnMVhFVZoAPGbby0n+w8FHF/u1\nguCoNBA+ZXnxGKfR2Kc+5//6aO/jdi41QCwhbF/8+qhqztmz/Vtnb8kYGWJ4\n5HDOecjFuNpdZyNjGfSx9rZnS4M5KWFmqCnsQtpAkc+nu+PTiQElWJ36mpoC\nz2ncbYs+hNVut3vglMQ3bBqGNx+L+ui5rnwBQcCn1xCbnrJVZQ6bjXu/Pl71\n3PA2iEZB53wu4PjpAIJ7eSgkGzT3t9h+UdBE61Q0YmQ3NP2TbQmt6gXEYHYx\nvN10YsoyypIQGQFPsr9W6CIbz+kOEe+WB5pG8wjU6WYxwS+1DRo1G3pT4Yt5\nO1l9\r\n=2x0M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c9d08c42007f5f3e17dc8ec07217bc307d29465d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.58-renovate-external-non-major-c9d08c42007f5f3e17dc8ec07217bc307d29465d_1625274353185_0.6339900960378382","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.58":{"name":"@balena/jellyfish-assert","version":"1.1.58","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.58","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"47fde93f5eabdf3fcc7167ca2d34952b30a5cdb0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.58.tgz","fileCount":9,"integrity":"sha512-pdVPkVWzPQDmRxKAOG6IK/G7znukI9Ohp//a3uVwmtXBzTOsGtypo2EuwFY+nITyg+YKsn+POqtI8vq5iZoEkw==","signatures":[{"sig":"MEUCIQDSzw8TJZncy2oqw1m5xwhwso4g3io0VnXMTtgQnHi9IQIgD7RpeECtIPIUcVmVigl0QJApIlTxDw0LsNeBMNNGXVs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg37jHCRA9TVsSAnZWagAAtvQP/3Yzs/yOzQ6ejOWSQqcN\nBu8fnuHx/4DY5HtFgWnW+5HgburPp/+j+3JnKa+byFEsxe+G1QmWa7r33fRH\nFUQNF+2SCidEjCCz6hBrz5iyToIQoMflz9rlwWj4CaBAZMPs750ncjVepww5\n6bDT7ti2Ac/GbD5UwqgcxVOzHnRE2AH1oGZmRyS3R6WDRiADb6aG7yXQOUzz\n3st0pjrCdOkIlgbQgRPkpkKAbV4PWupE098JJ4T4C+TL62/RfrX0qBXbe4Bq\nhbD1oR6qp+7tg28ugbDD82vNbnL2AGzo4x3iIaQoYdGwL1Ag6wwDz3azkV3B\nrYGEXRp4byk9i+8Lqbz5qNJhfPgdg7NRh4fCTeYpMZiH6xCd+BRZSp1Wn6/g\nxJcdMYyj8gWjuItYJHOfRJyQs97zgho70/JpamHBdIy9B9iw0WRXcKQSc6RT\nNd/xcTgMeMguY+fcDQJlrlWxz20psFx7oRTw4cUcuKYyPSH7UCrjwnJeizkk\nzWAz3Plno8Ku6lq3qqkGfltVIy66PMns3JbpTSfO/ZVy2aJiTPIzxjCrn1YE\n9lRbecHiJ95Wbd/m74OdsX28l7EU20mxxHrG4zNVCQ1xfz3Pd12ImML8q/pE\nBtuERUL/xKguAEsJWK7ntE+FgR+dgSvT25Vq53egFBb2d8nZoEfUFOGOOfIH\nwosp\r\n=+Z9I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f33865ec4d8de8e8a51ae9244edb4d22ded90f31","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.58_1625274567210_0.2987050066848651","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.59-renovate-internal-patch-c39533a7553518b5beefe35f1de99eef946bbced":{"name":"@balena/jellyfish-assert","version":"1.1.59-renovate-internal-patch-c39533a7553518b5beefe35f1de99eef946bbced","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.59-renovate-internal-patch-c39533a7553518b5beefe35f1de99eef946bbced","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"012f30ff0802a71dbe02a0f296245ceb3281d8bf","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.59-renovate-internal-patch-c39533a7553518b5beefe35f1de99eef946bbced.tgz","fileCount":9,"integrity":"sha512-Xmi77nan65rvbWoOgsiPFohYCOLyY3RUZb0rv0255zO3zZXsYVBdWKcaj5LdvNRztwU+m56fMzsAdHhpzUxe3A==","signatures":[{"sig":"MEQCIEL44BcJuqUgtzXXYkt/d4XLE9tnQyN9mBJLKnZYjlciAiB94sY9i6WoDHU6Ia4UcHOJ19C8l8qHo7qpLbHJk92w9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg37//CRA9TVsSAnZWagAAk4EP+gNf0CAMF8ILWjj0RHIx\nRdKODXieHSbqMPwLDRi0shLlC8ffAfBFu2TlZmWhBzI7wftvRJ+vk/lmmtE+\ntn7JwZync4Xw/Du6MEV+H5Gv8qcJcrvLxAM9+m/N47S/Zy2p4CFvyV4zqmqg\n+1n5A0YRLz89t1OClNEginNpZdpfz8bYCiWZolClfIBvz0/pYeFMDAzZWHCt\nETkSurcH0S9RPqtnX7C2U1bCtoqClC242XLBm+Uo2yfxBsBi5Ba+iixjnKb6\nZp6BCocEz/uy1TdjQxh+Ba1aadfsFmL5d7Ba+j7MWHn8W4OkY9yq7oaRvQBz\nSgiXirGnZZge477qJWA9nBGmTbMbEoO3Og/ba/MI3QhTrP3ak09DLAjjQkmV\nmAOnXutAOveY4CPDv/vYYkqLuNlov7I4cLkbFgJBmZEFpYki/ElD/grwc7mh\nB30snmdqo2d2CZATtqEsg+RBu6Uv3Sdl/GTdQbO0v+ZffpI3+e9qJF8A3W+o\n1wdg6R/2X8HCjrjOS1s55gXhHEFxs19DpOgVj09r5KMhyRUwhWK3EQTrpNsS\nazwj2lsle8Sv8Pc6MZMhct5WAgE30I/BR5CSGc/0UI3UhA0aIKBmddbLbBVx\nYF6DIZqCrFT25fmcBnlYUtCp5GIqhZ+2X7Ze0U+sEjz1Up7tzUW830I0cYSk\nJwUc\r\n=JvBC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c39533a7553518b5beefe35f1de99eef946bbced","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.59-renovate-internal-patch-c39533a7553518b5beefe35f1de99eef946bbced_1625276415171_0.9445039743691925","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.59":{"name":"@balena/jellyfish-assert","version":"1.1.59","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.59","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a191bc2257007d84fabec19894f139807fe05724","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.59.tgz","fileCount":9,"integrity":"sha512-r8GmdAI9woeusB8RCKFccMRPgSIejaceikOOVIU+gTqEyDJqVKGkO8Oejuu1USbdHlbLX9YRRChwoWIZICd+6g==","signatures":[{"sig":"MEUCIG93HgtQCGYVOMeex7cgqZxpNq/5HEE9R9VeT/8eOFwXAiEAhVnCi77KHOmYeN2QbV3u8Vu7LeX9ltaQdiZ1zrqBfQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg38DBCRA9TVsSAnZWagAAbl0QAJxF1RsGAHEGnLEjl7CI\nGq/lmz6GOAmFx+Ryxtf0Mu5pKBE0gBQnB/wbX1TAfVBni/fFievno25VQeUE\nRKRJdVHNOsV0KxwMmesCxVkn+YezEcrq79YA7/G2QV+xgfbnI59caS/hpgtK\n35C4tZBCARdd4gi8pd0aJH6cAQ8QkUDcH2FyIIwsxaIzvUuCENXOXZ3XOSWh\naFy4JSPbLQJ3QOzqTJwc6ELkDUeQqadQgebrzsdEfUha2FeuZ8Ogy2UUlFDn\nVtJl+R5IQRB351V9pnhdas6+f+5JWAn0jnf4dIBuP7RAf+TSv36d0fcKglW1\nIBez8kK0cNAZic/BPty9c1SbS0Zc3V8OddJz9aGl/FAUhCw1Iu8HRi5H5paR\ny6p4IrZCCpJ8Dx98tQm1A5ayQw9g21/40mQQxj9RnEOEgiKM0xft2Lgbh2OZ\no6Ryd96osKb0YHxhbSxXEFVHxGm+K6Oz4pOw+iRXBPqrIIdlRn/dzPZVYNkS\nb2zQLuFOTteaD8PBGbyWNNT5hBllm/s2G4QYgt/OWNOToptV8mPZ62LBRh9J\nS/hLOhMKrihHuZc0ACgDyQXVO23JKiprNRi0bNebLSvlviDlr4rdb1uJyR+a\nV6wB2eq/Ib73yE2d1tTqGqLfx/sbeUkkGFK6FaEaS2w5uoPPaWJD0XHy54LO\n4Yzr\r\n=Gldi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"004ef018d483d91f180370a4128759836f44bf5d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.59_1625276608662_0.11899462411686668","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.60-renovate-internal-patch-178b1985dee94a4605d507d9be426b314ad1caa3":{"name":"@balena/jellyfish-assert","version":"1.1.60-renovate-internal-patch-178b1985dee94a4605d507d9be426b314ad1caa3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.60-renovate-internal-patch-178b1985dee94a4605d507d9be426b314ad1caa3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"32ac45b583705f541f55efe79782c63907240791","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.60-renovate-internal-patch-178b1985dee94a4605d507d9be426b314ad1caa3.tgz","fileCount":9,"integrity":"sha512-tZ3Cpze4wjIBOaxRFOaV+X3rOpt3u4wvrikjQsn9k5sOxCLEBmusjDn/DWt48Zx3ZFBMAMBfpcjQo70fU9uNQw==","signatures":[{"sig":"MEQCIE03vhWUnX6aKkRngmZL9RiN7CKAjVv2gROMoy8E9rChAiAfnaeLjBK5jSKQ7r58B/qYyLakaL+TT28DsQanqwQNUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4l0XCRA9TVsSAnZWagAA/AcP/35ARgXlUsuu7l/RCN+F\nO9YbMW3EYacj1GuwDe7fRHKzcsV6F0a24Fmeayw2/+tonGXXk90tlycyVD+6\n0lftkd1cHk0e/eC5Ttp+1YerUn/A+o2S4btIUP+m26nsnMcW6n1swICwu2I4\n3DlYqdh4Vg6HT1drVvQqHr3ia4khw1Q6rm1oi7mZJlhmtwZZnqwZ0/7YQ7Lg\nL8+AqCM+orxyfoHKMsM2XCpdlVXZeMAv8LVLpUlx5/+N3ZYgcIp1RNgO+VlT\ndr/lNc7VrW2Ky0JTf9Hg5i6wzaPgmEV77E0Wn9khe/yBNhhLA7kobbZuV3EW\nIQRRjIfG8uHkDDydD3SOPWWMF5cK41uzFnV7uBilsTeVhADahbri8+jRCU+/\nTJuaZQqQBO3kNzMqhuIzTVFSqSG3ZUWQMuj8uJyZV9KYt+ueQMyIMgq6u6aE\n0wyH92CJglF4xMmlJ+uoVKKafR7Bomi/DU+0vlsYGp550GHYE2Lg9EGO+nEU\n5DLj0AtK3hZvQ4bdlJoJmgNR1prcgoDQ38z5vgJnR2/TKGwLKSlsoYQ7I+/k\nEJZmRoboqiX7M+H/KxuErBzMnQASwqWi/ILGoh2x8Nm+/49XBWx36WpArnbn\ndnU8XU8WvZ9IOOOzkSPTi1x5guOOYu+8Ir16o2pzyQmTervy8/uHV4jWPSCV\nmLaf\r\n=a/+o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"178b1985dee94a4605d507d9be426b314ad1caa3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.60-renovate-internal-patch-178b1985dee94a4605d507d9be426b314ad1caa3_1625447702822_0.9659586270618254","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.60":{"name":"@balena/jellyfish-assert","version":"1.1.60","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.60","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"324bd4af97a0b01725d335bf4f77af50495e1c36","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.60.tgz","fileCount":9,"integrity":"sha512-0eaBWzNh1wW4LfqBWDhxDagooI3UAt6E0gtR+y/S0gcC0S9n1upaYbiYl1kx5oty8RwQC8nm3zFF10v4oPhjIA==","signatures":[{"sig":"MEUCICtBOLYZ2K3S5yOpFWDwEn+q+rhOEgp5FW1CHR7DJmlAAiEA1f7slOVo3fahC0sajaoypFSsun6GJpuga+UfOjhHRF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4l3/CRA9TVsSAnZWagAAGnwQAIp5a9RxsDGBvZHM6Hf9\neYe/N5y5Sr47HL7MjDOv9CjmKgOG/REM1Ydq7SRmg7YriC6CwK/w9qr13m8B\n0F7rKJ2BUcCqftVYt9v6/K69FrjeUr/oU8odg/otEBjek3u9lnTGjIBC1+O8\nRvr8CP10UNYzckG9K7fYOhomwF6KSE0YCx1npcl8pVSedxDnfAUEn/SsApmE\nUldNT1AXtS8q8YeS08UoSkf88CHozsGqyRR0pZWNtoxGoeTVH8nb6We5pLfM\n5xwMWLYpEfrQT5OLQJURqjmbNGzKQ8hqh7C+uD1udl/S6VBGZfLrRQUmhhzq\nYQn17GL9HtiCQDB7w/coCZmNtUtjuk6hkZHzt9JtzmpzTY6LMeeTcalM+sWa\nFxT/B1NhFmEnyu84bFtN3QKQzE70ettljVEcRNN0dXS+L1PoHlXI8rOcfcI/\nFARkXyfwMnv85J23JpqUm0oVOdhz+MzIZsIxN3sxzAYWPXqYkrzh1oFA012l\nga/7NXcaEcerzuWEllFNioFGW+qs0unHZlkT8IxCU+NW7UgbdtIA2JahjfNu\nPsaZLYrhxSKq1K964CYqkrFJrTdEc4qBR619ISdN0IKvfRrr6LVhWJAQt4YW\nbfdPMcTEXb5ABNclxvykm2f0If7G3j0865miK/mvqSBjNvVLdohzMpOgihBf\ni/hd\r\n=RUko\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f48a7fd674b23f49079d1933510d7903da821afc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.60_1625447935017_0.4878969646141924","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.61-renovate-internal-patch-f8f431fd68504c30c7bbca870088c764b5b4e400":{"name":"@balena/jellyfish-assert","version":"1.1.61-renovate-internal-patch-f8f431fd68504c30c7bbca870088c764b5b4e400","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.61-renovate-internal-patch-f8f431fd68504c30c7bbca870088c764b5b4e400","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0c045d79e0ce91974d8d10c04ddf214ee9e3770d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.61-renovate-internal-patch-f8f431fd68504c30c7bbca870088c764b5b4e400.tgz","fileCount":9,"integrity":"sha512-TaudvfgA17HMvFQRfAv7mm+9NIumO9rH/V9zmkTp0zKLs8R3cPqWBYmFKAMcPVy4wYaNIvFH2OniuxnW1xILuA==","signatures":[{"sig":"MEUCIQDtjfbdBtlyTU2gPMAX+jGPx3viS3b0Sc1ou0JqHI20TAIgClXJhEcCuIFzkEC2BvsMrdMupgbxzYsPOfnwUWejZeA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6OZGCRA9TVsSAnZWagAA4BoQAJi9NauOiJuN0ogp/Lyz\nBEUGY+RdRPxN7S/FhNI9MEdBmU4vYeO06jBTd2j0ntxzHeh3WgJV+K2xIsA+\n/sDikTeR9cc3/TFrCKTiezxheVdEYCTW1qMonkYWc5xr+yl7NCqQehTbKTm2\n/iVt5875kLdTSIwxeoFHEvtNJJHWkv/D3ayEaXBsZwznw5fwVITc/DcT80rE\nSTUcsVZlCIb9O+hJGMjZp7zoUExmb8sah7h0kH2ilLbFGkfepiCoXAQ8JJjd\nvX0qD08+tGKPSp6hfkc4scGuWm/35aaSMd1xpYIa/8LDXwJIRFV0sla7FZQ3\nV6GZ8NPzos+xdYaRMWDwe/S9kUOd/toDdgqsgHpPM1pppEtBw8GyHROA941y\nVMpUzMaTiE5u5uJIB33e0Hj6aP2/ltLR6LDJzHu0A/Rxh1SW7MCV1k3Y/ieP\nIJeaWKBrv1hTz1zLucClKWGYeUINQ+lnpTQ38SNAIrnvbsa2cTWyDMh44nyK\nDRO3bZpcOmUy0FJL/gObsX64JSdAgG8aQm84NRlEZXI6iUl9bDjKwWiqgg9U\nhDlxQE/6Uotc2En0u3MXidxPgufa1QvrjKZNjWM1ZJ1jPRTgxfxzvMGq+dLT\nY8/FBBEjch7pIf5GouAMDiIYqm0pWKe83b6gdOgW3HQ4ExWWD0BT4NNqSIm7\ncdgM\r\n=RLzP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f8f431fd68504c30c7bbca870088c764b5b4e400","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-10T00:10:31.116Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.61-renovate-internal-patch-f8f431fd68504c30c7bbca870088c764b5b4e400_1625876037980_0.017645837042802093","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.61-renovate-external-non-major-427d28e8db2d2d6e121ecbdcd22fd5e141b40415":{"name":"@balena/jellyfish-assert","version":"1.1.61-renovate-external-non-major-427d28e8db2d2d6e121ecbdcd22fd5e141b40415","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.61-renovate-external-non-major-427d28e8db2d2d6e121ecbdcd22fd5e141b40415","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9733ff44cd8b897b7149436e7df3f082a0b885f2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.61-renovate-external-non-major-427d28e8db2d2d6e121ecbdcd22fd5e141b40415.tgz","fileCount":9,"integrity":"sha512-cqf0VfZfNypDy83TMGITBXq6etkE4OJDa7Wtg+rz6Fq415psv7Aj6zyX+i7dGVfh4vX0qRuGrYpkh5wIg0yZcQ==","signatures":[{"sig":"MEQCIEgAFf05DQGfIFh5eC242TXZPUk15sV59bKCJ/8ZgvsCAiB4/MbBdR9EOwlyBv3b1Vg3W9s47OFHBc88+UI1p2tdBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6OhhCRA9TVsSAnZWagAApTEP/jPHpMk8Yso14f9+b7Rp\n5c8sIwZz4DHgwZg+4SRE8epkRrSfnQBueptJ7VDqaZrRaHBYaOqYcU/4q+Zv\nEEVe7PN9BJYJRXRYmOTz8Kh485jiwIDemoMnivWqdILrrCzk345KiH/a+O3R\nc8J1RqjeckipsI6pdN5C026ONgNIZ4LZ7jWydkDQzMRQfniE5yo54ACZ8AiA\ns4qE8KxhoLT048VknaqEBrMXZwF6ppiUhd1y32FvCPZT7Fev/e4YIF09hksi\nIA5IRqWpAKyRuAVwbZmS0AXX93MTU/R6OdLP2VYQ6MeTm6C6JJAwrZWdxdom\nr2A0vwTPlyFof9BSJawVzSd1DsUWb8XzUC+PSjLRf7cQBhA58Zxxe6gJcdiR\ntih3berM4OXKAnqEs1w+vFZxyw/tKkZ0dWwbBPXOFqKjKgKJIFSJXK2vdsgV\nkrNB177KSFnn+63BnFwJ+Hj577tEws+7py1HwQDN4XR7MgUEZwJV6i7XC7nq\nap1npCaaQ+I5UeynagxuvU0kOUZ6xZ6wb3PKkKOF6TY8MfI9UMxOIyk2eS4J\nmMjdOlk9osU+eAX4ih1qpJRV9nDXj8ldnoyOAV9Y4VBwjDdUxY1kzuNeoGB9\n0cHzniKBrYuW+GgnVscJp+CgZKd32dhUqDaGLct0bq1M6g+ovE/eBnJQcxHK\nuFn/\r\n=BdYW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"427d28e8db2d2d6e121ecbdcd22fd5e141b40415","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-10T00:20:31.139Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.61-renovate-external-non-major-427d28e8db2d2d6e121ecbdcd22fd5e141b40415_1625876577053_0.8155274798503835","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.61":{"name":"@balena/jellyfish-assert","version":"1.1.61","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.61","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"93bc790659e30521aa7825cc2e9146ceb519c345","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.61.tgz","fileCount":9,"integrity":"sha512-T67z35HCqWoYhmYXEZBHsWuMkRubOcl7jdLWoN9qe9pl+a1Oo2TDe6uujtYCt4M3DdreWmCJ8DEAMzlcigQhNQ==","signatures":[{"sig":"MEYCIQD4+1c5H4uq7SSKZO4AJF/j96/HtupcAoBququlKjklAwIhAOMcPuZmkn0/a8O9AXAdT9IcpN5Nv7SnH+yInN/bgKkM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6OiRCRA9TVsSAnZWagAAzD0P/ifhI3By0WXbLHnd9vbf\nOJg0kzLJHVbZkAFAotCV6ePpBh1U00PNgMS4EslDX/PeURipY0AEF2seV2AT\notxSqIW9+lODMjTwOqne75RuoEGx8YWXl/6yQi93/jxQnOCqtLj81E1NuWF0\n61NDDqnkFk1FV3NGoUCLhQbv0vL9gCpB0B3FFilTL3iOH4VBRx886gJZjnvD\nU3Pwa6sEyH5y9QSDUxteNpTsHsZutycl0VZqS4xy2iRzbrOAgbXpHlDDTEE+\nuYh/A4Ep5IABmCa66Jwy7ek3odyucEaTD0IXkpZMKnjFoSQJj7+LIm7DMWNe\nOFBwz++0I8ikco5SumJhw8EFBNbEzF2spAsRL6TwjlVdugFgdJDmDSHLSo4l\nIvGahjNFZimqP/xM73pNSvztv1oTqY+Pl4k7b9r9fhlESBcJL+z3x/6xvyeD\nWd5BN4fDUPKOqQXH8yaP35Ly6nUFlxk+2pRXYQRTHgQy6XRokHuTMgHe2SoJ\nWLUrNbmc/rNR1vYxWpvBEn5nY1eQYiTqcfKKitImBpenjg2tDft3q/3yABrn\nbigPWNrkvpdzZZqlkkKdDTxwyiaBymHG9LteD04WRaZFnZzm7Xy87LEhoQzC\n5GqNnmiiY/g7Lg2TsM30LyERKVkvmUXejzvO9CysUhZaAhk11S31pq2L/ihe\nH2bB\r\n=1GoT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5a3cf2540d1194227cfb5197168f41f607fd8bc2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-10T00:21:41.010Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.23","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.170","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.61_1625876624649_0.36849435635886874","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.62-renovate-external-non-major-ffb8084f3a0fb88005d0426ff533d364e89bab76":{"name":"@balena/jellyfish-assert","version":"1.1.62-renovate-external-non-major-ffb8084f3a0fb88005d0426ff533d364e89bab76","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.62-renovate-external-non-major-ffb8084f3a0fb88005d0426ff533d364e89bab76","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"293652daeae9bb5462ea9d6a6b648418e92e6ea7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.62-renovate-external-non-major-ffb8084f3a0fb88005d0426ff533d364e89bab76.tgz","fileCount":9,"integrity":"sha512-hJQXxrMbe3jkduhIBlWWXAV4M9xAVM8SG0kI4qr3BM50KrPIQoKIjPO1LxE/QA+x1iwYS7qE7dMYmk9BSSAjZw==","signatures":[{"sig":"MEUCIQCzEyGy2ajcbCzCAkS6SB4nxIDBvbGEmRztWTcMEG713QIgQTqiAtq3m0tsZO1p4rW8RmQ9irpPXMWzoa8PUw0Z1G4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6OlbCRA9TVsSAnZWagAATNsP/iCoeo+DRNqDE0GnMg+2\ntFHOO4Os1y27YGcisAxdof/vgUvh2VNoCRUR/GIfQEizJzceaTRULUWn93mR\nitU38iKH/02FIWNb6s9bFEplxaBWhULHVs3lv0IbeqmXHXWaNr1V1ZUIkKKD\n+PKOAtRJw4AkRYkLzwW3tqiICSpGFZwhHv9fMeWy2WEXJO1NLsMpNVacv51r\nCFvwfnVndtwwn8ofU6W50CPgV7OzL4glnZ/cG0cI5whZcR8ONccPe5p27P42\nLzTyPnHI0OrhBeaxybLlX7J/+ep1K1Alt9MH24ICw4YCo9zbVFzXjZkB8/yO\nD2HimvUnrWi+A8cn65MJ1jXYVA6fTsFpqZPwa/eb4S3Y1NUtKNXLmfkOkz3x\nAJxQU2YpMfwHe6+gqzLqOfZp5ALrxAHZBTn3fD6V7NDPi0sIfPuHSLRC+8Vz\n0AwVcItATZBa7eKzlfmSfjfXFt1IUHG8rfzpIHU2pDMprRqMH/K+B2iIUoNR\nndCfSrLpmuGb/aOoEFgcxcAvr36mFhEb8qVMWr22/ubSZEg9x4JmyGnKa2V8\nOpgCr9brxedg4h1U63iq/ThcNG45iOodgAm2/IeJs/eja1tQINBobBeFB9ga\n1JrgYBdoFIzoFLCLIHaVz+PySm/oGNghIXzTRzVJAcEDUQJjzFOGgU3mqHoP\namUt\r\n=R6LO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ffb8084f3a0fb88005d0426ff533d364e89bab76","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-10T00:22:58.572Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.62-renovate-external-non-major-ffb8084f3a0fb88005d0426ff533d364e89bab76_1625876827358_0.34385068517181794","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.62":{"name":"@balena/jellyfish-assert","version":"1.1.62","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.62","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"391330f61ea37c30106da05d6259c83f71f5d9f4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.62.tgz","fileCount":9,"integrity":"sha512-O4xrpgGM34M2+LmRXZ3kTCEETbvpQooUSBjavUNpDaeQef9dVH4a/3kcMwEmW4N5NwHAqJbB9XkvFiFYBhb4Ww==","signatures":[{"sig":"MEUCIGzrkpy8/kf4EBHxiICyuZIZOwE5eXDLydgjkJn4UoEaAiEAg/Gqli/bvBLxpazdwaS3rhfkNc5tTuOFXuxTrDN9X4M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6OtlCRA9TVsSAnZWagAAWqcP/0swIKOIlVjGXZ/Rg7yc\nFhVx0/M6oYFtSRrhsJsXwX7/xbiaDiSf3Ue2tpTcIvirsLJhxBy9m6iCfEX/\ny28iWC/QU+vwEqK4dcHggwmF5Sg15wKXTrfa/Nz8JWrg6Ia+m/mc/EjxKeL1\nlfnGIi+caJYFl7suLdYpQAUhn/L/gM6Lxnp1UxZq7PMSEPFggZpyMOTwbeFy\ncRGoYEsizvFD+HlQMMVSmFQ3VYfHLVXJ72FgEfxSI5Fl4ZiBWoLm/2kZoLDg\nRR+oMJIjP/QqtAGlIALRqHgihzrGFNpQ1drcJuuwQaIqpSkp42WP7OhZWPd8\nkJg/pro7LRCattjA3qtir4L1mtqYQiEYmZ9yWE/MQEL4nNWg8jfaANXPUquV\n8g9cQa3Q6zVwrS5xl4nZPlBVhf8AOKWAgVNEqMlY3S4ReFjy70eIps3cOUCc\n4CvGvKsz1Db7LF547PBPDYC/YnSUPMu+NcYZ3wZQ6Py0QmXTA26D53Plb3ae\nLunZ/pczu+0nXsrWfvNis95ytnItcGMkT7VzUI+dxB7A8SB0OOn1nLMI9Zxw\neCLa3sm0Va7V+P0hARlGe/nEc2Xu6hjm3UmIqxTd4t/ojUDHfVGMfqHGPILU\nJuFD89XTDxr/Xci44B9SAM67Gx8iuraSXbKerDcSQQkmLuisd1pm+d4SvUze\nx7rU\r\n=GkHM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3e128fb9df94318b0661e07b768175aa8c968dcf","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-10T00:33:12.194Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.2","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.62_1625877348561_0.05398820074924182","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.63-renovate-external-non-major-9d846f52101298e0939e99bd4336ed54ed1a24e3":{"name":"@balena/jellyfish-assert","version":"1.1.63-renovate-external-non-major-9d846f52101298e0939e99bd4336ed54ed1a24e3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.63-renovate-external-non-major-9d846f52101298e0939e99bd4336ed54ed1a24e3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3a20b95c83ab4cb452a44497bb9f437a6a112782","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.63-renovate-external-non-major-9d846f52101298e0939e99bd4336ed54ed1a24e3.tgz","fileCount":9,"integrity":"sha512-SJ7wVxjz4Ia7zX7JeIRl+tzf8lUvnlhg6QfhpigqXKWibyfF2S6emwn0rPL++u6cGfyAVfyvRgLsJKHzatT9KA==","signatures":[{"sig":"MEQCICg0fs84ttYItwDBadnxTB1D1aoGfJIlsnZXP4YF6IB6AiBmrbmcwXrrhdEmHV2VU1aBLd6i6arnx2ygV+iIMUY8nw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6jRbCRA9TVsSAnZWagAAFewP/RTD337ugp2izIIzAzdX\n5Au8yQaEYmDz6BOznxJ97EIuRCDMQMCtUlsEbeopwFdzBaPCr8vQ8uRwxF5x\neijPd23n+6hjsxVm1ipg4iaj1fbbRwAMOtdOZQXMCJh4w7pL0uOG5/AXDmrl\nW5amV/R7DiPKLWwHYRN0DChwNC9dWNr9aDXeF6KRVXBS2SiDCZF7sPZdmyg1\n/q27m80+n3+Wuo0ORIph5dY+FN+KmH0VduQ7EnkKROnZHkwdUSfFdGGvkBXF\ndMSdy44/JdQgTkXlZSD2qqteXkYDe+DZA6UuJWopyZOru/nPNnXRCySG/bf4\nZuM6h0BWjOzE4ZFy80TcbQFPuVifM42Tf0qnDpyTYPeiWBHZxc9l6Yihkex7\n7mA5aKmIRxeRsvlemymHnPGYAnuoCi9fqfCbj3HRXXTnyn8RJPzIfbdPMS7n\nPV7SMgEl7z338HcP86m06F0SkUy2RFWkaSpr16AbQc7IkQE/OVOrw25p2oEn\njMZud/LFkGd9F0sZB826P3wjSj2kPY6PWCQWy6a7AL+ufuquisihBV6wkpkb\n5uaC0m+tOLW+k1ShGMVE2iQgl7O+dq+VmFlEUWxL16wE9pSmOjlFXkyb9dfX\no0lJCNhabUprJCesgXZ8J5QunkbZa9REKGg/EQCmCr+tRRFQ92WmW1FN1ZZ4\nV+8B\r\n=GOUf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9d846f52101298e0939e99bd4336ed54ed1a24e3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-10T23:56:00.053Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.3","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.63-renovate-external-non-major-9d846f52101298e0939e99bd4336ed54ed1a24e3_1625961562792_0.998665847056923","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.63":{"name":"@balena/jellyfish-assert","version":"1.1.63","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.63","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"58ff6750b3127b6e370cac99c93b2b406b2702ab","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.63.tgz","fileCount":9,"integrity":"sha512-nCHla1MAU0XteyQkn7Y93tx93N0H35qpjMgYHr1Vn1g/nb6KstINfXr3Rwl9p2vYqLUsBd0WPOi11lSp54+Evw==","signatures":[{"sig":"MEUCIQCBmESfF/MllJQjzKLuDDVhi4GynYR+LUgoiVy0u+XEEgIgKW/Eox56cS6vzzEQ/sol/qJrgOCJOwvmRHrayR6C+nI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6jU+CRA9TVsSAnZWagAA1fgQAJ7a0r9HB8GmhaJN5OS2\n1w7sT7BviHpJl16l23ktJCzO16VOstZdm17HeKsCadLCt4N7ohLElL5g1cs/\nqU6x5grljHzFL5TprFJaQ4sf3V5C3jOtIcENx94ES6UrMpA3KiHM9eoVmLGU\nvCao6VJlJdfOvgYxImuFKFM4sYNlZLa3XVxTOQGNZJVSwPrrNu152Q3BbUR9\nM9R7wqgYgacDd1oI1GISyaKCU5wjUihewirak5FshBNmw6NOi3/bzvhAmugk\nHGGX1BmV46qpXcfrnpNMfS5bK0fQmzcghNTy4DOEkQO7wi0FejGWK9yuLOsl\nUuMmUw6yWXkeY3V9s5FKs8cPMXQRi8PQXcoH9kUS/u0OpvXJZQY034hfnagq\nBWikcAhcSqppavr3GHDfNUGO18/sy6X8y5eMJLzN3jRvisC0sBMo4Bu5VJbk\nN7ZGso39/p2Gy0WfnOf8/rMy7nShe8F4tpBKD1tcvHevnuGbYPfFbUsgs+mF\nF6Te1BDjMQXmMZ3RJbRMnJgDCz0Z4xg2VTojMy06VoKLYpe1FsQU8YpwfN9x\nS3yglGR7vm4OaTS8K3oS2JVlc5j/ZCrp5pVMAABPBG7yJDRdGYKONLXxlCqO\nkv/ye+spiZDy5OkbOAAbjVl3FIac2AG0jQGsOfWEm88ocuoWc67Gq7NTypfj\nt1zU\r\n=c7Mf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bce99e455d5b2d7ca1ce2698ee439c94bf743af1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-11T00:01:31.254Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.3","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.4"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.63_1625961790336_0.8946307548712422","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.64-renovate-internal-patch-33b42156f3576eea964ed2338578f998c63c138a":{"name":"@balena/jellyfish-assert","version":"1.1.64-renovate-internal-patch-33b42156f3576eea964ed2338578f998c63c138a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.64-renovate-internal-patch-33b42156f3576eea964ed2338578f998c63c138a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cf2daf8c9a1ac8f7abadcc008ed3b7e67e80b923","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.64-renovate-internal-patch-33b42156f3576eea964ed2338578f998c63c138a.tgz","fileCount":9,"integrity":"sha512-/POUkHAflCD8sWgzN5LlnWg26poTyBuPWckAwtH/qU+dkoopBKAdkVYlIgAHBcMD2jUCjU9UYA4omnMXjctfsA==","signatures":[{"sig":"MEUCIQCcbZrcwjS60q7EOYIHf3UnJRy8q4ZeVRS6Gb2ebMluxwIgYRYV0/mTLH3k4IAdCXXnu1CQZ4ruamN0VcAdVSfCuto=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7mSzCRA9TVsSAnZWagAAX5oQAIhh/XXvOmPyoFfZRdyI\nT32pCpA9OV0Ujrtn4Hq7qXmIuVdk7TkjP6ewMU+cX15ZHKpfWZd4SdaD2bIg\nz1nD7UiV+OvrkWWEOiVqPUHzdXzWyJOIRPoOfKfmOiD8C3EK9Rxt5alY8PuR\ng0b2By6tNuX/UVm4Yt0ZgrW9LgI0fvRbVoTni8HUpIjnYQkDNKOTp5cQiGH7\nk1+KGsZfi7mC9yT9f2mtHCuql6qM6D9SuMoiLbOo0FB7xoqdaMz/sDHaHx0N\nrCnl5FdqEG7O78UEQ9s8T+fJZNIpgwQ7Q8NpMwacEa7FlpB5aF932cn6+fUk\na5MXNMR8ic1WbfRaWIRmFAao5on8ISsEudSnjTJCRpoQb6Z5NkZ4knIewilO\nzIXL6SjYtL3m9thR9fTEnp4UvUwxCrpulwSNBWWFaCcJ1wBkiLN3eKgoGNnC\nI07rRuH4a485yXqPAgHJEMrO/Rs2ZaCbWw6N+0hr3dahT0U8gDqJK0q1WShW\nWMKG6h37rwrewDv43GCeddwHwiC1IUvJdAryWg/627xSgL1+72a2/cE/TQ39\nT1EEZG+yf1nZt4X49NSLzE/IffNFUQ6PcGuQPbdh7FtZS+CFzZITs1lG6BgF\n2OUblTY1BouQtf+WZfkurhr4G4Cq87sqSuWKD4pWARmUCIRQmfH5/VRgw0yf\nY1zV\r\n=b/oq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"33b42156f3576eea964ed2338578f998c63c138a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-14T04:11:41.630Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.3","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.64-renovate-internal-patch-33b42156f3576eea964ed2338578f998c63c138a_1626236083339_0.006169466674590396","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.64":{"name":"@balena/jellyfish-assert","version":"1.1.64","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.64","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5aefa3ba65009299be49b281f83b95c22f767676","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.64.tgz","fileCount":9,"integrity":"sha512-vdEYIdvQ6Xx4mQYd1M7yPgWYOhCTSjPsTJu+vtz64SDj3pn0CHcQzB26Az4biHDtFsty23F20z1itAGqh7zIdA==","signatures":[{"sig":"MEQCIHCBRh6JsJWDIPUeYkOF4qURd8KyuYsgJBMtbNT2AW7DAiB4VP2riWxPhaYuglCRQyoV2nHctk8JkqbWE0h7RvbuQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7mWFCRA9TVsSAnZWagAAx2EP/1KxX66zRvYpeUeyYvGb\n3cfSK/yYOANdWkqznraA48LGLG0oGf7kjFsqMbv9OTxsfPNEY8dH6W+hOWJq\n+l/qfrbV3ZZRCOFrC/z/ijmtQPHSehKNQPp9Ka9CvJ8EGAEx2ZozDX5DEB3D\nuJBoU8UbajMIWgFWFWu1grCo1rSeIs1wJHyTyR1+S2g5Hsk4hIVB+2K/0t/S\nMaU7tutFyMnwxpT8DtdyzZRXv/51oON0wgHkUiABxY14B0LHb+HuQsLoScjW\nFSolsw0i2R2Ah/TaVGY9pDUuhYGtjnBaeusIYv086j3222DXCK4/uDtyYRNd\n3qRn1JVR5oSH9zDJY4Q0u4WbAXmwPTOSq5trYyuaazcXkgEWquFAGmxfQV7X\n4aSHnm7OQf64QCEu8+6KmhS9OYaKGxLWXCltYfYUYdmmP/TqwzsQC2t3j5C9\nMsrsUTX+EZ3d3AhzIkdHbzMrs+vp+T3cC4WBpF5VQEFuqPphiBQWLNaLmAYJ\nvnJFJm2M24RqRbpSYDgHGSnj1cXDHCoJtZbGHGyW4OR0kA3Cz4vIT6jgL4Ht\nu433lP7JddQTw1qnagTTfMIBtT0e8oZl7PkkhaAXKHUbcpqLmq/VuotLRrZx\nz74u3rdjbhbt568/NCGbXERraKp81lJMwhB6H6eV2qZA7OotuTZRB/cXgukY\nJF2x\r\n=JtTa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"935306b829204edb36771a68492168e1ce07e816","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-14T04:15:58.167Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.3","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.64_1626236293303_0.31172781606249456","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.65-remove-whitesource-f813814831066972729371b093648416fb4f8df6":{"name":"@balena/jellyfish-assert","version":"1.1.65-remove-whitesource-f813814831066972729371b093648416fb4f8df6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.65-remove-whitesource-f813814831066972729371b093648416fb4f8df6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6b0842019c3207f4acdeaaeb4f2c23efa9634cce","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.65-remove-whitesource-f813814831066972729371b093648416fb4f8df6.tgz","fileCount":9,"integrity":"sha512-CIa5BZrJpSzQ7aYjOpRgrrCijy0s1yC1ex14C2NySNxqZaEgQi9E17vhc6KYD+xcaK9Fwe7QN7/KIz1AgTSa1g==","signatures":[{"sig":"MEUCICv67zIkSfgRPxYC8cvNWj/dqVdykt6nlA54k6sE3eupAiEApo2LkveMc00ExH0B0zGM0ACiYJXuC/TxTOAQ027NRmU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8hlICRA9TVsSAnZWagAA6wUP/jAKxHysQdgRmTjNTna7\nfOptjaXTUif4mfstn3rKX5ibGXjmxH8dE1Jvzyp8533QEYC9/rBemqjwXOma\n5JNZjcwuUWeY3coeD0GmKBfjdCyCY8MAn/ToesH+jDzuvIz5fFp+OebzbU0E\nQC9TzdrvH1eUwYvV49Ses9qoj/Oz3qXo3n89jXE3McAyTwwZn1MiCuXPiF5m\nzIwzfqDBocfmIG6oXYgQ61HrGCGTuOhZltqeWPislmnO9tIafJmXrVOc/PjH\nz0G15Er5ItPGUIvUVreFuKBlMCzI7g3KeIuJLmgSLhroIzQtwCCH4xXAkcFd\nqHYG2CpLIvGKRmtdRq2MmE+61XVfmcwIAifzyQ3Mc1XocEeO9rAA8NJzgi/u\nEHd6Sm2Q4PWkW2fpvLOwjgDNBbAkph12hypS1etGGtvBdcnoWqPJlmBS5MkS\nI6ZbywsCdVLaKuU1kjFGshwraJeTajaZVVPHTgtMSUnGpcEC3DVOlKVJHfx2\nqqt5E6o3J06cH4LhJcMhvx+5zUXLJmOfQGcIPU1Rw1QzMT+zbq64pNP5CZmv\nGg37LbJ0om9Oi/2Zg3F/ubwo8aO9w17fLDmcyNYaVsdC2F5ntxKEL2ht6hVt\nF7/NksQEftu/ZuhzJHbdL5CiC3qcaX2+xD9e4jZdMnvPHhxYncPs1BReAA1c\ntWSy\r\n=Wiaz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f813814831066972729371b093648416fb4f8df6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-16T23:38:41.677Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.3","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.65-remove-whitesource-f813814831066972729371b093648416fb4f8df6_1626478920344_0.355945182377599","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.65":{"name":"@balena/jellyfish-assert","version":"1.1.65","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.65","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f1c58654c4e3150dd3bb890964dce26f6a9769dd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.65.tgz","fileCount":9,"integrity":"sha512-Avb8i9Re7DS3XnIrLJ450GWzR9zA7EtK2/KJFzCn8bj9nx39Rs5mam7LXHcAgMBXoxJlIRdWyx1MTqmqtOnaOw==","signatures":[{"sig":"MEYCIQDORk4lkozh9GNCWavNu2pcYYPEkg54aywgfR2hbEeZqgIhALhlpm0Z+6LNeGwMMKqb3pr1rTgQogW1xgDKs6jGy5G6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8hoUCRA9TVsSAnZWagAALKAP/jHvGGRek4jMKENtzwLa\nJl5dQxhpaxbeQno2O0RfMulfAAMkF8tb3BDjVgbxEZMcEpbMHrqx4d9E6vsW\nKMJyYaAiVMaFr8f5Z9sR+8iVpfgTawy2DQ7/kog99MCSgSeiHGRVQLvRfVK1\nxyBIb6v1O/XLKTwyW7emVtYhZubNqzDIQ6phouNoJKtlRIDgVaaYjgdsgHby\napo3LO58Zmu8Hh+7Wr0pnLJ03qo7HUnEiVa9pxvx9jLeXSUfSchTqPnGXzFG\n8cM7bdGQVzk7MotgAbsnCqwh38v1zQ+mLuZ7AnjGl8ouM+A3ohPdPAg0Un3V\njwn9PUFLRcwhqBnePUwD/qIWHUXhzShnHp13lmuwehO4zfNTcwa5ngDctEJM\nvqxfsnB09NROcDI0vxZxugiM9fIqNUvfX/pApWEUjKmlTAggx9k83QZP2B0C\nbjhelcm9pOOYGcfaS3e8XtLiJFVnsDBZKQ6o13j3J6jp2UAaSt9eVk9c+bsX\nYQ4dOs8YlwMVGON+ah7oEn18cdorlUtULVoacL1zD1FO6Si5IN3hs5cIcwMV\nTaO3F/QhmD4tSPRRwdQI4fBz8f35Bcin7PnbOCidHQdjl7bo4sPy8NVJQuZN\ngtmfJoNhHSGCzCKpZTnN2CZlxqwwO/y+QZmqqIVfnKWzSAC/BLDOlqsh4ann\n96sn\r\n=NsBD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"592db27375b81acabff0c28f9cb0ec49f60c6c44","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-16T23:43:40.680Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.3","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.0","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.65_1626479124555_0.9291865850860053","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.66-renovate-external-non-major-bf8103451778565a6c860fca0477c05e9492efbb":{"name":"@balena/jellyfish-assert","version":"1.1.66-renovate-external-non-major-bf8103451778565a6c860fca0477c05e9492efbb","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.66-renovate-external-non-major-bf8103451778565a6c860fca0477c05e9492efbb","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b7e8af90f499f8df9dd38bc76f2225a750ef3a90","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.66-renovate-external-non-major-bf8103451778565a6c860fca0477c05e9492efbb.tgz","fileCount":9,"integrity":"sha512-LcnIOpwZKOaFLzqs18m18GRInsgW3/4xzRj9N+u2EgDDuezyJ19Lbh9boStifPmedMuiFNvBWcn+YEXe4qb/vw==","signatures":[{"sig":"MEQCIAnOd+5Zd0vsUS4bX+WGzrRpAbHotahERgxv1XFEDNxnAiA3Pj7s2rhaYCGwHhj214yN8g5dWLqgfaWIdLq/QMqgwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8jBgCRA9TVsSAnZWagAAv74P/0KwANApG2NjjNYMf75F\nWNDyk7L1KWo32qJ57B8AQTA22AymHgMGc/z8dQmOeWMW2w3N2pBhUt+sSai1\naI7X5eeZymThDj7Q1STwl78Hn+CkoK0G0DVw7P9/izCLMOPIUGW2jU1Wiro9\nQq9o5nhF4Jf9o8A1ur44Vgop2moATstzfYAGgYTradz/rTXqRcB0YxSp4iKP\nHDwqwOo4EhTADYk6gYMXUHmcocckkz0pTyCprE+M0EoCA67VbMRn9C30S9/6\nUvP1yOS3KQMz+oVNjrg9EAxOx4YjITLcemHL7PYf1+/z7jHRw/OF2PhbNE8J\nJ6d0kOysVgGcu21nGOYtun86SkuAcbFVFDJHqyUoM8TWIZo9fdRZ+JsZifkx\nYNlbK0xQK7TI219XWxF4JzB64btkgpWK85fH5S7ALXSeZdp6/ew9hGNC5j6D\ng3yL8N7sxQ+3VskhS99k1Ij+A9ExMyPQzyqsfGeRShcUJfQSprFZTLRjL6zG\nY4b2EcTUNEzAKKzPjrOsdk74OgHubNg9pe6t7SCPpPqwCfEtks54ttCurJz3\nJg2j/KyfeXrIcY+ST4TEVKy9FdgCfiiIvB9+ySw08mtn3FHJtfrYHhaEZIuu\n1eis0mCNoFsO3CwwH6UVhhy79vS+G02WVQikVwreXYKgqGi1KCJ7dN9AOu3c\nei4A\r\n=d6w5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bf8103451778565a6c860fca0477c05e9492efbb","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-17T01:17:10.609Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.66-renovate-external-non-major-bf8103451778565a6c860fca0477c05e9492efbb_1626484832312_0.9716478938612583","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.66":{"name":"@balena/jellyfish-assert","version":"1.1.66","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.66","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7c3def1d1bf3e7c59324df1d8f1fee2c0ce1583c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.66.tgz","fileCount":9,"integrity":"sha512-PrUU6zFcbvT6ozJI/GAkKg/byZOoNjLg/jIm6w5YyN8yplF1BTreA6yptITStOF2FhcnFPjr8WNVlrNaqinHHg==","signatures":[{"sig":"MEUCIQCIv/vOne7CLjh6d9OIkGbMm5OMmQCvcJbrQ70jtgx/lAIgSoa/MqQf9zwt1UGgrQhOgZ48sonhw8bBQzNfPOV8zL0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8jErCRA9TVsSAnZWagAAX2EP/jIXmMk5FFAJpNSYZjyF\nPTKXBYXumgrtLJf0Xkn46k3XlGpFADNYEmaRXlSnglJgHndmCqh3FAJRRCQa\nhYcBKAAv5X7UA2kztq7GO8pvOROEg8HutmmdDMjOE7h2RwJnfxLaYE7tpp+6\nyDsjgrc8H5R6QYvhBCm9RBGuz0IsXwH4AMBKJ1e64mP5sDZ5mI9v+V30G27/\nPWZbWGorpmFhvco+rY1jtVLb0ssiB6ZqW29ntBGdoVj81sJeCYy+1dKHE38x\nJ3HxMuYeSXNy8Ic6pqxcZAvJ03ECnnNLjs4c2vEJx/xJY9qouUTbWGqW9NO7\nX9vNPUZQ653bOgB5yQqSxJdaSp+phopumqJ3P3g8C8D8lwv2tyTCepVC7lOK\nERAVix+tx6DGia9mhrC32RmcQiAz6pa80i3ATqDZaLE4tQSqaTCTWFttjrCE\n2KsXck/F/mc4PTDM5iuGEM8HDGukFOYkASzacn43oz9y+5GUVTZ8hTuOSulc\n2w3lPZUx4MYekcM0G5vohVp9ysKE9zhIT4CQ9CJf5OOXNvD/N2Dz4D5Behpq\n8GZ24+fBrIK0+XmjrPU8bxbXQh+YJVi7xlmtnomgS398cGGl93LSI2MuFxUq\nHgL3pleH0cf0oGfBnNMpWrPGohCJMeaxaX4aGDRulrxw6l2QzZ6Nhz0WGHaB\nXVou\r\n=rtZM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a426f719f850158e4482146ddf11ca7edb99c515","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run unit","unit":"jest","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint-fix":"balena-lint --fix lib test"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-07-17T01:22:05.326Z"},"_npmVersion":"6.14.13","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.66_1626485035195_0.5652474270910754","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.67-h32-unify-script-names-4240c484ab6c2663dc718641781905e6d6f017fa":{"name":"@balena/jellyfish-assert","version":"1.1.67-h32-unify-script-names-4240c484ab6c2663dc718641781905e6d6f017fa","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.67-h32-unify-script-names-4240c484ab6c2663dc718641781905e6d6f017fa","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7a75ae006ada9cf40bdf1b1d04e587ab1429b479","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.67-h32-unify-script-names-4240c484ab6c2663dc718641781905e6d6f017fa.tgz","fileCount":9,"integrity":"sha512-2dgDh+Kp2e9/SZD+Yri8HI7wtR5j4cNmb3Ay+2ygAO+GQMBVj448lL0/t8Zyy9czgdNaiygH3OmB8Mc3bVEyCA==","signatures":[{"sig":"MEUCIQCfn8Zu0ggGg3Ty96AA7jSV3VFSLeYdCueROkWkB7wzjwIgG5vzq+1NtZJHdjSnk4mYpxGcNgja5EO9K+ujg0FDn1E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCmGnCRA9TVsSAnZWagAAgvkP+gMETC4ztmWXh06dl8EU\nP3cxv+T3wYFP2X6RVxrjRkOfFVlSJz4+w+DuDpOFUCm9zJXS/24GR63vwMYn\nz/NB7sHK7kn40wO1oTY11sV3jE+mdlgszw1L7RcBx3pzr4yyXfhp8F+YZIXX\nAy2ifpCqgAq0xJY1fLlnMExAuL8k64Sc5dqq6PcH67BZuEkw/Iv3gRDkVjbR\nJNqw3Dc3RehcjM6WMMW1j/jINhvEDOHk07YUTBgL3MyhvHh+BUNPUsCblte1\nqPzYBzzAXYAekNJdu4kxJQb0NGVwkqRouYhK5VeDkPsDPIZQjvjLDYshwohy\nILfUc5Kp7BJZ0eFJOSgTnv1CRgNMkYbwH8pKY7CPPi7fCl4JWQT3yEioBc2t\nhgFseGF9CqydpbYV1i6JgFIr+qqdcQiQsITuSNNEGwUePWlSyuvAn38nN8v7\nNPzAABP4mT0O1zSbsmk+XVL0xaW4xA8q2fLpeyAC3WpAs87U+cTw/PQ9dV90\nFbhdO/rmL/mGXpGNzIjRp5fBf0kuxS1buMsbV4o/AgW5ppOhVYaV/o/gq7fN\nMBYGZ37yVYLet+NlIxpZJ45mDRKYdSbgPFHDy0u01+jcNttCEyML2+vLr/JT\nIfxox339cUxA073oVofifl3MmGqj8uDO/QEpEKrwth3Sgmb3s5Q7+3yNXcTS\n6ZSk\r\n=VWVq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4240c484ab6c2663dc718641781905e6d6f017fa","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-08-04T09:42:11.852Z"},"_npmVersion":"6.14.14","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.67-h32-unify-script-names-4240c484ab6c2663dc718641781905e6d6f017fa_1628070311013_0.03630543076471704","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.67":{"name":"@balena/jellyfish-assert","version":"1.1.67","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.67","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4b1ba4252b23b520edc09675c97d27febe786961","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.67.tgz","fileCount":9,"integrity":"sha512-g6/lK0RzuQUq7YyN33oDN3nqQ1IrPgbXZ//Dq5hrjWDEzZ4tavVYa7J4Egj/8l1HqBUMpbOZTldY3A37zCi+nw==","signatures":[{"sig":"MEQCIFqhK6pU3m+qz7SkzCg3FfnuHiOCVv09voNeaMFLPozNAiBHZVgKGkYUGcLHrHt4p8Nfwg7EjANxaQCvguAPzbgZ0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCxfoCRA9TVsSAnZWagAA2TIP/iakiJ9LRlUhldbydeh5\nmzLQcQ/9k9AqBiHQl3tpGW6ngwfW+zrQTQXKPjKP0kenrqMxMNtd2pVyINOw\nnVe2ns1OGCHqcrlXjBicysy0JgOtDw84Pz5OiUjPXDDxxJm1SUOHgzj7n5+z\nAofTqEQwwr9byoNcwqyY3OQ0jVaTteudbFlNkVTNGa9VeEHOe6qDfjOlD4fC\nb2bhSKj2bE0cUuDV+qzsqiU1l3RyMyJntY++0u3SqRLfjVCOySSdcgecl2yz\nTZQwj+kTaD6NuwRQiNF4/ItgeprkjtwdOkE78yjCbH6BKR1muLzQzpgRFbwa\nHB8dJ4HGCNs2lPnM/AS3BkRDTwuPcRjIWDPIaNcWeNn3lsmstVPoojD/hbjU\nSOOFnBdi1JNiIrl1yLWczMK8tBJqMyYVM8T/pjBidmnVCc5ePmgFVEqoFPtJ\nPzul2rLlApSL96NJ3FKHcvzYNsv0OF/kZZsxJmyeE22rP5v0fpiR+vcbQ4Pi\nwcGLGUje5DFHhVp3d94dkvpCiWYuLh+xltonrAkGKB+noQ+JX4LIoGQLh47m\noM47UeZUKfpK98kNJk8zBG38sKx0SqxRB6NAgVT/hrLwQyMQEkejDg9jLoMO\ne/eCm3U9GCgBYpVQnYQDgWRsIQyWxx8bcGbZHVQJJ84t2hDMvGaH9VaVkcZx\nx16Z\r\n=CMDu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b37ca243af95f831b099ca2a6f9a6b0344b42d58","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-08-04T22:40:56.981Z"},"_npmVersion":"6.14.14","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.67_1628116968752_0.1278679931745772","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.68-repo-sync-jellyfish-config-default-a886a4d71df6fd5517a568d25d2f61aba889e2fa":{"name":"@balena/jellyfish-assert","version":"1.1.68-repo-sync-jellyfish-config-default-a886a4d71df6fd5517a568d25d2f61aba889e2fa","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.68-repo-sync-jellyfish-config-default-a886a4d71df6fd5517a568d25d2f61aba889e2fa","maintainers":[{"name":"iayanpahwa","email":"ayan@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4288441f9365221ba3171c0d114f40e6e6f99a33","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.68-repo-sync-jellyfish-config-default-a886a4d71df6fd5517a568d25d2f61aba889e2fa.tgz","fileCount":9,"integrity":"sha512-RA5Bz7AQFiUGe7TUhs49VyPmLggpu2bESncsEi5tmcmjnlqzPmcg9/Fzfka1jVElihvh1N6Ge4gTsPTe+5I3Cw==","signatures":[{"sig":"MEYCIQCQ0QKDP0oX+oeBOhcjuL6z5ZdRzSGOXa6DI/ebUt2rGgIhAKPgyREe7ZJkJCvtHxcZhU5gc2Vkmm+WxFxemAJbbZNx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25056},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a886a4d71df6fd5517a568d25d2f61aba889e2fa","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-10-04T05:08:59.731Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.68-repo-sync-jellyfish-config-default-a886a4d71df6fd5517a568d25d2f61aba889e2fa_1633324345374_0.43265190803413933","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.68-repo-sync-jellyfish-config-default-ef7adef4ddfb6c0c6ff3382f37ef6793700457f3":{"name":"@balena/jellyfish-assert","version":"1.1.68-repo-sync-jellyfish-config-default-ef7adef4ddfb6c0c6ff3382f37ef6793700457f3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.68-repo-sync-jellyfish-config-default-ef7adef4ddfb6c0c6ff3382f37ef6793700457f3","maintainers":[{"name":"iayanpahwa","email":"ayan@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"15098b5fa6e6a39fba33bf249a7e63cafc76c371","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.68-repo-sync-jellyfish-config-default-ef7adef4ddfb6c0c6ff3382f37ef6793700457f3.tgz","fileCount":9,"integrity":"sha512-CJpDAXNxQ/529DUgSj2Wnxyzxtfiv8c8EE1Y4tSVe9M5lospnEXhRRDU96JR1oRPtudOl+Hqrr9UkCQpNFpATQ==","signatures":[{"sig":"MEUCIQDLgVBUxkFKvPxInwcI28PK3XLRsIQZGcWzlrZ+xvYKvQIgWZG1URaaP1yO7wxicA475yvD1RRIfkkY2nJqbI29oEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25093},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```js\nconst assert = require('@balena/jellyfish-assert')\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details')\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details')\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ef7adef4ddfb6c0c6ff3382f37ef6793700457f3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-10-05T00:20:49.563Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.68-repo-sync-jellyfish-config-default-ef7adef4ddfb6c0c6ff3382f37ef6793700457f3_1633393411404_0.42950815393177355","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.68":{"name":"@balena/jellyfish-assert","version":"1.1.68","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.68","maintainers":[{"name":"iayanpahwa","email":"ayan@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"nazrhom","email":"nazrhom@gmail.com"},{"name":"page","email":"page@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"64eabf1b94ff05cf1e091c63fb2a265db9d1bb8c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.68.tgz","fileCount":9,"integrity":"sha512-d+vBgmyDneNt5Zu4/32qhf1SXCB7LNF5QE4ivCe0fTSTqBOjw48GbnDJ8B5SwJSX5k/zma6QNTTp7syY7ieh1g==","signatures":[{"sig":"MEUCIQDb+UWwlfNiGrRSFAgDypT1PeND2s7U0Od2dO4lZ3fX+gIgDuY0h+GhhiNLDCFdaSGz31KqUk8mmNG2T3pQF8PmcSY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25017},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"609286eb9756ac74847da314725fc4b376f94881","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-10-05T00:27:29.141Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.68_1633393743975_0.49996527416808667","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.69":{"name":"@balena/jellyfish-assert","version":"1.1.69","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.69","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ebc050948e834255c25b0e483b9aee16fa8013a1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.69.tgz","fileCount":9,"integrity":"sha512-v6qrD3iMd/fpmecWwSCRMgjOrRY8A/5Qc8zkdWLuSye0xWlAFLPEsFvggH3JH0i7+nHewx0rUQTMheql/tTBqw==","signatures":[{"sig":"MEUCIQCd6XM6gOtXKrYAgC5XR5iqlUXX+nJvEaKGfLnaIqXs6gIgJAUNLOoVV6saUbJJaCMoVeE1egEKdhuoEe64xxrel+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25101},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7c51ae260dd61d2e80d558c91e31e082b8c7b509","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-10T04:20:56.257Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.4.5"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.69_1636518151217_0.3242594271547312","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.70-renovate-balena-jellyfish-config-1-x-6a81e94800d464b2e7300ed821d9c856c3dc1ebd":{"name":"@balena/jellyfish-assert","version":"1.1.70-renovate-balena-jellyfish-config-1-x-6a81e94800d464b2e7300ed821d9c856c3dc1ebd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.70-renovate-balena-jellyfish-config-1-x-6a81e94800d464b2e7300ed821d9c856c3dc1ebd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"11899845402c32de131c6f82da70294ab7e2175b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.70-renovate-balena-jellyfish-config-1-x-6a81e94800d464b2e7300ed821d9c856c3dc1ebd.tgz","fileCount":9,"integrity":"sha512-gchVCJivC/ChABrodm6FPkyXvSbh01RXdeddgpxpUPWT2tbRQmF/1or7Ed9HxuXEZ155RmeUeIksnsS7g7mvAw==","signatures":[{"sig":"MEQCIDtz3Hd/Xw8DvRyqwXWSWhosfEWYBnDSeTcGw7iii1NNAiBPyR/rK77CzISL7eGfdT1PTtetCrsmFjL0kmL0FDeX2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25281},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6a81e94800d464b2e7300ed821d9c856c3dc1ebd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-10T23:08:50.322Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.70-renovate-balena-jellyfish-config-1-x-6a81e94800d464b2e7300ed821d9c856c3dc1ebd_1636586066715_0.03240702888430613","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.70":{"name":"@balena/jellyfish-assert","version":"1.1.70","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.70","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"26a9c5508878cf8ab7999f6d90930adb9b38fda0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.70.tgz","fileCount":9,"integrity":"sha512-47QvEAbNL3dJTwJGx/kbRMXqDS27lr3lfgKY299PaUnad4UBjfHpE/AE8LpfNCAHdXrHnojyjOMDlaj1xmGPlA==","signatures":[{"sig":"MEUCIQDduRgpNf3VME9+aZzQYpJETalBo7btFg2ynRnOMdCIkAIgJDv0Os8BDbglmFwNveJNwwW1q58So2Wk8vum+GmgZ7c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25203},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c3ad49d66e8c20a9dc328af2f80a597520ac2c98","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-10T23:15:34.260Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.1","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.70_1636586236030_0.5392962596774804","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.71-renovate-internal-patch-7b784b424dcb1f9302efdbdc9d6b4c9fdd3e0e72":{"name":"@balena/jellyfish-assert","version":"1.1.71-renovate-internal-patch-7b784b424dcb1f9302efdbdc9d6b4c9fdd3e0e72","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.71-renovate-internal-patch-7b784b424dcb1f9302efdbdc9d6b4c9fdd3e0e72","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4b22ec5756f2b131cffbc6a270f9cc9d9d3879a2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.71-renovate-internal-patch-7b784b424dcb1f9302efdbdc9d6b4c9fdd3e0e72.tgz","fileCount":9,"integrity":"sha512-qRz+EpXi7I9K8QGCnL2fS3/dbyxIGhqj7UFozPoI5hkhH8mIOLGvuBEG3z1YZmIOqMVibEbrD7Sw3sXU9+vF5Q==","signatures":[{"sig":"MEUCIB0ePnAMH7K06svwJopc20QrLC1JtjcmPNd0aHdFbmEyAiEA9qKnxn8fqGV3FazxxnMZ+RIUpWbOs+h5RZB/bPmB6jE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25364},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7b784b424dcb1f9302efdbdc9d6b4c9fdd3e0e72","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-10T23:17:31.858Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.71-renovate-internal-patch-7b784b424dcb1f9302efdbdc9d6b4c9fdd3e0e72_1636586457075_0.036147891390394316","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.71":{"name":"@balena/jellyfish-assert","version":"1.1.71","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.71","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b4e2854f983513b7e5c665c3be9b84afe159995e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.71.tgz","fileCount":9,"integrity":"sha512-OBdPpXJ35ETC8TnZ9mMiec6M6u+0OBuif9/kLfAcvbOq7w+JzDs3RLTtPnh2d1wU2kNFEjtTZtpiuIGdGtPypQ==","signatures":[{"sig":"MEUCIQC1NbvM4l2oW3n7cOn+kMMf+u5uxthT2fG4GA2mGSEZvAIgdGqUEJCF+dhQCEhAp/aDv8Q2pa6eP3jdMv1Sd9nxC9s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25299},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9095a93952f3ddd524a30f45e9daa56d4e4056fc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-11T00:38:12.276Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^26.0.24","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.71_1636591193055_0.069890110801063","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.72-renovate-major-external-major-26480455470ba3a2d4ce9db1451fd3341cbef6ce":{"name":"@balena/jellyfish-assert","version":"1.1.72-renovate-major-external-major-26480455470ba3a2d4ce9db1451fd3341cbef6ce","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.72-renovate-major-external-major-26480455470ba3a2d4ce9db1451fd3341cbef6ce","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fa9773b266f2358dd401a49452c267062926312f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.72-renovate-major-external-major-26480455470ba3a2d4ce9db1451fd3341cbef6ce.tgz","fileCount":9,"integrity":"sha512-7G6wsEQ2UPozpN+FZkoDRBri6GS3e++qD1sZFf1HJCCj//ypbkeDU0w0XmZDsjC5RhbZ3VX+JuaOLqxZBy6JXw==","signatures":[{"sig":"MEUCIQDyDYNfBpFBwS0Snr48eei2rdnrmi8q5a7jfwHo34HVwgIgNrIZkCP4fslX+xMgrj+svXXqN1svi6pmB7WJBrbVNr4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25455},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"26480455470ba3a2d4ce9db1451fd3341cbef6ce","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-13T00:04:48.663Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^27.0.2","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.72-renovate-major-external-major-26480455470ba3a2d4ce9db1451fd3341cbef6ce_1636762061725_0.04789278876009995","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.72":{"name":"@balena/jellyfish-assert","version":"1.1.72","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.72","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ccb3a8fe7d0c09a5cf27bd66f168785d28739c02","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.72.tgz","fileCount":9,"integrity":"sha512-Qmld/4FTLhHxn1WKfLMKqkT7+iESdbyAgFRXmQPiy9he2TQrpNXmBA1d9P3UsWax8PYj5se+yb4GR91rAseV2A==","signatures":[{"sig":"MEUCIQDOYdAvJIiOfV4WSaCYZEQZlIwUHbxRle+i9ftQYW0r3AIgYzx9ZX1mIlc49xxZu5zVeMg/ht2VJU53N7Rwp0NikJc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25384},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"45930d75c1a70cb31d47cad839735f1cc21f640f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-13T04:08:22.469Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","deplint":"^1.1.3","ts-jest":"^27.0.3","typedoc":"^0.21.4","depcheck":"^1.4.2","typescript":"^4.3.5","@types/jest":"^27.0.2","lint-staged":"^11.0.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.171","simple-git-hooks":"^2.5.1","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.72_1636776593995_0.34103663773812976","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.73-renovate-external-non-major-1b88793309532f6d9183d881f21fd915a3f71e12":{"name":"@balena/jellyfish-assert","version":"1.1.73-renovate-external-non-major-1b88793309532f6d9183d881f21fd915a3f71e12","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.73-renovate-external-non-major-1b88793309532f6d9183d881f21fd915a3f71e12","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a2ecabb2a433b42abf3f3b860a81eca977cec15e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.73-renovate-external-non-major-1b88793309532f6d9183d881f21fd915a3f71e12.tgz","fileCount":9,"integrity":"sha512-S/8LGue8FqJ1Ffp6D2Xfj4VWBfbBF0wQ+NXYAVIbH238N1Laa33Rq1OtmyrcOWPSpKjw7p2kj8pjyqJS3VlvxQ==","signatures":[{"sig":"MEYCIQDSwn+e2I+uqz38sIOqj42aIWWpoHb+2S+GlvznsLarlAIhAOAa/l1lBcJ+ccBVva6GroCOlkbKDKqsnn/rfufloSDH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25528},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1b88793309532f6d9183d881f21fd915a3f71e12","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-13T04:11:37.370Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.8","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^11.2.6","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.73-renovate-external-non-major-1b88793309532f6d9183d881f21fd915a3f71e12_1636776876249_0.8732670709057841","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.73-renovate-external-non-major-52203b7881d0700c7ee2e87648f3e81b7c96bb42":{"name":"@balena/jellyfish-assert","version":"1.1.73-renovate-external-non-major-52203b7881d0700c7ee2e87648f3e81b7c96bb42","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.73-renovate-external-non-major-52203b7881d0700c7ee2e87648f3e81b7c96bb42","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"70bdf570be34aee4fc2b59cad5eb8e723afb0478","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.73-renovate-external-non-major-52203b7881d0700c7ee2e87648f3e81b7c96bb42.tgz","fileCount":9,"integrity":"sha512-o2vpDCBH3jwmdZYlmFL50lee2Cx9yjWdiAaXMwrjfI2u600B727RRe+dU76MCgCiPyhBWNYofVvyUcOf5/xCRw==","signatures":[{"sig":"MEUCIQCTs26tAB29Y55CmruGONd6A/2KXo4cNXp7Z1G3HnbtNwIgYpWk6+hml7cqbWJ31nH2JR/Zs8ym2SwfvfjyiUQWcgQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25589},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"52203b7881d0700c7ee2e87648f3e81b7c96bb42","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-13T04:31:10.872Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.8","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^11.2.6","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.73-renovate-external-non-major-52203b7881d0700c7ee2e87648f3e81b7c96bb42_1636778034393_0.3524150223982123","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.73":{"name":"@balena/jellyfish-assert","version":"1.1.73","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.73","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"626be7b386f9db75f146911db302bd3bf1cab210","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.73.tgz","fileCount":9,"integrity":"sha512-XDfaMDgyeqAvVOUGyYGSlX8eKcVKn2ATZkv9TL230LC5pwNbulF/cPeIomLhJT+/9ikMknBB23CYgcHsAG7LHA==","signatures":[{"sig":"MEUCIGLq18oFFyxXrhZykDEzchqllTu/kyJ5wUTg+3EJBGmvAiEA8hpMdn83kc6t8gJkl7HzpXE/4fguqD2s6tmWXXqvIRg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25520},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"43b666a23c11143db8b9868bdc9b44d74cdebf1b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-13T04:34:43.482Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.8","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^11.2.6","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.73_1636778227636_0.28566796643621584","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.74-renovate-major-external-major-3ff12001c982a4f617cbac150c1264c380683185":{"name":"@balena/jellyfish-assert","version":"1.1.74-renovate-major-external-major-3ff12001c982a4f617cbac150c1264c380683185","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.74-renovate-major-external-major-3ff12001c982a4f617cbac150c1264c380683185","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9dd8f4674c963aeba5e5987a2ea5507d22579765","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.74-renovate-major-external-major-3ff12001c982a4f617cbac150c1264c380683185.tgz","fileCount":9,"integrity":"sha512-VS8PdLcfLgz0lKggVpw9YT04qobyCIIwGlAPkxvXLTcUyFumk/tJLUENO3JF0cW4pdZS1WzRKl09GY/TF073dg==","signatures":[{"sig":"MEYCIQCA1pxQbbDWLLESF3LEs/a+UMY82s1kJp/B48ctWkcfdQIhANNjK0lbxr5u/Vvc2JBxz4S2BqMPdHP48sB4qNaBcS1f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25677},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3ff12001c982a4f617cbac150c1264c380683185","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-14T12:42:56.128Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.8","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.74-renovate-major-external-major-3ff12001c982a4f617cbac150c1264c380683185_1636893921108_0.140253594711228","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.74":{"name":"@balena/jellyfish-assert","version":"1.1.74","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.74","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bc8dd8a11f15eabf58025d07f71776031852b9f3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.74.tgz","fileCount":9,"integrity":"sha512-OUPHpdDUVH5tiGIaxSI1mc7fTW9xhXXCfE2eqHrn4tD1FfeIgC+pvVHUj26Mlv4uUYH81ox/BOMSRrs/OEHdyA==","signatures":[{"sig":"MEQCIAj3KGd5KVNvNoy5wBDr5pbTiqt7sE98IMC+hzm+M2jTAiB91L5DS2pdrS0Js6YoqULA1bMT/n2yU5F+qDUF+ygn2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25606},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d43e9c544c988417f88f5a957078ce78a9a118d6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-14T12:46:45.065Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.8","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.74_1636894094713_0.28587128992532973","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.75-renovate-external-non-major-ea5e0850ccc1e0b73f53506ece678724efdbc9f9":{"name":"@balena/jellyfish-assert","version":"1.1.75-renovate-external-non-major-ea5e0850ccc1e0b73f53506ece678724efdbc9f9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.75-renovate-external-non-major-ea5e0850ccc1e0b73f53506ece678724efdbc9f9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5fbdd881db8ae1410ad26732dfd8730f1c347b20","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.75-renovate-external-non-major-ea5e0850ccc1e0b73f53506ece678724efdbc9f9.tgz","fileCount":9,"integrity":"sha512-uvvdPYPhxrQSIa/PTuQhoQaHaqlFqX1j5oCEfp8oc96Iye9+p916SHAU7O7HEVxwVauydNfjC4Yah0j0z/YRvA==","signatures":[{"sig":"MEYCIQCR20OqsVz+Pv6XYj3mRul/kc7bnsLw/XDkQBvW+GIidgIhALqnJ/UQNXRwRHMbKkWAU9pU7Wc4APVE+CuPQBETipx8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25761},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ea5e0850ccc1e0b73f53506ece678724efdbc9f9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-14T22:43:14.922Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.75-renovate-external-non-major-ea5e0850ccc1e0b73f53506ece678724efdbc9f9_1636929906624_0.5212671005833227","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.75":{"name":"@balena/jellyfish-assert","version":"1.1.75","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"UNLICENSED","_id":"@balena/jellyfish-assert@1.1.75","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"db49f8b2f7407b0623ef4c2a7ecadb210586dca6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.75.tgz","fileCount":9,"integrity":"sha512-JJy3p00j5yNBuU20mXYdShjJMAu70ylUKDELqmoUQeYNW33e4CZ/Jpq43T1dkB23rCDH5X+MzOwXjWrhncWYGg==","signatures":[{"sig":"MEYCIQDL712KTOdxbiO67DPLhc86iC9Im/mFolQetjqOyym7NwIhAKZj2LUl4uqg52jQqPV75LkikQHi+HXvFvzpvRdKP74N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25692},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e9b3fec2bdd44260738a5dcd244a2a322f23341c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-14T22:46:55.742Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.75_1636930109192_0.17774489677063277","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.76-joshbwlng-set-license-df16eefbca2a402b9cf33957828e70646b5f6362":{"name":"@balena/jellyfish-assert","version":"1.1.76-joshbwlng-set-license-df16eefbca2a402b9cf33957828e70646b5f6362","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.76-joshbwlng-set-license-df16eefbca2a402b9cf33957828e70646b5f6362","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b8d9b459be1dce3be7d91f5c0eb3a5eb38d3c533","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.76-joshbwlng-set-license-df16eefbca2a402b9cf33957828e70646b5f6362.tgz","fileCount":10,"integrity":"sha512-dhh6AiIkOHvMqLY/jjmpRlUdkOUAzE2K7u6uPTEvJiljfdVNPdsgxb9/TQ18pysy1hAHvNz7gwBmWSpF87855A==","signatures":[{"sig":"MEQCICLKio62sC2xPuf4vSg+MlJwwXfft5227qdlK7NVuxL1AiBtTRDYSCPh1gEKkZCVZVYkompUDCmoBjST5CR5T4aWmQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37145},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"df16eefbca2a402b9cf33957828e70646b5f6362","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-15T03:15:07.535Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.76-joshbwlng-set-license-df16eefbca2a402b9cf33957828e70646b5f6362_1636946231200_0.663157860096306","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.76":{"name":"@balena/jellyfish-assert","version":"1.1.76","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.76","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"63b0a68d7630cf51f227d05275e2fd0b29e901e8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.76.tgz","fileCount":10,"integrity":"sha512-HTUqOgz0wZo042T9umRlyoVrfaZScQGDzbp4NZN3Yn2IhL0jRw8RTJLhOeHJIwyfoBtyH3UF0MWp9f1Sr8xuiw==","signatures":[{"sig":"MEUCIAF76EKF4UrkcxgjG8rSHPNeffMXCRAwDaM+xwReF4s+AiEA0nAfAUbMpEK6IHnGJo5H61GLkXbh2Wfk2DQXgLjwze0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37082},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8c3556a2a51ecda300bd3387460dfaa85fb3ba7c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-15T03:21:08.353Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.5","@balena/jellyfish-config":"^1.5.8"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.76_1636946590622_0.02661305392112956","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.77-renovate-internal-patch-c7b6f454e28a0c3f4b47e6058c69be5ea9a2d7c6":{"name":"@balena/jellyfish-assert","version":"1.1.77-renovate-internal-patch-c7b6f454e28a0c3f4b47e6058c69be5ea9a2d7c6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.77-renovate-internal-patch-c7b6f454e28a0c3f4b47e6058c69be5ea9a2d7c6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"325bb14a4d246a812dcec538261b690d91f468ad","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.77-renovate-internal-patch-c7b6f454e28a0c3f4b47e6058c69be5ea9a2d7c6.tgz","fileCount":10,"integrity":"sha512-8Hkk19V1I4CWyVxGsltu9GNVl84qtiuDnuXW9ilIjBZ8b1NEVj1w/8NgHn06Q+4eBxBpV25/wQwvTYorAlcpxA==","signatures":[{"sig":"MEUCIFXWLgdl+4AExRnH6L1lyiw4XejqH4+cu4W8nkblJmG+AiEAmhKfuHb7YJ1qiYOQqTUZ+/BxJ3Ro8PlSA+NicakLvcY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37218},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c7b6f454e28a0c3f4b47e6058c69be5ea9a2d7c6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-15T06:10:58.308Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.7","@balena/jellyfish-config":"^1.5.9"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.77-renovate-internal-patch-c7b6f454e28a0c3f4b47e6058c69be5ea9a2d7c6_1636956818125_0.780844854508842","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.77":{"name":"@balena/jellyfish-assert","version":"1.1.77","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.77","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e1cd1cdd2ece17739f5736c827b52c390810e7bb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.77.tgz","fileCount":10,"integrity":"sha512-M5cLp7l6CdO86NxpRy9Vio4oz3GueTETXeuAQJv6YZqLfXQscPXSQGIBlS0ETX6oRr83b73Uiiag528Jp9GRGQ==","signatures":[{"sig":"MEUCIQCBD/RW6VL8yNp1liSBJ4I9LwEXYx0z1XuLb/JBkq7z5QIgCjRSfDiZNYJpqmtC5GlBSDp04EOeeGtoOIxhhCcTpnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37153},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1eb532d628d1949d2de0751b9bcd280f61ee5706","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-15T06:15:22.138Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.7","@balena/jellyfish-config":"^1.5.9"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.77_1636957028945_0.893699562988217","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.78-renovate-internal-patch-10b62e71fa90f7583afbb13006a915908bdbe3e8":{"name":"@balena/jellyfish-assert","version":"1.1.78-renovate-internal-patch-10b62e71fa90f7583afbb13006a915908bdbe3e8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.78-renovate-internal-patch-10b62e71fa90f7583afbb13006a915908bdbe3e8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7cad706125c06e0b1e31b236d0560a3ac8e42f69","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.78-renovate-internal-patch-10b62e71fa90f7583afbb13006a915908bdbe3e8.tgz","fileCount":10,"integrity":"sha512-bfKkj6w9hgaXNSc0eu2xq1AiktokcYwAhBgmyQgy2rfh2CvD/HokJzP2XsJkvhnw48TlCH01EXNIkOKQY8XSJA==","signatures":[{"sig":"MEYCIQCAzYgtcKJTUwuSULPQAOAjIFLhs61e7iomrs9sCApmeAIhALymdTj/PBUmz43e8DbofqWWFwYeapXXKimfMJR7CIIQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkv8DCRA9TVsSAnZWagAAV78P/jQlkx4hk4ZVijnIM0E8\ntKYJiyBBT5AWdqMOaS31c6oavyphDw4r/5+3Di2c18ze+bUcQ392FHGmKyN5\nxF7mnMkqvcEO6tYbifss0GA3K52lm8gBenMLmL3xSz79wMSObdWoXoJjsqTr\nHyEZC41aV3HvU9TcW+YEeLpNzjwuy64zYTxr3Ew6sw3SC86F446nY5dOGtzf\nGXlsS+8CDeIpgI5XQLZmRMRNtE6xcxi+EC1vWSVctmtPzE+GIBhzbnU0WDUA\n8H6SrK+2YlIG8xjqQEM+MG9iRmVxS+GpwQnNvM1ixY45YOSW72AyUWpFamvl\n7fP/zCatXw+EW5pW2LOvHxsSWIh5pGwCK4v7c2+LalzJNq8ilYBFiJYRWk5c\n1IcrdrLUh5wrMpm/PHPr1xgV1knVoDcQUIh+vjVj5RLAwQTMhHG67nzH16cH\nuINh3ugY5HZhQdy2yqTq1xKblQUCam+Lo5pts/hh0WOj1mjgv+dK6wmPWhSt\nlxHLqfjOqFPgiYaz7wnF/bUoguz7WDi4qQDaLf9bSEILwN3d4eimpFx/oHT4\nNPMeQI/zUFfLbQzeaDaalJbdbxYw03/2gnxBLkMwVOTXVQ2ev69mQRFslqkK\nGNcByvbcH6Fm6bxN6tBCbg5pYBCx7br03dDRdQawYY6WonHAqRBAA9wgHzhL\n6EKF\r\n=QRKH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"10b62e71fa90f7583afbb13006a915908bdbe3e8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-16T00:41:46.470Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.9"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.78-renovate-internal-patch-10b62e71fa90f7583afbb13006a915908bdbe3e8_1637023490852_0.6791333642763842","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.78":{"name":"@balena/jellyfish-assert","version":"1.1.78","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.78","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0aa91012f6b3ba04d66c2a345dd2d8cb92987165","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.78.tgz","fileCount":10,"integrity":"sha512-v7M1pwCLq7XXs8lwg6bZYLLfgRAddJ/nNZXGaKtqK+cT7NXixsmwYzlOgCbwSbwR7mGc2ZckXLPlLzTdSnP6Mg==","signatures":[{"sig":"MEUCIHT6/HDe6u8jSJdKog794Ui+3Yveyj3iZCfeNG0vRmKSAiEA2roy9buuPu7mdZgIPt1Bt71vj21q2mjW3Hj5Yv+5Jf0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkv+yCRA9TVsSAnZWagAA3j4QAKDhtl4wT3iC+rpyuUdj\nHK5gXp3gRnwaWBbAez0V+n7yMZ+6fM8dk/ZraMk6tSVJu6ns4OGxBjcTDuBB\nzDO/lOxGtyQuetYVF207Ie3tw63uGlnTAxV3T3mG09oi3CukMIdUkFF6m/Ot\nZ8mDv6bxNakhRWXvzHVA/h6IbvBuqZlZeVf98ybMdSbRBKElBtwN47VLTKZe\n2ueeNR8dwyG0B13ePH2G/LuuyTekoezNIMQhVFyXgwYkDf3xn4bEv8z1eQhi\n6PbzNATyX5Sew5hHV7jDIq7qH8wnpe0jO5mYgdNk0J+iGnIpXM629+tYnTwV\nbYCdMLE6S7QoFxrVb5JbrnFNTAklfYRRlruDoZgLIJrwENQ8OP6cjt7XLZt/\ndVGE+hbxFBKiY+oSd6MdbBZNB0CIC2bEVVnxRqMv/GkrlMhHrJGhOcOXJr+B\npoK28+cMs9mGycZEzXpGCUI7Re9wIlVQVL+/++K8b2LZXEK8lr0szbwjnNIj\nqTduezjXMLn//+zFob9puwziqogeUJ31qJaJ3X5UxCv3Dqc6+jLaKnBBZHz5\nme2hWuDfqNhSFx9BdHN+sjiP8E5unIWjG05E5j7+xfTOaVszwUCKiQInb4TP\nOX+CBRh+rBmM6oeaTocMTen/zHeYWJf0lAKZfwdBoZ58pX9ryULdyMQHSfaI\nxopW\r\n=+tnP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b0987b046d5a5341ce0db25ca58735e429cfcf02","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-16T00:45:52.036Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.9"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.78_1637023665924_0.18331594135934992","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.79-repo-sync-jellyfish-config-default-ec97496913e7bbdc753c7bab243a49b4b3ce7b1b":{"name":"@balena/jellyfish-assert","version":"1.1.79-repo-sync-jellyfish-config-default-ec97496913e7bbdc753c7bab243a49b4b3ce7b1b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.79-repo-sync-jellyfish-config-default-ec97496913e7bbdc753c7bab243a49b4b3ce7b1b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0622eb75c01791b361838ad9380fe2fabf5f9d8b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.79-repo-sync-jellyfish-config-default-ec97496913e7bbdc753c7bab243a49b4b3ce7b1b.tgz","fileCount":10,"integrity":"sha512-qSXTIKQd4eqtxCwajXvqZzF3oFIjIUv0WOIV6yBRHfBOJicGAE4OvDJ6/+IkofopmeptuOXmTEIALvpWTD8K6Q==","signatures":[{"sig":"MEQCICPrmYZD0wtRO4S+Ah6oUAOJ6/v1DuNacLHcCc2UxOf9AiA6PY0l59H/SrHGD1cObDA4qjCJegTF3upGOkZWZhJ0bA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkxBcCRA9TVsSAnZWagAADvMP/ieuE23+biLAH99wgWDL\neBUzaK0UPOMdUA477AvcBNWPE/j0nzqghhP2JSNRUYox37XYxsmcpjSNG+QZ\nEZ9ibhvAYxsRn5EQpFsGw5iSyyWl35AAiMWLMOhqXb5VIZr7f7i58L++rtit\nzzWLYdrWWIvIRXSx6W9T/3TPT1hdvjxuj4DDcAZGQMDAL1/KdHD76QYqKZjm\nOuYyIExaT6l/VjzajT3b93ryyVcVb5FrG8JqQ9K8glkyzpcRWmIwkqe71dHe\n9Hz6SW1K2XGB85M7VpOmOD124oljmk3v1k+yhPMEpqsRWnuwdzU2kd9LxdYo\njklFRoA32EbnL5y7YHlKQsQKmVHpL+0tFdNYR7n4EPHtL7mgmE+WWbgI0ZCJ\nZ43/2YLDx+k+iDwAF2LIuyZeYRiT8X1Aul0lkkY9XUhokiPlfAZUG3nWaoVg\naMhxTQkvNc/3KEp+DipeOQ5Z1jUxItaj6/pj2DVSkStY9goqBxR4hZGlEg5L\ndWbFoGra89q4OW71b43P912BuqFLRpIVecKXDiqNjqirxfO1NobR33ryEY2V\nOZPRazJr8FvkYBz7xtTzzB5Adnr6PT6uSrC6E/gFf97U4GX6GGGSPMawy1xM\nUx1L4afj9yxSbzRm+1d2zn74fgACNQdFv7MJeEehh6J4f9xtZMj2hjzcFOmu\nW3xx\r\n=cak2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ec97496913e7bbdc753c7bab243a49b4b3ce7b1b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-16T01:55:22.181Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.9"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.79-repo-sync-jellyfish-config-default-ec97496913e7bbdc753c7bab243a49b4b3ce7b1b_1637027931891_0.5739843034557719","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.79-renovate-internal-patch-91791303d2b3f4fdbb601044eb77becc967f195e":{"name":"@balena/jellyfish-assert","version":"1.1.79-renovate-internal-patch-91791303d2b3f4fdbb601044eb77becc967f195e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.79-renovate-internal-patch-91791303d2b3f4fdbb601044eb77becc967f195e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"105951a65015531f8c1331d8ed7c8eecc3dec4ff","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.79-renovate-internal-patch-91791303d2b3f4fdbb601044eb77becc967f195e.tgz","fileCount":10,"integrity":"sha512-vi8YmMiVnBscbnMCQO6LyhTjyTr4gOlYPHVnj67mflek1xfaZz9eEdCAD0+UnGy6BagjyKIyilvhkxXGv+POMQ==","signatures":[{"sig":"MEYCIQCJDEurDXllETnXa/w8dj/C5GwZLbL2291w6/FYuc+qFQIhAM8fFJ2yVtcLrs/agGI32Dxf9pehtbLlR17ibX4/LiK1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkx/hCRA9TVsSAnZWagAAr8IP/jrZdt7A95/UbQEkgH+O\nhl7jYgdKxjQqRkPG5a8gSq1CRAdCUqYRya+VJsKquDZe6RE0aKmlvNofMUAV\nkD2s1G1OQ/+FF+g6SXSn8fGQeoJDsaQKbBFZioFEp8QA2kLPrZxqiPmSAigG\nCzp+PgYDSlo1P5JIMHQK4wE+fnoIwAgVRcPdryKMf0pVWl4cFABuH8YwL5RZ\npVHWlwblMNokgF8hj/aJCixlUCg34Sr/ww1tZIDdTnUGWbMOUIzvvuN16mOU\ncnJJ3CO5CdQv0bYQ2CoiryG0ogtFM7UC2iLEKahGizdX04jzRTtOwElkm1QY\nAx6HNqWatpVDgwCyA5rlOq11jpRXDyXnYkqlUVmUFuNvOzF6mdl1iHnQTv0B\nSaTPhz/aL+F7cIZJQ13QQvZqK/39DAYMpeiqfPYcNIV6lEQSpVkkHkJ9eGJZ\nweCrrxBsPl1ltGtqOLf3veWtxb2tpbTSc7EI8TKvwUZsllUJn/O5zfsBYlr7\nJ2S2JBjoW0nbf7yOI8jjbnbkJPe6HbgoenD2tnrkgDRK698dGimVu+V/B1fa\nmJBGWssvR3UIUCoISr1XUKeB6TMz2J8Ly8HBt/Cv4xuDYOdhlf3pTRQ+sBVX\nGPv329w/hmbpVU4S3LTAsF4KQk8m3PkGAzPSy4q44FsbWnrLVvA295wTtWQC\ncSFC\r\n=LuOS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"91791303d2b3f4fdbb601044eb77becc967f195e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-16T03:03:06.898Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.79-renovate-internal-patch-91791303d2b3f4fdbb601044eb77becc967f195e_1637031904931_0.4939797999205997","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.79":{"name":"@balena/jellyfish-assert","version":"1.1.79","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.79","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f374b06d2d780b2b81ce0c24abcf00813602e065","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.79.tgz","fileCount":10,"integrity":"sha512-CGqAMBe4cN4hdQSkuaRtx/FQffC1OCrS/b/Sg5nqUIUyd1R9jVaGSD6wiO22OgynD52CqunLs+u0LPRsm/Cjaw==","signatures":[{"sig":"MEUCIQD6EgFiqo8/uGcGt+P3GgYSF4YPSsIfMhaQh2XUASQGfAIgWRtIh+9WeV78SFTJ5ZXjClJ40jHWVoaZ9vFStx+O7Wg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkyCHCRA9TVsSAnZWagAABY8P/iPZ6UhJKdaCM3xmTNjs\nK+vtDwDEqkj5C7ZYVGigO9exJKAvQrmlb4ivuAjvXKsa2GCQDXgF32rOU0l8\nEg80DWrmcwuk4JBpDmRL+nyLTT8kaoa/UViB6usQZz4YD9EOIh2qrAgw4NJB\neQuJwh4f4d59FcOvKeUj3uvR0SMEfqwcCAxCs9u3uyw7x3sjPOiFSARgpROv\nbmld6ynmLDryq/Ty17z+xqMPjgrfup0JxstSKibCCQtsgyRdx8OHdfBvfOoK\nFZJwqV66vq9UlewWY2a1HDmQ/0noPk82I3+jtfVRwFkoykzhxf5NcNsV0ElR\no+deFZYWu9zRAjv/Dq62QcD8xAH9LL8Qa6U7X6VrQgyUOEdr7vWqBjk3h3Hg\nuow33gng5w3qjkNiAartuyrxeG56RhL3mztPMwHrv1K7FZIDXdDq/acsAz9y\nm+P7fDD6okwoOEQA9umsqpJ5EFkgCA4jabox5uVH16qnT8855dsjrZrbcXo5\neGow+fWfEiD96uGtsoKGB7Y/l3p27o8mW/XzNisWn2rKql/8c68EHQfPd5Ey\ncVf8FkVnHiwInxWOIrAfDaxAAJ6kJ3j/pUYlE63d3KsEee/CaSfMsxBPxdeG\n3fRYYXmfw8CHFXC820xgw413RMxpqrXTnbxWJLuLkJkM39VVhh1LlynwA9pm\nUopu\r\n=G0Td\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"55760fb41f4792cfcf01d2d286e2eb3c7d2d79d4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-16T03:06:03.468Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.79_1637032071135_0.42844205888457254","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.80-repo-sync-jellyfish-config-default-b8fa54e818b4d9c305a6c1047f4c3bcc123a53b2":{"name":"@balena/jellyfish-assert","version":"1.1.80-repo-sync-jellyfish-config-default-b8fa54e818b4d9c305a6c1047f4c3bcc123a53b2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.80-repo-sync-jellyfish-config-default-b8fa54e818b4d9c305a6c1047f4c3bcc123a53b2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f7c9d5b8eadc1dbddcda8d54c049792ec7ba8e56","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.80-repo-sync-jellyfish-config-default-b8fa54e818b4d9c305a6c1047f4c3bcc123a53b2.tgz","fileCount":10,"integrity":"sha512-qMnmI5GcPTG6ytS+ufjuAnf1ZydABeUVWHNf7YoqC6wtXRoZDiqaYdbMpgravh0bRde515GDtAHs8FiPhPslnA==","signatures":[{"sig":"MEUCIFL7Xo45ktQi3kFNXeL9XyTTPQdWLl4Nd+p8h2hlgX2BAiEA0OLWXgfLl2r49cMddJGqj4C3UDqd17dGQG/scCyk7L8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhkyu/CRA9TVsSAnZWagAApQMP/R4dNwzqPjrKrLNo0R2N\nlcq/EIPS+GLvrh0kPOyYqA1ZLd0zr+BaDwXGKIEV77pfNcI/5T+BiivujqcU\nnLpcrmfXgXDZo2v5N0bcpnuiRbXDgGV/WqihDbmGP3MnknNIZSEAbpGy0MFM\nBssY4Vn8lNX4J6N+4p0WmNChMw5IT2i4iHEfS/nBD/5e6sUKJc0hmG1iw0KK\nJdLEnA3hPYWLJkd6Cyk/rOiYvE151wpCiyE3go3NS9TbqNwKM4CHwi0PHEwq\nflKrvM0Hi4z12ZZAsFQA94rcCzsmT/mPdaEdCu3Mi3DJWm/QKu+g38GbaHT3\nTSoVg7hFlVlUriVYZ9rdfgUmRqC530pmseZ7rmpcRPg/OAGWY42QbAYl+oKr\n1r/6Cla1cKprnwq1I3LbIUyYy/RbXGXaJc+1VH5SP5elUqXX+iDebZYap31v\nxu86vWZ31ZTbWFt6mdyLgbWeRqXNodenSVM8r2UcLP2kNceSSL0Nsjh0xMgb\ntzgl2UF37hmXUGtHO63wB9reHjSYXhzpC8vvM9tBlD/tBLh3xunhwF5phDMS\ntssaZ6H6ltVAnaP+sj5hUOKRzvLoSu0dy8YOXS2U8RdvD6TAazWGGfvYHlBe\nPwepdQr8dreyeCU4N6EZHrC76jKtyX7he9Cyj84PT2w0iOSySXHdiNP6EdJx\n79eT\r\n=4hHl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b8fa54e818b4d9c305a6c1047f4c3bcc123a53b2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-16T03:53:10.808Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.80-repo-sync-jellyfish-config-default-b8fa54e818b4d9c305a6c1047f4c3bcc123a53b2_1637034942911_0.40072662466629305","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.80":{"name":"@balena/jellyfish-assert","version":"1.1.80","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.80","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a12892c79ee647d691ea6da36ae96fadf756d7de","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.80.tgz","fileCount":10,"integrity":"sha512-jK2Btfp+566wvPtghld0Jy+T5ETQrbv77a/5m7o96ZZ5EeLq0SJGxNmGm0c4/msIiLLheb1IwUiI29RGzdS1Qg==","signatures":[{"sig":"MEUCIQCiDvAOcriBb3tqraCvL1bOZHZ4QVwhOnvlnt/e+usbygIgZ5A+MairT94VRMG7eI4++jWydAi4OWLCSnNgJRYi6N0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37445},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"897b4d155792cec4ee93bf305ac7a7cbb8d9b334","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-16T03:56:47.520Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.80_1637035125413_0.05980304316681395","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.81-renovate-external-non-major-0bf671ff8fb0705703c6679a20f6ece7ad7e0f1d":{"name":"@balena/jellyfish-assert","version":"1.1.81-renovate-external-non-major-0bf671ff8fb0705703c6679a20f6ece7ad7e0f1d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.81-renovate-external-non-major-0bf671ff8fb0705703c6679a20f6ece7ad7e0f1d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cc64446ce35122da375cbd126050752d34eb1532","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.81-renovate-external-non-major-0bf671ff8fb0705703c6679a20f6ece7ad7e0f1d.tgz","fileCount":10,"integrity":"sha512-EbdDlb1sRQR9RHW4nibpmYpjG0bJMQRvVYj+Zh3bKBJz+x1ej96LNVzzjuR/XTlMQV9kUpLWDHB6RV8UStTmmA==","signatures":[{"sig":"MEQCIFPfPirFjnuFm258vVhpuKpZFDysPmYqaRv75m1rqwDbAiAHdz0bkpJhD80CMXGXa/xibsALklX9nV1oeEd+hcARhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmELOCRA9TVsSAnZWagAARJYQAIKXWTIDv1tBJoOcnYuP\nGsvLlMJ34Cupd/pGAfGZrrl1wPh3qoCm5l8wnHo4fn1sB26vSq1hqhjqdBRC\nPBqt6QZFrvreCz3lIztAeuFyylV3oOlcWaTztIZjtWTNWr4tW1/4I3SvIRMk\n1945szkUOts4zH+UVb4/kH42r+KTgwZz971aXDGAO5UTKVb5rppRYytdwA33\n5F8T/5C5fbPnpsbEIMywMy4to6sqmC1tko3fYY/r63GojC+xJpHWkVJF6+kj\n7RPFd9yXx5OdKY8li/T8UYWiezQSOz+zlt0D+jRCqLq13tXZ6ajA4aKTvK3n\n93tRE0jvb3QweB65Y11blv+A7EfSJH8nG9QSTJn3l3iOAPoBIyaVSahwuhKd\niR5ldNMpYFL0zgQT1afjdgHCUzo8VkBknR99gM2YuopDevEgJnQQbIIHS+dx\nf1V8LNu0kE7aSHP+i1/Zf3osNCR6aEHkBbHxn3eGtbFuOiUCAL5HAmTk0x8E\nuOh4Uc/i2VAZlI6qDhge6SUaF8U2Uhki9tJZ7gAL+NLTh/swB+VW1JzPXuam\n+h/mJwqZ91NbN9ZZrs9ujPWkv+NAvcND2NAdjC8axXowGtirPXwtnarSCcd5\nF0na1ILkMAqLMnlMen95B+1F1WYafSo0GjfpFL6Ed4KmHg7xoQr31pjpW7VL\ntXZm\r\n=9fqJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0bf671ff8fb0705703c6679a20f6ece7ad7e0f1d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-20T00:33:06.945Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^0.1.8","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.81-renovate-external-non-major-0bf671ff8fb0705703c6679a20f6ece7ad7e0f1d_1637368526486_0.10220604436418923","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.81-renovate-balena-jellycheck-1-x-5b8d7a7ad45e81d0ad924f0bbac17b8b631fbac8":{"name":"@balena/jellyfish-assert","version":"1.1.81-renovate-balena-jellycheck-1-x-5b8d7a7ad45e81d0ad924f0bbac17b8b631fbac8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.81-renovate-balena-jellycheck-1-x-5b8d7a7ad45e81d0ad924f0bbac17b8b631fbac8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d820c70c160f0da1d3b2038ec44c429f96aaaf67","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.81-renovate-balena-jellycheck-1-x-5b8d7a7ad45e81d0ad924f0bbac17b8b631fbac8.tgz","fileCount":10,"integrity":"sha512-icBdTmIiPjUmKFhJw3Xfa0A2VCS52rYX/e7iCQQZz0dVXoboXIJ3FRWdFqUeN/Klops8QEcKSthD7dPf1hR7Sw==","signatures":[{"sig":"MEQCIBCLeD09UCyunrW+Nc+7ILeqj68Pvy7fi0HS7pQQpk9jAiBcy2e0BEJZVbyUQvlx2Cz3930gQa9NmJzob8PIPpzclQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmFvtCRA9TVsSAnZWagAApxsP/AgjqNzyzceLm5u0Iqq4\nXBaptmP+OHKSxpYwFqSxjPmAVO/3pZi6xyW30x5wK89JjOkV8+RmNYrfhHl3\n9HKEfD1f5ki4Jw1umDOI5eNGfMML1Kob+5f8YWHTzawyfte7UD9/lfelP4QP\nlZZ0uvpffAD2Q/q8uJ2zlunvibOgfBF3Uxflm6lCNv8EYZ9S7b+q2FNQxACI\nPmP1J64jkks0GvY0/n7iY84cYadFzN1c+iTQIziPJzZDEviygL+KJ6gP9LBD\nyo9eCeHpFxUdxlxuDtlr1sTaDwAfAYY8B8ty9bU28NBC2QfFeKW8msXPWSSQ\n1imqwpOIN/2NEu6d3jHqO7eANSm3nvLQ9lMP1jrwbRAiUHGdIXRlVKzENpy1\nvRJWL8plDNsV3I/2hAKsNvACR2vuDiXf3r3Y5roNlbY+TO5xckWS0qsQlhC+\nAktvsmla5sb1AEE3iykKDxYl33Kk1w18e+XabIlZ65PsiU+WAKUGw6jFZjsX\ni9YYhE6mDMBk7IQN/L2rQDyBGfnkmfuRhQDj9YrL02Dqz9HB8MsLGZZSb24X\nBgGcRY++0Bc8tt0RDc5wzwPF8EnlQH0JT2nP5KuntJRlITU9ENygwn8DsRHZ\n9L83Jq6hAvakKejINTgFrsh77kk3hEMSfzssJDGczL39NjzjUGRhnaaa0wEh\ndSF/\r\n=p//f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5b8d7a7ad45e81d0ad924f0bbac17b8b631fbac8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-20T02:20:05.168Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.81-renovate-balena-jellycheck-1-x-5b8d7a7ad45e81d0ad924f0bbac17b8b631fbac8_1637374957233_0.17930537351147402","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.81":{"name":"@balena/jellyfish-assert","version":"1.1.81","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.81","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d9fc1d0827cf84f94586667e0a9da1d61ccdf6f3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.81.tgz","fileCount":10,"integrity":"sha512-MwJaMoT6mOK9UdHgP2aQwv1HMkn5iLCB7KN9dApkl0pqN/PYjLp5frSDohw9Nj1W8iVrjdp+vGiDeoTZmq/mnQ==","signatures":[{"sig":"MEQCIHl/5ZFa7DGq6xTu9cayHPeDE1Pfal3Y3YGBP1sjcRCGAiAYFGGJISHJJJS0xAqR/JgJkpjrMmxrtX8qUlUKAePjgw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmIaKCRA9TVsSAnZWagAAFVAQAJcpJ/Rc64F8zPOjrxci\n7ms430QeLcQQ5gV+XZpm7iAunbsXXsYt/foal3H2JkS4mxKjjHd8zYukR6yL\nmk9ge1iYh0gji5rLW/nxB7b7aCIvYY3H9ihW8fnssqdWX70GK5fCnV/6lQsL\n+BwIETmDSL/ibcVpoTMor5k3lVusDif824tBkaoA2/sUI+98GpJtfW8AuIKH\nWnRbbqwKTrR6G8k/vvEXf4CBC6IzhabLWxMSPYKXmNTSeLt9D9XFJArm96nh\nIpsh2ZKE+6H7dMMnDsSupZWnzs8c+kzlLmEMwp1WQp/NnMQi5q4WEQEIe7ST\nkrnH8GIa/gqSdbxWYcaY9bKFTpK/++HEl2S89U6ja7GzmIbBai/xXbvZNcPu\n+rMbP19pmkfX8WRUXiAhwqRTChyr7gdTs0dBTLQRaL1hdByx1f0KST6T1J+m\nwVflVKvxZ4/8BRoHrNsy/n2DI7sPE0/w9OPGZRXED60LBvH8BOEGnF3fWOUl\nK1vyr+9ydVlEnKk5F0glorO6svjsrNjWhnUkCIub7QE53/KpY48J6Yj7ylPj\nqpHRA48sGB4RBghxZ3w2/c+Vqgtr+/1RTv/Rh5x3OQnSPMp1GgfNLNeJ1aeg\nqtzJ2nTVcwwrwLCN7js0oVAfsy1UIdZ8XuqnnQBwhYspayLnWAdoo/wWm1hk\ndmxj\r\n=4At3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2f4110c7986d641a80dc7eba4f395e8e90fa2ea4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-20T05:22:43.055Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.81_1637385866572_0.8650454495524944","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.82-renovate-external-non-major-e4504f295ccf75d619674f3c49b65af2f4e93a17":{"name":"@balena/jellyfish-assert","version":"1.1.82-renovate-external-non-major-e4504f295ccf75d619674f3c49b65af2f4e93a17","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.82-renovate-external-non-major-e4504f295ccf75d619674f3c49b65af2f4e93a17","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2c0f1663c7b1c11cbd362690523821851ce0451e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.82-renovate-external-non-major-e4504f295ccf75d619674f3c49b65af2f4e93a17.tgz","fileCount":10,"integrity":"sha512-n6itiGFS1Z6YZIDZEcjlw1ne6SFeJIf7fE6Q86SdLEkPA1+KW3J8QAJJab+t449DKu/m4AL0SPhxRdVnCEiIMQ==","signatures":[{"sig":"MEUCICEfrPciWo3mAWvd3v7Tz9nQrRwAZ55EprWyJWEfz4JZAiEAg9e+OhuMQl5aXKi8YVTgSCrsJD/F6Ns44YBYDTFUggk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37681,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmIduCRA9TVsSAnZWagAAMEQP/1NaN43+JEfGTB3u1pmv\nV74+lSDgh/VPYdyePZCcqr0LkMIBxpvJgOk3YWThejJyeOjN2eAmmFlgQPzS\nQHcsjS/V5HB6q9gfibwXGNblrnYBgVK4anqkqFvnkaGeS60AxiZPJJdzU0JR\nG7frqd4i5n2qx01Ss9Xqh6SRXeHW2XVYY28xK/vbcYt0NTT5/VQbS1x1+DUe\naH78yVDQUHszmTv10g70FHwptAGJY71Hmu4pnvevJqraWOIAYIW7wlnLGkwW\nDB7ds4xx8Z20jwkMgHOK9acUV+xhQkC+B30tK7Vqp5KFvsZ25SCWsRi5k1W+\nGnAJX1AQun6s7tKT0AQ8NsrJzgbLersKYqs9FzepYOhgqmKTsuEk6QJfRJJv\n2wAjkFvupSXVuFDga1+NQe4lXBucKu+NCqj730gLEx5SgU9+Lewq/2nYWhRr\n0a1TWMFOc/mmaU6yBJIKvgZwAXOpihch8pUbWEy8kF6jcMS2j5uwniVeHXo0\n+J8xBvKAp3w2t5aQpRpaCXdlsnWziNB0jIhdCpik/i5ztOyMplsl5LlVqk3E\njruhLn3wpSff0L0h4B3F6DTsDXKJTW60uNPUZr4KhGsO4XFXeV4gfUzj3P+I\nnI4qew47VrH/akef8vaH4SojK8YbNS3U9cwE2exHYN96k5aFD4tHRdQzK1JF\narZ/\r\n=jeul\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e4504f295ccf75d619674f3c49b65af2f4e93a17","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-20T05:25:36.773Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.82-renovate-external-non-major-e4504f295ccf75d619674f3c49b65af2f4e93a17_1637386093768_0.12741275642705951","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.82-joshbwlng-remove-license-headers-e97087c25360a39ecb5702e0906c5fd981e10bae":{"name":"@balena/jellyfish-assert","version":"1.1.82-joshbwlng-remove-license-headers-e97087c25360a39ecb5702e0906c5fd981e10bae","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.82-joshbwlng-remove-license-headers-e97087c25360a39ecb5702e0906c5fd981e10bae","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4a53a52033465823391316f5ea661ebc5f09451b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.82-joshbwlng-remove-license-headers-e97087c25360a39ecb5702e0906c5fd981e10bae.tgz","fileCount":10,"integrity":"sha512-NMX8Huct3RYYwiUEMrDy4Cj/LVCV3tyOMxjPuMnj5MRlwaFltXPIMM38FozlY8zCi69zcrlIG25gDzCOhAPHGw==","signatures":[{"sig":"MEQCIFuM9Wp3quNMvAs8XEmCYdxOWX6b30hPjyq67Qvo2oSBAiAEycQ3FaTNnocF8/I/N+GfTjS+ZAicCfoGZ2x9RnEVxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmKD9CRA9TVsSAnZWagAAfq0P/i2nfU4NseoNsYSdj7uQ\nTPWVNrM+P3z4urj6AomeoF6/VkgmQYuoH6PTsJ6hD/MKMEBvC6vupyjhdSue\nFf4UbhAeEON1uBlbc1tcWSDmmA+WEWRJKB8A7PHq++75sEHE+zWtl16QezC5\nDke2Yh8IzhBCFpKKG9AwPswajEIsAirN4xL8taq5U1LlPwiVbgTuhOEPgUEL\nq2eeO6BWI1SzzxiL5XNM4kI25ZLwju+OvW24tAnG0aarkLeo6ot3O0db9HVk\n1anvN6vpFT7RDjOpbDMXyYN92Ub5OVP4OYcUOtj4QBnwYVUNVYrTCafhhG72\nRPO33XmvxCdv9Xr3MRFGuOGErfNj/xKceVaJEiNvDJGUI24AEG11Vu3bwVOo\nf99F/+z9lVqbzsH/YoaMlwu8caniXqxDjMw5REuf4zrqlO/z2eOTqP31Rot4\nwcDJbcOS05UO52AXXHr+pSzOX1soZwyVNb2rUsFNEBGGgucL/lp7gw5X5E50\n6jdDFaR1q6ePfDyf1y1/DBUk5dcKKnOSti3juXWe3oKHrRHWWmLL8hbDXSV/\n7Okepc3SrzTpkLwle1MYrlM4KFTPNxe/3xcQv4dKoWLrIjSXXEogMKSOeumR\nY01+oKUt7RxSXUcp4XWyR/KR7FqH/daja8GoHHR2Vmx5S2B3UBd20CQwcxAb\n9QmS\r\n=PauG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e97087c25360a39ecb5702e0906c5fd981e10bae","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-20T07:14:59.344Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.82-joshbwlng-remove-license-headers-e97087c25360a39ecb5702e0906c5fd981e10bae_1637392637477_0.3993450624386168","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.82":{"name":"@balena/jellyfish-assert","version":"1.1.82","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.82","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9119dc091f47edd46c133123bb3033347716699d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.82.tgz","fileCount":10,"integrity":"sha512-cr4PnPub9oMGu2Tns8H7IiFDunAxm3fEoHjzJ1XK35brqe9iuk89SrIq+Cylz8EawRCRD+/gNGLtwn0nkeO3vw==","signatures":[{"sig":"MEYCIQD/JbzLm8IxaFk1u3Alc1UJwUoT9Kxzt5CKjy331avoegIhANi5I1SExdc52zr4jBP+gYqJRL6y+l+fSsrB9gvqfvlj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmKG+CRA9TVsSAnZWagAAsMgP/2WWZx7WNuPXws7UtzLz\ns8aEVJFMiEtyHTCCIitddJf9MsvKd8bbnCF+kpW3LeMJ9+qlMRRp4PZa923d\nHO/C3bf+JYhWqLmBw4RKanbpCDFEBcX7z1EpKZ4qICDqe8XPAr17gTC35GWf\n/DRHTt7SybZTAVv8sirWL4z/d2CIHK/3LiVGOXPbaD5ng1xz/5q8QLWJ9YDi\nZaADzExpSL6CrpjwpTZvEu+KBPjqwWnnaHiqt0CbkqvPb+A5g4SCfyx54Buo\n8ed2M2Lga8NdTyhauGM3l6tOynpzNqE46pLr4LgC+3HHgHy1CoyfaBJtq8VA\nrruajskXpcq1LEWq5rVfxlWOi9yEjTyhPpyLtc8LeWINDvlq8Wu9zDZgBTb8\nZ50dgVUqbAuP1CiI75atTto6ZIG9BRWoMkip+BTSTzH6R7d46GAyoasrKVst\nuzNdxTHE7cGriagUHbdJiAMLiQhbi4fITCoOHcZ8m1XqAkXVc0admD3CEz2g\n2cQwsgXxSaIKsXkJuHqQorskv3/iOob7J8mb1X1aqfFDMKThrdXvaIehwmC/\nFPUc+PPQsVzH8wQjVDzobGM5U2ABl4r1qE3vQcV0+flP+f1sOlGRK1MxZK54\ndT7MAsSOEAT6VUbTcsCspJpMIxtxn1rqXINnjQUw8iGy/MMY3KMWkUabAMTN\nZqjJ\r\n=d/VI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"14e971484b51ad160bebdb76841604a381628fc8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-20T07:18:49.327Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.2","lint-staged":"^12.0.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.176","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.82_1637392830547_0.045043729328196225","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.83-renovate-external-non-major-11cecd42df124cf6496f346c2c218a4220441f59":{"name":"@balena/jellyfish-assert","version":"1.1.83-renovate-external-non-major-11cecd42df124cf6496f346c2c218a4220441f59","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.83-renovate-external-non-major-11cecd42df124cf6496f346c2c218a4220441f59","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4aa5589cf347d46023dcab400a8d8c3d13db120f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.83-renovate-external-non-major-11cecd42df124cf6496f346c2c218a4220441f59.tgz","fileCount":10,"integrity":"sha512-JceoSvJPSs6NYNG/CuqXOLmWsXJJASXmbncIp45NFqDIdHbVFbpbTQ3lG0b/tLCZQQc/uL7Y8z8ZFedZE5qo9w==","signatures":[{"sig":"MEUCIQDeTKt6YeJipRJVkK4n0Cu+VXSuvz539Ouy5FoERSD7iAIgC1R2qGTf6d2EFCUcr9Pr/udLdLHdfCkvfls7Z6BxyUI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmKKcCRA9TVsSAnZWagAAp5oQAIzzH8FfVQrOO20HO/9F\nX0yRZmn/eQi+J1mJfvANOozm+QuMy5fE6fOkvprNaJPGn6nkHh7uXjI6IB+Y\nEuF9NM6Lrel3hYoaiOd6YqXTg4xfFqEBgll6g3QuMP1vxC3+9C3YXnnwgR79\nAa6pzJqje0Ckbc5xSDnU5Pb4LV8uO3hdLiKBCvDv2Qok3ny4wRu1IBh4FbAC\nzfPeu3G9E8kJJ7b2Sw/sNmzsZFodpIFizhoGpl7sDe0oZWkeNB8M8ebU7vEh\n0tozGkYZ14GVKUBjaMk1ADOcs/tbMNoRjYHmYQBp0z0qPfud+SVRR6uz9uFJ\nJFyRlQ0lv787PB1/CS0sTXlZp9hE0YCa0g/JlOTK94sMJ+8TgbPVTSbY4q7y\n/gWy/6Dfvd651/2xI6qOccC5NbUH+ALj/CJEwmla/fLqXbyw9ouu1UpY7VH5\nDQA8ucaeeR5feCAMrAx+46wJU/0dvsuh+O91bdgPESeFvNssXZtGEuKXuFHC\n5AgV/UAigGS2rFCI9QJ6HM7GbEM0ViSmPtICV6c+P3DZhzjvhg89NW3Gojr+\nR5KIiWO/N7A7WB63adeKaVh/0nJGSrLK3+JejM66JlW6FURhc5PCOwLZGMuf\nacrXMgZAUs9758cppByJkYVf+jJtxHrjiYNfA1JCrxVrP9R4dS+xORWe2/p8\nYzDH\r\n=GKtJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"11cecd42df124cf6496f346c2c218a4220441f59","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-20T07:21:45.408Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.83-renovate-external-non-major-11cecd42df124cf6496f346c2c218a4220441f59_1637393052224_0.06962874906169492","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.83-joshbwlng-bump-deps-f48b349d5c7d7fc67ebc23bf80168c42fa980f66":{"name":"@balena/jellyfish-assert","version":"1.1.83-joshbwlng-bump-deps-f48b349d5c7d7fc67ebc23bf80168c42fa980f66","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.83-joshbwlng-bump-deps-f48b349d5c7d7fc67ebc23bf80168c42fa980f66","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6a122d88fbfe47221c2c830e6775da3a96dd7472","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.83-joshbwlng-bump-deps-f48b349d5c7d7fc67ebc23bf80168c42fa980f66.tgz","fileCount":10,"integrity":"sha512-3wluTzsvD/nnvQ7hj8cTZF5QGI5GPc5k9sItksRr5lHynHP2M5JgOIlfqzMAy1wfrsbkGcf/vxG6M3XCYW7iiQ==","signatures":[{"sig":"MEUCIQD8KKMW7MyqAEgBsXWhmJ2IzETrKcK0tzaXyPZUM9SRFAIgEOakKc3q2QwCiBmcVc8QAOv7pn3J2bM7yp7Ldz4hSpI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmlnsCRA9TVsSAnZWagAAlF0P/A9FIhrS8Tn7Vf0NoNz8\nPvAhH6gtbL05OxF09q6X2eXW1miQMCP9vE5VhCPqRSesJBJzjyeouSyobsYn\nThQQaoo/u/IohPUdNTftS6cUwo1jGGkwW55mZan7XBtbNP1cGEC7cW83mP+C\n3B9Psg01o34QmyWEU9z6omrgLnWPeHdItwf1N1SFkRfRLOve6tvyEVrdIeUS\nH6dc3eXgBjUxl28G3bK95m58hEDPTh7TpdbogbtBrrgqecTwwjdCntiJURvR\nWLI3mhmVM6J8z5HVqOXzf9gYyIM6391y7CtXgwwu27NY95rXsmrJMQ1OFqXE\noOTXdf6SaXfqoGNU34wdYcvZPHoPm2zstexV4PbslwtzBqgBLUTBlyWJ961d\nsglfLvWbC83zGtgBXZTuAqdVJmG8Fwn6ZV/uxh/AfE0MHxHoplSaONmWOVOu\n2O4ZNzw2vrvj40b/PftGKPljeVb4lsOv1rqtnUOOp/7CHvdxmWQxDtQMzdyb\nTMAOg/Wpl+HzCBjGDtpbVFiIkHyS/dUOo7GfjfJGsTrqa2Vt65/wxS9XdmVV\nGhCQJdTlLntNAIZsGKnXDk0wHgk++6oyxfq0aWIkuofE6NMkpKaToUbV8qnb\nYyaviX6Gwq/oBvSnPh0kBl2fXaw8Qdtb/6ACyaqfkhZJSLu/4X/XpTlnlnTh\nu2/S\r\n=XvZf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f48b349d5c7d7fc67ebc23bf80168c42fa980f66","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T14:36:25.205Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.83-joshbwlng-bump-deps-f48b349d5c7d7fc67ebc23bf80168c42fa980f66_1637505516717_0.41572381755960475","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.83":{"name":"@balena/jellyfish-assert","version":"1.1.83","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.83","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5f1601176ab938d09a0dafd4d627e15815b69268","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.83.tgz","fileCount":10,"integrity":"sha512-vpYQ5ddJZ+aUyDST+PzVLOy384ZUlgqntrxzVj39uarNGXVeAQrPBv3BoT2Al0esIC4RxnYNopRPLkztTg41gw==","signatures":[{"sig":"MEUCIQC7ltiOnG/Q2uo6V3nJ8QeqrGf4KLFoMbBHBEux1baBIgIgdAwAyZ5ox5gUOyHso+gf/pLPdfQv/RfU2j26qShUspQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37305},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ccdefb13838a4d4c60dcfdcddbb2aea92d05eab5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T14:40:18.757Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.83_1637505730077_0.02103115041949155","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.84-renovate-external-non-major-0f8cb2971fe5a78197af91ec27235a38e68e3899":{"name":"@balena/jellyfish-assert","version":"1.1.84-renovate-external-non-major-0f8cb2971fe5a78197af91ec27235a38e68e3899","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.84-renovate-external-non-major-0f8cb2971fe5a78197af91ec27235a38e68e3899","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2cd744bd9d57b9a9e76b2bff32a762f82d4d0538","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.84-renovate-external-non-major-0f8cb2971fe5a78197af91ec27235a38e68e3899.tgz","fileCount":10,"integrity":"sha512-87Jrf+bLGHNR2b1cFvWeQnOapE/WEeKHeOaEXX8elN+cudf24h8t34r9rpkF7XgqaiIgl9fc8pODTo9tkBq8AQ==","signatures":[{"sig":"MEUCIQDaC3D2/zWDD9pSGMZUcnNCNhCx9RaVBpJtv8AkStU/8QIgCe0+Us/b6ICzb0lfWhEG+U8CLEQtEPFI9QhHCDF+jCs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmlulCRA9TVsSAnZWagAAgY8QAJ3SpVi8mI1eeMMh+D2r\n/9CHHsSzPIShlktba5zFSPAKmHc9n55eEPXAvGo4mTOLdbtfnFVKocK+L3CX\n9VvG8msqn9jvAlFTKJHt1dLjr3dQh1ObhEwMz1xaRwWJkT6X7hCW0TbDYvcg\n7pM+2HAVGnn9nAIRLLiy1RBlgByf2jjSJc8T0ReY2r71Ynd5BJzm2etZkf8d\nqr+ISSa3OYPoqpJUuySLOXpGf4FjfVhdzcRJ5q+V8d+mmNrcyW78Fg1nHPXi\noAzClqzxMzihVGek+kvLBEUSkKkDC4DUs2JP/OEyo9eLSyMYCd/57iVSvV0H\nXeoQ8Dxiz7V88ZoS6HwWnIHk5PsfZ1MzvQlzFNC8dxJ3QrPj1KjHBaongauB\nkjdUOtEYkes2D+bB+HyJZ/3PYfq3OHM1aHZw9pImghK/mIUsaFbz8W4PnU9f\nf3trpxOBqXuKKYMSDwiXyo6e3Emh5Ahj4qFPBHFlvc+YPcf51aExvztIeLAJ\ncZ5s1M4+jkcMvV6jt6/j1XJYNd+CB+QwXdQrkSl1uz/VG+t+QxT+8HNCDIR5\nUzU/6VDN6EKwbZGLfcM82DLRUi3zAyLN/HqyyguRQCuewyIeOf1/1GjJzTE4\nxOxwlhHkyOAGD+0PHZlosrtpuTsorXIXOK3SbGZHz8Hmp2V2Kll0tIyjQmp0\nR1mh\r\n=BzJi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0f8cb2971fe5a78197af91ec27235a38e68e3899","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T14:43:45.165Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.84-renovate-external-non-major-0f8cb2971fe5a78197af91ec27235a38e68e3899_1637505957004_0.6127941219478743","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.84-renovate-internal-patch-9daee6c74e80663549d71ed6779e1ded05eb94fd":{"name":"@balena/jellyfish-assert","version":"1.1.84-renovate-internal-patch-9daee6c74e80663549d71ed6779e1ded05eb94fd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.84-renovate-internal-patch-9daee6c74e80663549d71ed6779e1ded05eb94fd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2f3ab6ba5a92ccdfb22e7d50ca9562e7b48723d1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.84-renovate-internal-patch-9daee6c74e80663549d71ed6779e1ded05eb94fd.tgz","fileCount":10,"integrity":"sha512-qmzVUM3dhLILkiAu6OPc0TFOPeTuaf/F/NrG5TBeZz8IU3nhxC1iHI3sD1y66FbWh/ZeKDCJG2NBNKe5XYQ+qw==","signatures":[{"sig":"MEUCIGzIxH8dnyHOVQvguju0MHzjNTdpzs5lCidUeo+nv9wLAiEA3/SgvFDYbOkR9pxwHH9A2BWR9X3f6ysfUw+y/3FiBNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmomtCRA9TVsSAnZWagAAuUQP/RtweATHbY41YZQDj2nY\nEdecqCxQsHaJOx8pzwJGz/XIZZYpIu5LtRoQrSzTMML/6fUZaXx3DjO3EztS\nmehKUahqhumzf07IxDNlHUfYeUcXViuW8wlZ+jhYFIohe7bdj4WVVlFttHGJ\n3xlurwolpc8BvJelMG632+tb8QW8AkyYiRkfFXn7k98jM/hY4sFFO2E8GS0k\n9Bw+9VzdkIHsIsMWI7JThwunRIEYKq3A+4HrLrMlVpvl0k9FuYhSgq4Q/sib\nEKeD0R+bJcI+HsCTZkeMB39nxppsTbnTFAETglMvml6dyp8kFKq2vaqydTzi\nuci7eHh+Kzeh6FkQASAmc/ZDBCQAqD5nWH8Ij+nUHUcUaK9267A3Hprs0ZD1\nygqgyLWB7EMgQ+AsYxWGYgOoKq8F1fi+aufb1pHc8k4UqVUmZWx7zJA1xqcd\nNWk+DS5Tf2bhKjdcJ4F9pV9VqjXH0DsAwaTPv1nXUO4q/s7pauMkDGqnhfys\n1l/hZYJ7q0nD5fgMGl8X7hmS/npSm6qwhkP10YoYLJCOf+HLw8LyfBIMF58w\nRsbpAUyP7WEjHGv15zLcqodjhFz5lmjCR3JHXJHGwrw/68hhRnUsZZ/KcYtx\nvTOA500KXcotFQ8iZPfnnIgT3lBQZSuhA9nMJnRiQFu6mCczBdFBZ2G3JMJf\nFW6H\r\n=DS3A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9daee6c74e80663549d71ed6779e1ded05eb94fd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T17:59:54.204Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.11"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.84-renovate-internal-patch-9daee6c74e80663549d71ed6779e1ded05eb94fd_1637517741238_0.10717318077410232","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.84-renovate-external-non-major-e62b320eb4807eba88bcbb3adaed103b155e7899":{"name":"@balena/jellyfish-assert","version":"1.1.84-renovate-external-non-major-e62b320eb4807eba88bcbb3adaed103b155e7899","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.84-renovate-external-non-major-e62b320eb4807eba88bcbb3adaed103b155e7899","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"14f2aa4668d9cb1288093758d5f3f9217646af38","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.84-renovate-external-non-major-e62b320eb4807eba88bcbb3adaed103b155e7899.tgz","fileCount":10,"integrity":"sha512-lZ9Eyq+QI5YncfaLMWOKM1+pqgUToL2mpW2xO1qJpJvfMsH9AtLKiPKAIfRdGKceHCtidzscSG/MD8NnXmgntw==","signatures":[{"sig":"MEUCIFOabkptc2Jmtpc13SdKbvmWJTUpuulLiHCaWBFwO4HnAiEAllbDO0/vpvFGntc6B6MAV0DcA4Z7h+IxTcJI4fjQD6Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmonwCRA9TVsSAnZWagAALAoP/jc+Go1zFtFw+xIWXK/Y\nERixPJck//OkvkPcDxnIr0YSKbizjtnVPJ8AMWv47umBR3A8oZsdmDOVd+dH\nuMxUyf+k9+EkbiEFxGR0LUsKV6TAhkbsA3KTAeSfBT/wuRQfcjZOQfrdG5cy\nI2aoKVbYoxXxDJlQOZOD1+Ylj5Cz+sxon/oDQrnJekkTYSsK/ThrhUimgnAK\nqkT08ZZjMGKLkiFcuhw9wKJhUHVvJiRca2AgtSw3RHteM054WsB8ynP4SP1i\niq/5FKJqPQ7JvopzkbcGJc3hHK1nE1dfPIe6T5L0R/3MonAMQJfilkTWS+R0\ncZXY/jcpOFZgR1nnUJV+JPgdRnq08BfQoNHZaYCOWdfmdJ49BDTVrwKgukeT\n826UP1vKsiIeNzFSYv0vODORZPPLQb/DPP6KxaNdnppOOHqhgIcxpN6X8T/T\nTTz+VpWip5HARI/dm2Mfyb9qlUPEnd7a09i7ZUwFmNRNMK1M0XRT7DWhBW29\nSDLlffEiQLKzW0Z/4tJOikH5SXDdAbiJuOG9OueLB2BJG0Sq5LUoOeH66xBW\nrQZXVH8sIxm+1rQAPYBJ2toP70zvFadX+ElVPsZ9t3FAmASwsCeQ2qn9KNPd\nrB1r83X18RBJSYLsijPU32Hig3PA5HzmyAsMla9pJFOt7+70UNMmiaiL7Ugw\n7wOL\r\n=oXHU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e62b320eb4807eba88bcbb3adaed103b155e7899","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T18:01:00.933Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.10"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.84-renovate-external-non-major-e62b320eb4807eba88bcbb3adaed103b155e7899_1637517808340_0.46234538411046433","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.84-renovate-external-non-major-268bf4ab1aa9e7c87f1ee313c628901dd11993cd":{"name":"@balena/jellyfish-assert","version":"1.1.84-renovate-external-non-major-268bf4ab1aa9e7c87f1ee313c628901dd11993cd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.84-renovate-external-non-major-268bf4ab1aa9e7c87f1ee313c628901dd11993cd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7731cc692becceb98f2c05e6fd65d9c194ba7212","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.84-renovate-external-non-major-268bf4ab1aa9e7c87f1ee313c628901dd11993cd.tgz","fileCount":10,"integrity":"sha512-1IDEueQaY7bm3ru9j7H4JTq1rKYTw6aZEUVtARwjpv+6Z5ZgHKZNwva3OP8hVSWKV0uyWOzfE0zKAYRe4gA6Hw==","signatures":[{"sig":"MEUCIQDOqlxWO4ALVjA/LT3C4kWPJnShNG0gW3W9M9vUxrM7mgIgSmgTRpA7MANrCgZ9bJm6RX9XL3nRZzSATlCwMO1Aea0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmorQCRA9TVsSAnZWagAAfXkP/0pd6nICLD2ltDr1zqZG\ne05m0Coy5aaTx42WSGtJrtKQST7QOe4qoP8gXOZmVkQvBG7HA5BrfMpPIbUz\nPmSDoXU6JhNAf/Ezax43Jd23CNwF8Et4DBOlBw2IUfxsH8OthPAItVV+KA7i\nffMSAGIX+kg8VXdV0TEJTPNd3asig4ccFhZdQNt4+wpSj2prw1xE5EoOkimI\nIidO+pcYjyxU+eJOlyyLykNJgk14W2ETLoLAw68yI684CnXkfEGqXAL4/Win\nY4kdhXbtqapI+AAMPXuUJsvKLa95/cUfHG2i2BH0UWhPVyxYs629p8MDQpBg\nV2AnIHAynHUWFnARTAwbxtb5vSq7cxVg/iFs8doApyvQ/SKnJmvopexPO8bB\nGfPWBVz8CCbcSjae84zuC9LKpv0UnZAES2SVT306Z8dzfGv/URDmPYjccXk/\nYQ3pbVg1wjUIsS0WrD6OIoQy0cdVHDB00ULAHSMsJEul8jNHeoYr94szw7M8\n1yUuwBE/DVg0oZvFy3GrHLNPzVd5/zu9vwwcNfRDVO4z+gqg7hSE1vO2bGit\n0PveFQZTy6hbe9CL7RCYaZhTwVINr5xmPpO+HS7IkW/uF8oGRYfA2U0WPC2/\ncNWBlRGUJl4bphyAW0t+7ZXV2W0+j5Wdd7r1iFaEd4zlS/tPwzwzFUpqGFh9\ngGFv\r\n=JBca\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"268bf4ab1aa9e7c87f1ee313c628901dd11993cd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T18:04:37.974Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.11"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.84-renovate-external-non-major-268bf4ab1aa9e7c87f1ee313c628901dd11993cd_1637518031960_0.021865731949787914","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.84-renovate-internal-patch-752e28d17bc646a743cc0268d7aba50d4ae7cf11":{"name":"@balena/jellyfish-assert","version":"1.1.84-renovate-internal-patch-752e28d17bc646a743cc0268d7aba50d4ae7cf11","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.84-renovate-internal-patch-752e28d17bc646a743cc0268d7aba50d4ae7cf11","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"718ebf3809d83ec80d775b3dc992d6ebfdd08f4c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.84-renovate-internal-patch-752e28d17bc646a743cc0268d7aba50d4ae7cf11.tgz","fileCount":10,"integrity":"sha512-6Qkv94zRjrRg+c/9lxBlBIvLmjC57O8e9KkuT6gNZhm/H6CuXUaVtZbfbZudVU+JKj+f9J5S6TguCErqJtIl4g==","signatures":[{"sig":"MEQCICvA3rV3lpIHbtDce8OJJUf56oUI95gnE0/RaY5Oo9d6AiA22sCbZPXkYs/SKyr4trNRsd/2gF2GYOMFafqyb3l/ew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmtQWCRA9TVsSAnZWagAAKbAP+gIDKGK8VqduZV33brNB\ntcayXUJxkhVpOTDGN3P7rgTVzuHci8RghvHBJSM1vTuhEX/SsVps6FUAxKK+\nUp635yXrefqndg4DMzjVAHJcX1NdWjU6sn09p6M0l2EUyrRODsEHpvN1Qlon\n4hu+2MtA7vRlKt95JutWMB3URad4NC4OYhf1tIyKeFLO9OSsHRvS++4r8la4\nqoyObSpboP4ZocLYGiM+Zd0HeHEFeJ1Re6BaUSlgL/3Fn4/LfDEcU4KQC3Fz\neyx14mRt2evTX6XMTGFkh7ecKQUfzr3Zm1Vme8pjY5FilG5EsNc2Ii65szav\ngD7iriEmE/FQ1rwIt5PzbxrL9i2L72QBbunPSM0Vl3KOFoe6wSw1DlZ+N4As\nPjnDVkREBHoqkM9jHPUKpceI4+3EqUQ0Ffe+sWsDafyvajWJCbzsrGCgQcWB\nbjmfRW2qQnWMNol7AQe1wZG8Oe3nIp4vDvW+FbormT1WIvRKJeR/szc3zoxg\nEF4FXK5Un74x9twvfy0HGs3U4x4NSZCcYj1rijRZVZlSMbF0v2jXJ16vJmM0\nFiDWvIbXdQM9Msq3w85A4h7E7FgrBBCv/yzMSRWO9pGiMoEgK1FXEi8dfOL0\nVj1YF2xUUqh49a6BjWuRUQnICTrrcLPOSeyypT/LlYrr8+bxaOlPvFqBH1lY\nGRHx\r\n=RZsA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"752e28d17bc646a743cc0268d7aba50d4ae7cf11","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T23:17:12.148Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.12"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.84-renovate-internal-patch-752e28d17bc646a743cc0268d7aba50d4ae7cf11_1637536790792_0.2846891648777321","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.84":{"name":"@balena/jellyfish-assert","version":"1.1.84","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.84","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bdfa5c64243acc05b6529449a83b0a4f95dc78ff","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.84.tgz","fileCount":10,"integrity":"sha512-tv8JyjPmSuiki3j938BsBc95hLGY/Vo15xGzKgVz/b410tMjVE2eWsRwl4tIhIeoV25KJXq6eMtT/Ak94C3mtg==","signatures":[{"sig":"MEUCIQCteeoRzm2f5MWkNZMLZgKwOuNRkpBsKg1dvi6OKJdWYwIgHVNMG6BqHBsruYAp2Ew/k7KL4jJt321OoAZjYQWA7zo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmtTUCRA9TVsSAnZWagAABjAQAInrovnqUFVYZ8Q4zCBo\nz2LiJLKpOALAAeWMIDMAlLSd2URVA4sPToX5F7jb+0TtaO7H3j0H/JNhmQ9a\njtb6FQy6QRqHE8db4FIWorTmfXvJfNj1xpAK/O4yLl2vyNIf7jG6/um85c+T\n6hFT9l97pBCI0aTc2QbVa4mmndx9sFArtQbsJrHtwWkIQEDFI+4yvjtAvIGb\nVQ1RufuJLm0jTQtqcmbbEsyYV/P0nFLqXgX25srPL967cex9lsbM+4mvW0OI\nfS5DM5h3OK7bX3bUf3d5BJfhf3iyLJX7gjlNkGFNIDRY921trZG352Ga/LOH\nbPrwBJh3aITBq2Hft9ZiWMaQPc8/a2nYUm/6lN3Ex5IpepqSxVYQL98u0jbw\nxSnYHwZkYSmpKM3dt8At9lLQxaxXWebsEyyuCzTSpuRTp5Rc2JygDEysIzbS\nlwDttHK1UnQqPuGTO8C1Dl3lVpHPeFiXsE8WMFqsfr236/ZqIurAGufRr74F\n0I3953Eor88hFwes/NtrQnMLbP8LLw4nN6l8g6jI2OwF934wBiAXDAf8SLa2\n5+vXjzJQ8ctMuBGoWkRVADFQX7vWzBSjEhkf2jshIuPcVnpHvAHRXo2V438H\nywmLU2kSZm4s+s1AMddJEqxZsS8F1qHOnmXlCvNL707GUb4uKzKTPfyy19x3\nxHHw\r\n=G/XK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"20ed322583c5320ab31c2cae953dfeb7dfd8e986","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T23:21:19.193Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.0.3","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.12"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.84_1637536980824_0.2602656342431675","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.85-renovate-external-non-major-8c384248d8b45d9151c672174cab8b7dd207f871":{"name":"@balena/jellyfish-assert","version":"1.1.85-renovate-external-non-major-8c384248d8b45d9151c672174cab8b7dd207f871","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.85-renovate-external-non-major-8c384248d8b45d9151c672174cab8b7dd207f871","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"18c5f563bcdf329a654ba62a518fb2cd287b416d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.85-renovate-external-non-major-8c384248d8b45d9151c672174cab8b7dd207f871.tgz","fileCount":10,"integrity":"sha512-Pls2BD2Ct+3QKQ4jIS2UXij4M+sYOsOKj0AdoM8RxLU2+sFP9iJqxzzJpDaz7EtMLkh+AACPhTqm/G5hE0udeQ==","signatures":[{"sig":"MEYCIQCrVUmA6Tzj8b19T0hUGokaWadiebNoEMvCTljJKptIbQIhAK6/YqS4Pw2y6ykWY9El+itk1j0HHQA+o7T+L6h/eSwJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmtVHCRA9TVsSAnZWagAAwfoP/i4DC4Wl0A6g2mW92aB9\nfGMHvvwn9YGRiaU4FIaF9bkNHQFANA5e6Sg4SzT+xurc4wzq2shG5ATRKkqO\nK1feWrdW/4HwGB6CNc77K+rVO7QgvfddAwCUGS0+j27plIGumTXEL5o9rYIt\nqRg9wkgneDCNgZwIa1Y+VcfZSZM4fhfiYxc/V1RgkpqeSA6vuednKLjyVKBO\n7c6APm5PJDleOfRt7Rhe0BfcGI4KaXKpYxE6CGNrMFVD+gNweQVBqBWdWst4\nQG/U9LtvZIVLzd0ESDCSDQ33lKWBMDkYYd5+FzoMrUjfaXSo2rMF/vQUFODr\nIpYf/xCRjps3VnxrCEvyeYCYxNnEq/KEpaXWLRNC+e2WI0NWjFmFE/66EWXM\nkqMUds6lR6Xp2K6atn+ee/MNsGAMWSgeuPJbgLqa/J9gtheT++d3NzPgvJDc\nfLbBpRtFiL6LZPCzqBqAXZ947lMfu6xLOwTWGkmc3gkc7Asln7mGl9m/6GES\nIcgskiEm/KeBIhbqO3iFHZCe9wTrrSNiPJ9w8o3qAuJ0Kw5wLXpBBdZdfa00\nn5U0dMsTjmEYMRI7/mTiBJkDoNt/9zWpInxzKmCLoDHCm1XvrouGbGwaKU9V\n7LM1OpLGgXW2ZzoxdYZm2+C33xyYd0zgKLiPzVeCyBTX6qcFb6Io69g9hWoo\niXd9\r\n=3rDI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8c384248d8b45d9151c672174cab8b7dd207f871","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-21T23:22:45.789Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.12"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.85-renovate-external-non-major-8c384248d8b45d9151c672174cab8b7dd207f871_1637537095087_0.3251805524549214","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.85-joshbwlng-bump-lint-staged-afc94a4968147472705c998a0110b9fb0f446a80":{"name":"@balena/jellyfish-assert","version":"1.1.85-joshbwlng-bump-lint-staged-afc94a4968147472705c998a0110b9fb0f446a80","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.85-joshbwlng-bump-lint-staged-afc94a4968147472705c998a0110b9fb0f446a80","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6c0b9c570fa1e82d4118633c67e93e935339b13d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.85-joshbwlng-bump-lint-staged-afc94a4968147472705c998a0110b9fb0f446a80.tgz","fileCount":10,"integrity":"sha512-XfLRMBmYrb7eLh895f9JMDRAZ7pdL1d9LvTcCASluddm0ZeRTBe5fmqa8TaS4AzZEwUCuT3kcv2wsfpD6WYw/w==","signatures":[{"sig":"MEQCIG1k4jhlSxPBJwX1WFEIE2Cl33VxhfGSIbUJbwxjDuRUAiAQOwZ1cRqw+a2a4nHL2H9HyGe4rWz7IIMF73EPEN+EEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmuw8CRA9TVsSAnZWagAAPkUP/3xn5JLVnAl4ycd4Ggft\nzu9+fkJHKq1yvg3+/Rs3a9pxws/VDcIhUYvTi72dWAzEeje2VTjtlBnNehGH\n3uABtcS+jVzwDT/yjf/HwbxKTr3B+2PXJXFy61v32DqIR0HVOjh9GIZXnvlt\nNFuIW4L2P8mceauYbf5o9Xy6Ka8pDZME60+TnrSwtyxTpP0skQPYCei9phnk\n/d9kcTa5IuLcOFr1J6g//HB6NhsrMMO4m5VCGeOniLs/B8DrRgRlVgX3dJo6\n78nZXxhBwYUFZmcT9M1XE1hlbYDOKswxQqbmmaIQN1xp78vWvYsgKxBB7P7Z\nbBILgXndyA4wzfygLbnhAJkmDPOKs6vNbOazfOhvb2w1qEcCYx8G9K3howz5\nPcEwIAL3fJY/jL45Zd9cs125Zx+K2ff5klaWKDDyz5UkElfTFEAmJfdHYsn9\nBbRhOrwOGzKNnxxHwWRT1nNS1ep50XnhnaZ/o8IkBRMEtQT5M6+PPEL60Ix+\nUJLxVcN8DTGu7LInnZ7jt3jejEHZKaHSghX/WTPWXu3uXblj5XbTB/6rxTik\nzf+zg7chczn3ZmJ+iddla1QPnorfD93dQ+UoWoNrhoxJKXBBAuPBR1t2q4El\nrbRxK8LWEjVV6ro1cTyTgx2FhR0JWDR5+jBc9ErC5n9E86IoA8Zevc5h3xHC\nVI8M\r\n=yON5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"afc94a4968147472705c998a0110b9fb0f446a80","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-22T01:00:10.377Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.12"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.85-joshbwlng-bump-lint-staged-afc94a4968147472705c998a0110b9fb0f446a80_1637542972111_0.5307382405315675","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.85":{"name":"@balena/jellyfish-assert","version":"1.1.85","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.85","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5982096f89d11ba434a43bcb539b394b1d124df1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.85.tgz","fileCount":10,"integrity":"sha512-nAWPJFhxt8uYKINUZpa6AzOOjCuIhN7w3A6FyBumv+QgBr5YW/9JTl83lu50zEvjAFEytW8Si1mfG4iA3GbMYw==","signatures":[{"sig":"MEYCIQDD2YpFVN8CsbNZBl0wqeD+wGz/DgrmyBdEjSdjRxflVAIhAME6uxtpxso9Z0lK0acQ9/UMYSwrg9L2BFqgVWRs4EJG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmuz5CRA9TVsSAnZWagAAfeAP/AtMeAzRMXi9arNA5omb\niPnbOS4LofTZoFAG+c++5zurTestcyR5FtL7C3Vw2r4ehDD7y+xP0+bkBhzp\ngs75vPIG9IOPkd8hfvyoHuK4fCYrciFUXdACPKKLPWzJBg+CMbp5+mMSvsu0\nHnd+sjMr5MUGHHXa5PKCe14P8WqW4H8s3UydiYBNX7LXn3+7hFUwSl/W7ufe\nB87y8RC4GhRj+n/LyhMvaoDjnUQ/vp8xtg0mY7j097i5xTNYv5gR0vpA0tng\nBOasAs8NDM6ZwRC9wITnD+H/15at2BwVT8lw9qJwYkxqQlr2dS8QNuUKKxo1\nk4g0GVHvFznWDohiWin7nSFP0qLcJyzhJ+oYfrK3nXR1AhQX6cQSL9vFRL29\nxfV0NsdaPzUq3GZJ8XvceiFOQT5m/42kdhxjZOVRtKIZ9jdONhhotsliPaPw\nI1Gfls9+7E9cZxoY8e4j+mOECK0eqFZMtu11jCfMiLHow9utPoD6YhECkQzK\nNLYQG1cf1YAJ90dAFyHboyVJdiqm0zOFgNkIGzyBC/PR2vw+gKsv0FSZGrcp\nBjYRB4txoewwF0/PcvYLQ34PkJOLhdxR0Mc3oFQqduJZAueyEcghRSBZvp3Y\nOnTxIbunieoXsS8KMKh6gQAomW3OpkGmKgN8KzEqKBx0fEslgW7nIsNU+l/4\ndWm9\r\n=3hcp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6b8b8b40774b3b88873211378a6990f8aa8159a7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-22T01:04:10.681Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.12"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.85_1637543161269_0.649221987609667","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86-renovate-external-non-major-3999c34a872ebeae040d67251862276d66ff40c3":{"name":"@balena/jellyfish-assert","version":"1.1.86-renovate-external-non-major-3999c34a872ebeae040d67251862276d66ff40c3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86-renovate-external-non-major-3999c34a872ebeae040d67251862276d66ff40c3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"16696e867c8112a50df7daf06a537085e050ebf7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86-renovate-external-non-major-3999c34a872ebeae040d67251862276d66ff40c3.tgz","fileCount":10,"integrity":"sha512-e+VpC6rw0s7Cw0paK6STSKgu88muE8bzfweGhD3jdi+dxXfDCcdjaDFqj03NXiqXzwcJH3kY31Pe53sgk5GMYg==","signatures":[{"sig":"MEYCIQCCy4xm9udolIhL53VcY9HXLb+Biydtr8uK2e1PGZG2IQIhAIxCkU8phtjEWm0OJw2/UB/VwDFqpVl63+wz+uzSdzG2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmu3WCRA9TVsSAnZWagAAVbAP/RtGvyVbVERDrzkHAOYA\nwH7noXPSCLxaNVJUD0WX3u9EFH1NsIj4PmhA0IxDNCBGIuKHwBzAZi3YeQql\nZD0YI54bq1mnCRsDlFoFjbrEj07aJWaNES7aPe8Jx2PhpLs+TIK62JGEY6Zc\nrMERnLcAAlj57ADUM8xJpiD0MjijH2xyheIgksSpRkOgd+2mDVzOJK9t/kEf\nHTOqPGjNFgokgX9QL86a/8XpgaplTNAsGX5zxZ16/UOP9KNqdilhb+eWxNHK\nqimvvh38YZqq1D4oDq2PTymeGBwQJbL1TarPkwncdd6PKcdBZtPLq96pdOx0\nQyTq4+PCNu/JWnIpZhXENRxR4OGIxDMHBLuVG71xVOwsLT9jx5FJs8XuErUu\njqzbJvwHGzyrNYtLEc+QsqgaeSWgJCCmt7rhEUk3cRVxOi1apw4Fp9BJbcI+\nVpN4rF55sRORQ1cI36/+W1fIYE9cOdLEvA3GP+MXJENeH9GoE1Kj/1RHCznM\n1giAtD61ybe0Or1K7zS52+lNciqcsz2pNt/E54reaHc4u6I/4v1PDVFD9wVZ\ntibldGQVJNJD7+129PRlQx+V2sQ8uxOiM/S3/LcrLAMScJT0CRzUf26TGWBF\nCJxdO+Wo6QtLmlXHHkaL3TUzEuwbGWOWiM3rdfT6Hi4d4xoRFzNQ65xT3sy1\nefeD\r\n=gjpt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3999c34a872ebeae040d67251862276d66ff40c3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-22T01:07:28.047Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.12"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86-renovate-external-non-major-3999c34a872ebeae040d67251862276d66ff40c3_1637543382551_0.9140796779105953","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86-renovate-internal-patch-d39c4a58405537f1b04e18a5507bc7373ab3a5c8":{"name":"@balena/jellyfish-assert","version":"1.1.86-renovate-internal-patch-d39c4a58405537f1b04e18a5507bc7373ab3a5c8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86-renovate-internal-patch-d39c4a58405537f1b04e18a5507bc7373ab3a5c8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c3e1f3ec60a43e851a54d660b1565ba8b92d0f3f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86-renovate-internal-patch-d39c4a58405537f1b04e18a5507bc7373ab3a5c8.tgz","fileCount":10,"integrity":"sha512-QbPgVYrztqse1SgQv79jfRhoaaiE6N0/twvSvkpPu8nzyxGerd7cAnvDwX4wrwAD3hn1SC35LnpdScmPKdxxCg==","signatures":[{"sig":"MEQCIAdqLqw5QLBqnNnJURy11a0F60yMOCNmK8fmNQ9Mx1joAiASNmly2J8jUB8gZmrrTW18EH3S00GXq3JOvVzmqyImeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmyPxCRA9TVsSAnZWagAA5AwQAI98f/RkOZjYARi5oGGU\nAEVbDKVcyARMIe49EJpMbjHrT5SrCyy2hDLINRrCDryDLkJ8c7KfoYFEvxPb\n2iO24ORP1PRL8bD2dWXMDh3NOMw3w/wEtxikYcJjx4Ewr/xNfKa1BuD0q1LC\nwIUJ4pj/99+nPinhFkeAAbqOT5cGVBjufher8eN+QKDj0lWcUPcBloCCcOWh\nMju2vQfEAa0IXz90amtp5t6OPyc+qpoV330NbbJgOvBW2//4c85Aic5A4xYw\nfBk8X2fHOpkGWISYJayJbnXEpUKHXg+he7XyFX731XH+xGRW5wb8cRNE4vq8\nQNCVSY3vRIn7GXNmOxQO1jwyLC0cTkpqsEaXAjoqgM9mqdXOKWn19/kgVqV2\n+91r4aDOym1RvPQcESuiLo+WaMPVYGao2tFgBNokRaggkWINWB05Ps3XUUvw\nSuCo/KIS8c2DEXJGxpBAr48LkgQDHs22N/Rv/pShPi2hfF2OzCtM3q30fsS3\nyZeIXOejyJiE914hWt4SC2l/Kt2ql/rBjP34owsXva1QaZ7LSSlqC/X7m+/+\nsSva7pCYnxtKro7VH2/U6uqgRYjFldFrr2befl+uaRayWvHhQIZg44NfhP8z\n654N0N5C+DN8C4IdBmnWoaNqUfDGIdXiXDEaOROwC4WlxClatWsMi0derxiE\nfLoW\r\n=jFdF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d39c4a58405537f1b04e18a5507bc7373ab3a5c8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-22T04:57:48.229Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.13"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86-renovate-internal-patch-d39c4a58405537f1b04e18a5507bc7373ab3a5c8_1637557233252_0.8478779634184197","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86-renovate-external-non-major-425c46d3139dd3275c4def52b95b6e47e82112df":{"name":"@balena/jellyfish-assert","version":"1.1.86-renovate-external-non-major-425c46d3139dd3275c4def52b95b6e47e82112df","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86-renovate-external-non-major-425c46d3139dd3275c4def52b95b6e47e82112df","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5bcc5c27140039d82fd9cc2d53efa6283188e263","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86-renovate-external-non-major-425c46d3139dd3275c4def52b95b6e47e82112df.tgz","fileCount":10,"integrity":"sha512-iEWSD7WNU5BCqF8+7DVgTew3PSU1uXytF5qRTmucwsN4679nnAdaww2lloWmpY6BNb3XVKXY21hE3aEHBr13XA==","signatures":[{"sig":"MEUCIEdEv63NKZPU7aQWfhFNvLe33qWAREADBVYrgVX0/DNeAiEA0xMEHI3+cmcXuYUibXm/CsSE8fEmt1+DrYwK53MwgI8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmyVCCRA9TVsSAnZWagAAw6AP/2IuDNxNFJOQQj1PX8Gt\n7VP1ofhhMS0sGSNMMM1hYg6gjw/I2Xm9LzerebkKbAsAiOmmSx8DsmoTXZ9G\n4+qDPAGcrTICYN2XtSx+2U0b6w3k6pgSu+djx81BVhKFiLDf8H6cOk71+Tbc\nuf2omwvDNwn7HBRZ+7SZ/fCefv87tRCXlavmhefwuZQtHnLe/+MfrtRl2w0m\nMtceVsj8Kgq8l2RFAP2gC7u6rBkTkHsfqXbljXBY0NjCmmUw4DY4ZzXl9nkX\npxeZdZNaQoTupDb4gZIypVNGe+sTsw1Ie5ujoGxr+pqafQrdmVldw7sqWN37\nfrYP39LjGsGjbevG2gtyAG4A05zWZcSLSpOahGlY/XAuXeGLB1oJo1dB/lLc\nbgtgrj6mzF1c1TpslgsFFtF5WKmLsstYKLXnjXZASRMjDmRAIs7RiYPj3FiD\nqIv4T7Afp6FIASLKOBeiveEFf5eXr9Ie6dxhL3GxF1bRBSrmHITFqcCREgB8\nUFLh6qFb25neAgC0H2/1eYKP1V16i/kLhlkZIJizRTlD4oLIbxYHVsmWmSaz\nMKe2IFD55YB9SF0bshw2cuSMxZKFIPEnsUPFzHh7H2qPxG0o9KKg3PkubVAh\nB/kpIQNFOzkXISli/Pa2o25RXs4PrMDMa6gWXkJlb29zYcZx62ABAxjjf13w\nUA86\r\n=v39v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"425c46d3139dd3275c4def52b95b6e47e82112df","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-22T05:03:50.696Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.13"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86-renovate-external-non-major-425c46d3139dd3275c4def52b95b6e47e82112df_1637557570640_0.9594930569056612","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86-renovate-external-non-major-4cc65264fbabf78559185f1a92194c3f9f1ad527":{"name":"@balena/jellyfish-assert","version":"1.1.86-renovate-external-non-major-4cc65264fbabf78559185f1a92194c3f9f1ad527","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86-renovate-external-non-major-4cc65264fbabf78559185f1a92194c3f9f1ad527","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9c82453918be0f6b070bb99c7557786477cb170e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86-renovate-external-non-major-4cc65264fbabf78559185f1a92194c3f9f1ad527.tgz","fileCount":10,"integrity":"sha512-sjVqKzCcwortB9urTUzwqpDmOaRIpCMiYLr+aJyzC2j7BVlN0f2aBj7q/CsVp/j10uNLV1fdBwzN1gV9ixBu/Q==","signatures":[{"sig":"MEUCIGIbanNbQOu3oXPYFUvNz21NKHHx0K6O7dB1GSZ2LXKGAiEA1utfM9mbfNVIVMSVnNkV0lc+NYVHZcGdxShMcSJ94Qc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhm2RYCRA9TVsSAnZWagAAlTsP/imPmHGS/s00HCzHSTcP\nX/thZCmRTxzhkhtLMAsy4k2/XZAzT5ynkCzwA0xDGV/dtHHIeziHrCN+xUOL\nNxvjOQJ4R/eAdV8yvZRn//O/1kRWAxaNSIyJpYpAwyIvVzAMeBc4+ypajFmj\n4HBpbaMbcTAfmmwuNgc9EZLwIYC9ajo3EmJyRoW0xJq9vaxgyS7ZStujFLa9\n0VQVFr9jrMlWyrgfglJ3AxuDxtT72uOopzbInKIJMHeaHT99QTYnrErNlA0c\nN5NmXJ4/cRGsPylIAwXX4RZwMxVbYwa0jdwIhsLVyBSUcbZjGsvhCHZFwTvx\nbf/yuEkOK5GVjZCwrdB9SeEA+PuJtGyqQepJEOyPkDkug9qEOi6c1leSVxZF\nHkesqARmu5auusss630r6hkVN/5UKDhABewLwjGBIRpLHhLPQUmOwZBPby2/\nKtfQoCL6/atpTkpgLsKvQHC/s1PycE/e+RJRIBiIq3uXJo2mjw7SggRjd3Yw\nx2cT/YFEwpiVRAQ2MiCbQWeKiVJEoEdTHjx0QAX60sb61F7RJEOxtIy5UHR+\n89b0ksG4/O1SexqbWzZqpg0NzZ15aujxbdKSecv+Zy+Lrfp50Xxa0Qk5lJpg\nwW3E11oLt8vjgYfxGXLypIt1S16q4SRukV8fBJONroEYEemuIBYfw0V3VSBn\naQOG\r\n=C/QT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4cc65264fbabf78559185f1a92194c3f9f1ad527","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-22T09:32:59.069Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.13"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86-renovate-external-non-major-4cc65264fbabf78559185f1a92194c3f9f1ad527_1637573720257_0.9598528303831946","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86-renovate-internal-patch-8a30f0d1533509f747b67cd2754f9d4d6b65b9da":{"name":"@balena/jellyfish-assert","version":"1.1.86-renovate-internal-patch-8a30f0d1533509f747b67cd2754f9d4d6b65b9da","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86-renovate-internal-patch-8a30f0d1533509f747b67cd2754f9d4d6b65b9da","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b91806b4e3e0ff6ab81e406e43fc8e0258fe09f7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86-renovate-internal-patch-8a30f0d1533509f747b67cd2754f9d4d6b65b9da.tgz","fileCount":10,"integrity":"sha512-S+/eycWk+YrfFWKa2+35DnYDeW0F3xg33+Lxk24vSmF2ZMlqxvRXoXKxtBZcNme/Dvj+Dc4CuvEXdwfPHV846g==","signatures":[{"sig":"MEUCIA5nPKMZxcy/AVjpHw1gzalq4uQ/GsvEssuj15AdS5xuAiEArkXPgCuSEUw0Ps28kkny71BD9GTS0kobMYPDff4zUnw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGE3CRA9TVsSAnZWagAAGYoP/3ZVpH/tHEDwZbzF9i5C\nv9OcR1TsbZ9TDyTF4NK5rkEsevIF6u36tWX/vo9aAdd5Ef4bTl5pi0kJtF1j\n5mJT4j4+3ji33CZXooK2U+8Pg7lOEMwJr1r2mW9vCQbchO7wy139adtppyYr\nOCRrdR7rH9yPU75mN2UhbIJYEC/i/Sx+DfyDr3+za+PMk861F9cztB6nkD9Q\n5gAEMP7PtcswEY0VuK4fr6DQDS1xU7oQEMrNYRGWAKzD5iEcKyUMim40Mz+U\nrHPFq1X/g3H4qaGWg5UbgXac5/3MAp1mawTck0t0RzRwHzTCpxh8unVB0A4e\nf/S1AoTKgRL9cXqhp8ECBpxfnp15dRWy+xTrSGukoC6l0GKl/Lxo9VWNeGsO\nsq+JwLur7u0T070oSIrHbljYh/Uv+9jWcUTw4XBx+V2kgE9YA9sFr5JiwVg1\nIOGFw3ZzPhfvE9Pr4bgKKZ/WimaTxpC4bbMIZcokhIWY7dmi76jb/T2+BB1Q\nCXuOTynVdzO9seg0wfCnosNddsscp8878AA1DXxtR9T4Dj+qy4NIs8HOdJ8D\nncqnxojc5VW7Gy1sBroexetj2vQ/OuGkw1MlbZSwxGzb3JzpKdOmV06tlwVM\nX1edt/dESn6ZvZGj/oEghnZvpgxNOYmRdoYG2l4W0+KhAN7giboH2CvmJ752\n+a+k\r\n=oo90\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8a30f0d1533509f747b67cd2754f9d4d6b65b9da","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:31:53.607Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86-renovate-internal-patch-8a30f0d1533509f747b67cd2754f9d4d6b65b9da_1637638455609_0.33584975479621026","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86-renovate-typescript-4-x-2cef594edd2608f8e6b4814e7a9adb6866f4f151":{"name":"@balena/jellyfish-assert","version":"1.1.86-renovate-typescript-4-x-2cef594edd2608f8e6b4814e7a9adb6866f4f151","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86-renovate-typescript-4-x-2cef594edd2608f8e6b4814e7a9adb6866f4f151","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"97001c23d68da0c744e87b3d5386eeda667d778c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86-renovate-typescript-4-x-2cef594edd2608f8e6b4814e7a9adb6866f4f151.tgz","fileCount":10,"integrity":"sha512-lnzlZLH8sEpBRtCKzqI0WE4LSJm3lSeXEddKxqFv7mZN4s42xNDxWX/JAcGCDuDQ9qhNava7ftxxgC2LR0Hprw==","signatures":[{"sig":"MEYCIQCgrV3ycIWTNHIDI9MwKKWiyD8dKCVITh+OvQR/PyOjnQIhALKFOKQRGAukqRS1vw4IFiV+mv7OW83a4VgzP7UB29Iw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGFECRA9TVsSAnZWagAAcdoP/RNfPxFJZxM6cR78jcc1\n51nHnRSCAHHeXN0/DhGlYGm8DMZ0LPDyJi4ScqvQTD+QFcNdUVh7r6Q466Ug\nEVQzdbREqg+N6+nrsEXBdSvcYLTCrT7dJKB2wsSspR4fG/ndwRXAt8D9tiwr\nS/RvTRHq8Jf8sTjlxHeMRYndQgZFm0PXwzrqpOAKWvpwYJrxQ7R5FpxdfMC+\nDWrnXndlilGOk/PSp+u7D1Vsb2RCwf+R66VsEqJRuJwQyivQfHSeJ+yphTdh\nXg5ncrDEMMZISZOjvB/hKmYB7xkGwChfJtvkQD/hOJYFkzng0r+RFH9Zs9dl\nkR7y04j6D0wpFJeSRO+07wVf46qWGB7DD3hZo3Js14aCrUx/Oc5VQlhRZoD+\nfPZsvMToKk8ku1dhoL/8jO22D0MKmOK4P3ePM7tzGVKWNA/n4Ybsleb6brFL\nw6KDDkBllFNd1PGwvfYyI6jwbcSbupeXom8EUQMO4SGHUPrqwdYvwj379niz\nMJky6wNuhkeAiHBxquhMmibrCKmXNv4ES8gFhoqOW3kVEb2mV7mOl0wlYPEs\nXr0ktrlgy8dMXcFaf3BPKkMXpzK/S6b047oV1iONgZyVpb3+C51JXBV1zVAe\nnBojIhn0CRQVUB/72HhEdbRhyI8dZP/CENAUeZRXLbRXvlajD+P3BrWkRcTM\n0JLk\r\n=9PdN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2cef594edd2608f8e6b4814e7a9adb6866f4f151","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:32:01.972Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.13"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86-renovate-typescript-4-x-2cef594edd2608f8e6b4814e7a9adb6866f4f151_1637638468428_0.24686127862684537","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86":{"name":"@balena/jellyfish-assert","version":"1.1.86","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"454503c0ee86518149b281f5da61d83b50831388","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86.tgz","fileCount":10,"integrity":"sha512-i/kyLyhnhHpBRLOs3+tR4wASQllNMi7awiXD4FfCiEUC0yq06xRvQ7AAXdL0dJKubSPJKqlVsBbOhIYGl3NWaQ==","signatures":[{"sig":"MEYCIQCO83MhuTCR+bPpEVQ7kqHTyfVmLSI/HAC9kWf1SoqiDgIhAOU9b5CCrJ2o99JTCi9MtqyDDGWL5hl91ZLYSqMwF+jP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGHyCRA9TVsSAnZWagAAw/oP/2NvsfVUrKAUVwRzcqif\nTpbcqFBSrltRYYHCHE5ehDizHdWI4FpcZ/1NR4JLAuq7D2QRuEth4Ksj4b7K\nJvEH1yTH2qH3ECN7qzveXtp3FY+QHHTGa30yszgOhpKSL2VSOh6Hw+9bN/my\nfsrPfZJsPPwBtRwnjkl7/B5KpwcOs93s8FkS38QviIUjhsTKdnKnDjcDZKEU\nE9bfc3PNPLahUV5ZXkaMrcJ53c3C8vfltRBjOHMlFDbugqxQ8/QobI49I6ZL\nBFApTb60/S1lMXBlFzUZb7m1PMUpIMAcW0wBcH1p1zoTftLzBpamsiesehpf\nATrG+OEHchE0YtTMIkSYJ6kF1nC9+cSv2NVRm9zBoCtEo9U7ojDjCgaB0icn\naertjEUXh4UP9+7irVO29sCkizCMnft3BK2D4qvG7CTxLCM/EQ33X0+od7d0\n8Amq70QdG60bO+tHeb5qTCrHJxWolMNq9JNNcgXG40M73iSclAKaaOmdtHU1\nlPPcFvWzOF0YL0j002mHKyQg9Hih8VLRw5DV9suvCfNkixtO+BbIG6C0IXYY\noRiQ7fXQhF5iMDbVmtyhEZL8JHkrLsKFyARYfhglM3Ho2UxQ5xH6bbtmC9UM\nnbhjf0NbqTDEvZ5pTFdK279uP5KDB04MNW7TDc27Y+0+l5qJnv8wTh9ECk03\nOF5G\r\n=aZSE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"594c1375224f67cdb45c644a43f960d8bb543bf1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:35:27.637Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86_1637638642756_0.036461879058607094","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.86-renovate-external-non-major-df20c27ef5e33ac3c541236e323b9f8f48815c8f":{"name":"@balena/jellyfish-assert","version":"1.1.86-renovate-external-non-major-df20c27ef5e33ac3c541236e323b9f8f48815c8f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.86-renovate-external-non-major-df20c27ef5e33ac3c541236e323b9f8f48815c8f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4f3a61ba3cc83cfbd958cfef6ec924fac9a98c9f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.86-renovate-external-non-major-df20c27ef5e33ac3c541236e323b9f8f48815c8f.tgz","fileCount":10,"integrity":"sha512-coJkNdpm5NBGnsoYfkUPHzUk6zqtKQffSwb2OWMC1tLDvwrTLgJbXc7gzX5q1But50hujqFkiGt9Puf9ViO4pQ==","signatures":[{"sig":"MEYCIQCwaMD+lYrFHWAxjmg639PaGcFkjPaC0LoFZ8oPI6C/MwIhAKhTmRQVe+q2EnwDnbw2EfksOkMtloais3+axn+4R73e","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGJVCRA9TVsSAnZWagAAz2MP/2Aoz0xmCIYhhqRtjXCt\n7wb1RhBh1fyzsufBcyPTDQ4hJYT4lUnqz09fc64B0AFzl065Dno5ARX8dGeZ\n/HPBv6dfMcir/vollh1K9R5D7e0YVFdsjFnU5JzNtGhspjcLSVEEGIz+0cPC\n3iny1FCQB33fmzzixklhW0TJqU38dBGgN+cs4tGAmxdiB+2dvXgcclNc8GhF\n5vxGTYjbnutaDpwuhEwzJWBmrp5YCSI1u+SFjgtiRWPPzm4juPaOjr+ZKpIB\ngcPBSfdG2ZLR49sdvRLi66a3l/KN8wDrknNuUdTjUl7l9alKuuHUfuS+ajwM\nAtJH40cKrUkx6MOAefiPG9HbwsirZMp7u9PFFlJ27i9SbWPXiCpwkpQF2MJ5\nLgbRA1N7lpDMhXJyanwGc+uGIWW6upwxc3YSqoj9JB6dCTeGxEKLVGIdGkT7\n0vuFbZr0yrQFtpNkxtw6GFjaM+D9NitV1bDier3+Y5eM4aNWeeN6UCvm1NA1\nIYoyYcRQfsolqkTBCBBFltdkvcDdq+9DZYdJuymrxuoAELA0ZXIDcNEAiRZO\nkFCbVq/1bWj1HBBS47LgI4mFwj7cIYSRh/hCV4DMFfJlEIgIXCh1qXtF/ESA\n3YGbQiHMnAjEOnwlUYU3bj2KS28+ObaanuNTHQpPGm6IXSZrufNjaGqwXTlx\ngZ6D\r\n=yXE3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"df20c27ef5e33ac3c541236e323b9f8f48815c8f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:36:17.902Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.86-renovate-external-non-major-df20c27ef5e33ac3c541236e323b9f8f48815c8f_1637638740659_0.1676644567258545","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.87-renovate-external-non-major-0d7e88405c279e8869c93562609a362a1830a170":{"name":"@balena/jellyfish-assert","version":"1.1.87-renovate-external-non-major-0d7e88405c279e8869c93562609a362a1830a170","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.87-renovate-external-non-major-0d7e88405c279e8869c93562609a362a1830a170","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2a8967a9139a3885e43f1b01e414e852c4942182","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.87-renovate-external-non-major-0d7e88405c279e8869c93562609a362a1830a170.tgz","fileCount":10,"integrity":"sha512-EOluhYve5kkxdF0D0+cQB+KACC20yTK/TfovLHa8p4dSs5d2tc7Kac1n0etAjXhSozdK5SLVJZ6i1tfF00fuKQ==","signatures":[{"sig":"MEUCIE2RteBwlqvAyPuC+OOSf1jGsSgdaKua3cTTtqG23mvoAiEAjS/APnBD8Oi6Vh1pmzU4NobxD6S6+75qKBWQKBCz0iI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGMBCRA9TVsSAnZWagAArzcP/iwBWTl/JTggc004neen\nvmd1va990kveoRafPKivknApCiNou1s+fd4/MOb2XCIPgOTMB/doUNdReB5v\n/BsKYjT1eD022FUlALDuLx58E3BGlWO7AuQV/bK1uHZiDBK9LVAHKloRVxQ5\nxpu66MTpXGuaZ1f6cZuX56PaZEkRmg/QVoUQ7swRhd+jtdrdn7RuWD8dBBwN\njIujQTRv8zw/hKUky+tq7XEScE3krF/YMppkc1E3diqKQVgOJTqOvcD/HgG1\nQKTLeLfyNML0A7t+L5cwncN7pWRhRhKdhUDu/A76yoVHb8YV3d1TZjmO8B1x\nMF4Idm0yd4kuumLiSJ3DFR2N/zihxp9PoWgUa/e3vaFmiNLkDvzHK2/+rfof\nvIQJmtWJW5IQxf5515gupF/ECnEbRKI4NfC8o25EQFVvu/Ui/1/tW2/OU30L\n6/osf6orI3bt7DdMYifWMFsPm2itncMLeEYaLgkkX0OueD2m1koaFXLVGCvq\nF30N+DOeHzOrrAzlTo4h1AKAx0DaWlvJjPeFjvU9pbUitlRKnngm/4H8M0lH\nLAdDRCWKcQwBWzpY4Vgyb2S4u6x/CJNk+/667JrKpSES6ST2CdU40fRAhl83\npQ1hdoQC8LW50dyFrL3PP23+QfDCotcHZmE1IsvlWZzr0ysTavi9ldN/gVNS\n2KJX\r\n=JwqW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0d7e88405c279e8869c93562609a362a1830a170","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:39:24.279Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.87-renovate-external-non-major-0d7e88405c279e8869c93562609a362a1830a170_1637638913288_0.45089770266510665","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.87-renovate-typescript-4-x-24e5d37cff04836799755a47d36adc90bba01725":{"name":"@balena/jellyfish-assert","version":"1.1.87-renovate-typescript-4-x-24e5d37cff04836799755a47d36adc90bba01725","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.87-renovate-typescript-4-x-24e5d37cff04836799755a47d36adc90bba01725","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4d912a6853c63b474f5d1c621df6bf7718165915","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.87-renovate-typescript-4-x-24e5d37cff04836799755a47d36adc90bba01725.tgz","fileCount":10,"integrity":"sha512-ecgcwRTr2l3rrtScbr0fZHFj8kL/yq1Cvhryb3eL+3Gxmj5tsmjwJ1Vv+6NG87WfXUa/7icNkEeYGEz8m40SMA==","signatures":[{"sig":"MEQCIEr4NPGplr8GRWVYcFLc7JBXQp3zHjnNy8+KgzhaQCbvAiB02hUE/cwLqzPy2yIy0yCBAydvKi4QlU5DFVllGwp7sA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGMVCRA9TVsSAnZWagAAWf4P/1RrfFDinH6Z2zqijZLo\nPdMDD0sUyPqtElIxznRvrZENt+wsBoSG9r+eaq87DrwPvzlE/KINWWn6BkOB\nIdvy2e9Gf2etRbjdXoZBYWZWyEyFF6+Ek3+/hgCrDbmLXb/RMjnzK+51jrc6\niLDxgDZ3tpqLILA+szaTI+m8/gNiprf777H0OypJUINwKhlDtF/rofZ2WO53\nAwR+Cm5oFhVpj1OftpMEA20VP76B1yh1YTroWjpOqiISbmgdSKFq18rjOHLw\nsRGfz/jezPFvn+Xy2hbn0iP9X3HWWANbsnHtfm+SCG5x8D5npnE/lC7aRFN2\nCdxaIgQdt1l7HCUweRJk9OCZNyegWjJfAWo42bQ1mieYWM5Ti3AG/+C9xyOX\nLSZ70TRKFvTU9878MFWjiNdmNKjKlmSjj6Fbumyz6kVc+Qno/cMp763JRoCM\nuSaOzyLkYU0/lCw10THjGIvGvcXSNdhf2f++iN88z2lpC/rFIbqEbQ7irW+Z\nO4enqkGZIMaWchjy/EaVfXrIcg4uLRZotDvSrXcnoZYUwZmmGAyPPjH7yI30\nzThWXKDhlptsuXA3p4rfrxCd/sD524IOTEBlCox4ECdiC8aLA04tL/vspQof\ni9GvRedteG/jGx6e96SbTPc86og9US0LVICiIHElUcyxmAPWzNJo0V8pWLIM\nwtvj\r\n=GbBq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"24e5d37cff04836799755a47d36adc90bba01725","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:39:48.063Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.1","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.87-renovate-typescript-4-x-24e5d37cff04836799755a47d36adc90bba01725_1637638933219_0.7701528101145247","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.87":{"name":"@balena/jellyfish-assert","version":"1.1.87","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.87","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9e71a8d2251aeea19461cf025741818c08957868","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.87.tgz","fileCount":10,"integrity":"sha512-LaKS0JbdtDOIO+/Lqt88k055zckItuYwz56+Pmwn5YyQA/0G45YkmUPxyDAt7WuwHhJqPDq5FuncX88WBlX24Q==","signatures":[{"sig":"MEQCIEA68T134Ghep4Vv2gOc5q/hF7akYScPKQ9CHYepXGIoAiAbDoxS5sCMbWOWCQiI2YIw5toZ4P2S2yrT5nY0e5GV1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGOzCRA9TVsSAnZWagAArUcP/REYZKt69n/nzPqkDmsh\nL9QY3szJYZnc2kRi5PJLqOCLSw1+b/BLh6fS+5K4zOX2qvX/z6SqfLLSyxYy\neneucTe9nM7QvudK++Qp7T8auR2xcWmhIDO81g5lqltyt3qohA6zQEWSWnjq\noEbc0hFVv8BSTao3Gv5bz55oifxVQd4K+5Jd0WDoVRzAvAba/GIErdvzXoS/\noICVxKxp6GOOjHmtrkQGi2XXB/Nx3ZMuXzDWZgWLbHNsZZWKMtmYnu8vdmgh\nwBa9lr/XtDiXZHmPvVU7Ba1Z8dxradwOkKtgY42Xn5yGTwqCf6FPXU8E/Dbx\nLoY687aIMTKuM8kSE5tpXvtOC8UVbD3/rmKx1N0sYEweP40npD8bE+AbhATF\njPkASLUGBTkNf7ErXBQfHnzVZ3b8X9tiY7lwoUTj0WRxkbmKzNQyu3pzFgiM\nswlySKnn1VOLwOz/gv5wQjqAhrJgLPheFi7+tV5xayKPOgg6JGwo2rsyxtzN\nLlekMZwYg6v3FQ1mkPnq3qRSDwB6kkxhZNAl5JQAkHViGLH5IwbdFvo9DeUX\na3Nu8h3tcNS/tv3Z2v12LJ3gPfvweNIOfRnvoPwQG7ROLKajoAg1PVVln9nw\nD7XF/RFYnh8u9swoZsekDpZdg/JOFjYw47qHFuLIPC6ekVBKsmNZOjN6hgay\nBXW0\r\n=bTW7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d2eea058b974a1bc4fed0bdda8ac0e7107cf78d4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:42:51.017Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.87_1637639091159_0.3427937636377987","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.88-renovate-typescript-4-x-820e73a4cc1ec37f0e48f711e5e20a44a1157613":{"name":"@balena/jellyfish-assert","version":"1.1.88-renovate-typescript-4-x-820e73a4cc1ec37f0e48f711e5e20a44a1157613","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.88-renovate-typescript-4-x-820e73a4cc1ec37f0e48f711e5e20a44a1157613","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dbfb7af0ef99e91b46f08dc108dc71ead13a88f9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.88-renovate-typescript-4-x-820e73a4cc1ec37f0e48f711e5e20a44a1157613.tgz","fileCount":10,"integrity":"sha512-kTrds4jxj+fuesGH2lc8YO94oFmHv87/6RJz+vQhbsYjjO0icvX0v7jS7tw18eXnqa4wO9/QxWsornBvAI6Ffw==","signatures":[{"sig":"MEYCIQCYM10zs3lZD4bfm4i4S1XwdRNom13Gcb1m5aN3w89DIQIhALecAtyjb1Y703a69W0PXeLluBIPYvj1fCwaxlK9EJcA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnGSkCRA9TVsSAnZWagAAnX0P/0Dl/UdD2KypShSbRg3e\nJR12ZBqJNuev9N2n0Lf23jW2Qqu0Y2MomfjwQ+R2nMMqVnQBDQWORCMHlHOa\n/v+gW/pnzBdimsVsfEIbk4MDRLlfsMjHgPY2f6My6FUbcePkIxjDO/+oybiH\n/DUX83R2R5eANne+2nC/wEnQVTLsBmzIK2NWjl2A/IAvjJYRdFuF1hVfJOX8\nwEta4qOojdr4QGoqtvuy15gKsacnU6dHfLV5O+kh5116EqkTdMLgcaIvLfIG\n1lN9aOaPeTMJGp0iCBguhOoLMYuN7FnBezzofVLQ5l+j92/M2hsTwwxy0GEJ\nOvUG+xU/n4rTaO2Wkqd58CoC+6gulE/asSZP/y//zQAZAkAMS40bKaf2s/Gd\nuOtt8+ZWt10HyE6UXI9Owf1yv45YnzcxWHgtkdz2ZenxdZ7/GObHzck+p/BU\nryoOK//RSpYyrYdFClLpCOCj1S+NEdiwPVo4DVvoZLHwG/GUweFOFmIXXiLS\neqzyk7ksiUzMQL4hAceMQt9kXLa9FT29n9fhhdOGR8jc/f2hYEXfZ8f6Ljex\nHqBApWdxnbEpSSOrr00hiSLMlYRsz7A+0+uZrGyuRrJll3cRXiRgmmSIxheJ\nL08gYfGXKqbNKQMNZDePFx/7Tt+bJTat4NPf1KjH5PvnSFshlHhSCrepkBrQ\nezek\r\n=mJEN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"820e73a4cc1ec37f0e48f711e5e20a44a1157613","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-23T03:46:55.744Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.88-renovate-typescript-4-x-820e73a4cc1ec37f0e48f711e5e20a44a1157613_1637639332033_0.42913380911940147","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.88-repo-sync-jellyfish-config-default-83f2992afc598b90fc41155938a5abe7ebff9266":{"name":"@balena/jellyfish-assert","version":"1.1.88-repo-sync-jellyfish-config-default-83f2992afc598b90fc41155938a5abe7ebff9266","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.88-repo-sync-jellyfish-config-default-83f2992afc598b90fc41155938a5abe7ebff9266","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"26061c5b8454e79e3f07ec954392ab8feb163b55","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.88-repo-sync-jellyfish-config-default-83f2992afc598b90fc41155938a5abe7ebff9266.tgz","fileCount":10,"integrity":"sha512-GYxtIBOYQ2G+eehPHRcsJIEylnYMSylYHwrz0VkKHRxcfxwhd6oB9Fqe1U6IU4jjawcPz9BZ1zllftkk/3Pbtw==","signatures":[{"sig":"MEYCIQCz8GIhgvmV8/3NXcpImtx4u98fu/+eBFLDwqBO4+Cw0AIhAJqC54d2US5ycN/vCQe3RWxoXjJqhV4MTl/PYbqwO39l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhna0wCRA9TVsSAnZWagAApSsP/RzZaDZtxr0201LBdF/z\nzqTNMKL1MO468aXM7rZGl0ZZdNyO5nalYMgUpWBjfSWXQZaOyiOTp5rPWR+e\njDeVwisiIN5MPHd4K1r+yE5qx4ZIzjWby+fN0ofz2O3kmYMaCbePM9VjZLH3\nERg9w5Efr+SIGvW1sElIjFo4dszoiFVlewfosiYCiZLaPHM2FDtvFu1p/0NF\nOo80MGuThbUD6SZDv9GFwAwEmGFGPaNivxfE31Ph74Vo5BNb4e8phoD4rWHV\nsf3YKJR/VfMlPsxyydeCACqUzSFVzEGUb0H6QJlyKgrNORKjIZcoU8uqfTgR\nnjtqUOKgAgbEkWKfhW3Bajk7nDVHuHXodfcdIBY2zhW5nFu9A3dgMiSSJTay\ne1gRn5Z5iWevPCAiFT+6zQ1Q4mKVwucpLDASfqo+MP1beqpOBY+tOFCleAAe\nlNOC2Vxj9WseNQ7Qqro6R1K+yKDA/0XPw3FTpVXorp2fwMK4y638lTAUvtoO\nEdNJuHkk7FjNIXU7RBu7O8xrTOM5dCMo2v+WXVzmL6CLgDIRVSAIY0ggGmOX\nt3ZyvhOAoAwu12wbXdgoNtKM4DjbgjQlUUc/h/dVA0HwsMfR+2Tknoeun6sR\nu/qZWx7Xsf8gdgHFptwU8tPETpFxfSNEbF1/wVbU1tRWaXWtZu8AAAFMT/Du\nJX6+\r\n=VqPw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"83f2992afc598b90fc41155938a5abe7ebff9266","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T03:07:44.404Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.14"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.88-repo-sync-jellyfish-config-default-83f2992afc598b90fc41155938a5abe7ebff9266_1637723440563_0.19206478100446112","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.88-renovate-internal-patch-208a0c7fe0c0b3894f8b468c457a7edcdf441b3f":{"name":"@balena/jellyfish-assert","version":"1.1.88-renovate-internal-patch-208a0c7fe0c0b3894f8b468c457a7edcdf441b3f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.88-renovate-internal-patch-208a0c7fe0c0b3894f8b468c457a7edcdf441b3f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cd3fc522eca057e34959b383449b553fc3375b8f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.88-renovate-internal-patch-208a0c7fe0c0b3894f8b468c457a7edcdf441b3f.tgz","fileCount":10,"integrity":"sha512-A8ougNrgjNbz3b9mq/l5uLyQLENgd9oXlcJcUnobNMXOg3oSnFcG1JET9U2FoawOtegHhGp5fm3z4WY92/aV0w==","signatures":[{"sig":"MEQCIBI5a8RPvGlv/t3q95L+5Hvuo2HHvAocN5MZSsg1xHISAiBUsQ54WBzc31H7+886+urR8SAF5rNvn0ECXThOiJ1klw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnbUuCRA9TVsSAnZWagAAj6YP/jEAlxaZNSC9uDPl/FiX\nO9nCPrd42YyTzlNkka2gotP+wf1FUiYm1tkgN8qcC+cw7h5p9M+ShTRd8Y1g\nLQBBUSCCkCYp5fbtdeNjhsVCz7+E4YQUqOX+rWkxtXec2NsHh0eCb58svzWm\nLvFEiNkqfCOJgvxIXqC24lXrj2mcw/cATv7O1P+G2AENFHYlWseFZguimjI+\nBnUMCklu7bmifdMu2ZtAh/hozr0ERA4tTNOUkFhe1/fPD9pN6jzJ9kfqyoNV\ndVl5UKOnGEnettW+N7ssh0uxEpHgCE0xbQQ3rlsTC5uOsTjphIxro8/8rhAh\n8+/zFtttCv5fJZRDsAJzGjapFTs8UKnwVJicSOCWny/h2Fo6V4cuvq02Joeb\nBme+3PacPhUganjIYemv9gIGyEwCN7XQWLRcrLagXshuSf9XkZgN0TYQaBDr\ntGyse0XHxtyoUckqUPjfpBQe7jBquPCO6CwegUxNHftWO4rYlaMgBeMlOpcf\nhLi+dNsbXlBHNXdfJ/WkVsMXBCHkINdExMUsJpX8skJTxf77ElXnkRJrrug7\nztlr5+u7OBU4lrXv4BUTsbIMEutoKiY82BufgJDyED82AZGlQHu32IWJD0Yi\n1o3c7bMVsr0MLF/XZqoIMzc34nWUSJ9EHSBiZOgbXyw8fSKyqgV6uXtoHnsR\nSk3Q\r\n=rvfI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"208a0c7fe0c0b3894f8b468c457a7edcdf441b3f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T03:42:15.225Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.15"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.88-renovate-internal-patch-208a0c7fe0c0b3894f8b468c457a7edcdf441b3f_1637725486437_0.8598027712402374","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.88":{"name":"@balena/jellyfish-assert","version":"1.1.88","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.88","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5d60c35a105f2a6baba41adc8176a5296182533e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.88.tgz","fileCount":10,"integrity":"sha512-FKZ9jRzV3wTmSBME6i8U2Xa9jBvU7bFBQpYK9VoHnJUfbxa9pIJIzrne5jrps488W4aLsA7QJs3hfT2RB0AXHg==","signatures":[{"sig":"MEUCIQDQuPpq5NhSqgvaVJZsGcb3bIOr0LLJXv42vHDHMfWl2gIgaU1RLpo9vFfntizUTJrorSbF81cvKGhKHfoMFxuIvG4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnbYQCRA9TVsSAnZWagAA1jYP/1/iXA6Pah3jXTKwlcvh\nWO1Fq4EsLhojYlQsCzjPy1/uweI3aVp36TYJ4u8eE7tunA6O0GNSBD/5Oi7f\nuoxQJlScGigt+XyjV78c04xNdRTpiAo13STicnmJOiElLmhk6BZsGQmiDJ4X\nTy0yVsY6NDZI0E2leAQsHMLm49CCQN9uOjRiRWi6CYOgQDbCmU1FFDbhf7QX\nFTWg6VuMXWNJzq/GpAmAPjvzTNrfgVTtLAQSMOyNxiep/ttAtrqffnFJs2j3\nTw42F/8MaJEuFEEIGHM9/QabhbHpxStzdVT4S81vn7tgWp8KuPosm4Ez0ywK\nz3sytwQMhiWc/yWlT3mETe85MWMv7BvJBJoxhryDCX8k6t0KWpTiw+eLZF8V\nQPMHCSfa6mvUeNw1nFXMT/JhaCW4q3jlAN/3a1XZ+k3EOTTljimWpBtz5Sri\nfTzYQTasl7pjnbs1eyB6L7U1K+DqFRdAPLzkPz3EstW6Y8WewJSN2ORYvh2v\nbz8VfWcKPeUSbhriycRhztUAcCRXDAETRd0qcstXcqdGSKJMXMcdLO34NLN1\nwZIL6x7XvysGTlXvRMHLu6MA71bYaICABs49PeBfKD6oBC5GpwJPwfNsvZ0p\nwvuzBXIreNXkoGZ6PcOpbu3aC1jcSDntcKYVDb3T2VGu5VM1F9OhG/jM8G3+\nFPPb\r\n=TI9H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c8ad9b863b666b38e439fdbde0d66f983a1d96b4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T03:46:23.635Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.15"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.88_1637725712566_0.12850257878173","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.89-renovate-typescript-4-x-6e209ad1198d37bff1fe854159fa48724de4748d":{"name":"@balena/jellyfish-assert","version":"1.1.89-renovate-typescript-4-x-6e209ad1198d37bff1fe854159fa48724de4748d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.89-renovate-typescript-4-x-6e209ad1198d37bff1fe854159fa48724de4748d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"48c3a08a392ddf9d6635af821a6d8b2a88053061","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.89-renovate-typescript-4-x-6e209ad1198d37bff1fe854159fa48724de4748d.tgz","fileCount":10,"integrity":"sha512-o0nk46ZUsBDYB5vjoNJPduDdtDsfFA2e3K3eViLThthK1M1hePTnJe+hfs0xaeVuEiLlxd+gPTQ+TYf9lS59yQ==","signatures":[{"sig":"MEYCIQDZHSnUCDvbFxsx8qVAv5JWmR03z/kp3V7IpKPr9DbIfgIhAKjBAWjSncbK6jzb9rPnoiniPz9L7chao0TU+4Z13Lkw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnbaKCRA9TVsSAnZWagAAqTIQAIPknq3Fh74E5/8X87bg\nV/9PeaDop7FMk4R/QOt6vuSvAMPrEpmxlLH1B0S/WJDgSJc/yCvvR+7/y67/\ngcWwCTS9Ds3ucYOLTDHuTx4ZURyYx2Mr5QtlVQtRlfIX3c32ylRzrOzXeZST\ndvoh5qxVbi7qSnmXZQ/BVFwp8bmiCxMwu4W7HM5N1xBsGlVblT87Q9dZJA5+\nmpFq9LXS7UYdWbP2SWUTUNqBbWzTjQ3JbLa0wEuSo8UbrXjPHY/VuKbMs5Bd\n5q0Aob2rRFnz07ION3Cp9pN+RbWqz/vfEZbXKyeq+yqi0RHzKTBsabrJJ7Md\nSn6MzmxDnxKYU3O3O+bwgraPR8OVSurgBuatQ3zrW37vQXLwuAVIut2SOTpn\nvQO2bhzoqrB+cWVWKw/7Fykg+yhN8wDjOUOGLoHjcpWkQhyDasE2OKx1gmKn\nnT3l3xd6LqrRu9Y09SbZttbTBq38Iz0jnaCDfINOveUaMG+X3SoRBJQP+U04\nAKTukwG8MnoW4XNpfD+kLx6wgcxHBi+9jy3y6gWcYhOfS4Klko8yjP+0h1KX\nArZKS1vviMSl4/KU663AwpoVovRhLgLEeLCVmAUCntiP2XARSsP7PYNr1ZDw\nmra1O6nz+ImdaFK7OknKU2zCHNJryPBbw7szuat8Wz5CCMfaiYJEvLk/BWOT\nEvpX\r\n=C5nw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6e209ad1198d37bff1fe854159fa48724de4748d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T03:47:56.145Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.15"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.89-renovate-typescript-4-x-6e209ad1198d37bff1fe854159fa48724de4748d_1637725834769_0.9599371478128986","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.89-repo-sync-jellyfish-config-default-037b22f6c0e0d639b6c28617d68ff4cb7adb9240":{"name":"@balena/jellyfish-assert","version":"1.1.89-repo-sync-jellyfish-config-default-037b22f6c0e0d639b6c28617d68ff4cb7adb9240","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.89-repo-sync-jellyfish-config-default-037b22f6c0e0d639b6c28617d68ff4cb7adb9240","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d73c813ed8a55600ebf65eeeea6020d2199ecb67","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.89-repo-sync-jellyfish-config-default-037b22f6c0e0d639b6c28617d68ff4cb7adb9240.tgz","fileCount":10,"integrity":"sha512-UXrs6/NSqYCKq+DB4Y/R/bCVqoydsc3LcTRuJb8AjH8tgkC1MVBGeo7XE/shwNsCfQN59ionwyByt/OpByPskg==","signatures":[{"sig":"MEYCIQDA/wovEbOpH/pQu+0raSsH6ecTf5TaGkbAqsJkibzZ4gIhAPV9yLucUeJkzJpnBJ02Hakp5kv5FOt3VohVZ+5oxUs3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhndQLCRA9TVsSAnZWagAAGhcP/06oMHa3OdxX3pFrPKYo\nnnWYV3awPY7dzUNx6+XpmzEDG0ADZnxakQ/6dyD1PUr5KUcWpS7mhvnur05T\nMrCB6owJvJyLZR7e7e0mBNaKRnP6dynHUsQaPKIIHt8WoFWssce+1SWx/UDt\nkplRIPqovYMlTKfzgorhFkFWmsiGmpiPuPhgqDfomrQKrW48m7joo8BUMaJr\nC9hw/cXy1O9XZ7GFAfdHQ6VpJ74VI6VTrZOQfm7OaNtDBD4oETIEdowPOkq0\nATI44w+rchhVfA6jd+J3X0oGxwAsp1QIKD43tnpewucZXzpue/7yBCpiOiJT\nG4zfqF500lbktucdd9t0uK+82P4QB9rvy9ZNwgmLmeQeIDvTGPQBCE6/Zj+Z\nHH0qNeHB2vwBbc1MJrMnk3QqoUKRj9/N0TNAtzm1VOcpdg+S/1CJZjmUPxVm\n7SFwlHwvAOgM7QjcSmm5136iyfdrFXnbWJYeH4dkloYduyjYs/XJpQpBkeCv\nWVKic/BqMjF0n5Uc6v1nEq/WEW5Cp6vVPF5QrhpoIsiehqKS3fKx6Ddce4uw\nPRsxPlQFsNx1va52ufGuatDF0jiNIlbu0LrirWzK3XxWXPGoKWLmKrjnO29T\nn7DcuTiaBdT24hBzYT1QHPqhqUzUsT+38A7O1OiJ7PHRp3KVTfUFQT5nHYW8\nQpCC\r\n=V7UG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"037b22f6c0e0d639b6c28617d68ff4cb7adb9240","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T05:54:05.891Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.15"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.89-repo-sync-jellyfish-config-default-037b22f6c0e0d639b6c28617d68ff4cb7adb9240_1637733387173_0.24084614239431668","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.89":{"name":"@balena/jellyfish-assert","version":"1.1.89","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.89","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cc989d5db45678ee472150161d3e9fda8187b4d6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.89.tgz","fileCount":10,"integrity":"sha512-6oq5QNjoH8wABIfpT56ZAWPFm5NZj8dSbuOUcailKV4nRk+AZ1r7zODRivTODo+bVUMRXucZopnSIT0qZStd0g==","signatures":[{"sig":"MEQCIGSlw8kIlqgt1B0XtVP8lh2c18yaE4SKyGzvxurVT2cbAiBEOT0u8XHVBXD6lYtlnumK6yKbEMyrTrX3z0ZQ0/FzKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhndT4CRA9TVsSAnZWagAA9TkQAJ4E2Hx7FtTFOne9cUwz\n0xf0HNvR9tRJ0VAjQac3XcJFb2KpdfMSq4cBKkYPIAuCkpL9bHr3yU6t94m3\nNAVadm/wv0UeFX1Lz38wzas8FV6ORh6m+DyAsDkgKpMBNV1iNUTsPe+Ya648\namj/Rco2Mg4A07oichKHKvIF5O2SZYxbSKjxSoj2PnDB7wbts8egSaKsYid4\ny273eE9n94JZ25276V4QSC/4kqFmM55hWq3cib5Bo5Qlz5UgURsxJlXnwpbN\n+iSH7naS4qfZN0rtKGh3Uh0fDgR5eb7o497c4oBFriCQ+WiUTLduET3Twlg8\n9yS705UBdyQkhMtMeMKl13kg7qFj0jASm46sCGxF2SlUV80uumIbCip5kUZM\nzqDVLi0A/54JqmBiFs69c6qAX2FuRtEYCUNPSmHAzXaTmdYBu8M+mZdb9IYo\nAJhdYL9Lc5d8EnIrnzmzsddHP+avbr50nMeeiNBGqrjIyGKwFqkInp+hHPWy\nEm+Ds/iXFJe0r7BayEbCLht4zCMxSFzHn7SKqJAQE8OwHmsMi2Yt09fXiqpR\nRv796Fq+48k+hPlLFzApGXGpsPmUySHBcA2I4OlzmHEGrTP4Q8YlSIe382td\nGOGoACm/t6+bejKbJjcjyodaboacpCHWtsFss4bfKSx6uMh+uUDPqo4JlmH9\n/Bkr\r\n=MAGx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fb9dfcc6a300a2bb304eb36a6c086f9337849842","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T05:58:16.678Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.15"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.89_1637733624602_0.026890835192731055","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.90-renovate-typescript-4-x-67361919e1291287639bc0a831779b93f3c76bae":{"name":"@balena/jellyfish-assert","version":"1.1.90-renovate-typescript-4-x-67361919e1291287639bc0a831779b93f3c76bae","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.90-renovate-typescript-4-x-67361919e1291287639bc0a831779b93f3c76bae","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"01aa574f0f681351ea0d799d1c6dba625a84853f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.90-renovate-typescript-4-x-67361919e1291287639bc0a831779b93f3c76bae.tgz","fileCount":10,"integrity":"sha512-XrlZcIVicweQr/nd3SuwJavS3tQ6d44utHDuSM4IELrn5LEowH/aL+65Sp5ZVCTD2mWPnKjzwEqJHtCnrUXWWQ==","signatures":[{"sig":"MEUCIQCozLToDXpF0q9I5EaRwkQ6EWuezechlo2IP0CSn9q1jwIgMt8+sP0Y3wVY2Q6JFoH+i3ZiAdwZ2A5lFU2JnQE/zRk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhndYTCRA9TVsSAnZWagAAnDgP/j1wcD86lIRevRf1D2WW\ngyCqXvIuMIyd/+0DpWhr5HeE3eiFT3RE5UDirkMHRQec11kOYyomKrpU+NgH\np028XJl5lSrw8cM2ykj/Z/DDuVZaHWB5uI9Y4ss49yI2OKiBn6Lwwx8sJiEJ\nWj3LiQUVlK88qL1ZoUe7r6GSVoSrRsU9jHKM76+qlD5/7CT3cE9jNcq9JdHg\n53X8ShxE3oYx567o5EnkCIKxGb5vvcFvNWrg0J0OZ+SuVp9Mj35imNFd4pi5\nRho6YuplvPMeQ0CnRX3fOYJM3kzh0E6V1YPZkPEO4F+SbZk6R+7BhByIuXNd\nOi1aGbpMkDSI2MgTpOP6YF9eUvdfRsHHTU/p2iDscCDjQjZd4K57IxNohF2L\ny3h3vVja0VPziZrxUZoR2c6gYH3m9a/OM9lOLZmSflDc3tqRV0xHRo0UP3Wn\n0qUgFvvU55TxWHBd6WHgcdg+isn6x4+rpruCt7WTyZsIjpK9Xq6Q3kEK5Tf4\nNyDDtkFkT1KsYviT5MwBpuo8gwG2tH4EGZxyageTRpSe5AmLFob9Qks/6mlU\nFgVVwn0xe4/btVXm75ZUKiIs1SsiqZOleBuBC3BU8FynyZg8h0zA7365bIrH\nYifdGM2fqAM6OBoxWGwMqXxBWOSLMgIZYnOtv8CB4vqBnYa7yCMQSwVycYuW\nuoUC\r\n=MjA3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"67361919e1291287639bc0a831779b93f3c76bae","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T06:01:49.231Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.15"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.90-renovate-typescript-4-x-67361919e1291287639bc0a831779b93f3c76bae_1637733906866_0.16464536933941298","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.90-renovate-internal-patch-175a18ecd257cc53d468fd9c4d95204feb621bae":{"name":"@balena/jellyfish-assert","version":"1.1.90-renovate-internal-patch-175a18ecd257cc53d468fd9c4d95204feb621bae","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.90-renovate-internal-patch-175a18ecd257cc53d468fd9c4d95204feb621bae","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"15db9af013947e684d70cc732fbad9f007f9853e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.90-renovate-internal-patch-175a18ecd257cc53d468fd9c4d95204feb621bae.tgz","fileCount":10,"integrity":"sha512-3sN35SOtBmFTxMgeFFAzVJp3MfFx+wjhqdXBzfgMgXSHDXwCzr6qnQJk//X9kfZloNH7qIsmmtiYWc/gSa8mDg==","signatures":[{"sig":"MEUCIF6BdjByPKJY85zbEqwmczpvEgCTUR5/UnKCXSBJxq55AiEAqjEEZXEzU2kbrUmgMrvkXF7RhpFE7VQX62p55wsVICQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnjXNCRA9TVsSAnZWagAAo4AP/0UJZZzFjlkrzmLKlkFz\nEdKNQBsG+MOkh9QDCchBOMZjrMLfDPDp7ZhzwG29lcczBg7Kk7dseBtOPnUc\neQpJnjSfP5gv4rT863jchHXY24vwz75Bc5KBm+Zd00r3dVpmfaX5EjcZJmHq\nk5jNWiES4S0G13ZJPqzd7n0VAYLj5JmDLF3slJZPehJYdmYAXc7VQW7PF1LJ\nMlMfIVl0ghu5KBb4G3vtzsGt44B/Rm0Whh1twoSrgCbP5+MwrXsrORRboR6D\nxjElntn9PS924hB+eqhcqeA9vuebWrlWuFyuZ3f7AxV3b/HQWBO99DRYpD8X\ninlYfjMhvBlRBt1Wszt4zuDn9xSYAv9G1EquPKptjLcts/7V1kt99HXL3+Dz\nAvH8vSkYHvdm26rARndoS811CLcvpkapdzQu9SKY5jRE8xZ8aoBlFDqACxQx\ntjSP9MJFHrLNjmnTv+Vfc8v3x7zmok2P/q4rVboqDfpWOkunUHtii/uhdyuP\nVfJNYV3FcDSxYUuiF7S6qkaB851UVBpyBzVnqdk2EW3jQ1W8KE69s8E4GMqg\n4+4Z8b0z6Et3QZI7UzWAdx5US6Ierp+/KKXc5DVKpVa1Bhn9XDFnyfVDmQRf\nMg2+Ff7x9vuDFUqG5LIdzy4zDU9P5RDEJgh/RpXLr2t6v47CqeMBttTFwyzR\ngp4d\r\n=rSv2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"175a18ecd257cc53d468fd9c4d95204feb621bae","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T12:51:07.413Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.90-renovate-internal-patch-175a18ecd257cc53d468fd9c4d95204feb621bae_1637758413593_0.09157668539922148","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.90":{"name":"@balena/jellyfish-assert","version":"1.1.90","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.90","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b8b5b24705ca0c3622f29262d764916f0c57ef65","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.90.tgz","fileCount":10,"integrity":"sha512-3tMUwVHTpECdG48pHoyDhe9ebGRbyUwC3yOnGWbCzDdAf/lPJYC7bVhbknLCLMPxTnex3i9EBUg5ib2XomYemg==","signatures":[{"sig":"MEQCIE6/DwNPe/0dXAPvHzhxPOEaRQB2HIFxc9DNamHoStFOAiBjj7dJkWouNxO3PveyjRhZS4PqcHsKaheYeu/69RKzRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnjaYCRA9TVsSAnZWagAAkD8QAInAnAWqc9cYSNoHY4S7\np4oOI/GvsP5TXuDK04OL1I9ledrtbYXTuIPL2jnBg0yELPjCE4rtWrjlw85L\ng9O4Ki4l1FSiVJ2DzJ26QLQxJt+i1rommRuA653RKH3MOWrRXjB+45F92IOI\nOM3/i5ktEDEnPI/ByftPFhTGYQNOZA4uXqFmuKdi9CIkb1BhjkM2zuKilaAG\n0C3SeRDmKVKZmryA4sBHQHAdPIy/ftNbskI07XN/usEiAKmv30IamWn/oWEz\nnt96n5y9TA1dkdRTJRBpg3BYeHBt7Sd2LbokVVDhzqTxh/IKFFzAOFZJRafm\nz3lPYVVJ9MmlWs6aoOe3uibCoJ90o9FUYg7Rj7sr2uFtrRYS/8MvgdYIsjiR\n+P7bha/jwFhQ00AWSfZmXwhH1FWCbjl0I0lP9D9smBJ+cB17fpAmtPjuKwU2\nTW6TOBzAchYyvuL4mlx29FVZYWeWlCrMxkEY4+xcijuzBm/Vq9PkMH7NjzEs\nFo0s3aUKRbSHi0rQKugu0CgKaS3D4YaACDRdBZobBboQGZFcCei1xXv2wRFO\nX4XB79BdYmqKlKxtgPmZbCwCZeo51Ach7kfAMK1XCS4cBxt3KnFSRtJxLoRz\nqiJKkW95rBko7/8+7KN+L0ld9PtTKi2Fb/gsLMKmYU3GEGqlVpMh6TYQUYoT\nNV0x\r\n=rd7z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"13a06dd9bcdcdd9f30232dca7ff38497c667e47b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T12:55:01.085Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.90_1637758616797_0.5265984147684373","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.91-renovate-typescript-4-x-7443178d876cc1fe294f2cafbf830478ae0629c2":{"name":"@balena/jellyfish-assert","version":"1.1.91-renovate-typescript-4-x-7443178d876cc1fe294f2cafbf830478ae0629c2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.91-renovate-typescript-4-x-7443178d876cc1fe294f2cafbf830478ae0629c2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"171d8259f3e03df42c943b4e0e41b67d19ee119e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.91-renovate-typescript-4-x-7443178d876cc1fe294f2cafbf830478ae0629c2.tgz","fileCount":10,"integrity":"sha512-cDq2UdGT/q6GMukSRDQEV09kFnWDkBa7Sjq0yzlCyBhDTbx/TapEbnYVBjSlfv8GnN5/EtJYfCr6wgtHWyfyAg==","signatures":[{"sig":"MEUCIEoEqzlKTWoiq14bpNnGNZLb1W9zqgoXdyfuhlwONvpLAiEA6Igj11Yon5xcdE7tajFu6hVpagI73ugGMZ1gR2jn6/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnjfFCRA9TVsSAnZWagAARVwP/RtZvON8STZ3w452PJG1\nvCAPJejeFGyu922ot0tWT+yJxPutN4gIghGJSymy1YVsC7+6HIt+D34vGqKl\nibk5qmbmfSwcx6C1UBxpCe8EoO7t5+cyz8GK7IHPXdbDlI0JHekSjHTedd2c\ngziPlnsXKiXk3mSXANBZyt2uSw/pKm9Ky6yZIImIRF5EhwZHUVoWnKRLpqKD\nkjMnp4EmW556sz0wsqbW2eBbUp4s/3OWCsy6uhovp+tH8up/ScVItBI4+4CF\nnUFZxLR+aE1be9FDqbzngLWbEVvX23Xd6yJPyoI9GSofjgH7tEIHOcRZZScB\np8NREdavIcApmE9uwaFgjXGOgMkv6lqHAFXQmR6YZjUOMkQL2iVQID3rqRPk\nL40SLfM842U1V1mesrgJS9F9UZvC23WRlhFrXVeuf/4EuKMLRF0xpeE1Pf7U\nmAafJoyWFSELemcop28Qp6YEj8YPFNWnyQdacfYCHs5lXm4xfWGZC6vuLoi1\nGUiNWhpk+1gwQZeEshJKq+hfrkrcfVoqpG/iGDV/LwE8ElfXQ3rOpanfoxw9\n8bIEwGwx67DNz4AHNew0mDAuQhEj4tjV8F3Ngd8TuiP82hBrqgsZyL7bfuAT\ngXsusC5oPPM/LazvOHFNbkM20mopkuWbJQHuETuT22WpJMhGvNXdV5f8BVno\nyAAm\r\n=8ins\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7443178d876cc1fe294f2cafbf830478ae0629c2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && npm run check && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","check":"jellycheck","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-24T12:59:08.294Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellycheck":"^1.0.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.91-renovate-typescript-4-x-7443178d876cc1fe294f2cafbf830478ae0629c2_1637758916904_0.45736502586965067","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.91-joshbwlng-remove-jellycheck-3f27fc7050bd2943f1d40993457b6a6f29cbb11e":{"name":"@balena/jellyfish-assert","version":"1.1.91-joshbwlng-remove-jellycheck-3f27fc7050bd2943f1d40993457b6a6f29cbb11e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.91-joshbwlng-remove-jellycheck-3f27fc7050bd2943f1d40993457b6a6f29cbb11e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2f5aab8857bac0ab8c63ebab774d33d23dc02187","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.91-joshbwlng-remove-jellycheck-3f27fc7050bd2943f1d40993457b6a6f29cbb11e.tgz","fileCount":10,"integrity":"sha512-IahG7OmHosUEeojv/HJVkl6e0VteG938pekEUWLr+fsGgHSq3wmF57TbqhpVC7DdRanTa9QEx1S0WEWKXn3whQ==","signatures":[{"sig":"MEQCIEDy2atfAB5e7hANpV7x5jzbYRoAppDi31T3tqPvMFTLAiAk74GCAcP9lHzA2ExVqFaePOETR0Ucquo5CkjrKruHzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnuLwCRA9TVsSAnZWagAAcJUP/AtuNEkwCCp1yJ+CL5RU\n2w+Yc+fBbSM344KOOEozyaX6TioLkZDHXowLs4eovCmZK5mbtptlBSpSZIcR\nqSBi6uQU58ZOEHc/ayMBxh9gsNLWTuxoEVfUrqQCBmpUMggxfmq37zgQCfXc\nkJILTi62nhiIX4uWrRfPTLkRSR7yyqWWj/DaaeQbrheEoDGjxk7SGcQpA2Hp\nN9Fkk6K/Xc7FAU/6rI4mv3N8klPdDMv2P/Tsb2zRlQmB/JfDQ7eJYyFFOsth\npqJpQLz1vUzt7+ZY77lGOpoo/znClaUpOunnexLitRu1kd5l8doITZm8zs0F\nR0IjPqapZoUTdossO+zJhHpYh+o1GrKS6WB2Sj4VHVEJWLnqjWOapp3P7SUt\nMBtmi+yQy0BSI4UoDgKNq6EQX+eMJUVd+PdPn+2VO+ptK48amAiFsn9RKcM7\nKyW+TIubJOi48TFaDwCJQVSOajqo47U1gWjGUYSbAu05XOzcK37uHO3a/tgN\npWZmM4Riwd/+ErzLFnUXJUqvNKqTZcSaJC8WMVrwUNMoQqxX0gvAS714PKpg\nk51grgP6Pfgc39VwSyHAQsu/keOUqEqT829PSir29Dnl9o1fsqTh6zQdOecU\nxkpL0JR0Lg4NDlDwY4eOqJnmuPoJSWqumZ2oYIM2W/pyw6vtxxDMaArUZK3Y\nt0Px\r\n=47fo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3f27fc7050bd2943f1d40993457b6a6f29cbb11e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T01:09:58.338Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.91-joshbwlng-remove-jellycheck-3f27fc7050bd2943f1d40993457b6a6f29cbb11e_1637802736669_0.6979728945110109","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.91":{"name":"@balena/jellyfish-assert","version":"1.1.91","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.91","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"49f0dd8b5abfec883f09bd0fcccb3d234ad30a3a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.91.tgz","fileCount":10,"integrity":"sha512-6O8/LfmTBFF8yOzq3vSAvn6v2ViKS7kHS96o9/UuLVfzZ8I8Zfl3dlneVa/oygbjn3IJL33aa0KHs6bWxZcBGw==","signatures":[{"sig":"MEYCIQDZ9fJzR2kg2fqqDtZdNXBje7Rr2+YtBjaRhvlM9FYBPQIhAIBj+ho78BZ4f30dUm7WyHcFP0YRF7hpX/WuHEAG3eRt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnuU0CRA9TVsSAnZWagAAOwQQAIPFYizoDuk4jlNZPC15\n3eQRLkWtN3jKoT5cB1yqLL594hdHMNiiRmfxUrfwl+L9uZ7eu9CCdlZMAVG/\nLnKzyx5oGNXzb8hsqcL4lphbYxnbRtIO0M9jj8FRxnDYOFBBa+ggmtDM/4jk\nOlAZdCS/xxvh0iLZs4bKJpHCBXKrMkO0BxqK4qHUG1yCoM5EUm4qx1UhgalO\n7xtpnNqkfGj7tmovewrDAjEfXIDX4hCgOIYaDRzgKwDUr2Pg4OnbuPYXOI7x\nOEXo/Ux2Ytdnw++2BrpAspqjfiKXO/jQi100MEkc927nMJVkukrSExLcbdq2\nKiqzRbctmYwhBS2ykjNfzQpZQwq/CK0cVQutzm2aV8gF6yXBqwUTOIm9npIK\nmng32WWcR/6BnQVQU8CbWpDiPJDP42w/B0MIXisWGWlv44PmLUc5YTXKTlAP\ncUDvKlWj6YgarKRzl+R1GaOpqXYyMhMOBCfRz8Afpaj1IyTsCTHfGjGA18qV\nF9yky/rTC3g0NcY0/n8zYOSaxp8mBIXGbtoT/jgDZ5nWqG3AiHxR3Zso+V0f\n+CiDyEM0WJ/PeUESIcYqWzQMJqj6t0Hi5Efq9sJU3vrz64Gw3X4nEvbDu5US\n10tSCBiZRPOZIn7S7fyzLfl1kAV0YdDkjytXFUy1gABhnv/FUHVxC3kOccXX\nDWr9\r\n=o1cD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bf46c2e6b27f24b7d10ebbfe6e792d28e64922a9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T01:19:40.311Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.91_1637803315875_0.4853489435959748","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.92-joshbwlng-update-renovate-fa73b541d868e63ed4c456186761824c75df50b7":{"name":"@balena/jellyfish-assert","version":"1.1.92-joshbwlng-update-renovate-fa73b541d868e63ed4c456186761824c75df50b7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.92-joshbwlng-update-renovate-fa73b541d868e63ed4c456186761824c75df50b7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"319d616c68e3f3db172281fbe58ff61d872e0e58","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.92-joshbwlng-update-renovate-fa73b541d868e63ed4c456186761824c75df50b7.tgz","fileCount":10,"integrity":"sha512-BQr0d4c6e7w64lhLlHqZ57hZTDL4Iwvdp/qeKwdKuA4AqwQeQWBC63D9QjhNRMD1d46MccHjwGN+VRPEEu2p7A==","signatures":[{"sig":"MEQCIBTkZBM0hGtIBgm2yoMSjxNgxlHax52HTd8RK6GNSgFxAiBQ25LBkRdPp2sFfgWRn9WQrfzrctGP4Ne/S4hratZ/fA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnwdNCRA9TVsSAnZWagAAhCYP/2boTjbliwAprP0GC8xi\nYb2omRRaXG1fy00QC79g3mLc/Be9Y2Jb5cd1pXB+sBTJrMNhz74NGjbiIp0/\nIw53Ko+1gY+s6I3pvAD/oy4iwu5M1EttcDb5v3xJySqULT+V9FfgLaSj1V7A\ntbWstu3QLaJhiSIgsKjLiADHXeRrrpKA+JPRLAdwS5c2zbLz/4m2OJcpYMZ+\n7UkK4bU4h5+YS7sIcPHKErfJrAkLBb6+8rY3YyFIhiD3G0bykCykuNYgTYwm\nr1PhBbcZKdAQ4WIx7MauTEgSFYMYi+ZAOl/LVFfIXDMgZFPVnnEpqB7t44aZ\nX8A+vf2qx6EEpvvxmVRUPusoSHltWDf3v7LdwGhmCbVUzXH1gV6v5bRum0qx\n/3Y8OWXsId07cBPJK6C5w6zH2mvFuqn3XSf3mB5eEQKpAg0FY5Jfeyi/cJ3A\n1QWgQJDapCXG3kltPM9kcEowLlnHJITu6fFiOBBbmBMZsUlaLSpj0WZHJ51M\ntL0nQQD7OyaUd2+Vcqw8Ay6/Q10dqnHFM8Y2IlmtnS5cvoLVPu3Xix4sN8wc\ngJ8LJiJIrhwJMPVyTAN7mHJJffpuMrqS5tEEsfjFk9WekNjNJ2nUmipC/ZaD\nOOgO7/1ZjcroEtsJhPBhOkEG6n6dT+tVr/YuH1erKg6t/vhTkiiMg/JNEAa/\nrsXs\r\n=/wzp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fa73b541d868e63ed4c456186761824c75df50b7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T03:44:58.555Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.92-joshbwlng-update-renovate-fa73b541d868e63ed4c456186761824c75df50b7_1637812045034_0.09607809875816464","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.92":{"name":"@balena/jellyfish-assert","version":"1.1.92","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.92","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"97b24c5160b9fda91061ed234ff5750d4e9493a0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.92.tgz","fileCount":10,"integrity":"sha512-JpQb/aNrfVchP+4uM1eQeRFZWfDJltSflDp1hrZXKrAzC269HNhyU08u6n4sqw4Lh+6iWFZK1qGVxj8FjTxOjA==","signatures":[{"sig":"MEUCIDmpoHGtrCWuu6a3+7k6omOkVpHoh9SCZYgVKTlvTuu1AiEAnKpvLanptmbrU50Q5YhPvgQNoJDwnHu5FWStEuE6mDs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnwkwCRA9TVsSAnZWagAA50YP/2JQATgPo19juNqKgvvB\nGCP+e8zm3SeKOehirr88sKGGCiJ/s8rfdRmL23DrfSID/YCULO+Q4Su/MYTc\ndYAVeB6+5Nz4kB5V7jwTKavtovliQiJMvD6bYtBfidGakus5Zdwfs3v0M957\nfHOfoHQOpCCzhIeCvAQlANOipQh6na8ZMstyXYu7w0ICe2nc8dBRabsGqKho\nXfLrvgxInzdxnjromArZokaIwIjh5Z//nJxShOGxnihniT2P4xth1RwfmvSc\nZdAxcJHZ0UpAiBy/F05iOCu4VGHCpwe8kXmk93QjBZpZPy1dCMuTmPRuAGIH\nFjgAjqi2Nhm5fu8B4oDzOTcGYCgV0MoO1/I91MhgdoLO9nW915zfw8nca3kE\n4Olgimq6UhgkseJUrBjjNERxncOtbDnelzjHVULjacGJ8V481Md6yWMcC3tp\nL3Dd2HuYIqkTouCfkwqL3XeWW65WS15SEpfs/n2iIQ/8/G8/Y8p4jK5jlczy\nZmqAH1Sf4q+7NxCCKuroUPcCftCidie0z9CFmqgqcw+e/yHeQabRXIuzmzvD\na7z2l10oA1UKfqiENMjF/Ue9zzizT0p1s0pQh1EVL6hQfSxB234Uo+4hB6My\nsBl2wgJfPg81aJQsUtgiyujbh4RsyIRuUHZc1Jk/iE5v1fRIR/uqMCGnB8oQ\nt4TT\r\n=FoTD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"53cb962ec0bebbb21d84612982bf9bb2d9e6766e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T03:53:47.790Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.92_1637812528719_0.5642502447329334","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.93-joshbwlng-update-repo-yml-2d1d91892cdfba211a0fded48c0388f2d2b43506":{"name":"@balena/jellyfish-assert","version":"1.1.93-joshbwlng-update-repo-yml-2d1d91892cdfba211a0fded48c0388f2d2b43506","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.93-joshbwlng-update-repo-yml-2d1d91892cdfba211a0fded48c0388f2d2b43506","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"10cbd7b3a7a432b93b4a6f1b1a4bd5ea353a38c0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.93-joshbwlng-update-repo-yml-2d1d91892cdfba211a0fded48c0388f2d2b43506.tgz","fileCount":10,"integrity":"sha512-k5GNLRiBKUNjBT9RY7M0Hlh6DBtmLyr6e/k4xWEhH7bcd+DLncCzhI+Th+jq6XIJiEbk7ClBHDGZhM9t+8endw==","signatures":[{"sig":"MEQCIBtcihxXt26IGXPT7kLh2JP2oGC2JRtt2HhKftX57b4gAiAdEySSGzisrsZRN+wPC0/r10xmbK9VTippWgSUTHKYvQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnwuPCRA9TVsSAnZWagAA4XIP/0G4jiukcFzn3/zVxjbz\naq3zyIET/NGO6wz6BOgRMCsiGUlbspWSgGnJj957oXiO28J4WKkQFSNbhpMV\nvsnPskbF9lJK5wNMCrQ7C/77h9b/yKOE/J4P2nV6LpSo7O32YJL961Q6v45/\nYH6vRBnmF0rlICIvT6Cf84mUcAsRmfe5tjq/1rYMsfUrQofvrKWTNmVN51cH\nC1Qke0U03uPW6b4U2USAxO1kp+gqL/gyDAFZInPqRxprY+q1SoAslyfGh18w\nBtP5MpnszPI4LZv3XgO611ubSA58Kk0k0YijvWNmBUQqHpEFivOwKkpX6fIy\nVx1syGyDIxJkrlVgZJXX742eGb7wDTS2e+nFjqdE6o/pep+soY1/c2HbrGUM\nulOj3Z7rVPjSYzX6Wfsrb3+GSCxsF75rw/0EeHVWJv6N9j69gXZ0jEqAaHJE\nSVklFkIYQ7IVpKa+khE3ggpmPwal1y6eOq643zDtlwGL8/RIYChB0DLrOBi0\nxLG65C3J/4epCYH5tNUFJvCpftEeepaWhRnemukYJukyQ3/3vA+vQdgtRKqq\njED7Iaa5+QBO1gCBxTUBzKAayBgSJhjOk7WGu3gvPO3rKDqWPpvyhg8qqEyT\npdwNZEm1kysEvJnLboGM47DtdICigIKA1l80C76zeTZLu0JKvKfp1FzRCEBT\n9uQF\r\n=17As\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2d1d91892cdfba211a0fded48c0388f2d2b43506","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T04:03:18.308Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.93-joshbwlng-update-repo-yml-2d1d91892cdfba211a0fded48c0388f2d2b43506_1637813135700_0.3619945410664893","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.93":{"name":"@balena/jellyfish-assert","version":"1.1.93","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.93","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"af8ff588a7e79b484d914bb634729e153f50dca2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.93.tgz","fileCount":10,"integrity":"sha512-8jxOdv1K98UpDmbuK1AiP4KqcFCeahBf9eWwISFP/OX/CvIcmS/yYr0Eap02YEhopDNR3ACouriW1LjoybjLcA==","signatures":[{"sig":"MEYCIQCXAs2he/v9pBwiyE5UsOMgNqDXSdzeZdn+GP0s1Rt5JAIhAPfJy07HgSIXlIjJifR4d2qwerXBumHYZ0FZ2MKcliX4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnwxaCRA9TVsSAnZWagAA2iYP/3Wr32yCsm+u6NeAXblU\nwgKJqMQFeHzvXXQfQg+k7EfAo0q55HzMlGwf+Wnv8frEmrDHrYHeN2fXayzo\nWX7VaA053yP36VAT/ME8PWDJQxvErJrVC73KfD5yj+D9xTXUu1dlg+cQtlfS\nuOYE9Cfd6LRq6JMra+vfitcol4rSYQkdksi39SgWXeNTL6kaVDcVtQoYfMad\nsI0bI35Ub35g501FMTZZ9lJ4wytd5GCxyjTWkMaNkeut4jLqOH3Hm9PzZPSB\nZQ+o7LxyovJgR24Jjl71WooMBuwrKNCkNATq8+tA1rzTltcpB89oh2fqBYiS\n9cjDAsW0lS62FxTOLJsyQrj3Zt2tDwNegRXwVKKrp1LRe+CcfkZlW8Q64y2d\nuqIwrnbQEZqztEliVgTXivfQJvHvtHag/rEhKpNk1zJmbfWlOK5YEPp0jtMR\nQqZeILXRAwuRJTNVspAsz/+p6VSKgvj5PKgQFAYzlDHO2Pttf8lJAFFIxit5\nbEU7/Rmoou61suqqxF1RjFngpPfVrC7+XhntpY/k5M1To4pIxVn41/cSngWU\nbBQM0rZzheuGPL1yoypUNz1i3H6jLYhw2f63904FW7zYLdlUJ5FMnuEceag7\nYFupUYUVESY+tgySa1PBCKendhj6UIf/ZxaPg3Vc3YKvEUYFUdmzDa82si9T\n+fed\r\n=1CgO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"eed991d293eb3c86e218966a344647649805ce61","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T04:07:09.960Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.93_1637813338679_0.7710097572423731","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.94-renovate-internal-patch-6a411b042002e091177872e920db95710ff7bb39":{"name":"@balena/jellyfish-assert","version":"1.1.94-renovate-internal-patch-6a411b042002e091177872e920db95710ff7bb39","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.94-renovate-internal-patch-6a411b042002e091177872e920db95710ff7bb39","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d53bdf594bd2cdcdb3adf0f2e859df505938bd93","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.94-renovate-internal-patch-6a411b042002e091177872e920db95710ff7bb39.tgz","fileCount":10,"integrity":"sha512-jcWM41PDJ/mrIuSqG/IrIrVqVSht7dHZdFx0Xm+Cz3aduZQzB5WKeXVqfY7tQWg1ur0O2Wld9omzbQguR/oVMw==","signatures":[{"sig":"MEUCIGHwuzEuAzP+xwvzyp/qA6Ed6xKsZJgc+Q6/f7nLEPmEAiEAnXEnoFTDfqaoX9kLkvSy76ekLjx74+Bdp39d6JHZU34=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnz8FCRA9TVsSAnZWagAAf6YQAIOkKrz22LD97ZZYyn3M\nBMmh/W5M+csg91D1BszQhqLYMG5ttqb4yHqSLTun8rAB3eHB3ovCkBKw+gHX\nnyBRWpWHcr4AuRhleOsdoJ8Yw3qGgDiskCuhZYTvnOxOiFgDXh91+mhBk0lz\nlGirhgfX2PU5tsHI5cci1+sybuUGpeM6DKA6NhM2dQ2I8M49oVnrvBYJANm3\nPSlt7V12Lik/aAp3xtFO6vFW4Hj3bqk2KxmfHVaUNh9cjSETTsbzj6Jd5Wrc\nw+c2HX9CJyPuNgnd5Wa8dUeAICZl6XhocW5SVYo1u3ieOAZMsm9BAfhe1E8F\nBP/CHjLASAaTHnj308ninm3NMY9plN/KRmHMN7OYbfip6BWB8R3Ey2/oppy9\nzDXMyx+Ahfq48DG4omF6owO4CzV1SZ4GhcVYt4pFIeXZvlcbwVwr92Q8Sdsw\nRo0ceXwt2JYeDqEiUeQ5Iskt9lgslr8BVJIsk6vQF7A5Hcx8BrqQGkvMEA8a\ncJF5IGVpo7l8WfTPOvByhXjSKbaGxYMBB2oJHIGYFf8RePj1gf+o1fr85hUt\n7/OxvHju11078U0UOOsusucdcf44l6llq/VvDOB5Nzb5jlvJqy/jWH62ZBW1\nhXvK5guM3NfEuaRhyqaprUVju2/2MJ6f7zuzX5PW1Wgot3QJAp3vvWm99Tgx\nQvCR\r\n=zxXe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6a411b042002e091177872e920db95710ff7bb39","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T07:42:35.104Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.94-renovate-internal-patch-6a411b042002e091177872e920db95710ff7bb39_1637826309293_0.9360872436749679","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.94-renovate-typescript-4-x-0aa089c6b85bdab0c16a92290678489cce7f8157":{"name":"@balena/jellyfish-assert","version":"1.1.94-renovate-typescript-4-x-0aa089c6b85bdab0c16a92290678489cce7f8157","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.94-renovate-typescript-4-x-0aa089c6b85bdab0c16a92290678489cce7f8157","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"71b5ef8b0429386cee15f5bf0f8fbc3d4fb12940","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.94-renovate-typescript-4-x-0aa089c6b85bdab0c16a92290678489cce7f8157.tgz","fileCount":10,"integrity":"sha512-QDi+uRHKtwaWhrm2TRBOfnoCn619v6SgMauCx5+LdaoOKiL8JosMqdxREpwM/kFBBmD1MZpyrpuvZSJJG5SuTQ==","signatures":[{"sig":"MEYCIQCyo5SJDRju0VLXcX2am85RjkzDGBVDhN/QBLfpkA1ypwIhAKbOzTeqhbYiMu4N/ielwhl5I+6qQFjsJTMSRr22Q09u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnz8XCRA9TVsSAnZWagAACggP/2Xb4R9/2wOqUm2wU6pf\nRbLuW1Yp/hmcyMW0kvmwRr43hGTWaIGi8reMdz6Q26usF1yNUVNOkoVObHny\nEcpz2jgyKsmXout6aqnVycQIAPhqjtP6urBeMoCofaEKVycJSVnLW+0I63+9\n1SF/VJOfRepz5T7rgF2zXPoo5sssp+WZuLyjwx5UgJ+OSbZcM6yyp0feY8co\nxmG6QykpZ9F1CKyUInw73Z+shvuHWRKMYSlAQzjnwy/qAXuGbG3q08+qO0Qf\nDfnw6CNh2vHVZwnH/ZBvhiKeK9QlElbOzEVmLlYPwV22zY6a3obAHHTkirJo\nHT0kDOYfsK7VVDoibG+Y+1yDw5GkpJZIRfyvzYqZSEaowXoNeRLmb+UQYCJE\npy+PocaIiOZKqWG3d+j0bTo/sZLowxWX5YEU/gDs8u/un18aqVkJOG5kVLhb\nvJmnC2XX8bYU65R88bp6bxpTyXKULpOu4weepMD5ZFul0Cc0KKTqKVxcDSBL\nRe2FH+PXMflmVOkx/FeAIS+Tz7kWl2UPNBZTtU6fLvIv+7BdYordz6r3I85m\nQMMT8sHxmgX5BxKfPTA3iZW8j/dhG/XRN7VMTfpg8F+1ZijI0gvMu4PlnMnY\ndgF3CezL8NUXvsC8H5xcjOiQdiLG+VUVap3sKZ6p2Wg8WyZYmV89AHsny/ac\nz8T1\r\n=mnNJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0aa089c6b85bdab0c16a92290678489cce7f8157","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T07:43:04.834Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.16"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.94-renovate-typescript-4-x-0aa089c6b85bdab0c16a92290678489cce7f8157_1637826327423_0.8381460542153525","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.94":{"name":"@balena/jellyfish-assert","version":"1.1.94","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.94","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cf64b75b6125c3d7cced814a8bd0dadb492235ee","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.94.tgz","fileCount":10,"integrity":"sha512-Pve8gIIJ+iOa3sTOaIFSwQftfb/mTULG/hMloJ+Gvqqm0BTPQjPgBU2YQmYvR2nQ5TaCYLzOhpVMSgpwh95/aw==","signatures":[{"sig":"MEYCIQDrUXBG5q8pZ8EsdbTCQfPG3AR1n1crFqad18aAd4xgNQIhALp54xPggCE1POzduymg+kgcdYPw60CMhhiS2lowVgBx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnz/mCRA9TVsSAnZWagAA56AP/RK4tHsiRTD0QUfI49Lm\nhg3myCf1ZAW5yKtcHFXqLzOUWyhV5/Up+zIbyzjlNfoiKg8O/12gZR9el5vJ\n0/bw0bNtSfxqZxt8BUxJxelWiFpqtazH8pMb7kA7WQLD69QKXaDg6CC2FvrZ\nlzkYwXZBWqkjnWduPeOltQMb8ENiXxwsyWVM8Z7Cet0+SS2IQvG4SuzbiH5t\nYWPdM90foCsnQaRnxLsd5uOOXS+h2nP8lLsi+jt2as2ik9a9H1tBC3WX/ZET\nTkQflptjd8nTs/UO9E9kUuAMzeV5r408PdkJ4eb275aywyaIHT/ZqlE5xu29\nOSHQ710HblQeZKleOYBBZxrYtR1jb/w2cLJT/bk34m04qTxT5WoWySqXCN8P\nUADh0mKLFSwHQhDWXOVzXrRur32LzWzXtwnyoQC8l5m8hjZZsEuy8xvWVHqw\nYDDUjO3GNrVpJuUAmwqlLj+BvsqskSyHB4EYpYI8sqd9CC4/YC1Jw0Tqfk5n\nGRsHpqxT9kml/xaiY+WisFo0ULLQo/HdejVuvTdbfPcYu2zPjShkJTz1l5ue\n5ByoIu9bjo68YN240loYA5cd46b4TfucQHeOmSD3omnqLASyPL+JgGl+PONL\n6RTrknZ9JFBjS/KeWcMoEn7SLtwTaNNfl8o0/0wCv3FHHAbRlvZEJKE61oJ6\n9evb\r\n=/lES\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"52f59c8010ad560dec79683a7552a90cea28a63f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T07:46:36.737Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.4.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.94_1637826534282_0.6188632162750098","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.95-renovate-typescript-4-x-09a61176c0ae6b209c346fd2364ff480865c5ccd":{"name":"@balena/jellyfish-assert","version":"1.1.95-renovate-typescript-4-x-09a61176c0ae6b209c346fd2364ff480865c5ccd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.95-renovate-typescript-4-x-09a61176c0ae6b209c346fd2364ff480865c5ccd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"40dde8445b2bace81585432fbf4dbeedd8c9b4da","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.95-renovate-typescript-4-x-09a61176c0ae6b209c346fd2364ff480865c5ccd.tgz","fileCount":10,"integrity":"sha512-4kC+PpjCUP+PZrHxrHFSBaYarczkhQS3EJEQY7cvKnPrbGMTn4VM8UCfa6EpgsCauiBxjlYp6zMlKjGWoqhN+A==","signatures":[{"sig":"MEUCIATVLE6a8DDfGkN9OJLn3aapgJ4nnREMJGE6eE+FTdN3AiEAgwGaOxT7aZB0EHP3zxKyloY+GJyM9MjnWz6B97MKW54=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhn0BJCRA9TVsSAnZWagAAQpkP/ihy3Uni1+To/A28ASVf\ng1U0iAdgO5Kh9ca5hKzpItlk8sWygiZd2mcPGs+YSgcevF+OEjs8hWt/NNu3\n7JOa4gbQqM1iDJBbns1S6kVlQDwF9gv03E6Us01mTfVv0SzNOBKSFmXzUcYk\na4eaa3tljsw2HOZCKtUXQuIfXOetbvzmSbSPHMv9kAHyaPxuEqacDC0p6Vj6\nVdfv5njC9WkMaSfmGrEGX09y9H05uqkz3xUM/GpF2/RXoCC5lAxOFNWqsc+p\nr3jxmDguIjBZwqxekhN9FlYoS8CMKWdF3WEG8J5raGXsMY/OFzWR7xt9B1Sl\ntVafAiTbgAKfWubsIQBq4HIGzVYaPjMBAwrmidG5lnX1kCIG5SocnbkrRvYn\nbVD5L8et0OE67E9OeHFMFpfsvulq7gprhdI7Agt8UKEywUaA/kBTOVWM2swV\nSDe7AKTDjEqPiKBqbspmWDu6ZCE4irExOYodN7tIU+OQ8Qqx3XFkaaBS0eac\nYmHbj6R0zozba2H4g/1BQGnI+h10Qd4sQ/W4f/WQCe1AwoEbZ/3mG0Xwrbvw\nZQfwMjByGDCUO/IJAiKXLBtsSiwl+TXQTbamnoOOZLN8Fk+al55cZ2vkpWXh\np0uDbxFLB/c2lbfaNLHrQAVd0rhdMCLedr/aKS0AiMLgldt2D1OoV2MIWKvH\nkLan\r\n=fgt+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"09a61176c0ae6b209c346fd2364ff480865c5ccd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-25T07:48:06.978Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.95-renovate-typescript-4-x-09a61176c0ae6b209c346fd2364ff480865c5ccd_1637826633311_0.7085418845689235","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.95":{"name":"@balena/jellyfish-assert","version":"1.1.95","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.95","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0127cde0d84d02b0c8949c65953f7f7f6830fa07","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.95.tgz","fileCount":10,"integrity":"sha512-I3Ha30iO53Wz8mg605ic3hSP72LrDxhhcwTpAjPvwdqwD78VYePrnLnZwxB8iMwmLQ36KaLrvhO9oioAy0mbXQ==","signatures":[{"sig":"MEQCICi6GHENnXaqBVp7E19NnGW1/hDHPaEWIYHEJ+/RjLSgAiAzc+eHmdgstOhT4YETcl+/5y3wM/+oZIYafsAKNnC7bg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoDLWCRA9TVsSAnZWagAAHS8P/3nm6dR0pp3aYJE6ke1U\nwZ58+Nd1jEEp3YlHxZF9r2f0IihRyU0kwt6PWcIuad/aXRWzkYLZNj5RTRSH\neWAZbPxWcQUPiEmJ0dPVF/orI0UbrYJypqmUij4bQSg7PjxHul5V2L49bxKq\nsbo9J6mSdXtW9zcAqjYRuO0T4NMESo00Re15iuxPULXPdY+4E0PJ/Ygs8VyG\nqUA5q6I/UY/On+hH7oZYzTi9WpoCNAW5qK6jz7iJZwUYiKJmqN/vV+gtBosc\nh6TWs0nJjvzDG6X+8evrcSY/0XcrIsW2iwjkYvAVvP0Xar91jrqUKlz4f2ri\nK6bkfw4Vtmdtf00+Di2yj1zpTzc4XpLO1iPUwr5JutYY7bo1IpOQxcBE/vmu\nYKanGC1p8RFlMfGI0ruLHXgUWEjOWKklZj0+92nyAzC/gRNSuPFBy6HFgBXV\n2ewdW9D2KQNjmo8tPhsht9Y/9PXPEaJz5RYR9b7OTX8FGlCahhNz8S8fNlEY\ntnZRRW7FPB4sk8iYS8T6vjaazXX/teNh3YoLb9FTaJ7KdosjMfCbvvCPJoZ4\nstQSSW8hLz4x4C4lIdzzzwbv1SRDTnAa2bFUqlbdZ6FJPhyZJUG6eAXuxpyr\n+E4CCpXBT0QO/7d/4F2w2xBfCWYJsRTYkmuiXSDyIYL/HSeMsVe2CneQ/53D\neA1O\r\n=1kV8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1939c19ba3172a33fce8407b041e97c95889680e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-26T01:03:39.646Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.95_1637888726767_0.0444726939156288","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.96-renovate-balena-jellyfish-config-2-x-a541035936ae7019dd9d9d78e9f8511c0ea0c4f8":{"name":"@balena/jellyfish-assert","version":"1.1.96-renovate-balena-jellyfish-config-2-x-a541035936ae7019dd9d9d78e9f8511c0ea0c4f8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.96-renovate-balena-jellyfish-config-2-x-a541035936ae7019dd9d9d78e9f8511c0ea0c4f8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ed98f63184464889a431c159db698a9c35982244","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.96-renovate-balena-jellyfish-config-2-x-a541035936ae7019dd9d9d78e9f8511c0ea0c4f8.tgz","fileCount":10,"integrity":"sha512-Jr4zLoNiUl7A7yNymsutZ8JYzYINu0+U9fSyxYPaHdTQgbcTqZCSYP6xfFR3IRI+kNJCyfpksHX/UYW/zuGRzA==","signatures":[{"sig":"MEUCIDLQtk+vVljbhjXYxqOsL5ukOmeJ5UPOyaxd1HQ8fBwhAiEA4077uAeqoXBUIDHyknpg1yO48XXXMcpv43qIfElT/SI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoLDoCRA9TVsSAnZWagAAUvIQAIE8ECvTEcNU3VimzEta\nuRSmF2WeGuH/q2FKD5gTOlqSUP4jg6eTD6Dex+I1RnShJ+2hMPSFR34kfwJ1\nHn54G8/KJHzg34axuBQmgaFpJkxK87lkErk38ik4bXzVMZ9hO0XwEglPSB1N\nRkArk49lPo2SuRV6dF8Y5f34etuumIBbuvOqy3/UwAdXYBlgi04Wrf9BkEsI\nVyW3/JHw4s4Yx9FztAzA5bJZgvo2L4UQTbjnmltFHxrIJREcxjO0xQNlTVCE\nsBWhTro42nTqmrB8j3oDwjTxzQPgMpsGr7wuOGdyHDdz4xvgJsBDdTBfEqu0\nz/hIGe90iXtM4VfcQKFT1QDylm250lZa0Xm00Cq5BS/FlrE+nYIxv2f3Dkj0\nqqvJ/Gi5CdH5W6QY2h9fvvbPGNCnHzJ/1aUloxleIFW8qs34Du8KX/YysKZb\n+j/qoTp8FWx0Sw5DNFtF8waGlCvqURGvelCuIoey9wmYPMByCAPLJ10qXF5j\nwoLR3XaLO2UTTUfi8c9z9jOjq1P5hPh/+Enn2qLI3jpPFh3SjbXaIn+8wO99\nTIwqnhbmCCS9wh9iTZODLhNuOTagPUABGA6M590xevr5CEyaaXJSNmXpGvzv\nHN/D7vk7o1mAQwVnd0368UDXfF7fplteuu8bptY/4LQxPOVdiQfDO58hWRq3\nVOjR\r\n=zHW4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a541035936ae7019dd9d9d78e9f8511c0ea0c4f8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-26T10:00:39.708Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.1.1","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.96-renovate-balena-jellyfish-config-2-x-a541035936ae7019dd9d9d78e9f8511c0ea0c4f8_1637921000016_0.45170254318571845","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.96-renovate-balena-lint-6-x-51712f0513df67405ef250e8cd26cfeca29d9940":{"name":"@balena/jellyfish-assert","version":"1.1.96-renovate-balena-lint-6-x-51712f0513df67405ef250e8cd26cfeca29d9940","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.96-renovate-balena-lint-6-x-51712f0513df67405ef250e8cd26cfeca29d9940","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4d1e20e2e39749ebd2a22441dba0799357056943","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.96-renovate-balena-lint-6-x-51712f0513df67405ef250e8cd26cfeca29d9940.tgz","fileCount":10,"integrity":"sha512-ep4D5Aqe+Xd8h4JmQvtVSJjlWJQ4qT2Uy7OIIdTxEr48pD/Rr+o1uyr38pCZa+YAKKnwtLVgJoIXN5yOiNvk+Q==","signatures":[{"sig":"MEQCIAgw6xuP2KK9Bw4hVA6EqguiLttr8ZhFm2VT2w1WSu/mAiA4cWPZo+owlrd5raar514J6St7nkaL/zRnLO3GSPdfKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38607,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoQNACRA9TVsSAnZWagAAJaIQAJrkCX1Ci0XXmP4L8BGn\nHfEKoeZAgdFbpAm+bL9sSX84qWcaUCnk2Ozo2mFF69ALHQdcUrbqTFpyvWER\n+siV+drsX9RON5fDC73hTdHCNCQJpGw9JdDyaGE4/8DcHKHUsRB4+7x2T1Ki\n8FVLXkka0VxKMdmMtCcdWcmQTj57vjnHF/z9v7uGx4AFWe2XgNXAaa6yUHgR\nbvBj2ao4egegTGaC8NtrdinNborARLEkwlnX0S3OJm2NnXO1VwNkAxGr/qBM\nGi2vEh5cjSqY4/X3yT+ayGq7T8AY7YxjaeodVHiGzTZAiRqHJlhgwjwQsjga\nYXqHTe7X4ygYgKprb1bbOZ+eU8hW7sQYxsImSwr1sRpYV7iv3qyVnWRcwmzS\nbX3OFqwzHrFaX97cN6Inwohhe74JoGmbLmyfBrayQKaobbWHQCxOjdWRlhVt\nAl0UVLNkgdlw7W1qfmIgzdk4CC9s2S30/c5jTvXIFvfymXXmbLuJJZ4fIwoa\nk9u6kIYdCD00vc7KkEof/hNT7L31bO06xnVSId+z+NyyH/iNnhsucGIKGmDl\ncFIKdlECZcU6jta0AzmAslIXHMNnMUPjcwsupt24HVk3NBhAy6sGvunXLptL\nxdiVzTYhzkOWw9FR9WUq5G1mA98AkrWweEdZI+o+3GbU8sz2f2Zx0p7NwB47\nELBa\r\n=z53j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"51712f0513df67405ef250e8cd26cfeca29d9940","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-26T15:52:18.332Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.96-renovate-balena-lint-6-x-51712f0513df67405ef250e8cd26cfeca29d9940_1637942080636_0.9420649979128637","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.96":{"name":"@balena/jellyfish-assert","version":"1.1.96","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.96","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"29406f8b2449d12fe7b88d4e6f5de153e4b0d66a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.96.tgz","fileCount":10,"integrity":"sha512-y9HaHZnWbULlw3jjHEfig0gxChgf1xFEpmkuJYcG9g1OYj6QVt6xBmRZ+p+KxOpznKfgmkVQHs3RBKkScwwi8w==","signatures":[{"sig":"MEQCIFU2GWDlP91YjNTOtTzbv8RT7k0C94J8d1X0pwT1TUfDAiA68KcYYL7QRbgjD9Wv9QpeyEIJY+SbzIbaaeGdBFJqFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoQQOCRA9TVsSAnZWagAAgGoP/18N5Yrrm9RAGw4NiZNu\nyQSMqT0DxfhTFYDjfeTvH1REtoBIrv2yR09zKB7XsdS95G29fxpJZvf5aP8Z\n3B9n3ZwfrK0L1rzoE5OQ1Hl1UhwOC6+VQwI1iXS3a3ZlyGRs3iyTQ8W+OcEl\nIVomrsh4a0xfzd0uFoP5KzHX/UopZyJ5hM/57JQWMpcVWDrFW5jA73pjV1tX\nGK6GNFIiTakdT1DnMBZ1C00AvmbZ+k2HteIb5p3atHNRBh61xdlO3HNN8OmQ\n7cuyLh+mbbTJF7aHyzsmhiskbRz7tNuVTO7t9k8LUjk7d7DikF29LB39SNBG\nxH2pr74q3X/xy18BuzOge/ornxaOhe19zig1Qoyk09f/zUONjeCduQ/s5cCs\nPTgWngRhYtsHidNtVY2VBnx0ClIOsMdU+lDRSP6TkXvT2fB/wcU0Wzw1GfOs\nCbmoBw5Fgdxff5lu2tGI4BUEmssp6h3jmLeL7jXDW+dG8vvgln+CoTa4hO8R\nou6EgYA38X2QM4yXij54VVFTHSRUbdU3zoasaOb1sCqFT1b0RJMmvqtR18zN\nFNB04m5kS4NNk0GjLREzENSLgpvPJInbpNYRp7DqIKZFtO7PAt6dgqYu3fMm\n7Q27DNf6Z/DeNM/e6V0wkVfImOzfZL8KyiNdz421WuW1FeGBL0hEKtJEDL3S\nxuE0\r\n=gfLe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"53c1236e6e9572c27588602e3d209a49f200eb3c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-26T15:56:18.268Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.96_1637942286648_0.9005949970200213","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.97-renovate-balena-jellyfish-config-2-x-c4eecfc5dba4c4bfc7c33bf1c2ecbc752e72702f":{"name":"@balena/jellyfish-assert","version":"1.1.97-renovate-balena-jellyfish-config-2-x-c4eecfc5dba4c4bfc7c33bf1c2ecbc752e72702f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.97-renovate-balena-jellyfish-config-2-x-c4eecfc5dba4c4bfc7c33bf1c2ecbc752e72702f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"89b87b44385da4b3d1f58d3bbbddeafc24f16638","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.97-renovate-balena-jellyfish-config-2-x-c4eecfc5dba4c4bfc7c33bf1c2ecbc752e72702f.tgz","fileCount":10,"integrity":"sha512-j42G5CnPNPIGNeWelj3kMN4e4EHuvnZd+KZxLcLObfPatuH5vRQHc79vfbzgpZJ/KH8hIAILZjnOj2uWTUw84g==","signatures":[{"sig":"MEUCIQCa5b42pcJUt0dXDhz9ZEn6FuR3AOhQcdS44KY8YoQUUAIgB1W5OZsq9hi9AVdxGE3GCyIqAH/zQnIqF8wCrkkfVj8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoQSqCRA9TVsSAnZWagAAoZQP/39Bdz+nhzmjj3HCO+z2\nexEtr9vfj/zhPRJcTwgpNJFKs/gKnWlEHjzlWlY67BOsRbIXkkT00lYbkixK\ns97H58eD80lJ0aU6kkS4Bw+Ei1jV0H/9kKxwW2Ihp3jDH01T3A+Yw31j8czX\nTRhm8r0NFsiLRPbe16PD5KN7wNDqPhgJL8fVO/o/2AwNGYdjqWjFohCpNTMv\nHXpw56AVgDpHQAX24awrytu2lMwdmEJ1RCt5SSxcYIkTs58ow8IOCtx3QTHv\nMh9z2EnmVOMIC5HicNs06cwqehJmHkVs1BI+H+xiNjkSpJOtYcgCTpyUJS5b\nvbUeTYe140A8A6YK+fWzcVQ+vCKZT5B4PRnUgQfaRU38jPRqi0hOJgZI9oMH\nwBKzRXR4XcJZjVhd2wb4vxMuHX7DhrmtfxAe1llc0ApDFbWwUSrrpUe5woEt\n5wZEwlg7HvYH8S41J5nvku33xmKaU+rhYkjkK4K5/PRe/RuQvMGPQIUFOxan\ngebAhAkFJ4aUQ3ksI+HkVlxgRYWxepH8+v++b9JxfNo5fZQGw560/IUkPD6K\n6u4lA0OOMVbf1dslXVkAE9YadXSZ6LyGOnHP8Pw7/fI7U+wgmWDnKx7/7cjt\nc7iJJpoePxVl49R4VbNY5k4rkAMTnwP6d1dxtcwqkPGBJXiBqLk+40hAQ16C\nmOvV\r\n=gsfG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c4eecfc5dba4c4bfc7c33bf1c2ecbc752e72702f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-26T15:57:43.622Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.97-renovate-balena-jellyfish-config-2-x-c4eecfc5dba4c4bfc7c33bf1c2ecbc752e72702f_1637942442446_0.40431731068587085","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.97-renovate-external-non-major-da4690be512d360e3698bc73f462559f3c7784b0":{"name":"@balena/jellyfish-assert","version":"1.1.97-renovate-external-non-major-da4690be512d360e3698bc73f462559f3c7784b0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.97-renovate-external-non-major-da4690be512d360e3698bc73f462559f3c7784b0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"34deafd3ff59167c25dbd6194d3c959ac7aaed75","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.97-renovate-external-non-major-da4690be512d360e3698bc73f462559f3c7784b0.tgz","fileCount":10,"integrity":"sha512-C9QNa56ElNowwbaFcMc0UmvRVCyeAJQ2wiV/BxGkzGrQN/0W8CtNHfjUuKoHf4l8vMbp2vYDqzxJmgy6fnjHXQ==","signatures":[{"sig":"MEUCIGWH+4NbcT99+UBgmTqMh8rMzDeLnwoCpk2UePYqaKqrAiEA9I/RBemjzj4ehhO5QroPu7pMiEt4yF+QgyOyZ/9j5FA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoYLeCRA9TVsSAnZWagAAbBsP/1250rhI+Jd4glu1cRJY\nmT7RU+vZ3qUabIgJRdbZFhjBDGf5jGQE8/54xXtRS0hk/E3GRml9VhbI6jdm\nkGU/3L6/R5i1yfWH41FAMGrS/MUxA5Bd7o4Q2oZaYcds7NZH+KJvGAP+h3SZ\nYIhwNija3R4MCbR5jxL2jHotuAfkdys8A9ihI9Qd+5xkWO/JMV2Ktm0lFpZS\nyMB6wQyyVGlKgvweIgiOastWHfKLuPOaieuGa+KoKkcF0SOjFjlaEPlSu+Xl\n66UwCF79ON/YbIADBn1wnZcWwqbmX6kiACRXEa2+OLlogJnq7ujOgp3NCT/t\nnddfUktWF7EnOHIK/1U1vZrP8gE1K2/a/kzRECAybON2zT1nGYMKhXwZVHPy\n9E9KQgLiBSt5Rak6M1H01eSvcMpJUFKVWfW9PwGKbmeO3uQPEG1oGGa9lphF\nZqOQVN20DD+wftLZ1SU5DyoF//TY4yCmPtT8idhGHSGoH+0SzGoqPIaLGDZp\nf8RAzshPH3ECHX1agMbriESgzNfhMHYvTSFjVXdDHPJogY31XoxbhXsaJb4n\nfh6N/O+y2x7e8PMOYlEZSkI4nkMiF7b6VRN3g0rSQrkBNLOIybH/cRkU7h1B\nIq/PkxXiR/qTHdAHS2Fz8j+3GnBi01Iv8HM1Vp5pldeN9vd53mATM/54uqvt\n7E7V\r\n=oDHP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"da4690be512d360e3698bc73f462559f3c7784b0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-27T00:56:14.563Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.97-renovate-external-non-major-da4690be512d360e3698bc73f462559f3c7784b0_1637974749840_0.9504303134442846","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.97-renovate-balena-jellyfish-config-2-x-ddc18f7923c3f10d923cfac81a195f4cf58c7aeb":{"name":"@balena/jellyfish-assert","version":"1.1.97-renovate-balena-jellyfish-config-2-x-ddc18f7923c3f10d923cfac81a195f4cf58c7aeb","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.97-renovate-balena-jellyfish-config-2-x-ddc18f7923c3f10d923cfac81a195f4cf58c7aeb","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3abad74c8f240304f12eb3227872f5840a965f2d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.97-renovate-balena-jellyfish-config-2-x-ddc18f7923c3f10d923cfac81a195f4cf58c7aeb.tgz","fileCount":10,"integrity":"sha512-s43XBOELR/Hbt0sfomEwFNiObewa4+j9wSdxJieR+Qoi9gUZgZsuxlCU1rDCizmnIsroIqwKA32d4v/8yxvQfA==","signatures":[{"sig":"MEQCIATyhRIYX5PkgbAB3GE/nhykU9JuzG/QGyW6DfIxMCWiAiAP4cRyoLYT2hUzK1y2VCJ6l6x7l35U0Vk6vunZqc/vRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoYLiCRA9TVsSAnZWagAAgqEP/2LuPAlhPziu1z062Ful\nCXcEfSZQR3GkPHYrzDKRvPLh99+ExsjpqsyYvSYIlQjDaUN82N5vi5Xcuwzd\n1MbEIoKvEDy5/CVClNu7I+RRe1grummGW/efUHeoZSlqvhAODRHkrbFVfN60\nmsr20Td1cr1GvC0XnJoWJOuwEy4IPeB8C3DgrHp2tlXzvb+eyyq5bS4Eq1SC\nh5eA8ONHcf46QEsP/ptZUUZ6BQRe39sF59yXIPW4R7NXLjdodDHFo63SW2sr\n0V4n/BSMuLL1malNuNBVpOV5sAbm9ZhpZCWdmD3gqIevTShtWDvjpakF8sQJ\n3F2Yt+/dMTlnhmWNlivyXfuO4CrFUNE+JnLkVuORac+5QXjgVZOm6mRKiWGL\nexG+Hy7sHn3kFvClDb2cetVWsxbvlf7xxGPQ/O0ixZDp7EpWczMNakkg+tDB\nBo/ZIGbRDezeyuCAsqIDn6h6JD7OjpmB0xa7jWJ+CYOpOqSGx54NFsNIzfVD\nhnl/LBqE4GgS+4vUPwj9qjB8b0oWQIVbr0khKXUJlEZpFco2PGMWOCrVfgc8\n1bov9celZhmQXSozFw1rFnMpOryVQHM+hIfuwvzsG0tlZsv7NOw3H2lolG2D\nhvlKHpnW+qnXp93yLjjv9FcZbYMpzpKkTNl7pf2S1B8Lwh8SErRg7b8esbWa\nP2Bn\r\n=sYNQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ddc18f7923c3f10d923cfac81a195f4cf58c7aeb","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-27T00:57:09.299Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.9","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.97-renovate-balena-jellyfish-config-2-x-ddc18f7923c3f10d923cfac81a195f4cf58c7aeb_1637974754473_0.7073740513464506","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.97":{"name":"@balena/jellyfish-assert","version":"1.1.97","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.97","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dbac7283f32c69c8ef1a6faaf825330537dbc919","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.97.tgz","fileCount":10,"integrity":"sha512-DerfhbA/lfDzVOELMWot3KLxLl3UcYVzUH23RFnG2MI4/tS4XXLyh6XTQAgdHfRkHACKTgRxFKQ7QULbTa2Dgw==","signatures":[{"sig":"MEQCIDx3u6xUg3IlCt9l+ng5YR10eQ88YuYd8w0tsSMZjYn/AiBUaMq7Pa3NVOs99X05mxHTo9SpizgdzBYzIGSTuUd6lQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoYOoCRA9TVsSAnZWagAAn54P/R8DKdk1dNWIWYUtb3D9\nKUK01kZzkSh6lH3ROh4gO/l02JYwg5P173AEcDFi+hnl/CEsIHkMxrsiDkrf\n760OIkNOudO8KHtgGWPe57LWjvPUZpFD/ijj4PoqGfm+E6QlBwkDZYjf6G6d\nExbDwwyaE3Up7w55gGZI1Ej7n48tjlqJoJXbF0nvmcrO1DAi+bx/sXKbK+Uf\nUPepLQGqcRNNvIemON3TI2bb+RCpDX6IU4xFEPOAyZJ/X7a4R1iB3+r4HEI1\nV3Uos0PohRvY0RlCElSyNLlOPmBWVTb8yOxmJNc5DwIA9A0f5do1n0ZauwKQ\nWjcxyjveb98bih2565Aujj9tcKJQHh3Q/SHm/453criIZ47zGUMvCkUGSZhx\ncqEyh9kg9OTAQRI8blKaBui5KahoAngUebgwvMNEA3/NpEdke3Zgiti7nkPE\nZ2jLUrt+R6CidqjmCjQCnMzidbH6VIuikBbiYT3HR75YtlJaIDmDFcCJNDEO\nvWMMmDhU/I7xqvyyTaeyr/ByZYm70VNy+2rvUFvwUJAXnkno+ifkCDrHFrFS\n8liTtA7SEaNtY6pvg7v89rmZjeOJHpplfJUY30W47ivt9cd/Pjxx2jfplfGU\nACodKeCx7DJtPH0eTrmrZnHlxB2AgxFxNr/Ga80anAXPIWw7GbdpvZuh2uJQ\nehRu\r\n=GvVM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"59aed01e03c897cfaf3221a24db29301fbc0e3d5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-27T01:00:39.567Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^1.5.17"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.97_1637974952643_0.41510375053524684","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.97-renovate-balena-jellyfish-config-2-x-256da7b841a62effaefe0cfd25cf3cba3f027db7":{"name":"@balena/jellyfish-assert","version":"1.1.97-renovate-balena-jellyfish-config-2-x-256da7b841a62effaefe0cfd25cf3cba3f027db7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.97-renovate-balena-jellyfish-config-2-x-256da7b841a62effaefe0cfd25cf3cba3f027db7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4999ec17ba797a1fe957f308ff9544a40f7626f6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.97-renovate-balena-jellyfish-config-2-x-256da7b841a62effaefe0cfd25cf3cba3f027db7.tgz","fileCount":10,"integrity":"sha512-Ahu9+dva5aqLq+9QPGvFQvjxmvvXO7OsA5m3NKvQIEVI9kSQjL6RpGy16hFv5RcYhgf5OKoYLH2cqAxVPyHvag==","signatures":[{"sig":"MEUCIDhYyygDE1ihE/uMNdfljW/wqUHfusaXk6S8UWtnjga6AiEApszOCxJggi4tlhIHiwSr8v0hDyHHColyZ2TGNyP7FkM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoYQYCRA9TVsSAnZWagAAKQoQAIVjatIf8sJmUX7T0+Q2\nuJ1KVhDq+a4sJP9CzPqHmPuSQAKvEvIbxvrMBWFq9w/jdKB88adfmZxxaq3n\nj63i++we6+6/seDVkD/U3PREfBs/jyWVoJmkYcM77hWLPWz8OE3rzv2n/zHg\ngDgUeQkV97848EtQ+g0CGSdXupX+fnwpT3WW239NbdsHvYdbT2GOlSAN6Eaq\njDS9F8Lxvgg1VN9Z/hM8PPwwSuwbpB3aqmeaumySbAA7N7rzWo0/hal5kcUX\nELyrF02Q0YoC0i1GalnrwsA+bredlWp8rNDtOfYSOooZsm+JV52Fn8/VY1jS\nvKuPyiqmBaJrA9+sWygJ9m1IBsms3n/Oz0Azi3dWVVDefitROqnZopEvu+YZ\nfOH6632Pi+cMzHcy1YrXCxbHmJhaqYER9hWofzK6Xu2gFSmAEIgnfjWGaQXL\nU8MzKzlUOPjuvGB/16yueSWwAlKO8yM/Iz0nL1GfqZkkCk1QTO3+GzuT+5R1\nXl3nisbK50gZCQacHCrOo9P/ODVGx+Mi24Osr+4+HUlyFJZOvACxdrt5yFTB\nIuSY4/PXp7rNdevc7vFxN/Opj9jeH9u67CV811U8J8+W1tpiHh8DSR3fximc\nIgavhPkZR4L+owTrDqp8d2QkEX4MlSohTsP0Joz3eC8WF13vlnjFRJ3NqnEu\nQD9l\r\n=9kWe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"256da7b841a62effaefe0cfd25cf3cba3f027db7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-27T01:01:47.137Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.97-renovate-balena-jellyfish-config-2-x-256da7b841a62effaefe0cfd25cf3cba3f027db7_1637975063900_0.6968997556923726","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.98-renovate-balena-jellyfish-config-2-x-92a96fe93c4b48a1fdade1dabd158646f55bc8c3":{"name":"@balena/jellyfish-assert","version":"1.1.98-renovate-balena-jellyfish-config-2-x-92a96fe93c4b48a1fdade1dabd158646f55bc8c3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.98-renovate-balena-jellyfish-config-2-x-92a96fe93c4b48a1fdade1dabd158646f55bc8c3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3a1edab1aff6e1f7ae30e3b09da94306caaeb7a5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.98-renovate-balena-jellyfish-config-2-x-92a96fe93c4b48a1fdade1dabd158646f55bc8c3.tgz","fileCount":10,"integrity":"sha512-yQk5bpoqdyKXLo81b0DS7+52lLOC7qJ8qwOthSdBPYY0D9rFFirNdWeuY9A4nNyXxN0Osmu5B3JTMx9LVr3hZQ==","signatures":[{"sig":"MEUCIDbpxz5RF+iEHy0PCheVa8Bm7bHtB3EbaKmaE8yIFDvgAiEA5Vy3Lm8LSGbtNZBXB0eXDPzySvsKNY+b+5pgHO3Qqvk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoYR+CRA9TVsSAnZWagAAHFMP/0LF4Bh0ksbz68xxf6S4\ndoRf5+qMlpoCbg5Cd1CBfIkWxuXp82g5mWO/zoMMV/XCSkCAa9sZN95ZR7Y2\nRIrqDRCz+hEjiDTHAlCPsfv1D1iLBJRg8lQUChJM/DgM8wkTTy8sK4q+edxA\n5MYikn9QDGy3kx0/FlOOH/jHKbchk5PvTdJDbx5l5/DyGxnR0o9I0uyajrTa\ni3aYZLWRPx1dlDq2o+QGftVK0l7fB7EEXiswTqfBc2Ziz0W5S67MysI7qFmu\nhjLLmozjuf8hYDYSDUr0neo11bxya+mqUiDO4NHxyypxdpeFG7Tkr4F3FXci\njqkSGuQ5l27I1di7M2YaFEdjbx4y/cs4gUWdQmpz5rLLccXmU4kA4imbfKM+\nO0wrwMOmHfeJftPOlzIhTqOdxr5EgFLUrVRpFvJkAqjs5nS2nuRh3S8zaRe8\nCndhmaL3vUQZWpAlwaQLrLbkrrWRM7YWVDHKyDLnSVYYfNMzxJ5zyWtXfjZ8\nmY4NbQrPmjmwcSu7dQV9cYOCOILGG9qAdeeVPM+MrKFbpgRXdauYL50rYe8g\nGRKD7+tlSx9Wrh1nWI8x+klx2MUk6z32MT5y2zMK+B0Im6AQJb0aGH+zIrkj\nd5nixK65Y6iE2BcS7JTdOjfhA46ftDB+9cZjnyRRtoYX5sMcYNsxSXMFd1cM\nS8PE\r\n=mRCB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"92a96fe93c4b48a1fdade1dabd158646f55bc8c3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-27T01:03:47.212Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.98-renovate-balena-jellyfish-config-2-x-92a96fe93c4b48a1fdade1dabd158646f55bc8c3_1637975166595_0.966420959684162","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.98":{"name":"@balena/jellyfish-assert","version":"1.1.98","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.98","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3a8198c4c3a14e1fa66803b2a2fdbc77ad6a5f85","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.98.tgz","fileCount":10,"integrity":"sha512-02i6Fk5xDgC4n5DTCK5Uy0hRkYRQVwTJCnfViLaFADrgcWhd01uD5V53reSZL2epSAFOJhIAAkZpVI8trznG9A==","signatures":[{"sig":"MEQCIC2uNlFxxpzW6w1N3hedQlUvxGHL5V+70QfKbbJ1rvezAiBfKycLeYUKeyZsO8mBL+q2cGULa9kzYchF1R+dnYRKag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhokObCRA9TVsSAnZWagAArzoP/A3/r1W2U1GgXnsnET0L\n4l87b0oooACWVTqs+W49UQS8HAzb0SyfUJ2mRhh7EWVA581Yp9b5CPRuicUJ\nAJxlyg64Whwj6Tk/Iv0ndtgPBglNVFLBT6Gu+U9e9fNG77iTHA+Fg5cQpEwP\n6862xY121hhnFCthYN9U1J52yLHTD3EYm8/m/2L2WRrTAuRBZrGh44GepQaw\nSfWl8Gztv9TFthhXlwE0CkBDMdrMaaxxZLqU982hqTmfGu+tChdwOf8Y7p4O\nGEVMxG5TaMn23pFtcpipG/C6aS2HkL6lGSVaDwM/GErs0iK3cYEyu4ACr0cA\nsw4H83SRg8PAkGvtX54y3JglkYuaNZNax8bBbuL4BnnWjhu1UCUhNV86ywbq\nByWKF9kk2DIdLeCeDo3NBLBQR75U+zfkPSi183Rtutxak3v0J81kWMX9/ymL\nLq3r427dLY3jc4Jb4QJ4AJhz8kI1F1yFJoD/kHBhKU+sk6eeD3eBg3U6SuQW\nkFsnZ2zctBVWnMlNYPESjti7AXOJxkQXHuR7AN1lYWrvOMRc+VFicR7N4R2P\nGi90j6eHaXDSf6r4wTZoH9u2x0cFC6+tCLih5a0gFLCVok9EU0xADmaBMZVK\nJuyfUdupdriABzerljmyzIXHhDlRqgMQtpXqkglshyNWO/DGjr8C1uICxC67\nvDGf\r\n=oHXO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f77d4d878a9509cd5a146c878aa787411a9fedf8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-27T14:39:39.578Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.98_1638024091067_0.42512906036184206","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.99-renovate-internal-patch-ba7ecd58dbf41e1b6d9a60c7c2f14d465e325733":{"name":"@balena/jellyfish-assert","version":"1.1.99-renovate-internal-patch-ba7ecd58dbf41e1b6d9a60c7c2f14d465e325733","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.99-renovate-internal-patch-ba7ecd58dbf41e1b6d9a60c7c2f14d465e325733","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d176be99d6c0f490efc504b5da82ccf4a6005c6b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.99-renovate-internal-patch-ba7ecd58dbf41e1b6d9a60c7c2f14d465e325733.tgz","fileCount":10,"integrity":"sha512-lbx3yMnj5tERbofQWN7buGxdfRWYJDgDG3vNJ6BicWb/9cr0eTBYfUyNr/92PR8+rX8NJAzx7qNeJCulXlSv/A==","signatures":[{"sig":"MEUCIQDf8klZsdfVF0AWfrIiiDR0PHkpsZgnLsypDMmMQkMtGwIgav+Va4Z6W1RB3CgBGegskZjQdS/AOyPTLWZLqjHvx6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpFt5CRA9TVsSAnZWagAAjtIP+QGS84LcI9nldbhQRj2j\nrSZsxI1MGKaP89h30ODA1CYCNJEbBrET5ggY4xlvLFxkoKQJxuF/hrl6+swe\nZwmf30vXVq7f18V1vb2WBWUyn6QyIeeqOzTB0NbjdsH8Z0qEGMxXoPmngF6N\nJiJ2snpM7YjVCBS0i/lAzaluKHqgnA7q/EVwigkESOH8Xg/T3OtpOhTHq418\nm3yK3MIIrsMVyk8HBuyoOV9CUw/S7AXz6iobyBLjvuXFkrk+8+F6gcoZR6+o\nwExkE2kBG7JqMfmoTAq3mycgNdJxIVkSBRD0gc+4rrsPR/FdTv8lci70NZRO\n/C9RCmpAzhaDBcxJ+fPt5d4mZtxOM2RWTLEp6JGa5QhV7hbiK3zXKqZCME83\noNPNrqIazeBoUC79nkXF0dQSJryq+Io5/1pPPaN5GB2GUDAlOIXhDxO3uUk8\nW3kzrydqZ0zJjTTuPBlfEo3jTJTEqi8pL+CNeptpa0ISMh0jy9b0vX4s7fPs\ndk8F7dGInfk6JbvgLU5DA13nySBVxBZbdZhOXoiZYfCptK8rU4oGYcbYyF6K\n8RnPQOP4AbY1o8QlHUf0l5C3Ad/xKNp0xQKC7d/tk3vjF3NJwcQGTavnMMwz\nTZ+ZYbrYbFHyc1AuUK1qPH2JldtS1NK5lkfKMPBdUOu5y23b1UbO42C+EYqK\n4fii\r\n=0zj5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ba7ecd58dbf41e1b6d9a60c7c2f14d465e325733","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-29T04:45:33.172Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.99-renovate-internal-patch-ba7ecd58dbf41e1b6d9a60c7c2f14d465e325733_1638161273694_0.9178474732585973","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.99":{"name":"@balena/jellyfish-assert","version":"1.1.99","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.99","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cc32e1f7c6f005e30b9d07935212fbc6f2e87242","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.99.tgz","fileCount":10,"integrity":"sha512-JEJ+S4QY+tOP/U7xplQo7EmJ7QyR3RjL4XzcES4x32DCiIo6Y8wACPamCvxvSwPDd3+swa+U91fKDEZhFES/Cg==","signatures":[{"sig":"MEQCICyKn2vmJDWTaOtwdObeBzxjfTcFRoUDpg4ICeCGKf8/AiBLNbzaZwtFIQMr8gFq9mA0UcAU3c0VoGVqvo+CO/tS9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpFxMCRA9TVsSAnZWagAANqYP/ip/pLaRzYdcuCII2xzM\nFGItrRlaoyyJ2IEsMNcJJMHTwRiTXZfHXH3Nz98oI88BtXuXePBUbcFAIO2G\nGLBx9Z9ciTG5WnaCZs3njlHutyZ3qbMnl1H2c5nRvvD1FDx73MU6uHs3qbWF\nai/aLOfvpSE28Ex7KJCu4olFiw4UIoxqNk7Wq+TQHsPbTf3D7PrzVgNlzhYJ\nyyhYsFHdXOUHZ+jnNeUylUTDwQzLn9p2o2GMcLqIXiyQC/tu2IA6WbSfRH1d\nuex9cKg4XY/76sAmc846fn5IclxzIf6KADrtMZINQOX/hxah7p+uLrap9ruQ\nllWRwu01jemWl1sQF4+B9Iv/hZUDbdcXMQ6ZVF1g28yumBPdow2uAKSAs3gn\nuSJ/GAi5Mj5UaBTfm2Q35xN3Y0QG0dTALX174dOqwxeSX8nkMWhS2GySliVb\nxHRnrNik72bw0/s9Za+mhHbmUpyMh3wvOmARp61t4O3Zmqv3+RLjGAuWF/HY\nlJxpi2XGEv+uTekm/k4bVT/mLcebno1ogw7GyyWb0YhbOeSnTbV85p1sSbDq\nDufuXwLJUk8FtVDc+qKyGn4y/VoSOEo582hh5hQTeP6QF18MLMJJ8xoA2Xp1\n/XdgBeA1wYOVrlSmuVbvRH4y1s3bbHzJVp54wchQXfqEE2ZbzMHLPLV4WuqO\nj27Y\r\n=+Uau\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"337a525ee02f3832bc90ac47d0819bfd0c3de1e7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-11-29T04:49:27.910Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.3.1","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.99_1638161483921_0.982204996085696","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.100-renovate-external-non-major-b46e2516bc80db2c226d49b4d487788c3655a02d":{"name":"@balena/jellyfish-assert","version":"1.1.100-renovate-external-non-major-b46e2516bc80db2c226d49b4d487788c3655a02d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.100-renovate-external-non-major-b46e2516bc80db2c226d49b4d487788c3655a02d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"692a1dc6b464660364dbb2cb1af7894a743eb8e0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.100-renovate-external-non-major-b46e2516bc80db2c226d49b4d487788c3655a02d.tgz","fileCount":10,"integrity":"sha512-iZCtXw+cx2LzYrU89nBNIgAmHDJl4e61emoS+R1+furyeX0LeVZYZKff3jVDI8JRihGzjbRy7ke7WGVGAzAxyQ==","signatures":[{"sig":"MEQCIGwGFIbsZm44jj5tsmWY1uQzUqIZhY4nZo9JGl0ltdPlAiAZ5QMqshLsCpwFihkc+BDG1t1aHXmyloHqq2tw25k5Kw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqrr4CRA9TVsSAnZWagAAVwwP/RNY8Ct5OelWtvrc17Lg\nypDkDInvIjXEA2+pspbm1HaVuJzTx4GBWqlJF9dA4XUeeAqa621m1B/oTxTF\nlrLXev2/UYfN+9utIEn7xsf1J782AGLgIMcLtlHAUa85kT0T+Iv5GgfdFjGS\nX24WdE995nV5xzxvE0Scphggqj2iDQOqNY/1Bj6Depla6se7MOyxGPW0fJkq\n3geM0MPFXY/d6Jqa+pB4jnpeOkFASfDxB14pvm6OISEOLLJWdWYVfFn3H4e/\nvZIQiYN5xUNuGu1LWEhD8zzmAdBgBSVTXwsl6AhpFnKOiP4hLpW1E7EjYi+r\nQy7an22UgwHUP5RoJdxwlYQ9AQqiuAZzg1b4Emszd5zrc1zt577dopQ9WmHe\neFA81Jt4PXdmTIa/7rdl8Jk6+nrlpcNS3jJWyw376GW/iSmjxCvTzCwPYl19\nkGlpCviHiMA1er5jv5sFuuKo1bIuOhFWJ+NF2ioALDtej0MCgGWNAXXiirqz\nuIT2piSjVnIr2ZZeBKDkXIRwnTd8mJnktkQIKT+8rDXz6noMrjTv2PSikVBA\ni9/qI354+SMxySsV9wesDsMviRgbXUVGW71v6LBWgkK0zI3ptRIP9PbkBvlC\nLRsqaQC3k62IisISuzeASyNGyUvhEnBn+GYm/40yS2Hck+Ojz2GxS2YRsupA\nuuic\r\n=reF4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b46e2516bc80db2c226d49b4d487788c3655a02d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-04T00:46:35.290Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.3","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.100-renovate-external-non-major-b46e2516bc80db2c226d49b4d487788c3655a02d_1638578936154_0.26336205660214573","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.100":{"name":"@balena/jellyfish-assert","version":"1.1.100","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.100","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d9e72676b25fc087ca4380edb8a99d96d717f41e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.100.tgz","fileCount":10,"integrity":"sha512-SSQ13QIm2GEyMRTaVxrUlKt5Ts4+bIyrIznNkHbFo4gmAPWR0trxTx82G7AfAMps8p4ZjPNbgD/Zg+9Bhc4pbw==","signatures":[{"sig":"MEUCIBGqLxdQ2SYPwEoSoi+x913Y3q1IF5JhwxOsMG/wzOVoAiEArwyruwKa2C0yxfauRkw3XGvSqczwtDQuuEjhUOeCSS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqru2CRA9TVsSAnZWagAASYsP/0cbCoGQwJM11cZ10o42\nL0DDicATOJ/PvWGpaa19ZiKiAJNNPAXAkq+WwQHsMGqynjiq6pKLyUQBP9DV\nS3hiPjnh0A/iQ8RToGGu+ijeiA8HsG2RlJtyIOysNGYC7GXjiNKlKdAMMfR6\nfJ4XHXYI2wgt4uQ8R58YiTqx1O7q0NmI2lWv3Eatj7A/HtyauRO0bkasWtko\nRtmgZpujehd4INFcqDomOLYfCjv5LO5kJKx+++oG2IaeoVMPOBG8auUnd3+h\n/D7/z7F+RIlXPIYRhkPpXUGQtzJkGNFE5oHl0sMfs3A42G3O6+A4ukn5WOm3\ncJE533yeL54GsGKM6I0ig4LLUUeBLLj+3djpuP/Gg+qIO1NOsUqNJ89CW7ep\nuPvrh2broDoNyqZhYgFJBK9G4XpmYBJnWcGzV4g/Tu2U/BRqfsBC3fOF1azj\nrWxXkxdx4uWsCN02x7gqDgRQN9SroKhcfkZz1gNEWf2//aGafl0X7Rwm81Od\nFmYJl66kckY59GuHxU9Tc0BFyOP+SuPfJx0jIHS3Clf5Xr/2Y1RZybNSsMKO\ncrk4GrXjY3eLhfesvcl1YfZiMDIHxHs3I5ycBFTx1ZMZJsFB5t1SvPIL8Buo\n/HfLQe468iNIS3G7rb4aavHCZ6x+gLXa9P2+jB02g6rUb8L6yMhefZpeD8gQ\nJIBd\r\n=Czsw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5d15b5047df1ed8d6cd0abb7293751aa8601ce1e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-04T00:50:22.781Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.3","deplint":"^1.1.3","ts-jest":"^27.0.7","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.100_1638579126109_0.9830239812782522","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.101-renovate-external-non-major-fb04b9c1623e39ef0ee84d26073a963aabe5af74":{"name":"@balena/jellyfish-assert","version":"1.1.101-renovate-external-non-major-fb04b9c1623e39ef0ee84d26073a963aabe5af74","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.101-renovate-external-non-major-fb04b9c1623e39ef0ee84d26073a963aabe5af74","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"48fe2ebe23e0918590b576deb412d397ac3d6ae1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.101-renovate-external-non-major-fb04b9c1623e39ef0ee84d26073a963aabe5af74.tgz","fileCount":10,"integrity":"sha512-kIaLGXsbrNbRC6WxyLp8EA2wJ695YTuOnXWIKokRhgEziy3kn3G4YSuAeIZeEs2KXA3dbA4TFonHiv3WJXBxcw==","signatures":[{"sig":"MEUCIGihQBhCS/sb4HmdwIVtqHv0X1B8WbSIlweRBYpG5Ay2AiEA4U+eCT0f/sBaMhAHUpJa4vEgmZueGvW8kfyq1di+W8w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrLGQCRA9TVsSAnZWagAAElgP/iGID+Vxdh+Z1pay6qOE\n0jfmIU8qMAbyC8Qteh1bDuxuhs6E5TkQT/29LzeeQQ7bdY0WuYImKyN6dVp+\nNgg/vvfXPIPl6OTjKoQOdPvx5/wca/QKTOCJcNcdmqTCsU+RQ6fGQUeEcc01\nMk0vrfI+t0CTheuifPYdI8syfVOLzWz2252yXzPKgb3JAc5+bjmuUp6LRN0Y\nR4jHcSaO+NvJC9t/97XAtDG5Bocvfai72R5vIoiItnkCvD9a/pmLORtQ8P93\nTChv1u+G38ttGcAEbbFZcGFsaD4r5CmRLeoxXITz+KIbPqUG/63N1znFhNSU\nuVVfNbC44QNxBR9Cmfm9XWIVDpPxGnAS/snQVDwNy/Xh3Hi1w4S2UYCyas/5\n2PD4A6gTYtRAk3WVDbMRgmiOJydaGHw+aJONGyCFWEiZbzKQjjXD6eQJbjYh\nMD7kMgiEw0+8gD3rdHpm/21AMpZB5fBNnxIXbvYf+xPT3gJZBOhdN6vIRlJz\n84qoFgh/ZI8IZRSNxc2XatkQnmkJ7GEKrKbJfZpnCgnr20u+u9K+tKuLbHio\nzOSPJQS+QwrESPbarE0ZTiakF+sofyf2OPA07oM3di6dHz4SmlosdP8ch3ps\nULWip5vYMVtVxTQTV0dQw09Qmpq1ZuThz5EL0UwrjP/qqIMqf4tC1wDL4kyV\ntjTB\r\n=p7V+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fb04b9c1623e39ef0ee84d26073a963aabe5af74","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-05T12:30:44.582Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.3","deplint":"^1.1.3","ts-jest":"^27.1.0","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.101-renovate-external-non-major-fb04b9c1623e39ef0ee84d26073a963aabe5af74_1638707600512_0.5513516972070844","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.101":{"name":"@balena/jellyfish-assert","version":"1.1.101","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.101","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dddaee8bc8d2f6c47d3e8ed929379159dd6cb690","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.101.tgz","fileCount":10,"integrity":"sha512-Ss7JX/CMvfwe8k+3daCihJj0Ei1DliG+IbveYJiiL+zyQk/Qq7J1aOTUaVAvhZ99KEinKCZcDdWVnugfQtrNHg==","signatures":[{"sig":"MEQCICBqrpQnoxudQS8UwyQonC6S4b6Hf2Q9uudd/n6URbUFAiAtNA054vqPhktsKVAivX7TqtBOoxVWMhC5HHTmLIXcgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrLJvCRA9TVsSAnZWagAAbEQQAIgDrC9TeRG0XAVdrxGg\naawy3vp4rk26qZVQ+H9YG9hS64UniHcVaPZI517RpjR4BtEnbwqAJDZTF5O6\nii36yAFyv3gBRoFli/699FYD4uMEBi7hjL1c3twgKB3V1yvyHsEr+F/xUv5u\nQ4b5JYSeVSd9BbQMhIfsFhXBnt4JJBQW8SmxxirLXMVO5jYgvdX1c4AIlb0a\nkKvnf8LYDJYAT0iC+Sz8h8DCSPdb2mHyUOpfo0mK9ZLm5PoYu0nDvT3meTib\nF+6QUghuYiCtqg9IOMoNc/EB7HykwJj+9TOQTHFnIkUW0oojnfVCJ2r/bB70\nqTLEhbXrMvkMo3EX7LQ9nTqxtxQ65uZEaOrsK2hByol4Du4vx0CVSnXkWzcQ\n1oHRZ4/pZRNUZDXrzy0sEP+a1oIaZGzDq3ahWyMQa7XZce20aASNXCH12Z9T\njlYkQgOXGh1yppWSDun2EO8TJegqfvGyPag7QpmmTImAJGTNC0BOimYqROqj\nW2MAtIyoN5rtxBIihG9nilafXcaENuSnxdTL55WmPLdbYJmjA75uaMz064gW\nMk1bSCLRTyMWbC7BUHjj+xHqlFumictRHaP9zbxtCc8O1Ul3wlYvkHp301Wh\n1CCCiNFNL3/o2mv4fT0togXV6K56Jb8ATuia74Dd8fw+yu4+4ZgSDgPHt008\nHXPz\r\n=EPUU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9a6082fe668daccbdd06d4fd84dff44649c5f46f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-05T12:34:51.018Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.3","deplint":"^1.1.3","ts-jest":"^27.1.0","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.2","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.101_1638707823328_0.795422289061011","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.102-renovate-typescript-4-x-7038537f1e222a5be445b5fd7f4a686afbd740b9":{"name":"@balena/jellyfish-assert","version":"1.1.102-renovate-typescript-4-x-7038537f1e222a5be445b5fd7f4a686afbd740b9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.102-renovate-typescript-4-x-7038537f1e222a5be445b5fd7f4a686afbd740b9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"11946addf81c92fce610e03395bbf237d7f80873","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.102-renovate-typescript-4-x-7038537f1e222a5be445b5fd7f4a686afbd740b9.tgz","fileCount":10,"integrity":"sha512-UBdYbIJaHnOk9mFKOLx4331zAmJbZ0pssN0PSaWS0UslFTXdXJPU5uoaS6pnf2MWoFktZKXcEqEU3W53I2pV/A==","signatures":[{"sig":"MEYCIQDOyFW5tVT9aw2ngjZsO501+Mm3ezi36z7IrS18Ic3RQwIhAOFxLcBYGchzqUi++5Ga7o+EDudGJh9Rh75rygLO0HOR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhspohCRA9TVsSAnZWagAA5BcQAJNGIjL7Dfl6EyKkKma5\nV6SKAvJq25GfAgUBcc/cdU1eBat9B5f1Kdeilr67jqfFtrs1cEHgxuorS440\nBvoaXUSRPM6cqskGQKlMA40Xi1nXo9WA9hTvy9ELgcR1DqPywn+bU1uWOrOR\nbVyQA4u/bAyLOBpIXYjir/PD/YRaqSYvn3nd1nZkj5h7YljLUbS/TJUKdi0n\nXnmWoCI3NC5/NNk1qsbatEJPw0TY3qkyzktEnBMM9uE0gmmhNkrwPzOkohTQ\na/g655UtDNMJYvn1N7hffSTFAZIJyM9MR0ug3o4Bc/S/NDdspucr6XC0VHk0\n9nHjmQxaqGwucpgsFhxG5uptZq9zsD8WenW6r4knd9IgrhsguxP07Bvy9ML6\nj7kbHBLgX6H1U5oucN4SGY68BqHr15kHTcxGen2UtoY3zRVt/8AJI1pv79pY\nPXWZrEGfV7Jqy6I0frlnr4rLn4xem2/KJHEj8HJmdvre/NCKNwDiRsuXq//0\nhEYFB5cizpsHaO/03Y6B6yvwCbr4EJLX/VsdV+PIjPsCBsPI4TF4Ym0QJmxt\nqtrNuVjCD4+eD8+DtHjP1zX2RVI4Za5ukqUagebAn7mv4irji+pqCG99pMf5\nXuaxoXivC0CjNg3RYBXgX5NhLKzumnFGLAgi1hM5kCcWVkntwYqpz4iTV2zh\n9A/N\r\n=WZV/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7038537f1e222a5be445b5fd7f4a686afbd740b9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-10T00:04:39.174Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.3","deplint":"^1.1.3","ts-jest":"^27.1.0","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.3","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.177","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.102-renovate-typescript-4-x-7038537f1e222a5be445b5fd7f4a686afbd740b9_1639094816961_0.866937468709817","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.102-renovate-external-non-major-3bb0ecc16f0332f2d978816d93e7cff16edc93cf":{"name":"@balena/jellyfish-assert","version":"1.1.102-renovate-external-non-major-3bb0ecc16f0332f2d978816d93e7cff16edc93cf","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.102-renovate-external-non-major-3bb0ecc16f0332f2d978816d93e7cff16edc93cf","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"26d4468c847b1eeefebc373ac1a5bfcdb26744a3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.102-renovate-external-non-major-3bb0ecc16f0332f2d978816d93e7cff16edc93cf.tgz","fileCount":10,"integrity":"sha512-LOvGlJWJ5i9E1J/w+nDjKipbG0LdZKlxVhNcBKhODWKcp/BL/IgpVs6lKn2DuAq3maTc54t6C7tesN2LEfA6wg==","signatures":[{"sig":"MEUCIC3xGZTLgZ0wX4a6bq5gXq/3S+Pg7kmoj12XLQZ/CeMkAiEAj++cBiTe3DUDkjnQTOxjArLb81Uia3fyqeuUZVu+w0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhs/BACRA9TVsSAnZWagAAKPcP/RiSppDnTPhtnGlMuDF/\njTS+7r/OuZoiK+PGKbOLfBT6wkTES+WzSO37d/n8wAdxJbrQ6L9oFaW2vSxb\nbcq6XM//qxBa/mQF029jhKqNuR00VTzXhlcE2ia4wZMlPk5QiumcG8/5hya1\nPCC9d4mw5ewRx5LTtMs/OWolpxZgdwLNTf244jDw3dcu/zmAxU4g5t3gkoH+\nGrPqHwNoT2NaZR0RFLNMKlJOD9o6+feUHvnH0TVGzBO1B/ESIHQ5qWCAz7gd\nRfUdzaXuHhCGtCuxOsGgzAcrmMIrqXu024g3auzmxY0G8SO6X65TWvm/+Pxk\n/ERdZlvTpEXtNTOMOFF1XgW4xlDfDcth8VqL/Sye7/WeYhVmKG1tv2H6iedJ\nRjnoBcmzBw3813F4gA/ez1uQ1Gcj8iXb1CrDUjk5rjfNHVYWhrchg8mPj/Ir\nKpCii6DAqPmbWWWVKwzAqUKq084bl7iZsmS2oXnfY5+znMoNDrTIydcC/liM\n9TR4nCUv5UG2jJkVvbjJ2tHgHbsFOOEvga+J8pWLdGDogBd3GXtBNO+ezdxb\nANOUixn03vGrUXjcErSG3KSJKax3Vihi3NGwy6qJ4vYsvZrsnEvxtJfAMMM5\nOxZkhQ3t8cVlcUEPpu8WLlU1uGNR07NBkYW6zXryBKO4xDoCG1YTDDxcF9dB\numhq\r\n=qWXk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3bb0ecc16f0332f2d978816d93e7cff16edc93cf","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-11T00:24:11.701Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.4","deplint":"^1.1.3","ts-jest":"^27.1.1","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.3","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.102-renovate-external-non-major-3bb0ecc16f0332f2d978816d93e7cff16edc93cf_1639182400740_0.11740803226280416","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.102":{"name":"@balena/jellyfish-assert","version":"1.1.102","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.102","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"72abed77a359be5a186fad58d42b22827142acd5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.102.tgz","fileCount":10,"integrity":"sha512-I11rMOgo0rdbx9fKfdMUKgtdNlTjXhzFq+Q+k4e+Y12dtrRZZ1GqA2qN/Npx4XLZ7ag8DPNK/F6yIfqzD9z1CA==","signatures":[{"sig":"MEUCIQDUrCtN15paqSZHlqlH4TG1+r3oYAYprVibR/0HEFArtgIgOtxa1nuzzFEcIOCn48bCG5PXLoD1aIgpQLPQkWu8Z/A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhs/D7CRA9TVsSAnZWagAA9y8QAJ97z9MO40iOPwFhb7dx\nRg0ZBqz16pAErer19l0z8X3kUn81+hSPBLZzjMXWpzCFOnKZySLS+qpWMvhw\nK7jIJoa5JA+AHTb8KtjfjYmzGtsClcX0+wrgzY7F2Q5k5d/zQPOJRPUQmDNY\nl4BQuTpzhskBFUuqcpuK06m9FqaRgvWx6VmgvGkMfNREhUz6aan8st0ySlUe\nFXmcDp+Tt1WNF93SoqC6G/Bd5bD8oWbgIq7HzjKIebTcBTZiO4Ngg6+cjbzE\nk/KSjkza9UhvV9vlABzSnuSJRTXqysZcwPUiOAf2845je7fze5MuWAGRtlV/\nJioZeDFfr+87yiTzTlX9v3QCAiqsRegvwsm5SuzR4wwiE6cK/iqtZ3wwvfcb\n5n+PZ/6wmf5ItRuz8WM5Sx1ca4Y/RMwtT//rpKkYUKEN9Ao+veymxqkWl1+y\nfEkrN1i57QZhqoUq9Bro+vjKBqbQ6b+cV+9RIqwdWFHiVC1IFs95WTSEiNck\nEcgS9rgtl+4CITCrtWd93uWPeTzY/84oMk4ZzpgVXF6To4q7RWH0F4fUsmPd\n7x8rmctCivlKkZN9LGrdTcHnYcHQJOI13Ms33Buz/Z2w4MbvfXKyYzD86XO3\nTH0qTTuRg80r59cBRJBpZ/k/Shy1XtJ849my+o4Z8V7rr3hemYZUUI1J+5Pm\n7a7G\r\n=+fhS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a91473d49b5e78ac61d2f62acfb6ce5a7961b821","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && depcheck --ignore-bin-package --ignores=@types/jest,typedoc","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-11T00:28:04.062Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.4","deplint":"^1.1.3","ts-jest":"^27.1.1","typedoc":"^0.22.10","depcheck":"^1.4.2","typescript":"^4.5.3","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.102_1639182586940_0.7472998525839605","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.103-joshbwlng-drop-depcheck-e04bf5d8aa1960d17922729f7f5fb18f2fd181dc":{"name":"@balena/jellyfish-assert","version":"1.1.103-joshbwlng-drop-depcheck-e04bf5d8aa1960d17922729f7f5fb18f2fd181dc","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.103-joshbwlng-drop-depcheck-e04bf5d8aa1960d17922729f7f5fb18f2fd181dc","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"567725e1918d4a209a01f5e41be22846cea8c780","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.103-joshbwlng-drop-depcheck-e04bf5d8aa1960d17922729f7f5fb18f2fd181dc.tgz","fileCount":10,"integrity":"sha512-Pm/2KqjkCk8QnPg6J8oOmq2XTHbRqFFlh4745sZnvzjbTBs3M+0moIbLVA4odHV7exU+MGc88NghxurgeuFOuA==","signatures":[{"sig":"MEQCIBeK73zARfxmgHuFEUaoNWGkq7mRhtcUL+g9eSHKIFZ0AiB0P5Qyh/9e4xDDpKFgsaIQkhyfIHzI3VpVLYlJ97laug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht/P8CRA9TVsSAnZWagAAK9gP/1EOtDFwUze8CdLHXMwv\nTMTqCyWgN0VI7RjNQSS6O1ljn5kb2EtOKjNUvHi+ty2KiCJAvGYM4cfAoL7B\nqw1+RUzlMeJvLnFlId7SR9RBvwTkEcLiqXDB4zi1/K80jRxPdjCRpANLbp83\nqDRCW799qPKhSyIQ8wvMYUd7a5p9dX9iy5zVzvzY+lnQvEQzfHNYH617Kyo2\nED5LTpefLrX16f7/i768EAtL9pc4vk2dlVM9dVtnNls6x+/kUV3z1eDlBZpr\nAeprpZ2kSgH9CFedGtCgB1jERKYDJaVb3bGvoQDbGinJHKascNCyCAdOTnPH\nmh0U3OKe4z8uQEcM9ZkktZnHRIF9e/90kH7U619ACPITH56g4J7+RVyWicBe\njlYkd6z4WmdIq0wUoam0SOsjuDmFQsZ0zlrbSqhTyw+RQgoniv3seyH1Kg3m\nvamfEgRCmAjX/eUfOibpTWxnBOharvJljeKMP9VLiRdObmIkIwQRVldEa014\n0IuNab/KgbYjFfyPOx18gspc9tB0wdK0Lf/Uxjy8du4QBNDZdIScE178hLvC\nLj0imQTPEzCMJReI4dLeCZOiSoTmMKcXYwEhyzGeHI4nXqvsBrvAOAQ8WjlE\nJwnooRq3DJDKiSWJVBoulTqyp80Ay7DHdebiCCiQODpFRERX9ngPFT2iqT8q\nvhul\r\n=4hXF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e04bf5d8aa1960d17922729f7f5fb18f2fd181dc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-14T01:29:22.557Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.4","deplint":"^1.1.3","ts-jest":"^27.1.1","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.103-joshbwlng-drop-depcheck-e04bf5d8aa1960d17922729f7f5fb18f2fd181dc_1639445499879_0.13498539955998057","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.1.103":{"name":"@balena/jellyfish-assert","version":"1.1.103","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.1.103","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"72e18797b27226d39ec30d108e364196cc89e5fe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.1.103.tgz","fileCount":10,"integrity":"sha512-zXxRd8YB/Ib71igs60dzFu3qkyA7IaUMeg4D95Q6VugBLO3DHaIaFy/W+dRP1dPpQsBLAChFHec77c6TTh+iyg==","signatures":[{"sig":"MEYCIQDiHdPzC9rEYxuasY4c372F9Ge72gqkYAqcKaIIt3jSiAIhAKF0A/S79oiCmhjEh9GFGgVW19GrkrPfxICzfXnl55zh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht/TMCRA9TVsSAnZWagAAM2wP/1Fh5UzO78Z10GVJoNUv\nT6tsiQFhgRakqj6GnoOqvMQ2/psC2Iw7/6mneyY4/npVrSefxDwTmr/pNqkm\nwHc81eXOLMIQjwNDqOOuqIEVH/mlIpaTYtaPN8XRg5p/AAgqhca+aDe/3b4o\nQhXKKI+m4XVf23MLEqjDYhb9RwuIenS2E7y3QmYxrYezQdkEiorEEPH9qBbg\nc7wtpoUDvY0g/Tqls4ZEfI7Lhxi3OJeBkeF5BPsPqaj7smRk98TG25DjNcWe\n1nkvkVFBY664OMQZ2exlqiBvDvlYWizUiV+4IB0p/Uj0fFwU6jgHiNL5iO3c\n00UMlcySV40Lc3EcZrz5cO22VH0Jvf7y2ZKpCz8wMjTAhtmNONZBz0fe+fso\nBPEMwMuSBT7lFbwF4k1nO9G6efdOs7OcScP4MLffQxq2gwzLX1LPwDLWGxM/\n++nkiLk5evbmGCU2MkuIPm63GRHxdkSe+IydDhCs8PsmiskBMxYtX/MhYaJn\nnw7ATswCsAOb/FXJNc0X+pM6/pircn0IZlyaNZMwuH4Meu8YQV2J6x6CiJZT\nKzFWyUmM2QgT+05tyfiicdUT2OIegIBBtCfrDqoDr+819juadPHVjFPPQDUj\n0SoKl/JRRJJ5iw9f6ziM4ESugLzxc/Z3Eebv1Byqll8SaPto2t0WA79i74dp\n9AWj\r\n=+iQD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e6acef7ca336c81ce8bb109c5415c2879ce8005f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-14T01:33:12.287Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.4","deplint":"^1.1.3","ts-jest":"^27.1.1","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.1.103_1639445708081_0.0020843907937297956","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.0-reexport-60ffe5ef07bef1febe1747abec901c5e68e325ba":{"name":"@balena/jellyfish-assert","version":"1.2.0-reexport-60ffe5ef07bef1febe1747abec901c5e68e325ba","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.0-reexport-60ffe5ef07bef1febe1747abec901c5e68e325ba","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"772ca220172c96236f66a570211c8dd668719286","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.0-reexport-60ffe5ef07bef1febe1747abec901c5e68e325ba.tgz","fileCount":10,"integrity":"sha512-vyzzOI/2d2QAu+BpvWxL6v0F2Nq5raqxWH5+6D5lrtqXXiPaegbwGRIYEjkyw9PCm6erB58ptq9Zv14Q1vuQaQ==","signatures":[{"sig":"MEUCIQC9u9TS5c35A7nPluSX37XoSRJt/dwFLQn4rmyJioqbBwIgBtyruAphQFu1sqJCplftY+/OBht/TGpFJ24kuZS+u3o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu4LpCRA9TVsSAnZWagAAbZ8P/0MIpVnw9MU1Bz6qMYLh\nT6hLSqWrtV5SVltOUKOsqU7F31UUdwXw2vvlfDgUa8k9UkEftfQVRc6jghX0\nAV6w0xFI63Fmya5D61Fq51TACQVVpbjPUrFU6rJoPwzZx6VuWUmOHihkLAJ/\nOSkVu/4yai6ec+kk1QVADRH4CdIuyNgtPHS8A3voZL/kpMm/puZYXQIt+kds\n2eHnKHHKjAzQ9qaJs8gLuyagHoH7UquFIaPvcH5Vx+jQPdEcZXudZtEkf5S1\ndv70gnQAsdLlx+oyhWy7qjx2TekX7JCZ56tTkITZjLQ+/r1uX0q6uhN6g8R0\ne1lJlFEbkovGZ2lfoIvGnWGg6GT9Al6QohTpsamrGjv+rMAfpgayBLfU3KIL\nLVUhfhutkBG+D4C+EA66w+if7jv2lw3qJTXW5a0P6j+yEmLDYN4c7MxvJz05\nZdWgMSfvnRU4B9JMdKni5osN2YbMdlpYd0uAqvD5tgJb7YjSyapvqAZC90zr\ng6YejsS+DoWDVl+zd+TOTsPUEKb0cyzS5ipUMB5XNdXNrln8APzNhWADRijw\nSQvP/we5Cjq8wIRIzxztJ064k6GpSCqRSqSs1Rc2MmqnBawFVJqi6yEjBaog\nj8CctHNAUrihJtniIcLSi01s4NNzrInEjarGgHxy/zX9wAQsgTWIMqmgCwfl\nkRUv\r\n=4v1O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"60ffe5ef07bef1febe1747abec901c5e68e325ba","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-16T18:16:15.521Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.4","deplint":"^1.1.3","ts-jest":"^27.1.1","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.0-reexport-60ffe5ef07bef1febe1747abec901c5e68e325ba_1639678697632_0.9186899486855404","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.0":{"name":"@balena/jellyfish-assert","version":"1.2.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7c7a3d772e761d1c81be7cacf8f044c1ca240f3d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.0.tgz","fileCount":10,"integrity":"sha512-JMadBwufqlo9aaG0o/mwRDG1yCiUzuwpmhfS1nVtE8lmZ0O7apJthxjEOAK3dg/0ALtHQhb9fuFvrVWFQwnUDQ==","signatures":[{"sig":"MEUCIHXpdMdTIKVL8SmNapXN1T/4X0Y+8SKdDonbPvcXaDgCAiEApszKtLOEY2fzPzxosdlmeZm11VNQ4jlv3OBPz47QcHE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhu4OvCRA9TVsSAnZWagAAna8P/0osGBCtJnKOo50tisH8\nqSZ22Futq1qgBhStoh2mKhgV8ipHEVJpszusdh79wButjYSIM2b6xKEOaPDc\nGMD7i6g/Uj1uyfSsp3Fi/4ZeOiHCT5hWbK4mnfFq72t4icnewdf61L7ZBFxb\naJ41i9ACXtBBgxHw11BWSQ7l0mbX+GLcAWYQZxhdfNNF9AQ/uRAYWEf49LfU\nVIT4yOb2kza0kh1gU17Ym40PVzXi6xRLch7AFRaEvI8ajS+7X/5QAw/rtczF\nVHTM/bIZv006VPYi+IZsapBQUzZ6xbryU2Fyjj5Tqk1LnF/ghOaVAge+HCUt\nSj0VUl+Dq0qOcKNpv9Y1gnM96VXYQAZMeSuDjmNwd5uPuTXx9A8s+iwgF+Pn\nbowm13Fx5EJr2bmvIZj0thCwn/HX87gyryt5JCLj6uNaSwRG1Lzhx6pvcDWV\nJxU2e6jFAOF0ATwfyTk7jbpCRWlw2g/Sp7IrF4CYROqw2Ux/tr8JxkbPHWUs\npbG5C6TroD8hM0oTiwD5mEBiiypXxqdNwgWb6xtMVm/Bj6A2iRBtZPdyiHeh\nIZ3yr7+NWyKjt2CPXRrzhbm93laZyM6yhN4xSpBgql/yHbovjvRJznbHYZyF\nhoiTUnkZ6Stzg2WMY01BcyH5DyjbUu5soUNMUg6lSPrKbIl5OyA5NvTfhNE6\netKu\r\n=v/js\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"74f41811f2b59002bde4f6813768ee73d95833f2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-16T18:19:49.225Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.4","deplint":"^1.1.3","ts-jest":"^27.1.1","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.0_1639678894963_0.09434450211992762","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.1-renovate-external-non-major-1adfa5ae918ae8c433773bb0e15887d7171cc388":{"name":"@balena/jellyfish-assert","version":"1.2.1-renovate-external-non-major-1adfa5ae918ae8c433773bb0e15887d7171cc388","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.1-renovate-external-non-major-1adfa5ae918ae8c433773bb0e15887d7171cc388","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8ba05b5fa0f240c0071a8fa6aded99a33d069046","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.1-renovate-external-non-major-1adfa5ae918ae8c433773bb0e15887d7171cc388.tgz","fileCount":10,"integrity":"sha512-fFBmIGm7vXwfqxsqG9XFOqG0gpU8mTb+r9FscwXpXw9jP+riWceZaFBLjRV8NZnxNHg5AuDI2H3a2xtpZcwYBA==","signatures":[{"sig":"MEQCIHkDhG/GgCFc5LG7wDBtpvPG4s2nXSCoRnkNV0R/MUJxAiAtOEyJ1hSO/Na8S2TWV94rNqowF0DP+p7LQGUUraj8TA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvS3WCRA9TVsSAnZWagAAbmQP/R/H9UIqbNqLiFRXwoqJ\nRPSJ8Mll+fAla0FHoL4hfwNVCgharb4dGEnj3JS/3zmcbr3lFbJBFDMEjlfD\nIB3Lo8YAbD/NPs7X4XSVTCGnBQCag1pmLmu8TQ7On34Qpn2wjidmrIq28kol\nN1DhRpF4uLhuwEFmPe0+GR+xYeDf1U03dfdU0KJAwgyyzWEoTU0kdMwZVDi0\nuHU+JdZ4LEgAjGkNSkDO3/Pz/MshA8MoTsKQs4eSlY1jzFyjZLAfKwoetQqb\ngLTMMZeBEHD/ZFlvLeBj2MzI5lW4oRip/1FltDoFcu0zpkYt3Yd0258EefyF\nOb+43xh8ex0fKhB9OIVWF29GYeI7uskPRwLa2snJbvjgVmHOiBKzgHcN5Kgt\nbwXGD4uO5Q6CqwfCOQ1HE2MCGXtPmyZu5T4Cm1nDgpzdn1ntUuHs701SNG0f\nwH2AUVObibe5ygvmEL/tfcETlMEKAFJfSny6Szk9D7Qs/Wzw9QP+SmVEbOMd\n7yUtSC3jhT903x9iClGwhSVhAbhETSXhzJJrA0QbdhYZx/AdayxJRPszFPTN\nV6F+J6Le3Sx8lBTXJLwMj3Gw96w8HC85eY3Ha+BXTfMBFF5uqopS0RwlT3Tl\nIVpATGLKAU/xR//Dz+hVtlMGutM8JR9DmrSG515aZNB+FAGIJ1ddvW6RYDiF\nGT2y\r\n=fnMN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1adfa5ae918ae8c433773bb0e15887d7171cc388","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-18T00:37:18.829Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.1-renovate-external-non-major-1adfa5ae918ae8c433773bb0e15887d7171cc388_1639787989892_0.19401373550425816","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.1":{"name":"@balena/jellyfish-assert","version":"1.2.1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3ca39241f5af19c03ebe503634a13ae70ef5b2de","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.1.tgz","fileCount":10,"integrity":"sha512-VtyL/NElFJYH6yba9JIvxFCcDzqOJZLYIa426QPQzRl0l60Gcb16j3DsXjvv8AS+m2CgeSOkDPj28uJRUsYSXg==","signatures":[{"sig":"MEQCIF4EnX6n98KsC7u586rFju2biHJWfdfnDnA1uZXBj5i+AiB5mV6vNM25fSKtirdZ4jVvDyDDUBokBPlcbetYvPGPHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39454,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvS6ZCRA9TVsSAnZWagAAlfgQAIJfP9XYU3rfvoqupzYN\nhegXJLznkNoA7xMI/oBJ+hwYstid1gZ6Czt1eMJvrPvJZgvPP6Gt5hMOSu/F\nrOkbbsnUCRsEHIagekABsPGG3l2SW2yCnBHk1S1TqXpKxigvfme7FZNzp1Kf\nVTEjT33r82oj6NAYipQhNa0188kolUYURS+jbIHdnErnVcSnx0uJx8fPoaKh\nQyRqsUVdrqDdnPaJDFUvjND18ZaqPpYYqKWZaoA28Mn3D2dAwFqI2Kh8Zakz\n1Jn/tRK701z6/8+3M/DK1HhksIJIrLoxonP22gMWekEVKs2kTU7hbJYA1DCG\nOSVghqW/LlhcmB1pPdE90mH4Cfc3Xt749dqHN7PJzCGeAwT6reSzDCyBvgpz\nqDSGt9gqzHTeGJhWQlFnn+8Xn9VxoYnzC+XSpWBLsycJ6hFso2LnYSxHD905\nWB6kk0wYEbB3HYXq7/6QWfmLjdUSA8DxL2P/6WOaYT6fJ/GX3RzeLSaoevzg\nHaQ23YHeUFiZWmyYLj93L/QLFdvUs4UO8Y8cR39Jf+6ncap+lBWHlodgNA2p\n5RG5VRSGCqNd4mSYQUgV4vTwrVYeTYl+kV2Wx1TK6j+DZqZP63HmEuK1Vm75\ngTUObygabo+8R+by26WF9UTrO4wzT1F3ARtYqwspxCgWTbL1izhOMVRwZB+3\nzMNC\r\n=G3zG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7dab754f8890debe045f8a84ecaddcb27da6cf09","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-18T00:41:18.858Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.1_1639788185241_0.2331304927447384","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.2-renovate-external-non-major-f4cb7980b7d1b9cef2def96a945400e71e5eadd5":{"name":"@balena/jellyfish-assert","version":"1.2.2-renovate-external-non-major-f4cb7980b7d1b9cef2def96a945400e71e5eadd5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.2-renovate-external-non-major-f4cb7980b7d1b9cef2def96a945400e71e5eadd5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5a1279d7c3fbe94980449d3dc4861034a8289586","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.2-renovate-external-non-major-f4cb7980b7d1b9cef2def96a945400e71e5eadd5.tgz","fileCount":10,"integrity":"sha512-8ERBZo/5S3Re72YbOTCMzx/cm7ZG84qYZMfGnylBvUsNGRsPquIoQCVn1QOXUHS9lXOK6KzwLS3IVIjC1jYpFg==","signatures":[{"sig":"MEUCIQCnWIn5Wu2k5SEyVtiFYTta83rYPSqhT1WpxUI/DPDDJwIgXRtB7hZhhRBA7Qs99iRcm0uh8ZJ7Y3OPoCbVPySyhb0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvcLfCRA9TVsSAnZWagAAWrMQAJIGoPvU3IRC4qQWBhvu\n30xzxEJjZNm8caFlxSN6SX3Bwa69A9P9MsoAerVXhxzSQarxZ9UURuVs/CMU\nXXknja0dbMUsa1n/SUOU+dBKyBsv1RLZ2scA6NX1+5/zqbYwf9HJdkxhZthy\nuvcHyg4UkLh0wj1PLvNm/poWI75lqVspvO7GRvlE1lriJlQ4gPRGgfBa1t8L\nVXLAP/V+Gv5cE7Mo0MeBdRCO4J4GtvOVWpUmTsk3yrJLx8rYxrWYvnsuVMSG\nSFcbGOaWk6HbHfUZjCNRjj5Zhxg3tgTFcoJ3uD53StvAoH+SRVzVuGJvVCWI\nL9G5ivcVGWW8BK0tj2ZdpbCMpDZEvGc/p9iC9abmwWe99NRa2xIRPNSUhPa4\nrOajLVTTUOesQ94MQvD/dhxG4vTD46QEqFO1PlPP/O54RGYU/fRaYtMPkU/7\nN8tpeJvyxF4UsDVc4bJ00pLwBcYzKMVswg4rk+dnJqbhjkGhgFzJAjNVavAX\neou93Fzpd1zZ4vf9OEtpvYr7RKo915cZ8AURB5Dk57O5S9iolBG60YZxiiev\ngnb82Maw4kGbFR9jwD2p9UnMk09pClUYzP0RVtg16I7ZWTNrrEajEA61lZil\nIcQ4DcwNtL5ALnciEA9D3ZhLvUfCW6IvUzpjlgD2gqx+48/dvmiYEM1v4UUW\nFhPA\r\n=SK1x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f4cb7980b7d1b9cef2def96a945400e71e5eadd5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-18T11:13:08.835Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.2-renovate-external-non-major-f4cb7980b7d1b9cef2def96a945400e71e5eadd5_1639826143463_0.37967097673146744","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.2":{"name":"@balena/jellyfish-assert","version":"1.2.2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8380cd30380ee11698944c93d916e36b33240dc7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.2.tgz","fileCount":10,"integrity":"sha512-D53qGbNjHQ8LYZNQ/75iT5N4ZF9VabgT5o9Eewwy85L16E/ab98tt60vStJFf6qVK5MDe2SJHKYqfLR+MdsNHA==","signatures":[{"sig":"MEYCIQCGqCTt9JLvvY8e3q4VfUT0dtA9qRUDJciSFWJamwsT1QIhAObipn1PUC2E7YGN7u2cj2aMywFjXQZ1vU5irPqfiU0H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvcQgCRA9TVsSAnZWagAAVGwP/iAt+DwdrD7bjgsvgGMb\no3d9mvXVHIly8Vh01vWsEo6syDRoeZZVQ99nrfdgWwHctMi6NH7o0qc0ae+5\n5mzVwavVY3ctobc7tZbCUP1JxzXzRI68hddw1ACtaO4fKn2ttPkKzewV3GCl\n7/XsYUiPVjo/iz/ldC+IdCHXp5I5OGOXWsg8Xd2L0v7GYa8EjbMO0D5e3en5\nMmbxM67rMDRn9ZcBjG70Qj4h+S7gBsQwSuQ42n/9jKaOcDH9Sr6j3u+QXpRv\ngGjTMlsuIt+J1azre+PaaTf4/bsc32AOecQ5wIFBu1/kUrssabyHzRfzaPgw\nHStlcj3f3RIF6favX6BuXZPgwe3VA9vpbf2iBRX07TO5p1MYWtKO8UfmyTP8\nBC2vJIi8v0qMzKoHTaYaIUcl3MwfWs42mvhO46QtVpFRWayBMi0GhmjS42lV\n4E7pIDgrgGIpNokj9BpyFgp2TS9ybl4m70QXp0cpZaeCqiikDEGij9sLRaFt\n/LkwrYrQCGnzEYU1sL5ixdDezp+RmoYjb4UFrbtvpbP045WgqCmamiTamKmm\n0bcOW084shcGcNwzSSm4jAX1aWB+WOYq6TD6tirnt8AZ+hdcrD+PNO1ed1/J\n6gosQPqvnw30S3lnjZcLM1XTMkrtFbj4yKa4ga19bW1P1wYo5MthMvll22dL\nhUeh\r\n=3Yhq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7820b0ef794ca6d2923f61b87896db226c0d53dd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-18T11:17:29.732Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.2_1639826463994_0.37622825644758584","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.3-renovate-external-non-major-70f1d919e5f4d6fc9d91225db7a8a260a0e38dda":{"name":"@balena/jellyfish-assert","version":"1.2.3-renovate-external-non-major-70f1d919e5f4d6fc9d91225db7a8a260a0e38dda","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.3-renovate-external-non-major-70f1d919e5f4d6fc9d91225db7a8a260a0e38dda","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"68b9db758bb63e18a3f6c58511bff66b25bbdf9a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.3-renovate-external-non-major-70f1d919e5f4d6fc9d91225db7a8a260a0e38dda.tgz","fileCount":10,"integrity":"sha512-Zr74NeVMw5PqiiRa7IlYPPgCMG44gYeC76VLK/BzQ8aAu8y4DO+CNkFEzKf4LdIr4w/2meWz5VMBUhQvkEG6VA==","signatures":[{"sig":"MEQCICi4z3YP6Uq0ItZ8wMZZpsyIPtiF2rMTZwzMKCf7+DVMAiBSP5RXJDMz1z4G9vQAAGF+t7G9WEYGFg67SHamrNUM0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxnfQCRA9TVsSAnZWagAAfEYP/0+4dJzFzBMZ5KvTNM17\nSDTZP4ZUeYxXMZjdcGvs4wasb5uAbHWJSvZOMvNBi7ThkjQykSFTbhwTGxsh\ny68LU3V12JDA3XLR9POvQUXcC1SGWxSr6THlFTPFkNA9w7cEnr0XHliW2l5x\nTm2zXnGE5JCTdl3uA0jHc62GP+QbM0XT1lUL1hFF/OEoN7Ng9O0RJ9xp3ZyT\nQFTvp2Kr0jRLGcEsI622iQrvyeG8gfE8cMi7J6zsiDehnE2DBd1Z8Ly7A9O+\nwOo/37VEySHv01+HyOb8DNw8MDXeWrIb1g2mMLdlip3p2Vk+jiY5Q8qg4Vm9\nJMkJbdc4FfY9S+TU3GULbvic2goC8VopukTo3FcelFH28ksy5Ps/6rf4hOo2\nTIcfqrIr09UU7Dg0ybybUZt7I4yyPnkiSV9NxxNAg4uUjHLZTINkDawTkRnK\nlwen00pJ0wukmuw6OZJMr7JBPoDXAyPEYVHKp4yXutalpm5jDTKr/Q7bTScV\nhJ4UWRHzxpY4A8Ds8D5/T5akBTyFvsTSHoBxvOL0bxbSpk2aiflG3psxGnz3\nLclfu2QIlMWeVTVt8/p6trTYSVGkNhoVgkZkjrEX2+kwVZhL5mINbQy7gttS\n/U4Eppo6M1K0rcPUKItFRlQDjpGlsrYP0PmmynXPrjJ4yhN5tdHgzPaJFt13\nPoex\r\n=9A4G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"70f1d919e5f4d6fc9d91225db7a8a260a0e38dda","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-25T01:42:15.500Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.3-renovate-external-non-major-70f1d919e5f4d6fc9d91225db7a8a260a0e38dda_1640396752634_0.859445514321846","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.3":{"name":"@balena/jellyfish-assert","version":"1.2.3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e1fbe80809f0103dd1076a5fea3eeabf260c119a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.3.tgz","fileCount":10,"integrity":"sha512-pgVVOESMlHW3nZkBpkT/SgXnnyb19qKm8nf939Y9zwinRv/tpx/4xEbx7aHt8M73pYLW6P2JIdN+hC+YpW4u/g==","signatures":[{"sig":"MEYCIQCM5h27Y5U7B/EAyPM3jISswKSquyT/dBa0mHf3xOtfhQIhAMvUwleOyv+vHS/N1UZTNDYKVPp0OSP3np9g4W8tqQVZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxnjwCRA9TVsSAnZWagAA1JEP/RqTD+dgnd2wdDwN/Zm+\ndPdxDuvsT+xEVrL8+QxbD4ZTVz4Ji4cQYmNIFczlo6gaGskPtavH406IeeYK\nL2EQH8PtorE1Uakwt1lEEBDypCmBtZ6XotUWeL9CrnOT/TSmH3SywPwSZf09\nEmZGDs2RjOERFCMnZOIfnMU/uiPpt92TBBvCOt+76QtiEM7Ha1cofdaGTgu5\nd7fi74VfNue0DoRBHyxyFUaqjaR8KRmnbNwePJaZt4dE8BR5cnG/Si43nYtd\nb6xaES9Lb2BdZqrycgJF6QG1MsOVsq6+mSCtQvN1c6YpQZjAiDFjFt1mA8Zl\nQu1ZyGNYiv+r/evxzlYRknzNetifgxr9zoE+coZPSBvKzsf62qGKzS6vJdVB\nKMMbe5hk0V9v7NXDRa7Q32mTd4zcss0SS6Lx+pf1p0BQ+CQBMPcrnVg4lP16\njbXnoe45qxct25PndZi8HMYDm1WghwnO7BW1Ermk+mqkDfD/fkdz8uhwgTSF\ngMVVQbRcMvVuI67AglEfo5YcGut7BDpm5Iw40qR0GqCwXBVoQoZXmcwLEZkJ\nBEGLVi51C7C1qrepJYp+g8hSDeLFPmWg1qgWNY2P/nk1XK9uHQmH+mM8b2z+\nSCVR6MzvtEZ9qmYyCdDDyIazvTMhnz5kEiEuYd9wu8MWgt0hV4Bly1oc0RMF\ncS1a\r\n=eRZk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6982627580485cd148f0d2db1f1cd0bbb422e59d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2021-12-25T01:47:42.602Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.0.3","lint-staged":"^12.1.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.3_1640397040567_0.8322451487900495","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.4-renovate-external-non-major-2a0c425d48b2be5ce728e05c69e6bb2d994955ac":{"name":"@balena/jellyfish-assert","version":"1.2.4-renovate-external-non-major-2a0c425d48b2be5ce728e05c69e6bb2d994955ac","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.4-renovate-external-non-major-2a0c425d48b2be5ce728e05c69e6bb2d994955ac","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"73e061e48275ecc90fd5fb7eacf20f8a5c58d2fe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.4-renovate-external-non-major-2a0c425d48b2be5ce728e05c69e6bb2d994955ac.tgz","fileCount":10,"integrity":"sha512-/dl2zE0DRR4WDYgjFon6QhRHDu5K5C8SLjXRqjOT2m68IbddWLLNO7h0fM0TlPqwSppjxde3R6o9LQ/gZBRwyA==","signatures":[{"sig":"MEUCIQDo9VTgGddPlP1vphriznCQnYNFNAx8WX0Z7znMNmeE0wIgYC/GFMACMytNZe0yCfyRdnhY85VFoTqkDAHNNudUSkc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhz7GRCRA9TVsSAnZWagAA24gP/jjVGp9JAkittLy5Rda8\nBL42HcxKmfaXi5ia83LDhZ1Ev8t301ixHXsfK/aoJb1eAnqFljGLdXyqeaJo\n5kOnmkndE4g1qPSOEI0ZrLdAw3eyrrJ7bP3qyVQqrUTmoPH/f5hsLse98cgu\nJBjD/U/3UWzX08upHlyBwRPgmhF9ppAQpN8cJOgNpfwxYJ4NM94bqrJAcile\n1AXPFGPNShT94jerylhL/2/MwfLcZonVoZmNykyOOpSB6qqIq8UGxdOUIUn2\nwgAy2fRbP32iZbFxP7cF3hgDQCjEk+qTVlH27Obklf6P6iqBf9gy3sZECCRN\nK9iTbXGNeyrqmeg+RGG2FfolcaGzr335pjH0ujWt2yRUo5vPYy1Fk3DHYOVx\noulliZPboaHhgF5ZTpSYSZU79n9omNJoHphL5nZYRTTvfx5k3ZKcRUOguuy3\nSKQfkMFmAdKoMsyOWwgUeHW9Km4IyXpOTh7uDuu+a4+fi6clWml5VO61rxaC\n8g0ewIiPM7J8OQ7sPw2H83gNu767y1AIWDi3fNEfTLXVCvsoBuGptacojTuD\nbYq9e7/A+buhH8u+EAYVy+yF2bHPEr53xdH3tz9pB4Um41OkJeI1jX43g12U\nGIFLiEpqltOhLkHKJnPcuognorKXUfRVoj4NrrpXxVrN6lQxBzwwzwjCbyf6\nqPDj\r\n=Ndm4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2a0c425d48b2be5ce728e05c69e6bb2d994955ac","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-01T01:39:59.313Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.4-renovate-external-non-major-2a0c425d48b2be5ce728e05c69e6bb2d994955ac_1641001361127_0.6141496219224554","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.4":{"name":"@balena/jellyfish-assert","version":"1.2.4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"94549cc9d3b57096940064931fb9866806f67b2c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.4.tgz","fileCount":10,"integrity":"sha512-q0AK2rm5edTPCW+1W3Au2T2zgkBLU9P05UC2nFTmt7A+6ijWOIRnT8Ko0ABwN+5DHkPd7iHiMjGnVFtPWasz4A==","signatures":[{"sig":"MEYCIQDgFd12j5xTxixum554I3BY7PiC9AEXV1vP8J+13yKSEgIhALtLXUZW8Q6BSp4xEV9xM5a8gqShnqaDp93Hj5tJQiMR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhz7IwCRA9TVsSAnZWagAARDYQAJWQKHGs/XCbKzqlbsHd\n4nI1IurDlRTcWSX0IzdSNKIht8RPUX2koR4NTSB3BBFQHL9cZe2Eaz7xDOkc\n4ly+K4w/9Ax0O21ZbzuNDxqMWzLxwNrf1ybe37Pc1NfV/XQ3P2Ze5O2jbqSY\noY62iOjBf03G27p+aUO5RjpWBRk/IJbdHD6SLn63VX4tBKghmdptr78X+hOT\n+3h7JfRtCM5dZ6PB2Q+0IF+Pqr3ErLKtH0egBAkxGuWmv3IPZen4nNX7YN3B\nCQlIhzlBxt8USG1k4JyQob/84pb9z7x8j3s8XxW1knV32XE/4J6ahgBvKzut\ncHg5lR6HNuux2pTZWe3ciy+6s+K2bFSt28CskPbbVofchbhSSo/cxpBUI5zi\nxdiZJMXzgRdn7gByQv6I6wSaFsArbx/5ivswmZd+ro4ESm38QTI4imzmFGTD\nQPwpbwYsmDvPFZSqsPS+Hkx0SqSvrYsfDHawwQ5KgpW9UDuJZUB0yzxSFmCl\n1jS2yeRl5jUVBPjXyDxj+q1g0VM7HJpNPkCDf6SJH6q7P3B3AFZLi4jjpA9w\nzKGtY65AIC+7v0IAVK5Vi8LFnJCcG2eDES1q+TExRrpwvQ0+gSGk8WoaF77D\nhT1rLv+FVfSkEcayUBF2yAV58fdfXpjBk6rk+5ZsrjUPO4MLkBHrTZE+q59V\nynbA\r\n=yRFt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e55ea04f480fe8c0b5c5fe99ab797b2d233ad806","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-01T01:43:22.439Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.4_1641001520501_0.9433298526265068","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.5-renovate-external-non-major-485f472873359a13de470cf6e115fbfa1b1d2272":{"name":"@balena/jellyfish-assert","version":"1.2.5-renovate-external-non-major-485f472873359a13de470cf6e115fbfa1b1d2272","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.5-renovate-external-non-major-485f472873359a13de470cf6e115fbfa1b1d2272","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3fb916cc41f29f5906ae968dda356b00e7ebacf7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.5-renovate-external-non-major-485f472873359a13de470cf6e115fbfa1b1d2272.tgz","fileCount":10,"integrity":"sha512-N08PThFJqx2J0hRXQ/Z8UUtSLkuFDLze2FPm22sTd8ovmEfPiBi5dpSCP9nfZjvUS9rXoS1McKdA0DZPoY1faA==","signatures":[{"sig":"MEUCIQCOaLIjvgqP4sM0Cub2Sm+V1BGuzlnW9X/t4WBiciWhEgIgWuV5JCy2gxipuy6Z5SZF7b1Dh3rlwVtMcYBv0FzpesY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0iruCRA9TVsSAnZWagAAyNUP/jiaIM42ea5QM7A4KRB/\nOdOCwLgnb2M60ywvbTh1wmOc5wnKl4N+GJWuWccj97kUTyqVhjTcaCzOsUOA\nF4ionSDszTnfKU7df8xNULKhHTMSg7BeRhlZGIf/HMSppsbXVE+muQw7GSfB\nlZdV+UNWbAty+Mk06Chdb2+TOPvSSjIwdhYoI7crTRFQh7VZyHz/dooY7zyM\nDF2KWtK46SV01GGSTM/DfqQ0csfu6rVdMxr1VXDLwva4aj4moMYSnbckxkZP\nqAX0/iXgjH+SbLnVMCAgcYhO1zU+LPD7221kJ6rJREPvdONOyBFBfO+sACcD\nbRqMQ3N1Rg7nHuC72B+xbZ94QwuDARkx8z4z9KzZcKfCl21ibR1BphJ66Hdj\nh/uAmWuKUst9vlIAAjAxlgyja4LPYS6gZfUU7++HEySoKkqKKCDPWbQYmjnH\ntZ/LQhGTh/b+B47oIqvWgjlphq7OeWRXoiE9Nj2WihP1EmTrxlESfCiwiJzF\nxV9Kc0rOwf2ybyu8DmrV0Ix/17PT8Sv/xsXf5Axg4xOjfiIgKCYeb7kaMp+Y\n5K29zItj30LIMChiY/agMjVxwNGZxIp+EYZfyYdqpD5PP/ElnYCm7wyhfmps\n60fcLPO8gt4nM6ep26tmV7aEMJgzgBYd1tzkyTldTSwHmP4zQY9rAKDl5Oip\nG7Vi\r\n=c/sh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"485f472873359a13de470cf6e115fbfa1b1d2272","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-02T22:42:29.451Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.5-renovate-external-non-major-485f472873359a13de470cf6e115fbfa1b1d2272_1641163502774_0.8183431200478959","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.5":{"name":"@balena/jellyfish-assert","version":"1.2.5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7067af3f27678a0199bd99a0250e2112e6e08f56","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.5.tgz","fileCount":10,"integrity":"sha512-trV8uJ3OcUj1lghAC9UXb0yC60ndV1JGY7xaQRsHt/QUqYLIBlihtm77t6TUqefKXKlQ+lemFyWvfvNaRQz2Xw==","signatures":[{"sig":"MEYCIQCpvyEDIKgVSZ8CT04J3iaLI9OjoHGGCAoa7WX5JI8xBAIhAKO4thcbhlGn4rPfkoVpHQitRvkPK6fidXzMOeOsCOLG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0iu+CRA9TVsSAnZWagAADFsP/3ZFrJ2t+DRdfHsjt8VJ\nXM7Or23VwcsoqRP5crNOnTVy87tSH5nCsLnID5jCFVx8q1XzPbLOPuHKFfQY\nWreBGt8UzCOL1T31wgjyKyXcmEIWStK+5aYOb/06xWK55gvQUY7Wtskp1cRO\n1QQVvB4n5zX/ySuR4sn0ELPmeVLu1MqKx7joil02RyinKBdiZzVEg950YmOK\nY6m1fDpKR0iYyw91F4/VOTXZe6ay3bzNd8tljiWxFbntX666U4d/huttmJIu\ny3wL342b14VWUNSsjPJzyAc+Hl5vk4KbfdZ2nk1qQY/hoAbvGIi8U53Zr/p4\nnIAezpl+PRnBXdcEU1DN07PC7ELkASGp5CYauzS3Pczqk0h3HycY/1N4/aej\nQHL7rij4zIjhifM4Vet8otNGwFS+JH/fuOfbGEhj34AC5YBssjgUaLd1Cnd+\nbwLs+sn37rsEMAvRaaowS98bSlA9K1lZoJ7hvNx5r8s3mPIVYkumsAWVXgfr\nmNIicxa3QRQG6EqUygEoIAN+6+btsgQPLeR6VK9B3LS6eI6pe75QSw9x3Lk1\nugnzuM6gQLarPy7E6KBl9BjfwZMdM3VKHjZvE7T+8JfKdqNGc/SkztHMMuNJ\nILLJb5T3+jh3UZfLpg6WOHh5M+uJuTlinlQuADSCTkh3Uq8BWFpux7zVIZ0Z\nsr+V\r\n=dpOg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b68172a59755d4ef6a2edce2b74d008ceb835567","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-02T22:46:31.686Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.5","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.5_1641163710506_0.74700119975743","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.6-renovate-external-non-major-f691e3d2e3e902fc6b7b063309108d268202380c":{"name":"@balena/jellyfish-assert","version":"1.2.6-renovate-external-non-major-f691e3d2e3e902fc6b7b063309108d268202380c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.6-renovate-external-non-major-f691e3d2e3e902fc6b7b063309108d268202380c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7bdfb4bc0caa96b6135b59e61e82c3ef547edabc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.6-renovate-external-non-major-f691e3d2e3e902fc6b7b063309108d268202380c.tgz","fileCount":10,"integrity":"sha512-n5iYvrwGxnPTZ+jn7GuCgmk1/XpR0Q+DYxgWG4x+BkYn7rk2wMRFWgg+YyTse4yz+PVhG3hxzAZDUQiN88MpDw==","signatures":[{"sig":"MEUCIA3QdJldA5BDQTWZkeEZsW50q5PaRSw8PwCCwuu8Ru7PAiEA8wqP/rbqgV+JesFf/wsDLIyIw0pqGAYQNQ0nOg6c0es=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2NuUCRA9TVsSAnZWagAANkEP/3r0igmrpd08w+e1+/k/\nR5LxbdogJKGaf5fFd9wKb1bDhhR84OXkTXaJXgyWwbKANeiVk2L8RUPFbg8V\n55ugEgMUydHRtR0npe9rQfd4meo0uXTwJ8ttujnk/bzehqP1Bjj/n/4C3SWq\nGcuiXIfhtNw0xrYiu0F3uokVFZvzAp1YUGsxeVO6747qldF/6E0sYYcwRhlj\nXGLvDoa8L21ZKiv/is2Qp5ecI6KnCUzOeXYgu3sZmz0Nw+JcHKxBiyrySo5N\nqm4xNHX/ezJNmV2Y4L9aPzBNK8c+qtMnzQJgFEIG+J0tePn0vYqxMBXfhGc6\nSiOJ+FPTa2eF3cx9fHgd4sQuMiJ1UFEPjJqXeyke6L+DY3NRYZLINSVElYPn\noRYJh3WfjEYAt+/WMKljPuOMbwsfcVsOncPb8iWnqfMR3HNm2u3PiYLvHiyM\ny+PNeOS20W8sO0GcqEvl9VibPnQnRZ9ARRM8jbBY6WG7H45W2sWhZaNfaqeG\nDFzRSML8Xe8BI9MIUu3sabXRvnBPCyXKK2YHDrFJ3+azLb85Vk4IlP/8dlTW\nO4J23BrsV4fyyh7E2ga2ApU9EWaVqTjkw0oNovtJ+IAuLU4HKRqyf18IgFCp\nW3SyDj2x5PNtJwQJ52j20thiaw4c4yps0erF3mo545xGw3sVds4hkv25GDWD\nwJJz\r\n=yF7D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f691e3d2e3e902fc6b7b063309108d268202380c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-08T00:29:45.616Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.6-renovate-external-non-major-f691e3d2e3e902fc6b7b063309108d268202380c_1641601940526_0.4135877514746864","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.6":{"name":"@balena/jellyfish-assert","version":"1.2.6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.6","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b236a52ac3eaf3708d76dd1f84393bea0ea22710","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.6.tgz","fileCount":10,"integrity":"sha512-NmtwJv/J6mqEdSsHQY+pU8WDMGK473eEaYIF5tx4xcNQQgYz8HAwhkqhsOYbOgUQZ/pDl2SbCUEzGZtYRJVkqA==","signatures":[{"sig":"MEYCIQCSkIwYqcd0ThI8e0v0h6cs+6IVDQSOYPcEUSwL3WPeCgIhAKhY4N+Hdj1Pjy/nQ6UZ7sRldSm0axz/vbqGna2hScOy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2NxdCRA9TVsSAnZWagAAAZsP/3KTZxjOVX9hVY/eZi1I\nUHBlKaKDXcswf7C4qCFZsOlBATMUcaYN5rsV9K40dxXsRIM2LxqOO52kVpkN\n/vi3QozzqykfkD4r8XkuR974n7Eyj8MV8w9XKRs413hcXVmUdYRP/qxwNz2B\nZn5kJfwuaO2o7eWhWO/iO4lPn6aYPo6/ExCn5/KKtQAI8jlOttEXWOO5WRHj\n0opjndEnYcBw+N8jDEOidRal3tejUlVHxOLUC/Yh2gwGarnhTkcYyGl0nmTr\nV6HLIk8MiJ+j0AgGqY9MyUnIVWAFtizpZH/DeChe0BKlzMRtAE7emMjRGG4W\ncA4GgWoVk/Q0kKeoQ1xKSM5jKGgoQC1of9WMOzw0ilHvgF4S+YUIsXstP8Cj\nE6SiXTpe+p5C/SLRFF1MehJ3IKF43zPnL/7ksC17pJ/1szmsM+HKnrUrd6N2\n7QrILRop59LIrG0UgX2vgfZS3PhaMoV2QV5ZEMPGnzE/ogqNL1bJpCU25//H\nUqlfws/+edAqLkoryUsY21NLPM4qw4k+nE2CzZ/x8eJPD12Tuua+IhLs5g6t\nvywhfsbqtZeI3T3uom2QuSyobpIPO/xWYwtfapv35+UhoJTzyfSD9y4fS9Kb\nehcGPH6PTGQdqpwKB3hXAFycEHXLyQm+fuSNgv+PgLQFzyEHSoz4HutCp05P\n7uqf\r\n=h8R6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b1589a56577cb67adcac0ffe7af20d160aa570d4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-08T00:33:49.998Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.2","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.6_1641602141035_0.020553382115211738","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.7-renovate-external-non-major-a75fbd9afdac4feaf4968c9f66f5db1ad7cdae8f":{"name":"@balena/jellyfish-assert","version":"1.2.7-renovate-external-non-major-a75fbd9afdac4feaf4968c9f66f5db1ad7cdae8f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.7-renovate-external-non-major-a75fbd9afdac4feaf4968c9f66f5db1ad7cdae8f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7eecf17d2984f4f89b9c1f93c33f0eea5925712a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.7-renovate-external-non-major-a75fbd9afdac4feaf4968c9f66f5db1ad7cdae8f.tgz","fileCount":10,"integrity":"sha512-PSipWyflUu1DToWAqaFJIIODhJaQPoV7O1zmEL8Fbafjpwa0om261wC3Vqdo6emXZe2Hb/aPF/RwP0E5Mj/MTA==","signatures":[{"sig":"MEUCIQCSErugKYdl3nSejrB4uoD2N2hyV30XN9p38G5sFSNJZQIgQaIf7Log60YZSnCYOuKtggBPySMcVLm9fL58eaONzU0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4hnVCRA9TVsSAnZWagAAvR8P/3dprRQNcM6+qpZ+E2Pq\nAUVWN2XHaa6TAMbXdrdCy8aaZ11Jv2Tn1l6AIJoux4vYEIEpBFhngrR1xl+2\ncIN79/SRSlJ27hokYzaDnvlLSZQF19Md69ARKJkfqsqHepNGucK7o35mpD56\nNsoaKCnSj4psHHGad+bSkLc6e2/vuzAFEvn/ua92+JmFeel2/iE83RFBdtST\nBP6MCh7ylDEZA0BGjUHDgGfwI1S6KEttTZ8l1wkLyTTNRKbQ4Rx2B5ZGP3Ry\nQsA/RyZsCWMt+/0dZr3KTymVe8umY+oh33uSun+C38d0Q6o0CclDODw1cnwU\nifb+jpHGtcP4bOiAPr6nBO94ymiMJL/UnKBGKNPGXYBXq3tir6TDpmryIvmf\nSTp+0rEj1xiklxJ0oZzI85K4foh80Z19xVLEewkHAVGGw7Cep7FkeKLIUdIJ\n36M142ImB+TlUdWhWNUGiSm7E2U26hZktqI6xhnyxlVTzK6k6xr3sCxFz7u7\n6WziXx4n3vo5gP5GBaK5nztm4AGRO1TLDd5PGtImoJGbWV0s3dIXZUbnhDIV\nLvQWMFviZY9wPQvlCQ9vFe9SNAEOKZwDiTH5G7ruNZDP9S1UY16H2BRbS/Zy\n1Mt7hDC4MkJyGwY6lQITU1OEwcP4mAvFqjxU735+/F1dhDNaOyMu+Sw4h7Yf\ncKP2\r\n=RQ9d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a75fbd9afdac4feaf4968c9f66f5db1ad7cdae8f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-15T00:45:34.873Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.7-renovate-external-non-major-a75fbd9afdac4feaf4968c9f66f5db1ad7cdae8f_1642207701375_0.6360248038582841","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.7":{"name":"@balena/jellyfish-assert","version":"1.2.7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"33678bce3abe414b417996dff528a9867ab07e47","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.7.tgz","fileCount":10,"integrity":"sha512-fyYkXz2kvE/p95yfanReQi8ysb3Ini7svoiCww/I8qhF6Q0x3bPwHrequux23qPf7Ry/uxOSCwx+Sk2iXpTDHw==","signatures":[{"sig":"MEQCIEHyFXrOQnbOnUnE22Kx5S1cdRVeehXW5n7cW7Rpfy4aAiA91r/HV2M90qgTgmi9Kja9KDvgjBc2olo8vjRqtnJjpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4hrlCRA9TVsSAnZWagAAPf0P/10mnj3/ir2s8jVTn26T\nCv5cbfRdosHLhCsn/hlgbV+3I+Cu6mQxHNTcbOhXOA6z7PzbgxTuwSfAkZRu\nobISp45nBtVqRk5gDRw1ZReMirQd2chriV9PZLfC8OU15geR6nnO+n6VGQHA\nBpWfshCOqpyxGr36utN9wFDof3afYMIyNUYQXOlLJwZLygmcGz6tcgR5hRtZ\nNrcJOTJ8oxd++o8sOKeBB0do3FQo1573PYJu1Vem6yXcGfBN9dBwQ46g0Mz5\nMUn0LaFeS9PlekTGMKaAtFpCArsaLIe7JWxwuf4g4Y3c8H3wLY5zjEwghEgM\nYp3kEFZFHNJXPGIkd4YWky4e9xp43mYNAat745wrEjhDFGVKeBvxY/+JWeeq\nVQRFAjqzlvYIdOU/F0fyC6KmUm6K+28oMWnldRX6WjblodN5Fo8KimsU7ENU\nN7nzveWmb8oXhb1FsmDr2LkceDjFsT/ii61K2yDkhpuFbxq8/XDKgljo87yo\nPsSld0Q+uG3FCOO2v1bnLSjGf6mLJzjk6hCVe26miBVcUFZvde7lHae+yoGK\nMjvMJr+FcJc52vNFLEbOTI9hnzxYcAn8rDgVlEF1v3rO+iSrRgIuTSG/WuRA\nfupdk9qxEdXMIRfpDECBE1Zh9Orzr7m4qLyctoVl0k3oEmjBkr4ZtVrItLIS\nFA+T\r\n=RhD/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bf727063ef83d7b87cb88fc8a2d00ca03a2fc99a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-15T00:50:12.939Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.10","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.7_1642207973566_0.5633573283642577","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.8-renovate-typedoc-0-x-a099916454b962c03694b10650028f7b4486139e":{"name":"@balena/jellyfish-assert","version":"1.2.8-renovate-typedoc-0-x-a099916454b962c03694b10650028f7b4486139e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.8-renovate-typedoc-0-x-a099916454b962c03694b10650028f7b4486139e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"09164e38b1f42c470abf741a6d81ab09d48151de","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.8-renovate-typedoc-0-x-a099916454b962c03694b10650028f7b4486139e.tgz","fileCount":10,"integrity":"sha512-Wmla2ELWvtf40EneieWW+iM8eM9aLoAu3hKty6JoL+1RSzlOnHNxIG+Jk76s1AiI0JHlD0Ab+ki+Gn5UalBbqA==","signatures":[{"sig":"MEQCIFueGIS7fOklp6qRQ4PXwe7ckexCeNcPYjxPkaDRcbaWAiA+dE/3XBUWme/TDzwtmbvj7YRRykwhzKaKIedGwmauiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh55qMCRA9TVsSAnZWagAA5C8P/jLzcyqo3ImfnHLhQdnq\nGjVz7zECwY09fYzpBzV20t+DYxEsATwdA8ySBu4Otum/e6SCEXJUPaEGxjFv\nsrhct/i70KsWKuvRz2Hyxg/H1HgyqsAWLwLF+NcURBeAdSpHW2UiuXzpfZeL\nbBglgWxJuehygOiCXmNaZa2g3YQ9qhY5kxDDL6CyK6rwm68FBx5IkdqcVX1Q\nRvO0f5itMfeBcKpwk7DnJieBBT53kFiT6UB7Jt4aEF1vPxk2ElmzurUg0dim\nIGoBs+DjojBb4GAo/EPeuK6sYJ1xrtZoCE8MUGUGaN/hvJ+leqj7oooMjoAp\n3s2OUKD4XpsjwnlUG4J8ymZYqd+81DbBprAAG7QRBXaOVl2SxPr764mhd1MD\nAhEQYLb//nQR1tDg0B9lND6oNHbjexHJNUx5FJEAs6DB10bFWf9TXBqji/Tp\nNDgUZKsTOHz+us7MoNL0LksqzEddQbbu6S2jhmYp4nWvjkbBUc5V9Ei7QPx6\n7pe98GlFt9yBrD/+s2ob3MDVqqG0jMTZ+tMNl/hH9PphAVytfFCfhmJ4Bn7f\nhaxLRHt8255xnSwsOQN3Mp78K8FX9a9JnC935lrTK+H7ykbpoPg2a+ZH2VJX\nPxj7RgQiSrRYyH+vR+Mj+U1zeT+ILoH7uvdIVjTbVMtDwQlpeOlAgfsCWNxK\nt923\r\n=tEIM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a099916454b962c03694b10650028f7b4486139e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-19T04:56:30.263Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.8-renovate-typedoc-0-x-a099916454b962c03694b10650028f7b4486139e_1642568332744_0.3254216879844847","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.8":{"name":"@balena/jellyfish-assert","version":"1.2.8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9e17287e8d7188494cdcdb95a782bd65c850e2d3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.8.tgz","fileCount":10,"integrity":"sha512-fQsAvTRhKYV5xFR46Gaplv76jVekdfeiQTFIJVmqy8JhpjPi69gQTAS8m+fQ9qExekmVfZiuPeTvFP1k9NZ1PQ==","signatures":[{"sig":"MEUCIQDkvUzEOa5h+THoBMrzMnvDVEDb+StvFIdQuN/V4DbYMgIgJ843X2FUDjJ8cCbCcjMbY88fx/0UtuXgGiMgClpyb0E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh55tiCRA9TVsSAnZWagAAuBIP/A0O3wU8dp8cc11RlVUh\n7Ao1Mnd7Z2jJfnf/0kXPfdttJTan4pAVOblN7oHp3L8UyDJ+EZ+0BfZVQaii\n3WR9dhapbp0XhtOVY3j28dwWTDwFU+dMgepmnzsitzMVmjT3n85cU4rDCHBT\nX/4LMnBrXnKPyd9qIhJe7XOL4DkpSR3l5KrtYtYqosmkuNhhtdKZlGIjzZoE\n0Nj4DjDG5YuIow4e0fojxbjf8LG9zTUCc69bGCItuNq3DXMJa9alOm3CyLBK\n6EBj5PplgYBbASHF/6XgZjyaAnV10tWbXwFWYDmPdJboPwu8HQzh7f5gSGKU\nuL+fCvqHkrNFrwoZNc51HgSiZB5YU8vqcRm5LBg9z5NsRGAT7h0Dv150Sg33\n7W81H69EtkmzK8c+bbWjymfKncITZPIa7RMscm4wNSVWfejOuSQ7Tk6joxXt\nP3ZMdk5/nbV9w35SrQ7BZN7hMTK1BLZXG5kRjpe7LMy6H01VT2+sjxJ7Hogn\nMh5gmPwqm+LfoiqyJyofhWxs7SNM2hV9mIz6GOzThNEiio3//n4tQ4YBuznX\n3BjU5VBWNSjPT+v24f4Y7mslOypG2nMpRJOr8EkaSXQjEmFg/viKRehZBXMK\n8yLLAbK0eAYYXT2xNIfH8SqP23RUytP97Nn+PX5p2R9stj7fmOEyZYQuOpG8\nTOx/\r\n=xqxk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"72d4cea6fd75df547212880bed1f6148d607c102","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-19T05:00:34.644Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.4","@types/jest":"^27.4.0","lint-staged":"^12.1.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.8_1642568546527_0.8635538501942424","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.9-renovate-external-non-major-b06dce1be284f26f69b238b2f482f5fbba9465fc":{"name":"@balena/jellyfish-assert","version":"1.2.9-renovate-external-non-major-b06dce1be284f26f69b238b2f482f5fbba9465fc","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.9-renovate-external-non-major-b06dce1be284f26f69b238b2f482f5fbba9465fc","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"14674563a31a164e3c1632b6e1c81fbb3fb8941b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.9-renovate-external-non-major-b06dce1be284f26f69b238b2f482f5fbba9465fc.tgz","fileCount":10,"integrity":"sha512-c3ihey9wNILu4VcFwJJZ97gKsWYch7scAK3yJZey/wZiyV1L52vccZwYLSTCkEJU/ZqOXLiYfff0rr1rPtvomA==","signatures":[{"sig":"MEUCIEgkf57jW0P0k3EywQRSESTck1C/PJw1g+IYZ/3UzkvHAiEArTtLeb1TuOfg5SZuVKoZAEqJDql7P0yEzkDgm+YYZu8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh616ZCRA9TVsSAnZWagAALFoP/1XYWeGKfuAh7pooExBa\nLCB29cNtmt8WGaYTIGwbrRxP5hkxj9wappCIzFZbueWhbEwH289ylXuW+hm3\nG3XKU0RjObVX21PE3Zl5xbG01yoDm8KCPfamYOh9g367e2HNNf1kt+B2bHSr\nUm6OsAQdw6D1CNUVtVFNWus5ZYUdmwvh+5RuyTFgY6fDUxv18iv+pAnaScvT\n8mO6NAYi1TiT2XBvIcXw3sqbYzMNMrKMQapckCFC6zmzeMvrLbuPcrDMT8KD\nKl9t/jRVeAnQA6DpUY7OmDkn6qtcGyj7feb0/g+y1F5+n7q2lUThw8lkYZar\n0+yGnPFmaMwi/pftKWxxKXDBdNH0/ithpz4Ofiey9yuiUxirgBiEw3AggzQN\nBIOktMDfvOttDRuZP4swrgw3gk4afC2bA5f+R9/iu6e7Bx00c+VBinZY8lHm\nFBEWw0PVZanSOXdPkhRfwSqDdhnQ8TSkTX9G/MqPJNNc9boPal2+X4yRtn6b\n32iLoMnt83UQ5OmnV3jrZxjvocqu9Ndsilv8XWmgc7rXh7/EEjTTmuEH9AcX\nb7nmT2uK3efaiRykqzHAJKxBcxl5rFApPkLWSybLJ86zs/Fd8ILIzeF+Un2E\nrQYXLL/Rn04Buu+sQEiS16ZIWR5A9RZgljJDdAMNOeO+HQeGTM31JGbhPIZn\n7LmG\r\n=DMUy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b06dce1be284f26f69b238b2f482f5fbba9465fc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-22T01:29:37.452Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.2.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.9-renovate-external-non-major-b06dce1be284f26f69b238b2f482f5fbba9465fc_1642815129133_0.6587634354249075","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.9":{"name":"@balena/jellyfish-assert","version":"1.2.9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3f6f465527dd3d84fd122914a77352f3a1e84b2c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.9.tgz","fileCount":10,"integrity":"sha512-pCP8JPp/tnp5EXnEga6m6iesSjbcXEjuZOJi2QFtfOF1NRmoDHVvqHdbhGEvIrYP7/d4jHIdb1JGgNfloAphRQ==","signatures":[{"sig":"MEUCIQDvmhpjFY7RrjP6Qt75+QH0M4N6VR5RAR+VCinuDEKmJAIgRqdrHS1/mZCSbzyzr/sByFeCT98zm0/NTg+8i8z9Xoo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh61+QCRA9TVsSAnZWagAAZvYP/3Z2jDKMClsfNNm2mGQ5\n4WFwJ7vQCjmi/ofXszvR20cwCVNSoBpwPBpWX6xogIsguR4Gwc5s2I/U4lXq\ncpbcdreB757iUEa/+onjldpTWPJ3WHNSTHDSCKSgvYEuDh11JPmmsFmlb3tw\n7VCQGWTJoF+SLHrfzri1m4JhpUqq1tTzKvXOpEYO+ElZCz+1KnVButLQT++O\nyTBgKrhoPwz8kl9Z5SFwCVKUwBxcv3JnKLOXiNwjpDzRZh/7HIUP9xa9zLSD\nJmZblHKGjKUi44PiLz3JeNQgjcgMuEpwn27PdflOkkoJbNVmobiI5WLdHZTn\nhvffnFZaLS7J6sxKNxC2NvxmQFbzWcJFjSKXHc7c/Wj44545NMnamSLFkOrd\n4xfiqEYcWE0dkT8OHr8ByFRP9iKJE929R625L86kBXqljJKyN9eNPQRzBZow\n51iBdbT95IeQ10B8G02PLQ2ureix4lusmmMyVK4pLxUEvyhVWWlHaMHN6C4f\ndJoK3St6L4DyhgijNgildW3p9ofOh7Qc4TqgoDyNe7gWurtEgVTx6G24+D/Q\nUxLBtMvQu+ZNnaKGCp7vd3AlxK5z22ye4btM9AACMiHBw7oyP3FsiQlrJYPA\n0fuu3PsuFcCOChE2ZmhmvgEQI7TQ0Dfj1APXG8W01hrH+79McIlaurmbaXlt\nwnlH\r\n=2Soy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"85e49bf4ede91f588911afd9c922035ea74bb7cf","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-22T01:34:05.029Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.2.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.9_1642815376537_0.6927075232640705","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.10-renovate-external-non-major-16aebb34d20563d5fd55b3f73877d28003fbbe03":{"name":"@balena/jellyfish-assert","version":"1.2.10-renovate-external-non-major-16aebb34d20563d5fd55b3f73877d28003fbbe03","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.10-renovate-external-non-major-16aebb34d20563d5fd55b3f73877d28003fbbe03","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a576665332fc0ba65ffc799c2912fba9e6bc2e44","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.10-renovate-external-non-major-16aebb34d20563d5fd55b3f73877d28003fbbe03.tgz","fileCount":10,"integrity":"sha512-8AHHoUVAzWiFvH0RuFNIQNN4tHLnx7edJzZVEE9g+i8RwtFuN1ig/poKW5HKqTd0glqgKEqtfRVJBbFBpggQhg==","signatures":[{"sig":"MEQCIFPPS5EPICCRzMnAJreGAb4pV84v9+prcYYUIkIObJi1AiAF1yfkgLfkgYa0H69GbPv2KCRp3MDtSG2ozMuB0qaSDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7UYqCRA9TVsSAnZWagAAzt0P/0TrdWMEAVK4KxUiwRds\nyzkckpfeD1Pt+FAHl6IGu4FkCcE4zb94JlBYkWKzT0CLeTH5avgdkrQOp7dA\ngRdWDX5JTVsk+5HfSst1nIkmmCpgOtOvhrL/Vqp5JORIrNH+2ZKqNtxmzu6M\nJcepd12+DP0H8oMVOGtIoKvl3vTyN8Hn5/HTNerW683ISqIlEPelQCHlND6l\n8TqI7cPkqWA+2KMKW14KJq6FkxuhdtXQAhCxN7uqnU9+Zx8YLUVN6/v/eJ4G\nmyEFsnyjrZpDrNDXsl/WTKT6N8OK8bdMliMdO7hXyMJLJLxQmWZS+9S4zOFF\nEtzEJuv9laJe8IpsO99zkrPc7HkxjNOr+CMo0/o+xvrrY3hIZBs59o9MF2Zr\nWCPZ1GIa/qudyh9B4mFD97FlZq/N8toIGskS612cAyqT+2eT1b+88EtPnmh/\n6yXzVCEqu1HZo5i1JeL6gyQ0HJSCzrCNM60aCttJXRePr55EzqXttikamnR3\n0lnhWQinwlzgB4b/N8IVf6ST0zOwUdF8bSPIK8qbWDzGpMaxwl3KPkrGNLlT\nUeXD9hwFpir5RpN/8Mph1Mu4HJ8pO1QYo4DZ3cjxakcTx3DGvKnOLu9ghkkH\n6BRDLFAlRNcyoXeyFprGmJr+gyiBnAC1df85O3xszbt5m5EKpAQJVHTle4TI\nqWl0\r\n=kZcK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"16aebb34d20563d5fd55b3f73877d28003fbbe03","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-23T12:09:48.626Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.10-renovate-external-non-major-16aebb34d20563d5fd55b3f73877d28003fbbe03_1642939946231_0.7631370680312048","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.10":{"name":"@balena/jellyfish-assert","version":"1.2.10","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.10","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b3b23cb3ebf5095b8daadb1f0728a0206b1dccf8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.10.tgz","fileCount":10,"integrity":"sha512-hlZnTVQyN3KUZEZZ18Xosx7z3ydqMhow0H9B5EFwZstbjtXZMZdd4oFBZuWLHG1dP9cLpm/vlNNGAfepeiDEHw==","signatures":[{"sig":"MEUCIQCxb6FgYkMxcjigMZArAepAnF6V0pgke1wvmzU/P0095AIgTPCjridEYF6zCCCaSV+/SGkLufUudh7IhzxgttfMFwg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7UbuCRA9TVsSAnZWagAABw4P/ipEGMiKgtkHmkTmG7m3\ndS9VX9ZEb5RoCvVGWlcHX7iusoWDI6z8OF76EGfTRCPj+g8Xr1Om+FLFf+Yh\nwr7tEZ6w3+jCbd08BkUeUiLOiX9wmFysnYtA0Xv2lh3zCs5Yex9e2MlMFofE\nBgK/C/VROTn8xsuIvA3v9wO/OWLTo2wffF2nvwtAoK9gGFzyfY+c4erAIOdH\n6lDtFJkdBhnSdihAHwskByFEZaktBLLDONcJ9e512WFgEKxyR381z19b67fo\neNR0jdRKcy24DHbRG0Il56I2b2DULsLA6LUMG4mNGYsPNGrC7r341MF9bixK\nvqGVqQGK+uEdfIpUxa0poO2noUGEj0c0Y7XyHF1b8sOCabiv6RjHc/fWehWS\nsMqRkUnix5JFNH/2M7E3RIHAeD4N+CevbUzqexH0KwBbtETPor6JwTGk6VXr\n1FmBahdCOHNPvyrjWKZxvbxUBKulZ88vccJ8EQDDd1FLcJ/z99SFABAYaAy1\nUzWRokX5nQTltB2sdCjeqVoEicmDRFW0SpaNV+YxnAZLs+twKnn3c+pFNqgi\nJ6fRbWiqUaugR9cVcdP+PDedpqi0F3mB8cA/3GcEYCyiI9/ZDGt3GJyCOjpH\nWcywxHK1q8J3AGlpuW/mPEUhkZRNO/4lHcTkqyiQPkmMyog4C3kwinDuuW9z\nbF4j\r\n=vgLG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3c62084fb9ac72bd70b5cfd32b8f236fa2d32130","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-23T12:13:51.142Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.10_1642940141927_0.9052902857492444","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.11-renovate-external-non-major-e3ee9ca45dd9475bef534cad8d04f87612866063":{"name":"@balena/jellyfish-assert","version":"1.2.11-renovate-external-non-major-e3ee9ca45dd9475bef534cad8d04f87612866063","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.11-renovate-external-non-major-e3ee9ca45dd9475bef534cad8d04f87612866063","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"68c732d1fb99622bfa3b186141cb1750dee3722f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.11-renovate-external-non-major-e3ee9ca45dd9475bef534cad8d04f87612866063.tgz","fileCount":10,"integrity":"sha512-MPXnyh5+5fTVG+nQTDX5NRAl/W7EHzDUdO9/p1QelxGSVK873qCnxEL9lbxUpUdCme1TFLmmLY34AshzcELe8w==","signatures":[{"sig":"MEUCIQCV/y3i7ukdwUv1JwDfWqndJ0c3JXebztSps4sU7/utPwIgW1NXswDx8oEyGRaeu/LkrSVU9TPR5eX/q5CrfIu4eVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7YsTCRA9TVsSAnZWagAARWUP/23Nia8yksN5h8UDQdmd\n4ZuHFXKVnT0kcvTcyWYwFwei7FFHZAE9IgnKhAQtbYt3D9u1pfw4dVENi7/S\n01YJAmY92W1JxtJNecMVRNU4szEP9LJRAagDU1F7nRvWj7umonVukrtgE/mf\ntYb2C2zLCOctr3H3MRARQDiqy6wfgV1EPOEPpIrIUe4FbJZ82sECLfirOt88\nR/iVTSPGHGD5laPjg+Wo1RKU6ar00enxYOiS7TfW8zIFVjVdAZUsTrjJlbxl\nGEJhrry19ugIUHBWo/1BIuMW19njS6POaMkJKqeboT39lKjLqgV6WoR4LqaC\nQcnoXVCnbnf+1oDAzT38r/1OnVTJcKCTlYAn+F45oUSVVZyuYg0jUvlxYjeU\nzXjgvafDXtT/zh71K7z6AZev9pk3vDCN6TRblzh4s5/invFJC1HwXpuYU/G9\nIeYNth6CWuzlqw3pu8gMxBicsnfzqg3p7GQdNje+sp6DUlyHFRnfVpAz2l5g\nWkQfKYN0kwR8eBYSE22rbqCD2QtbjvzOkB8xPQDCxPbI21O7NUWwPFUH95+X\nGGYX4X+yuJpnSaaHz4ncdc9rV9zaULCH4R/Qao1DBA5s5dHuPK1WQhEuSqea\nK/1gEg7T6XpFmVs3HOhOTkWtEZMh5V9W1rsO9g5Qdh03ltHA8y4IGnBl93wk\nCv9v\r\n=uB5C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e3ee9ca45dd9475bef534cad8d04f87612866063","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-23T17:03:24.731Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.1","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.11-renovate-external-non-major-e3ee9ca45dd9475bef534cad8d04f87612866063_1642957587791_0.4650338808047261","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.11":{"name":"@balena/jellyfish-assert","version":"1.2.11","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.11","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a266f1e6603b5a36224b2d91320bf0ce3f6a3c14","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.11.tgz","fileCount":10,"integrity":"sha512-WuyRR6Cxr2U4Mvl1zyBLaSop1X6JUPLU3k+G8smNLWC73wkWvtdwmrKeo/C/w4u75wqoEpduyxKIbaLTqH76fA==","signatures":[{"sig":"MEUCIQDy8xO/aYYcC7A1fnvgExV/E9izhVQsSPQu5Vlf7adQ1wIgII/LEUdS1WYf9sPADurHD7yf10qbIZJ1Nl6NjnEoUhA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7YvTCRA9TVsSAnZWagAAVBYP/3cDb3M/P4WB+Tp3PJ3m\nRBtOQ13Zdtk7JH80W8fgdQPjFg+skhMYgUhwKBk6mrtQMbeiN3TlhAQwIL+s\n6uNCbs6dpmd51XjSEqh+ft4sqdvQoMN884OY1HvBzl+ITeBerDN/VstyO59x\nYOlKBno6eClIiibAoVbNqlYqiwZuKSMnjSlK7x0VJkMW/S3bNvx2YRDFxDAP\n8FO2fYXlIRoduB8CsCxf2YJdFdLWmZjzS5/wHntGUjEh20IB4Ocyg+7UjfW1\nznmrl/tPXO+cj22krSpjqLoMvTghqH2XQ60aeWyxCHxadJ7+wb3QEVLAp7gC\nyUJ2orAo064e3ib7W8QozcMcz7EypPx/OoauDaPAYzdruiulgD6iMtjKSIaJ\n1xPVZpNbYBYG3yodM4Dni+sde6gviyFCl5PgwxSLvyNs3Jvt8ddYxDcrRcYh\n87anAkD3sU89HAMboQMEJrKcvbtiJCy80OK07+EZVtWAC0v4eltaphEpfPtD\n1rrKDErSXHYdFxdZ/21XVysQfNG9Gk1BaV8pNcvlpKmmo9PRACP28NK5+qS/\ncERStj0jinJYLENVIgzHp1NsPruue/QsxJk9f4GJqAm9xDwzIHRcdwo0aW8b\npy2hhLDnL80hPa6zxgI/2pxR1VsUNQ4XooiZxYSwdCoBpX5q8fRNhT12BomE\nX005\r\n=AXLD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ef8f84bd87570f3b1c302d36712aa87402de3831","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-23T17:07:40.179Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.1","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.11_1642957779363_0.6481119552829282","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.12-renovate-external-non-major-bc0c8aab3fba3fbf71473845dc18ec1ea72983cc":{"name":"@balena/jellyfish-assert","version":"1.2.12-renovate-external-non-major-bc0c8aab3fba3fbf71473845dc18ec1ea72983cc","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.12-renovate-external-non-major-bc0c8aab3fba3fbf71473845dc18ec1ea72983cc","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4f151301cbfcb2ed22e21e17c613b3929f3b814d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.12-renovate-external-non-major-bc0c8aab3fba3fbf71473845dc18ec1ea72983cc.tgz","fileCount":10,"integrity":"sha512-g1+hioDekgwv5AsXYuKBMe7RkkTI6WhyOZmklq6X8fV/yTURuYW7qlfNdqBK2bqAT6AsojG+ZetkPYhDH0pjJQ==","signatures":[{"sig":"MEQCIAV1OGHZGQsL6mzwVuHdft5ViCCtyeSin0wmYmoF8WtpAiAqEZL9WYCVohp/EuvH6MV5AVvdu2jt4muvIfekNSA/Kw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9IyjCRA9TVsSAnZWagAAh8AP/jyjJUtt+6q7SG34Zp4J\nAsPuKSxcPSgoYjldkmDJBrfGFAuYyRKL9hkokNOYWHAv35F1F6UYg377MbkX\nU1Plyv/09fiEyG6AZPfkL5gnjsKmXpgiHTQw6UfrM4lgufODmZcP+Fzp8WFd\n9IELkYpDbhb68rxE3nSrrSMGxi8JHrVTMWLbRuXmaz2RlQg24fu4He7/ZNch\nRJJET6dsOnrO4lSMnlpp/olyQ3vzh0FD32MYtODK49tqdHhtF86RVc0fQxkO\nAOUs4XD8CQhIa77qNCQVqxrZnsVpuMwTPfotlHdC9TxU70D9mZVY2egiejfd\nw9vFS6Nn4ceKlcpdBu+3NShQjMZl6olsjlPQvyhIL1Bt6WMUi1PCYvR2IHw8\nXwtJo3+/+QtcV20EfV1rqobCuaRBkJrO7uWLJzDLMxw3tjJ4qVG/a6tRnLzl\nVsOrZCkcNzgQ9SlhoyB5F+o5l8DEIjrCm13uRh8Z0k/BDAKpm1T37yzf9R+M\n9h8b/YyMdNAzj53fDBhK4fLpJ9KXUV5i8ccGJ46QDvtMn1H3EOa1xUwfOL7e\nPYQ/FiheYRi7+THc3+DlVegnwDdvd+1gsJ6hkD0dnr3xVh/ybAWdHNHZvReC\nVKK11gLF2b57xJQphSIZmzd2qLxwvvT6+xCgNDuw4p3rpCTSZIwkQj7UjHug\ncTox\r\n=Mxu/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bc0c8aab3fba3fbf71473845dc18ec1ea72983cc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-29T00:36:42.039Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.12-renovate-external-non-major-bc0c8aab3fba3fbf71473845dc18ec1ea72983cc_1643416739120_0.14366796323311126","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.12":{"name":"@balena/jellyfish-assert","version":"1.2.12","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.12","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9cfad406241571f24d8cc7fa4cb4b2aaae0d4778","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.12.tgz","fileCount":10,"integrity":"sha512-B9764mlVKIa0cG2mDtN3CxgfWYFd/f2urvC4FYfJLLZNFp7144zEuhc16xfuULYlHOWYgu1QWOZLDMCLMES20A==","signatures":[{"sig":"MEUCIGtQY7BSwT3E3hebqlkM1TOKc9cvLDWxkdZq5tSqNhz8AiEAqABE8rLJiTZ+VeA9SSMtkjRnLvs1hk1FAt+y20HQ4X0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9I2UCRA9TVsSAnZWagAAIm8P/1abS9YMufGJkyC1XRWn\nn8QqlUIbc+z2iRpOatL6whcoQCxI3HEaFeQS9G47kly+6PtMJRzIjI6dV+bi\nt0vj9RWCjOrIMltvPTEaE0sLPkGxxgu0mIl2vHg/r6y4Mw40G1eDVxZFSmmJ\nQUaN4IBeBPwuKItr9y6LCShjtKAF0OUiCocV5Rsxzq3jyHjFhW+y6owf7Hdf\nPF2ec5gr5sSJLVkEfPwDMM7d0zUaMg9eYb+azoNyUCalDvTpevKAEy6s4tJI\nDzyK9y/WXZoTVIYvrxCMpAP+KPIsPczXzzTrG62/cRA77c+eJ1YiC2rH9Jyp\nHcHxYNXE1Nh8EayCTCyfVfv1pcffTnLV+Sa3PSMB0zvxSZZi/T/T5cOpM5pn\nHOlQUAnvRnIFiBcq2Ye/iBu7X8neMzfeu6eavbJPPY51Of7ni8LHxFizTnBh\nCrT3w1LUt0SrqAsofJKgrjOwG8YsoLPyVwFuOOgSD+mdZpX4KNHnQfAoqljz\n2e/BfVMSO3TTd42fDTZBmvX9Da7uPuuWkP2Fp5wWsAYpJB+woKwylPDibX5F\nu4TwIt9+I4i+IpxY+I+o9ojJLpEFKbaceDuaOBghUyKKZqMdY11ZZA6Qkeqn\nLSYcoRqMu349ryFTKHSe6dYYgY+VXNTiQiDSGHdTN55n5Hd344h+RlSdEZV5\nbKYn\r\n=ggqY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"627bcb89bf510ae4f055075022543f4a5847dc01","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-01-29T00:40:47.011Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.4.7","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.12_1643416979899_0.909718960519587","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.13-renovate-external-non-major-61dd11504b31db6c892e5ba87bc6a75225163363":{"name":"@balena/jellyfish-assert","version":"1.2.13-renovate-external-non-major-61dd11504b31db6c892e5ba87bc6a75225163363","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.13-renovate-external-non-major-61dd11504b31db6c892e5ba87bc6a75225163363","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0121714cfb2556f8b6e096def66a46d138d3d5df","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.13-renovate-external-non-major-61dd11504b31db6c892e5ba87bc6a75225163363.tgz","fileCount":10,"integrity":"sha512-loWDY1DEFg2UA3HWKY62CyzW1Z/mH8p4vL0gyWmbgtjfcZlhjoreIiCXjHE/k2Oo4YbhuJdobSbSTHXRQqO7Nw==","signatures":[{"sig":"MEQCIHLBvOa0w2U5YGLfzJsqI1VPbcQwKQnNEPQ3ww/ShZibAiB0A9MCJ7hQoW5MRCBt8ZVjamJPjAw1hVdsGvhhtFdLGg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/lOYCRA9TVsSAnZWagAAnSYP/2TIirKxPYn1K1RL9TQd\nvi29cUWoelR8Yv4e8x2ETa6yH0iZ/N1jBgqfvO0fMHjLN9UaUFpSap1iu6Ff\n0hTx3ELmYTKje65H/mYq9b6I/GHGFXtywm+s3SiNMUvcAPaJ3waZCao6RRHv\nGGb0xjPgNkYkdxRqUJP/yyXx65E1b3ya/KTWnnsuUfkGnRVWcqcd+lNwR9ER\n1K6T+/9lsQj059twaUskjB94gueM8rOiLho55eTgVwZizVSj9z6CVmjndACC\niR+XpgGE8R+L6ZyjYkWFd6onR2esFgNqe8ynOOwLDwD9sA1YsPMKBRC4vbBq\nbEjpUBR8iYBKitAOZpEUMlA41oP0v3081jA26IqHe+9uUKOhGMZtthP2nmlz\nbv6K5cDAyORrxw5SfKjEaNeClSsObGJxHbvHnPiENkLcx3E5Q/DDmWPpwzfT\nGQa16Wp8QabAxbXTwd91ubF0WZBq6H9BOC2Mk4JVV4yztqDG9oBqbgscD1zF\nJkoxtBsD6c7fepnX+ZD76V9D9tYRT0H85aPVMTbUg0+tTzoPPZr0q9WlCil5\nOPLcLAOnPRgQBEf+5/O/8CmtvLIDOS20URCb9N8y3t/dUPIj29Q8LinfDrJQ\nCMyF2cSGIasxLgLY78JCd+cpJfjHZhIGLec5HD0t+k4dUifB+4bUIRXaMlTQ\n0AIr\r\n=g8PK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"61dd11504b31db6c892e5ba87bc6a75225163363","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-05T10:36:12.988Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.0","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.13-renovate-external-non-major-61dd11504b31db6c892e5ba87bc6a75225163363_1644057496500_0.9315728161579422","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.13":{"name":"@balena/jellyfish-assert","version":"1.2.13","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.13","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2661079d27e2a653075dd1d26437cfdf5cfbac5f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.13.tgz","fileCount":10,"integrity":"sha512-0EfJKHGBaeHjkD5zZJr+skAiHv4ZEz3ZWaOHbEkjiBapbYNrN6rRtk+bEZuW5tAz4z9a8THohD/KxprJzpp5CQ==","signatures":[{"sig":"MEYCIQCIXnjP8G7SwO9ehD1NYnZc7BEWYESGkQRp/gXeYVNalQIhAIoqJLLLVug4rZZrHBq8Orqz19iYicAy25lFgRBUjiOK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/lRiCRA9TVsSAnZWagAAGv0P/3x9suqs3VmZKWSwIhjL\ncyKznCm6L8LLjuXJ9lXsyMdWY+gyQPaEPmC+tDL1R9EvvpVsGXJ1EU26aloj\nU3/TB8gkh5ypssr3oS0l/M/NtpDSSqNvzfJ5kiQyWDFlueX/b5vO35uJgfGx\n1yVICUT0IybSoNiW1VNdHJC06R/1Ui65g5HWORX6N37IVpX6mcnd+GG7lNx4\nj9DRInC9pdzZtUX5iYL8xPraKhdRYWSfqjguYmD+ikXDkdJlSX2kS52vuVwR\nTQNeX1RuKhh3JaM5qk9DqxtKwEPt51X1fCn4mF+oXu9oMKRGC27Fvr0/cKLR\nKYFPw1TMN7KEQsfy1jsBRCQ/wqlmb9JGRBof9sqHelMNvcifrdy83mQw1QJS\nfrs8Pf+11VUd0Jdk3qw9HuhYi4AYGdw0uRw/PkW13ti5tBxcVT0SB7SQC2Pp\nXiDSraK41hLR2YKDU2xZsdZdd84Kzy0yO21fShVxisatWibNo4lXs220ouzP\nV8XrRverJIOEQsZTJ+MeJ2JwUN/d8AiRWJ9hDy7R+VkrHElVWirMeBwKDhxd\nLWjD+NtkZ557lyL2UyVmwclMWC/1lgy3IXY8Toelz0Ff/ooWS4YiEhtL44ZS\nqEtJguiqQpmrZKgE3Qh86f8zhtoD06TvM5Vny+vgj2yykBSa3kVw1xU+zzoK\nRu/V\r\n=skJs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"daf7aeedc855702a273c6de701b31d55c9d3004b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-05T10:39:45.692Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.0","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.13_1644057698035_0.09338948735962904","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.14-renovate-external-non-major-bff559aa828e51862b8c3e74e4062de566529cd8":{"name":"@balena/jellyfish-assert","version":"1.2.14-renovate-external-non-major-bff559aa828e51862b8c3e74e4062de566529cd8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.14-renovate-external-non-major-bff559aa828e51862b8c3e74e4062de566529cd8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f4052d19bf8a583885848793a6634db77e26cc77","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.14-renovate-external-non-major-bff559aa828e51862b8c3e74e4062de566529cd8.tgz","fileCount":10,"integrity":"sha512-zLgmza6fCVT2mxgzu5HLUfIfuJQrddg0Co07YU8MoNNqxGjAHq4ZwBrm75FqDZsU2Ujxw0ueSAWnD6JttEYDrA==","signatures":[{"sig":"MEUCIQCMsZDOpHSWbRB9LKMfxAf2rLJ9UTiIWoPbqfyKz1a4ZQIgTbu5lBIZYAZlhmqeEKlmamT/IMFh6Pw7lcQ5xeO0R+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCV3WCRA9TVsSAnZWagAAU5MQAIu9Go76Y1qvMR1xV/DL\nmH0ddyQUoseh6QyMQPzV6AIqceCoV9f2qGSzXA2bxwcVs0ygiKbFU3h0zlq5\n3cK+ObQ8wf4VYk5jzrW0HG/z6FiPLWfGrpRCVX3AcrNpzUGOm6Ocs8+mKcJk\ny5PaeWrmEu8OZ0Sk+JxWSS7rZR3/N5B5mP/YpDYN+578jBYIFFYNvqVQl3qM\nwSTJWWqval+7uO2GJ9WffU1SCu1IZnfXtm8YS7F0cPpLCtofEyHGWNNunph0\nOA2P5eftpO7O0SjPcMhQMghBvcGHvxSEXTWiMoptoSbPulrkWMHI0S+hDTrJ\ngIfslViMIOaaxCDpUqKgtpxraQOIZdsUE4AHkZA7c2WTjT4LmzDi9TPfsjLk\n8dqKg+5ugoDRvVFO+xgTOPaJdmnyEB2ekjcMhbuKc2qoBT4/w6EYCqNElt6w\nn9A7ZY53aSCU7ERTM7bqwJBYHGj/KNdTiGkHOK328CjJZ4DYnuVpnYEgidtL\ngLRu43uFnYJPqxXh3V7IbS6bEwjeYBXxjGUwpu2kxuo+TLa02bHLuivZIKvO\ne3b+KQm1+MuqPCZ/iVisTBAwOCfCxP4McDilOOCJ/UvtcCqD8dlZpW8X+RLj\nHPa2hUu/6hJmttjj8Iu7TtRYsnIIM+krMF/rPImvzNCryDMw8/2K/6uP/aHb\n49V1\r\n=oAmq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bff559aa828e51862b8c3e74e4062de566529cd8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-13T19:33:38.931Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.14-renovate-external-non-major-bff559aa828e51862b8c3e74e4062de566529cd8_1644781014083_0.8083648449033385","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.14":{"name":"@balena/jellyfish-assert","version":"1.2.14","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.14","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0420b25cb0c28a1b34e0611eec4cabbe5a98a0e8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.14.tgz","fileCount":10,"integrity":"sha512-CIkWVTniAcPwESzLQsEZn8CN3/w5ZvXXxER/1SzyWomk5UoO69RujkFXnOeDs4BV9b5TKwey+UxyuERhleac8w==","signatures":[{"sig":"MEUCIQDKnRFkMy24GZEFxbiPB9iSXR0fWyTZPiwEyPo4l95j2wIgYhU1K2jROO9wkOXn3tr910NNTOpf7IA0KPwr1VzGq5o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCV66CRA9TVsSAnZWagAAiHYP/RZ527tBNr+T7tUoDpe7\nqfjCNMblWWwcYD4lQsI9ELWyrn+7qTQrCW1OmXx9B/x0EGYVUEPATo2sveD+\nSUomzXh1/XCTUGP1AXQqFrVjp/bbsfkNgBGOUyPjc5ajRC9nJtCtjHl0SDUL\nXe+hE4cFu//MIepjqLXQr8ohAASxg7kN54B4L/uttOT7o9x7Cc0dbUSXax3E\ns//cyhz7164TZfc4a3QClkMfuokQe331I6dOQ20q3sH/Wcft14jagapqWCdE\neOYvxSORqatx7Mvrqc3qnxCqzG91bN33wPTsbR3aEP/MRCE6LHfO37NY/Q3n\n7nTq66xmzhXV64ZV9jz0ER5sleRDp2XATrv7G8AL430Tqb5mmA9TGJc07fuY\nvvs3t9Y8lTOFULmVv2iX5Zh7JgxEK2/an8BTez7NnVy/hnSEN09pRrqy41/M\nUjmhVHqYB5pM2+sc3DD1QndCcq0vSZ+FXRaFP/ogrwNSkl5+8uS1Z/Q6SKxk\nB6Cnrl7rvciDA/Sk+5j+Xvc6DkhV+J35lGYXVGHwJ8f79VIpjyoajMpPSyQ6\n26oHxzMLALocS0soxJqbeR8bE0aK3U9x59kJL0dGEbG06Gp6cgixxV28iFvJ\nLQzI1u+7KA8Syoi6reXVOxLqaPVEpmhnpzDagSc2nrdHSZh7+EiVNEpMFZHa\nR9uD\r\n=A0Vw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ea0415e2f3ec0e5437004cc50c5d2139c99602fd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-13T19:38:54.307Z"},"_npmVersion":"6.14.15","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.11","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.14_1644781242643_0.5131755018315278","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.15-renovate-typedoc-0-x-24fa5d2a6dcac70ecac32d2a38ba8c1d9f058ce9":{"name":"@balena/jellyfish-assert","version":"1.2.15-renovate-typedoc-0-x-24fa5d2a6dcac70ecac32d2a38ba8c1d9f058ce9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.15-renovate-typedoc-0-x-24fa5d2a6dcac70ecac32d2a38ba8c1d9f058ce9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9cd93fe7ff56cf43e0bfb80b171016662d7fd93f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.15-renovate-typedoc-0-x-24fa5d2a6dcac70ecac32d2a38ba8c1d9f058ce9.tgz","fileCount":10,"integrity":"sha512-zC5OGWel+o8I2Ju5Cc0fYMBuFqkwfkxYMszoBTSurmWTRRiyfV9pDTX1GedGFAHcbBG4X9Sa1dDBmX5LG/Dcjw==","signatures":[{"sig":"MEUCIGSSCXhogmrH67AeCX+XHdDxMPG9QwD/1UpV79x6zFSZAiEAsGH1ipAO4Ck4PxUSjlrATuwtgGBVzGjMWHZkCqZyPig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEdVCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6bRAAjWAk+agakPmje0wtDsBh+rnaSPGmJCsgVyGmLR3O9OzzpDLN\r\ncn8pJ7k1vCD0JaFdmUUaUd2ynsmGSQJzmnMZpZqlBDU9NUGwipoa+ReNB/WA\r\n14GW1ex/EnTdsjf6Lm4Afc8KVFMy8NFkCFOzGQCqo7rdZ0of36ST6EcNpoXF\r\nzM2Lty5nfoDGU+fM+WNZ39g7kqbLDuVWiHfVBM6oqI+TEbTySILO/s6NxG05\r\nvmQ12rucsz5mIk7Ffl+qEqVB9KjLqMJvb6Chy6fJEjAdYn0qANhqKzmqfIZD\r\nTiVGeeS6kodxdc7lnrVYRwfD+bu983WWTjcfQXWzyvg3yZB43FWYR5jSO+OF\r\nAloxQxk9jt3kPOOrMWke74V2Z7azD6mRP7tNh75omjC970Own/NRSxWsQ6bZ\r\nscnCY4Ztall89e12wBRjYwUTiRlzKDsxx/fuRtR2Sn7InFPMG+ew56fAAj3u\r\nBrCxYEIw5rn9wb6jxfVqhrPKH+EnQNv800LPuDHtnYoG2Tp51RFPptKit55m\r\nyNtdWY56ST2GksrPelzKNdyo0K3Hx15NcrzvUoRAfEroaLG25ElzezDvwiML\r\nQocWk67SVXFrBSsheqttcHLEq16v11PMS4D4u3hagR2M90CidFZrerz7/LmH\r\nHWY6lGAcWP5EAcNfIf5/gmC2GYS4stcyHts=\r\n=G8Dv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"24fa5d2a6dcac70ecac32d2a38ba8c1d9f058ce9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-20T05:42:15.003Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.15-renovate-typedoc-0-x-24fa5d2a6dcac70ecac32d2a38ba8c1d9f058ce9_1645335874613_0.15495362652813083","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.15":{"name":"@balena/jellyfish-assert","version":"1.2.15","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.15","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5fb3e640371a51fb07cee35916ced2f8cd34bf7b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.15.tgz","fileCount":10,"integrity":"sha512-oUO6VK/pc3e2ommhqPYZXfYPELIyplLgjbtTX/CTYL6Lj4iv96gzJTNLOdz49XIz8v11JmdmT8zpMyp7AQK/kg==","signatures":[{"sig":"MEYCIQCaUA8yREjA7N9+txstX0Nthd/upYQgq8by8MLJMFRU1wIhAJMAV16wJM8we2thXtSfnd0RL010p1vPWkjK6vQWHoVM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEeHlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwJg/+JSgEN+CYdkyec7/HCkTtNqitdExKSGcerm/36eP1kP8gHAlG\r\nBP7VEct0L0asmKpUL8A1zQ0FP6lDgOFToopodgpJiQdKbdgy/nM2gLslCUM2\r\nGZqPN1DQ46Np8BP60l38niiZs/5ygFsA8F5vAyxjt7i0kAtxSFMthDy/hTSn\r\n/WwjQ0YSfFSoRv+jPaHXlZO4ZI4GbISlHl28kFeucwYQ/szKk4eao8h7kU85\r\nX5RRKaJoXQDkEhuIynUWVMM0lvj9T36ovCQrziqigf+2UCRjvV9Qz2HQlfTk\r\no85bxL44hgh/FfwKUaD35B22aZuYPtANspU+cbdoxWKLU+2ZWCFsI/7Q1t/+\r\nLqI4fMAmJnxnnkA99xZeO0T8Gm/BQlQ01cz2DRDycIfnm/gfygYchScLyExJ\r\nQS9A3sgUbBkqMBxBHQUe+5DOsxtDrYYFQShYUbDmb/xvRsX5zBiQ/80bFOJx\r\npC9Fo/D/Cer/CSiV17jc0w+6G8iN6++2khmE9wpVRUcGJJsVW7lZr5tJg04v\r\nFhLMYxG4kpNHBjdI0x0iYPs9th9d9ZNsZjDmCOsRwo2jCK/jQm9Aoc0GJ53C\r\nL1OGMR5dVducG20m5sz9b6vUZyNGvIw8dZMrQq+YqA2RYh9b5oyGT+jaSTtg\r\nalHEWSn4l5EiK6DGxvQ3+LqPWjialHpCQBs=\r\n=Z+Lr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"39c3220fc2f398e210705e6a9732012ecba61b8f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-20T06:36:27.589Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.5.5","@types/jest":"^27.4.0","lint-staged":"^12.3.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.178","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.15_1645339109711_0.9130596812499221","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.16-renovate-external-non-major-63b5a0ba88f79ffa4304c0f83ec3424b66dc8767":{"name":"@balena/jellyfish-assert","version":"1.2.16-renovate-external-non-major-63b5a0ba88f79ffa4304c0f83ec3424b66dc8767","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.16-renovate-external-non-major-63b5a0ba88f79ffa4304c0f83ec3424b66dc8767","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1f27ee29cd36e4649964510178b9e84fb3a5b29a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.16-renovate-external-non-major-63b5a0ba88f79ffa4304c0f83ec3424b66dc8767.tgz","fileCount":10,"integrity":"sha512-ySkmcXdq55UBZVUPiKAQLXH+s5wV3RHai89l27HI1rGf4u0PBgkvgHsSOFDBleg8aWwQdu/uRwjKULRxNqaKFQ==","signatures":[{"sig":"MEYCIQCdo5T4teAfx3NHXldY4jlvBWXUo2BzcVGOIjVrdmUqrAIhAJeseo28w3b6SHGYIuf77mTiIMTj+h0IRd5dRzrecfU5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGYjbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpg2A/+NA0lSCInRbRoMFzESsY2IYmh0KVLtpXd7jSs9phJRUzoEy9x\r\nCMOiGVltPOQ5S+tNWuixyws7jIMpSM12fzB3bq2RXMu+n8V7ucaO0hUdMhOQ\r\n+zUIzvx7xhSlpIr7uDm1LJ7bNcGDv8DCX3Nn2DNF5IZ57kfj97CfZsFxaRUW\r\n63aygzCN94i89XqNgmmWMvf1HBCTU9xIpjdOhe8aMcvdugrTauv+j3tG+Jru\r\nC0yATKo6z3pSDuEDuCAT0PKOVsG+pNgiNkob9xVlJELX86ayqBI3QlLTRtwv\r\nJQUYzgtC24yoEh8HZNJZZEXeHTFMqzvyoBCawJ+6VMvnbBwDmw/zhw0jOKBX\r\n7MKKtMC5EI8Cr8Apk90mRCGuihwB173VCw4m8E3Ud/pahEZr5FPyoqCHE+AM\r\nYa2WosjkSns2ogrie2HIok4C/RcyON2GHy87+ONcUJdOHkI58UBiDrxaPVGq\r\n8xuAN6uHhjQ0Jjyv92vC4owN3L5ABx1+VhoYq+z9v0eSX9kz52J0XSXnvSH2\r\nm/xw5aEfbfzDy8W1QxC0mXrRDf1+MPOFuGxakzvEfRFCayumFG8a/jF4B3os\r\nFWhp4QlZCXfvCwh4G8xND0Q7cVeWP5uzFFQzGVCeVSUdO9hoGRQ8tIBjEO7m\r\ncJ0vWmTkhxihY6BrrbYajbNj/GspaxCugoU=\r\n=ncUy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"63b5a0ba88f79ffa4304c0f83ec3424b66dc8767","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-26T01:54:08.740Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.5.5","@types/jest":"^27.4.1","lint-staged":"^12.3.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.16-renovate-external-non-major-63b5a0ba88f79ffa4304c0f83ec3424b66dc8767_1645840603123_0.3289383719147647","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.16":{"name":"@balena/jellyfish-assert","version":"1.2.16","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.16","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4e91514158870a4cfd86ff99aaff051f49d4edfa","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.16.tgz","fileCount":10,"integrity":"sha512-niA/1KOwKhq+9L8OuzOIkgN/iexe82TjIjwjOGuFf0ntFP/j1dVvldlJB2KxhObId2d0bnPSmhAQHCl374FwJA==","signatures":[{"sig":"MEUCIQDOPrU9bghv/2OW44d8BCFrKiUcEVqckI6Mf4rwskkVDQIgJLnJSo7ECkCunGmGd/8KtfMMoNISZLDsF4XD4KJztU8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGYmQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7Aw//cOyVBC2fKeyUXLa8qO2VpypEfcUoyDrsV3Y55NBB853mmFzF\r\nJLYpFxISi2j1Ua2XNZ/GmnWGmAUaBVlwLuGwRJDBA1F5Y4R0KVo62kMLbimD\r\nHe03nUpsw9tE/+NDn58TGrTydZFdTgRenWUzdMNasyJhnNibOknkDEZFV/tI\r\nQoRzwT8kFI4DM1X9hmIpmzjEde0bmTlujvgODvQ4OErf3SJ5MThwL9u4d/kL\r\nicu16DWlwAqYrJMcUEtdIbKVZxCvBMumg7f9jgF+4u7YByvRoBGbPiR6BW5r\r\n9Zx8heQadTMVnxneDamND2pjF9gkVPd2qBcFjxmNjXPKYEPINGPP5ivfXzQz\r\ncxoqQy9NpuN9D8Z2bJbSDmFDFEaZhg+SRV49gNKxLMz1awRk/pxFNW7XHAEx\r\nK7HZQVVEKLJF1nxz7Pxpd+4lq3vz+UucxXyYTF05kRPt2pbuGpY73+QzFyWh\r\n3o2vtyKXDfUSBOMmUrgeveevEVtnUDZlWiObZY8t5U+5c/XP7xXqAB/BUm45\r\nv0zHmfq+KwykltE1kam0OrAkVwphdWXsPak/kq+KcNSbciGBKgMF/b7xH99+\r\nLK0Rv2YuMwl9J0kX8a3KxsfKJatjxHF+NEekvukrDy0P0adgc5YwHXbu+CQq\r\nbJx6O4ATgN2T9hequA4qKnJ+FhBHDNHRrhI=\r\n=X0Hk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"21bb03eaf7611cf54e77dd4debfc908ee9b4e6aa","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-02-26T01:57:59.011Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.5.5","@types/jest":"^27.4.1","lint-staged":"^12.3.4","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.16_1645840783953_0.8054083168119499","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.17-renovate-external-non-major-85ad3db18f2c931cee3758040b5cee7edbc334b5":{"name":"@balena/jellyfish-assert","version":"1.2.17-renovate-external-non-major-85ad3db18f2c931cee3758040b5cee7edbc334b5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.17-renovate-external-non-major-85ad3db18f2c931cee3758040b5cee7edbc334b5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"55e77d7b055b6d52d6b54f198f9488e511021f22","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.17-renovate-external-non-major-85ad3db18f2c931cee3758040b5cee7edbc334b5.tgz","fileCount":10,"integrity":"sha512-AAIGFkR6jAcd26t3PElp2QAu5dCG2Tn1ZaUgJ0A9+Vk1lzwnb7b+fQjzZLrQ5UAYoALUhiS6KpI4lybSd2vhEw==","signatures":[{"sig":"MEUCIAJSt6blZEnCm+piiB5yVHN2b0Zb/4WvQJSsf1muDGwKAiEAyKdSQGitIlMV0eM4AozdUokiRLGoN6xxQ72FGyoTmlk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI1/AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJJA/6AoYRwZPI7tyAkwZ83UI0tShePxhxOBXS71VrPy2FWdpBwL+E\r\nyXYjSzLrKg6ykz56/+q/hD0VuhTuwoYQaSO0y9qAH0so+Y6sVV5ooK8/XynV\r\nj3HYx30ST8dLUPag02Sy6uNTvt5WJsNzGdNmSbCyqdl90Gkc+G5vK3+8S7G1\r\nXt34zMb1VhrKWd7HOSKAKqUg8BvebmwTFYomRu5mTg7waA3O6PZZ4ceGQlTi\r\ncy88doJK8cSnFzm4GCEQ9uXekyuScvD5S1qtDpdvHxxSCCRclaAR3ClWlrxH\r\nGxm5QQMoAZ65E3+kptmbNaB7f1MzL+YmtzL/AJKcYOmccoP6pBkGXEwydeCn\r\njoWz9+iMjAikOSyIm8EWy8GvNjbAlNMkahj3vaZnqFuNdz4wh6BitJQIm0Bz\r\np5/G0zCbRFxDgKCw+X6ifSWD3Ld4ZA1gUaMqtqY0IOPpanfFQHtCojDsPyHF\r\nV9nMNN9wd9GUvi/BtN6q/kOc8F76eoe4QINnghPb3OMJWpg+gpe5RtN91UQJ\r\nBJi4LmYejrtwmpA42/7XQhVK+F/bfESVfxbVhZYytMxeoUGcG1sVGWNaBD4Q\r\nG/CCVBLdcUr9AcYLPBFnDJgs25MVah8/DX8r2bfHKzMWsO3NYcqzRp29W611\r\nXk9E2oxYmpuFcef/9iRU2ok/tqqA7wX9ZiU=\r\n=gJ4N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"85ad3db18f2c931cee3758040b5cee7edbc334b5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-05T13:00:48.735Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.17-renovate-external-non-major-85ad3db18f2c931cee3758040b5cee7edbc334b5_1646485440153_0.5141977198725054","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.17-joshbwlng-bump-lint-staged-99fcda94fe3370289e2b97e9cbc5380aa853bee2":{"name":"@balena/jellyfish-assert","version":"1.2.17-joshbwlng-bump-lint-staged-99fcda94fe3370289e2b97e9cbc5380aa853bee2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.17-joshbwlng-bump-lint-staged-99fcda94fe3370289e2b97e9cbc5380aa853bee2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7ed67ebde711f0186814121b0a03ac00a857e42d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.17-joshbwlng-bump-lint-staged-99fcda94fe3370289e2b97e9cbc5380aa853bee2.tgz","fileCount":10,"integrity":"sha512-wbPAzQUdK6EHb07D9J25ZTZSCLVq6UMXFr0iGUJTGHqFcAYGBJXTbwQE+xj9l5V1bt1p9eyZ18pEc94/JZQPpw==","signatures":[{"sig":"MEUCIBkuelwpRrEOLeLVJ2EDEEjjfEMON5cWm2K/i9GXicv/AiEAtRhfaIZOON/1nAi9SbtZZa6pFfOmroa8svgvnZsuASc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI32PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmruqw/9HY1eMDCT5fJcIW+E4QImjZewtRL4Z03Ero+YOQLi1Pg9jd59\r\nzR/o1n0JcdJe/2aPbQa6M1+pck9fEE6p2r4Xf6Px9E+Rr3MFDQW/Q5iQYh2b\r\n+UfhIdzsZa0r3Cn9vKQ74OU0RDUu0b8RrOZj8KP0wkP7qcO3IbPLCj+BWF3N\r\nZrtLvfoULNny0ij/cfeXAzotBAxLRrOL24FOH81y5umu3TyZ9+Fx52p0z0oX\r\nCQU1n05G9bB6QOKv1vYovb2pP4nbDfRV23ONnlTGXTE5x6nQyKQ2R7hYoBZE\r\nvhRBh5VaKjvmlB/mmMSV3GBMu6v6uqFRS4ExVfNxBRtLuV6y2qk6wkxVakX5\r\nJv+TOk12i3kcAjKd9GAvnuYgNQqBhzbBCxZp9Xz1CUO5ULmfyc4Guhy0Zd4y\r\nlyKKAIk6B7gBnxAo0o1453e3P/9Fa7jha9C4gZqzxy1B0CmT7WLtxxSFUiPs\r\nIt5GDOOz3jTcydR5wIfiiG0AyRJy8h2TAkTSKbuc83GKf+H3EYuIzoZZTDGk\r\n4/nSdJMua/2cPDlbX3AHmG046UqU6Q5whvmqQbWEAAb/tOS3Cc6WxtdnLUrF\r\nKOdpbw17SEDjOoGOrVr/WY/KslOlKWBVCR52HcpdT2K8bv0eaFH8tsiiLnwc\r\ns/VO2BeC4DOw747n7VX9WKm2QOBqJlchoks=\r\n=mDKW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"99fcda94fe3370289e2b97e9cbc5380aa853bee2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-05T15:09:03.060Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.5.5","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.17-joshbwlng-bump-lint-staged-99fcda94fe3370289e2b97e9cbc5380aa853bee2_1646493070938_0.46264227183146156","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.17":{"name":"@balena/jellyfish-assert","version":"1.2.17","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.17","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"86efca161b01319f74f3c176542824bda1fc5bcb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.17.tgz","fileCount":10,"integrity":"sha512-PWMdBITDs+Vn0bvxf23xS2e8O7AcWHtz/tKzHNDAp//woUWfJpWpxEczwwbM2nCfpvjN5uBF/Kt+qZZQb5DSCA==","signatures":[{"sig":"MEYCIQC0Xgd7F15z5tGkBUgnqJVd21bQMBjH1EUOrXpooC8+3wIhAISDx6cOqIvzUckGtSxb6sTgoE/yEVGeOI/6o3mdzDbo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI358ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmph+w//YUmsDRedQMYl4SDdsiTslN0zGp6EbcyG06eGKQZg0MZzNNho\r\nySO1x8V9sKzEThHdxkWWChT39CrZsx5Yna6sDMxJovZbHVuOkeDK6EJl/6/h\r\nBPx9GE1SJ3kHUzffAtQEH0tUPmaYQOXbAH2rkcbwZPk/W1gNq4c5U7/XW1Ns\r\njylDsUcMz2XhWO4yTlUCRoV3fOw3cwDla6JeBPIHREoXDhsaeTRTJnp2PCa+\r\nclUmMm27uYuBOMJc87D3sOaMbQYccOMNfT5U15agqS8p2R6/sPMUFhMvaXGW\r\njnV6TlV9NWq2vsZ0avcc6jZItvUCu6UjwLGP3FRiB7UfAmF9eaQWQujqR3RU\r\nVRaD3pInXu5hKd6jR6xxEeKr9JCx1rm3ZeIyweN++QOnjobTQOHaRsYdllqE\r\ncxSfPjmeWdKNYGXnGTd0vrCA2k8hS5OZBXzaTkDGAcREBkJSMUK0v8cUj44A\r\nJiIoTo0zMlKReTFw7u8WFPmkpMnAdnJD9SwNK68J07d1b5aTUJy+vb9rVIeF\r\ngqP84xs+n3ZZXQnc+MCWrqVFhpCHVrvSupPUMBafPFI+9E80jkxJG1zVIbWa\r\nGMS+NBKL468GLmnfIaEo6Xwv93j3Lno6RlvNyeBHu1dJ89HdLzQ01CSNMZup\r\n0oUuai+4dWT039kWUWiG/1/vjxBE/ANah5M=\r\n=JELu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"75a94d94938ed70c31204683e8ff955a3c7447ab","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-05T15:12:56.364Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.5.5","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.17_1646493308252_0.856848319176206","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.18-renovate-external-non-major-360fbe21af4edbeeb7a49b61ffd92f88ffb88ddf":{"name":"@balena/jellyfish-assert","version":"1.2.18-renovate-external-non-major-360fbe21af4edbeeb7a49b61ffd92f88ffb88ddf","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.18-renovate-external-non-major-360fbe21af4edbeeb7a49b61ffd92f88ffb88ddf","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"511ac6ef69dcdae3d959ad1ea96bce0437a3904f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.18-renovate-external-non-major-360fbe21af4edbeeb7a49b61ffd92f88ffb88ddf.tgz","fileCount":10,"integrity":"sha512-fKvDKY2qPBDuqaLF/RSJCLYgnAKdkAxGauI8iAW9J+clFkP4HvAIbRSJVOpfgHoVJbXFti5dVWT4s/i/JKEoSw==","signatures":[{"sig":"MEUCIGkpM1x1myla1b4QuApWl1Lx8gZv3uJNmHv2D1EQVq/cAiEA/DGjI0qqtlbFiS6RbmsGadXSqL4L0Ry7HKNcIvA5QdQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI3+0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+OA//TU3u8Gnr7EkvRVkY5ics1gTb4+vM6RexoSuJLOCIyIyqCGo2\r\nvmerIulOMkoc2534FLqaXlen2Llze3WsGEbQcX4DqtwglPs/4PW9tYBsE4Bg\r\n9bUlqkqYv9cuuC12ggAmZyVLDYbLp0yzVsUGdk3BYNQeHpz8srgRmpG2i8ok\r\nr7EAZ6XHulwrvohrGrK6wEhTHldK+7YTF2Hro6GJ62JH1eYnWd40ftrh4VEQ\r\nxJ+VacuKMCzfVmOvSgPYq1K14h+L2pfBCUOcuKdqCrgKQIkxRVp8Kc/guURT\r\nU8nSTSZB8KkHemQFhbWLzvZxr+fj9xgGmBHncPiigaBUrCoLkjvvvSEhm0DT\r\nkdyBD1pKFLN+kjg7FtEm6TUGSRvFd9Rzjnv72MCmpnkCsk5DITad8L89L58s\r\nRIj+qJM5cGarlf9+K9HkHcBt3LAUoEEFHD2MH/y2rvP3eWcFVBnk0Eh3cFhe\r\nOG4ZzDJ1upy8JNa6uXDpH5a0GimHFjCENct/Ie0s7KX+x+DIT8HQNySLrRbC\r\nbqx6MN/+cM3SBtHipBNHi5F/jEB3pmORJX0AuI621wdoW3MWJibnIuH5DUAo\r\nznejCuvtu6b7WreJPe97aWOQ/8Tgu4DwJgIGR9HfWUq+laNRpunD0wxIguZk\r\nv81DCH4cyFuvkWoS+xdcuzFtv25+MtIIq80=\r\n=w70y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"360fbe21af4edbeeb7a49b61ffd92f88ffb88ddf","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-05T15:17:35.885Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.18-renovate-external-non-major-360fbe21af4edbeeb7a49b61ffd92f88ffb88ddf_1646493620189_0.8030005451301208","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.18-renovate-typescript-4-x-c114c11569a1ca2e3175d725b4b6462b2cf44cd4":{"name":"@balena/jellyfish-assert","version":"1.2.18-renovate-typescript-4-x-c114c11569a1ca2e3175d725b4b6462b2cf44cd4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.18-renovate-typescript-4-x-c114c11569a1ca2e3175d725b4b6462b2cf44cd4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cc95255c62280f853314e037f7a7a2c829724a06","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.18-renovate-typescript-4-x-c114c11569a1ca2e3175d725b4b6462b2cf44cd4.tgz","fileCount":10,"integrity":"sha512-5BNfnN/j12jO7qkISY88tfeW+UPvO3MnjMPkQMVMvEvBkmweszUH+h7j/gv0Ac4bdFGXY+bx3iEovLmdkpfGRA==","signatures":[{"sig":"MEUCIQDudnpu9yiyqIrbL7bq46kp5IPZd+DXaQALPujU0z55HAIgfwJpnCP+3tKLYaiFnEVc5JvJLjsVyVAcurRoXOZNuUI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJBsOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyAg//WSz+3emtn5tak5XC/df2hXuf1r2tWMwN+qKoqGXH7Mc8VfBQ\r\nNomu/1FgCaK2PvRFY9BvhwLcU+nQeHN7Mfs5oXY1rEl8HAidml51VerRZlx5\r\n6huxAhw01poSwp+87oCIRb7XVd0ul0jUHpEl6vQ78cifHdpwF5MFZH2pbuoa\r\nRBeds6R8Ll+/nYgJSYzPGGyeJthS1+gTTjl0b1JqxJ3jWOMLTvgd4Ftq9Wnk\r\n4F7ra14YAZdPf3X3z1dloivDMR+gCQoEHbCplXW3WwEexRMgRfztawDhgKKX\r\naP6f2EHx9YEq/O7JPwG6Pw2adg3CBzq0JIMSHb5cvtx7oorwIylCOcmBMm5u\r\nAxjBcBTRgyv8VJPvYf0MrXn2S6nKd9WUa83KxO5tjF2flCmFTIc31WwCUpZ+\r\nWlJBJQEhcRKPNiPn+J7Mm9Ih0GMHF9Skd9ggqjlrEVssuLZeleeUMo3u+ULH\r\nbOtgDxucmX4TQ9HYVPdFPfom4yHaSrRR6IyOwbu3BXj3uLL7iHDaBJ86ep2n\r\nf7PMkNkIc1FCmE47Lftk59bZzrePnMjlEq/8popLU4kS7EC9O1899bVoERwr\r\nu0pyb//q/LINDI811oeEapy9aKYDIS/ZgDeLDNuxkDja8rrPZFYfJt03P8wE\r\nC2rfjgY/H9vluOzFAUV1KQ+F3XqfG+uqf5g=\r\n=GmEH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c114c11569a1ca2e3175d725b4b6462b2cf44cd4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-06T02:21:14.466Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.12","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.18-renovate-typescript-4-x-c114c11569a1ca2e3175d725b4b6462b2cf44cd4_1646533389951_0.6604748355327645","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.18-renovate-typedoc-0-x-70e180dc9db679b157e7daf5cc66c33dd72a6cb2":{"name":"@balena/jellyfish-assert","version":"1.2.18-renovate-typedoc-0-x-70e180dc9db679b157e7daf5cc66c33dd72a6cb2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.18-renovate-typedoc-0-x-70e180dc9db679b157e7daf5cc66c33dd72a6cb2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"77adfebb4524e29c5d0c16ebeef0e8993cb0fa75","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.18-renovate-typedoc-0-x-70e180dc9db679b157e7daf5cc66c33dd72a6cb2.tgz","fileCount":10,"integrity":"sha512-3C0QbZzlPHDwdrSbcBW8+bYKSgq9N3+CgrDyxNpGjcmVsFI0fFp27OAa1jy7sNNiERHyktUxNDrmwu2WYGzjDQ==","signatures":[{"sig":"MEUCIQDuB9tB+DfGmlO8v9wNwfPZvRJPNmOjfIbjGTTjV8Hk0wIgE01Urr9cPc0XrZFsuf0kV+qwrrAbdaDOBI7CcEbu2TE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJW8nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3qg/8Ci6Xj45KvkOTfuDPa9hi9I0cZZhfWQhBqpYsL3P+3tIzKCh7\r\n7iP365cVXx9c+IYq8R8VnWLQTEHAOPYixztSVIPjqlA5myNDGyxgqdshaw+c\r\nL5vVr7SjJ3065f944MBaysSN2AniwGg+w36ppb3VeNV4OOVAavsy13w1RbGi\r\nw9gESNKNEaCQxDK4Nif72mt64uhsue8fsf+hMqTHLADcP7iFqzXVTm+zItUv\r\npIWuoqg9A9czxN1anKH2Iow+RUHWGEJ7+p4s4rpYyijDZQvD3VlAtf2x4j+e\r\nFV/1mSmBmtPyfUSF98gmRObyK8egu58fqPB8aooAS3xzMZZk2piY9C7opNmw\r\nCj+Xjd1Y9Yg2XVTTuyRmwQnmSK3WN6w5SBjUqUyktBc3jnwn34kU/dEFUQIn\r\ndHsoDXy7McDhgrPYGPse2bDLeHlddf+cXlZKctsvipDN6QCGVtqFgnyw+KE0\r\n68A7BckjyegHeB8tgQ9nknSmpf+jJXkeIRoZWJb+bzur8s3bZdvP9PSTPw2E\r\nUdNEjfMKxplIwNDbmbB2UD98Kp3hxAOC9WYm/cM5dXyXR6GWpzWjOr9PKpBc\r\nH7VUiOKme7vqIAbRO/N8O8TOAJFGelGgTgGfBUUpdDKDAAQ8o15WJ129pCGe\r\ndxP/3PKl4DG88GeBw2vMmiXFQdSVgHBF7zM=\r\n=7LV1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"70e180dc9db679b157e7daf5cc66c33dd72a6cb2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-07T02:31:51.669Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.5.5","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.18-renovate-typedoc-0-x-70e180dc9db679b157e7daf5cc66c33dd72a6cb2_1646620455426_0.09399128031466586","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.18-renovate-typescript-4-x-597c2d99826673671f6b91eca1c4afb04742caf4":{"name":"@balena/jellyfish-assert","version":"1.2.18-renovate-typescript-4-x-597c2d99826673671f6b91eca1c4afb04742caf4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.18-renovate-typescript-4-x-597c2d99826673671f6b91eca1c4afb04742caf4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"15f3079d7e84f30d25464d9ac46e6b2127bda8f6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.18-renovate-typescript-4-x-597c2d99826673671f6b91eca1c4afb04742caf4.tgz","fileCount":10,"integrity":"sha512-4nc6mL1ucNynkEE1NIgBQk0y1RnBeU4iN6KTJa/4fG3rmM50ANRvVqiCCn8hLJZVEvEPWyC5JDrMppXf+1r+zw==","signatures":[{"sig":"MEUCIFelMdf6q7w9rnq1va5H9+unKhchGWNHt5juTJoSXcKiAiEAmuyVVjQ/uJyL5vfUHmmJSKYpNIzwqe7UJ6IkBLYasKM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40968,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJXHZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpN3Q/+Joo50djmTzKpDcZ5Z3yhsp5lyuhKvvisImrm0oWljBLCk2RM\r\n8MiUIfBukKj6Dopc4d34llN4KZ4uyTtuuTok6G4wSetOZpc4I4IW2k5/JOOu\r\nLWotYyZYfJ81Z5cpkB90NnlhxEjziBFSkzLxlAnFKeouY0dJncIGHTVecJ/Y\r\n3pQyvYpGbuDRgolgcvIFO7/EC2cucTQs1sgvOCgKW91whZ4Fa44NVSP7NHIr\r\nB0mCF63ydUy83LUgiXESw2Mua3notJY3j5c/dCjsKX3mu7oLkTOEO6H+5RCc\r\nHnDRprJBuB3r1sfnqW8IKxmun402ep2k/lrX61HAq8s6MiMEif6+4MaqJAbV\r\nTJywOOpD1cfJh8yCpjdx2bquj3rTHPF3EKea3RSqd54TEXgYegu7wz9LST9j\r\nVOz6cFC+kx5V6Em30+ZnvdttmBL8OCcQmyos7a+Rf7QPjVhpedL91eOLc7fd\r\nGJz3Yjapja/bdqeEElWsmLWAt+LrsJSXzYW2KmNY1rXFmNW8fEOegD6cG+zO\r\nAB4GbQqHEor4SX7+grFtCQO/p9NN7kbvz245SPU9TgDTkIVHNbmTc7MbhCkT\r\nHPKvVNcKwuquNA8gqqXWugdchU4MOE95Ofn0CqT43nrngvpydDYnee2hsaj5\r\niuffcGcT85tDnuKixoEyc8KPaD2MSjFdh1A=\r\n=WY7I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"597c2d99826673671f6b91eca1c4afb04742caf4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-07T02:41:39.741Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.18-renovate-typescript-4-x-597c2d99826673671f6b91eca1c4afb04742caf4_1646621145369_0.579344875195464","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.18":{"name":"@balena/jellyfish-assert","version":"1.2.18","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.18","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a0d098997e26d3ad8e8f9d0eb23ac10c9fc45395","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.18.tgz","fileCount":10,"integrity":"sha512-XoBivYYCCD/5TTF9VeutNuhe7J4kZ7qFowguytzofiQEUxxyan5Dx0CLwJoTnNUArJnm+3VB63SXBCEog17WjA==","signatures":[{"sig":"MEUCIQD7j6FLUj4RrBDjPzz8ymJHJjqdtBK+jNZ+AipL5EtonwIgEu/k+ChTfe4AQnXmylvEuGkqC6XSVlspfJKYnhZXr3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJXLRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMYhAAidaD4CN4bDlx3KaFm/Q+obXbi4hGPpkOdkxNMrWuZDmFhSOW\r\n0drcelCWuR85sEVlKUbvLgtYPMrd8gEd5ttTJlVzRf/q9eefcyxRxkWZDhzh\r\nXx24kS0E6gCLz6dxIMm89vGYXNTA+wxKwRffYBF1ZOTK7YQWE77f6S2zZl9G\r\nH2Pv8awJ0sbg/VAgzyT5HeW8hw2JOv6A5pWSZsOoHWHD8+42Q+VDRlR998SF\r\nPAvpZZvPHP4Sn2gKxYy/xfcrB6QHxcnd7bIg14/y1S3YiproXIr3yj1qlukG\r\ng/zwLI37A/7GYWwXJeEFGaJ1BjXKzgwsVtMyUMVntYhVGJfa9bZEI/g62YSw\r\nRgVBqW+Q+YANY8+vu6Hurfif52cRXyGTxKZJ7OZT67rdNMSpRBG0EWb35PbZ\r\nsi+mMM1rxiSMfNp7m1h2jyoefEBiiNywI2oQcjWRGyzBspDY2YmsEupZf74Y\r\ndNQ3lCd/fzrbC+q58yOIi2KdlqRbWXgeETR1hC8SO1d/RpSEBPQhiu0wHT5H\r\nYcl/SHZE+hSi3LUChlHtpixwvqXIah2QC0/maOTw1Divuo10EG0JJhnCo4Ce\r\nKNx42nYnV6w52bdmrcFWxzZDnQwmDbKnb6eVMw+PZ+nECWIqWQ6smY2fzc3f\r\nGZzE5uOy+iiia2buUlT7UmuZ1/CH0J9nqGw=\r\n=Nbv9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ef1ee02a75cfd98c0b5ed2bcb731275c60e7914a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-07T02:47:49.314Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.2"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.18_1646621393411_0.8496478952575734","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.19-renovate-internal-patch-17fd2f3e05ad23a8404841dec5d72338c396acb1":{"name":"@balena/jellyfish-assert","version":"1.2.19-renovate-internal-patch-17fd2f3e05ad23a8404841dec5d72338c396acb1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.19-renovate-internal-patch-17fd2f3e05ad23a8404841dec5d72338c396acb1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fe716b5a9112b11aa6562685ee8abe5fe3f913dc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.19-renovate-internal-patch-17fd2f3e05ad23a8404841dec5d72338c396acb1.tgz","fileCount":10,"integrity":"sha512-m1aJp5wRZKNrW69PPkc64bgHcnfNTNBdeUeVnj6BrAa2ye+K2EMyPD5sQzZa6pr49y3RyBzpKVt4B10S2pgokA==","signatures":[{"sig":"MEQCIGcXKEMc0rXclqiwFQ0TGC51CSI/mKYEWnNTA4qKm1KXAiAP2eguFbIWdr4WbARVdUFJJIzGtdgsV4eRgc9lgoNqzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMeh2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodXRAAn0zFcshTEd/HTYAg9Uxh2WIEDt+iH1f2W76XnzcVA49hRvZh\r\ng4S+sLol0rdqxAnKMYJD32ck5vzILRPo70l39H/0+iR2Yv78mauSnBxb24YH\r\nh3TaQe5Un/7GLbB+/EK7b/jFglMeuoPdLwoLcpkSWknSz73heU4KrF2gRBsc\r\n8+c7yqJSmTdrBLILN/vq049I2H/W1WUqJ8ILeM4417UDY9N1LsN8K68ih58C\r\nExqfnOevmIEssMXsGQ+wQExse0OibSTphvGWTOMt0liEk/OwnUeypV2NvMob\r\nHcWeoegANcYcDE82LeE7PePqco5pFS2gr4qVy20bBgikTF6+QEqn1k2whF1o\r\nK/tlX639tQUee/8Euq7m9rZeR6qNh+63PQUYFiCyFKfuTInCHFx4T4hRs1ZQ\r\n6pJDX9qInC6HiAT3cv5crgZ4HHXp63ag+IaKbJAnVxXJzLP2ZvWoy3izqo+P\r\nx/rucZaewNOj2mRJL4Q4KY0JkSbUCDHCV0Gy12teG1nd9aUsYbeUxUJcEGzz\r\nFDceO1k3WE38uWZOKQdj/if0qnr34YUmHmRMQnshkBieqDcgbZk1qqnbCY8f\r\nYRJFnjead3MLYf5oXVlHn3AHIK1wSMPRoIXAnjtTSJRJ00dDpvN0EnelzNb9\r\niTO6VZiU1M4m2BTrat0HwP+s0H7DAhQr5tY=\r\n=r3H/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"17fd2f3e05ad23a8404841dec5d72338c396acb1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-16T13:36:25.773Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.5","@balena/lint":"^6.2.0","@types/lodash":"^4.14.179","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.19-renovate-internal-patch-17fd2f3e05ad23a8404841dec5d72338c396acb1_1647437941995_0.8863499309117437","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.19-renovate-external-non-major-817fb21408175a53f218fdaa544c25668e7e5e0d":{"name":"@balena/jellyfish-assert","version":"1.2.19-renovate-external-non-major-817fb21408175a53f218fdaa544c25668e7e5e0d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.19-renovate-external-non-major-817fb21408175a53f218fdaa544c25668e7e5e0d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6f15dd7d47d0d0ff966dc43f1e7339b94f263956","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.19-renovate-external-non-major-817fb21408175a53f218fdaa544c25668e7e5e0d.tgz","fileCount":10,"integrity":"sha512-MPcu1ez9IUBuxxQ8+igGm6v+hWkrR61myoKyerobrmJziN0Qe7ic2cBpXx1hXHw2Npfax3tRst3w2ii6y54VnQ==","signatures":[{"sig":"MEQCICZvtQ/SMit9Ii00l1jUi828ertqpzQLR9bqTcBAlyHjAiAdJer2ETjjipD38WfdoN2zCQnjFv38ArNhNMDU+0FoOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNU/LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4+w//ZtIrfsg/C2PA6wFYUPPFT9JflOBFfmKvK10nBUWnmSJyclFv\r\nVeuk2WM7WCYZNSIvmINY0Zk6KKfuNP5c3tQ1RhnhDwn80POml1a+Gr0OgeZZ\r\nOHbv5mswv6uGRSOp40Skzoh/StNSzQckHWvbOAI7spCsDR4sqw7Tq17ggDNQ\r\ndqJSg7lH/cmQerrXAzrQ9Rx2uelr79mQ+U8ffx0r8EIJko8tZ8dGBhu7qFCy\r\nmzHKJgzsnelLD48DYFF8vobFGyUIqbejqXKyZSAYSFtajN+qTec5eX6eQ3/2\r\nVfo25qSrUTOYeKjli043OKMIX2fjXeDccAa4EWqDfYiqyRibt/lN7MsebKUv\r\nQRceS2ZpQFqQ8u5cDGmyDlgfJBEOBvh2RhI5tmpWe6pusYGwmYfzp5A4Mmtq\r\ndAe/8BrMChQf1aVJWJgpf5T0neEVNcp9SfryRKvJTuwsUJX14tFPTCKRYdWk\r\n6lBcowPN10ZqAbyOAnr8WXFRykIHc9F7WzQh8Xyw3QpBg7s9xETcswKX2SrX\r\n2aI9pPZs4R4UObXTzO2wixJJlEwhGvIQPrEiVO6KQFa6z6PDrpUxcCUGZ1XS\r\nyEtAoJdw3e40rFJlzY/C3tkBTgC1iqBToQ9y5MSw741KJYl3snrRpg6+P10i\r\nKBGX/NOFQe8hsTI8DMqeGI6Zd4mqY21E82A=\r\n=ykNi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"817fb21408175a53f218fdaa544c25668e7e5e0d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-19T03:34:02.865Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.180","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.19-renovate-external-non-major-817fb21408175a53f218fdaa544c25668e7e5e0d_1647661003051_0.6087748431596582","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.19":{"name":"@balena/jellyfish-assert","version":"1.2.19","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.19","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"657680ca753743bd6b3a394349321148a2f3339d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.19.tgz","fileCount":10,"integrity":"sha512-QtFp1qQxegSBXOL9w9N0SRFCOnTl02x97qiHjm2vSjzOtOiWiTMlmQ6HFYwvdX3Kc0xmCXtp70m6UDbdL+bLPg==","signatures":[{"sig":"MEQCIDdbOy5Nu469EUZrDrzeLzyHJD+kaNAPECv4oXrzjSO2AiAUIp9mDVQGD5CdxuAVq1Iyhdo0CKqVlRZS5Z0a0Xuesg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNVC1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4BhAAl4lFnXnzqgAXHia5TEey2G9uBsXPYtROF4ZZ5Hmmyg4sG/kE\r\nl5OCcUBz532VDBVWoEZ68gHxS36RcMlt9nSLiRtq2oCHDMMZted7kOrMrco2\r\nYo3YM8XMQkXpVXH6d1wjXciVMJnY5BzDdIUcrldNH681wcrwsuLkfqtUE076\r\n+R8Y81/RMs9EbpxgZDhC1tDSitnKni1xeQFXOB5eq/XFtFX1sCHViCcCNS0l\r\nSM/64p2pzhF4ADdZ2G+GF59z8LUDRXPLz+wEwXkWob9DdwptuoNQvocIxEGR\r\n+eChcPwSUEm/W9TzBJpjdVE5I7oyf/jEZKjJBJiPW9bffq68B9Qx2UWkBWem\r\nGm5EltBi1bD5igmnZLDQZ0Fi0EmMRODcUAzUS6S2nibA1fP3WEJCTuiqmQOD\r\n6ZfVHaQxZVbyQp86MqFxS024wB3TP6FcpmgvOZ0SYoo+u54r1RkGwNQp+g5Y\r\nIIFD/h5YmffXulf3V0lfH/mSP77Wb0QnEY1yBMa2WEhYEZtbfn8ntaUdwa1S\r\nZUR3wvFLJ0T8KSUFNRK64CdR2hdyeg0EVLg5tNLpTIsww6bajaEthNowyDgD\r\nI54tPsYTUCEqQjntRZrhB8vgRrsQH3lR47fMtyTzy4TooojkQxrIh0ZWJdy2\r\nDMYoZOmTZWafqoNKsO9NvELcj3oAxpc+/dI=\r\n=5QPV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6bdd3e8c06d1ef45fe6d93d2205eceac3f0fce6a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-19T03:38:12.103Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.180","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.19_1647661237308_0.23417606150549974","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.20-joshbwlng-update-repo-yml-5b62793656e6d2cf342ca238fc0613ed4fa78947":{"name":"@balena/jellyfish-assert","version":"1.2.20-joshbwlng-update-repo-yml-5b62793656e6d2cf342ca238fc0613ed4fa78947","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.20-joshbwlng-update-repo-yml-5b62793656e6d2cf342ca238fc0613ed4fa78947","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dae8121fee9bfd1ec7a93d561bdd362838cf9b6d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.20-joshbwlng-update-repo-yml-5b62793656e6d2cf342ca238fc0613ed4fa78947.tgz","fileCount":10,"integrity":"sha512-h2LcnYctrDVHM1YKerIe3FVL5cmpOKDGcKGQIJ9OEjYW92y63yETNrBAVzevypdQGv46rQniNuHx7VgEjcuBZQ==","signatures":[{"sig":"MEUCICsdH1ETn2+urX8tRA32njro4QUCvIo4ZoxUrnF2wLNkAiEA2IFhiRoYrVfqStmlLUBvmXNbex7pJax1OVZEoDXYOJA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOUksACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3fg//Xs1XgWYqJGK10ybJA/JZv/lNpt76ikc9EX8eg30TeFhn81u7\r\nDlYlTXpEKbjoMWcTGWVUpx6cTjMC5AHZt5Qeyv6GQHfOV1veXFVyi/DZp6gR\r\n+DgO7cpQKIr8kT3VTNQ8az+0Teu+X4y6vWn/jp3oMF0KU1h3zXvsrc1do+j4\r\nWfMLqExxYyE9p0SiyV+nkdiRqNnrHvdYJ4fmNNrLoFEGhK78pEJLVYUqakft\r\nebH1vFAmKJ/uxh0wl4qYxRoqp9qg09mCNDSbua8u8DH8WSEieocCVrVI7uf3\r\ncvSm4vVfVYHm6ZKyIcOTSAfGBDEWe0MMl8eMrkZkmezI9eMpatB0hOwcob0E\r\nZzvMjLyH8ZBHR+H2mPQx6ZHg80Axu8o0Oo93uhl8lTjm6ycAvXmSeyT6MNBD\r\nhBC93rhLr8v4rdQ7dkL2hQY2cLYbXzs9xra0CckIeoM7IuxN2GqmamAPU6Zv\r\nNu5Pzw1JrXLIx4Q7H3R4Ae81lV3I40qwnsQFepCXahkD7ZemSzyMgvhJCYUi\r\nomkZK71Xj8bM9YE2TvEd901cS4QYphrtqw8bzoBurhzNONLm7yYHzpPQfkIR\r\nOovZ7sePUdNoeIK2rGJlFJdMmpT5UrbR0kuuOR077NAvXlCu284sgrYrcDmA\r\n+LFPYf/1hgMAOEUJV8qr+Z+TbU35DIvr5nQ=\r\n=qI2j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5b62793656e6d2cf342ca238fc0613ed4fa78947","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-22T03:55:06.636Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.180","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.20-joshbwlng-update-repo-yml-5b62793656e6d2cf342ca238fc0613ed4fa78947_1647921452453_0.9997056482165307","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.20":{"name":"@balena/jellyfish-assert","version":"1.2.20","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.20","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e81006ff46c0da40e3f488a5bbeb1229ed905a08","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.20.tgz","fileCount":10,"integrity":"sha512-FOYe9sl48hoKT9B8jvOojBlaSWGma4X7QmFfioQA7aEiEDic8ya/GvU+fY9ggRgY4I94+uZAsTgAHjstnnIUKQ==","signatures":[{"sig":"MEUCIQCzpoyzOvX+sxBlK1yo37jcA8n8lzLk4fUNO/ZEgGTnQgIgXYyhFG2rVMgMma4teXJFP/M+8ftTbBwAcrqRmfMA9q4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOUnzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqadw/+MjfcIgJnDI5xn1MjDw8D0T/86WUzaSxg9me3aR3jHHOxWCZq\r\nNsRrDnttS0JI8tRTvAUCRh+OFpDmpNBPnED0gBUl/Y3SucRkFSXf+5pYcTSq\r\nR0yh9giQp91Ko/RQFKJOYETGEcXWw24NZx0AXzkaYbTCSLhlA6FZYAIewrcH\r\nPRuA4EkUps55nOezIPH/erT9Bu96wCN09hH67feB6bZ2JWIPSV3txJWNJc2o\r\nFEhHazLUjMU9nBCasffJq4ZXjDbBHJPy2tMxpoG2LcuiQM8bcU62sf3jvjrH\r\nON4MI68rhmDVebYZk/Oh38RkZj0F4wR02enuLjJnpimbxB+1Oa8QX2BVxvUt\r\nFvGbToGdruSqJsvnFwq8O0h7hIpWF5yZRZ2tf6oRwptDApe/RuCad6LFltgM\r\nIF3IFEY8Uvb42tBm+8cfl/gJr8oXcZl95sdOjhH1+KLpGvjz/kIR2zTiOA3o\r\nHwUZn4yjNgPxGabgybVivIB4NNzB2aYgYE4o8/HDQDAF+zQOyaThI3YvHhcJ\r\naBSvC8Ym+XS9xwIyqOkYOji/pISk+jnrjwPVH8zwIUz4ufHZpyT7JBU2x+ag\r\n0tu2W4dNMfhaCxYCj++A/6u7IhG+d/tHxOKGDD5cGwf4G45WFLcUV8w0/LyA\r\nmi44p3RmNA5a1nNy1fs814sIcDzN2pMVobU=\r\n=GsHI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6a90adecaab66cc057245dc4452745f786f58ec4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-22T03:59:07.125Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.2","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.180","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.20_1647921651178_0.1279246674026746","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.21-renovate-typescript-4-x-205086746b5816c9465d2fc8e91ee0e093da2add":{"name":"@balena/jellyfish-assert","version":"1.2.21-renovate-typescript-4-x-205086746b5816c9465d2fc8e91ee0e093da2add","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.21-renovate-typescript-4-x-205086746b5816c9465d2fc8e91ee0e093da2add","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4b24f78325a0949697a6842aa490808ca1f941bb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.21-renovate-typescript-4-x-205086746b5816c9465d2fc8e91ee0e093da2add.tgz","fileCount":10,"integrity":"sha512-kD/9GNA9HV6qw8CxI691pXWqxVawBlJ8l/F1EIGKPZwUqExvpWAYgkXekv8cFM9aSOg3H5RPpTN4M1O1a4X48A==","signatures":[{"sig":"MEUCIEKk4rx0Q+o6CW96vvkmaqev1+RDUDyp8CNpJJAZOnYSAiEAh3EYbR0WncIEP6EXNHoXEAj9IcHQTZRHJUrx3YYPeoU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPQ7rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVqA//aLUaX1mbyzRzI4r4X78uSVhVqiFZ5X8IBB1+l8uKR4LcIImZ\r\nTe6I/TE6zlw3He/PtRNfLQyMiSkO8ZfI0QlU/HzQ5AKD5luNQzMJVm4A9ozZ\r\n9qJ06GV+x3vWc4kRSRbumNUQsBaJNMj+bY+4aUcGmF+CVjqwFAM7ctsh+bKw\r\nCkBw/SfQ4YtDDqpeAPeXgQS/nSYu7nEVhN+pCInl/p/ckrpTDprj8fNElvAq\r\nJ6U4h5zH3R3RgtJZ4daHtVpSiQbbg8COx4WF7e+8NLbToDrkrExBWNsw/UKZ\r\nM9e6XsxY6tNvu7En0IIXMg5PuWQL+TNsC85pr7jAvf4rTACnXr5T2vW64n7l\r\ne4Vb0OPc5Xi1+jSI/ddlnkq+oklEAZBiRvQReeC1ohblsJa2KGW6cb0zHiY9\r\nkjwLuF3II5ACzHAu7wl9us76NLfILUhgOwGWV+1IEpIA2xBu5JMpmIP+8bmJ\r\n8jvbwKE1X1sv5uB474gacDsVq4+4QA+km+RW6dxcD/wxUBeKOBwcV7aYFVr4\r\n03HdAFJuVjhRBebLwvllmJk/LPPIxDHwCO+Hj2S8WKFk/zw1Yalzklqinc+j\r\n5yjCVCkI8HBvQhg0RQPq0DZ05yUDQWVuI9fPDZTR9ImHr/n18qxi7QTQHc2A\r\nIHT66SFVNpk5GbE3yrm/nXrG4G5bw+LoY0A=\r\n=fHAM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"205086746b5816c9465d2fc8e91ee0e093da2add","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-25T00:35:28.020Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.180","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.21-renovate-typescript-4-x-205086746b5816c9465d2fc8e91ee0e093da2add_1648168683465_0.11006592089930933","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.21":{"name":"@balena/jellyfish-assert","version":"1.2.21","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.21","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c4ef4f97e5989e2b9d86a474eac626081e15b68d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.21.tgz","fileCount":10,"integrity":"sha512-4QcRcNlKPogTx+1LnKBg3UWPpmeUILCTCqcEVizBIDHT/Emr+cz74ZsNpuB8VtmgNorAju8UNpuFoMUEenRsaA==","signatures":[{"sig":"MEUCIGrtZc+/McP97MFwzTvFcfTUsvDT1C6+dyAzMOgBNvzJAiEA8YV06Xm0LBq/9ASzYOMI4I7c5iR9e4tA9V9voWaxo58=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPksDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfaA//eW0SFO3xueh18Bhx6MROD8IvLUCA4UuV4g7WXbmiimeW66zG\r\nOB0yiGN4qalLUbJWde2UjYNT6GiyK/wmBDH1HHnvNONlx5N0PO3O5wVqP+DA\r\n9i5WrOsSUNhmByYkuE6FsTKNemLQnToWjugi3JOY7sRj2YVq434aQxDKfSST\r\ntN/5FMdr1Ag6DtKe61IBGTJiBYnnAyHs7sWr5r2h+W/H0LHzXVBj1UykbYeD\r\n0MIF7pPDFGGaK46U8G4pqM8nRV/TLEySr3TLzyHubJL/VJVAcFecR9RnZfo2\r\ncO+fHTlmBq6tncNQ0r4a2u4+xWn6fafKkqfOJG/QyZLdN4f6bNd8EYA0fMzY\r\nbKos1IjJbpkgyRTr+xTQ5VVtUGdYTFjvrrRqrNaUVSQjjJfh53NHGhoBuGy6\r\nkkmH25V3ILRMNxFmCAisRtwAGYPyCTYNXqgw/qV5/kYUwX9tnF5SSpA7UWM5\r\nh9r2ln56RNwZLbuTVE1nVT6ruA28D4ov/TDvviRoE3r6j4oGXrplCZeTAltl\r\nf65TeaMHiekwWtOBMBQnvqv1JnPFJCNOUJAsLP7YTPe88t00v0ln9rXAHEw3\r\nBnm+OiwZ9EzKLwCrjLzhdzNtO+ArrWW8+E+rBt3qOCTHhbydobfNz0m3evcc\r\nRyYmz42lo9sxpPaRolDBAtwO+zLJIYXo2rs=\r\n=pMze\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"093f68fe92fb5e4733a1906da6039a2b1c4b1f1a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-03-25T23:04:47.196Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.3","typedoc":"^0.22.13","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.180","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.21_1648249603727_0.4182597385021698","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.22-renovate-external-non-major-abbdd8ac71522a3458a4222600c11f034b2f7bb3":{"name":"@balena/jellyfish-assert","version":"1.2.22-renovate-external-non-major-abbdd8ac71522a3458a4222600c11f034b2f7bb3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.22-renovate-external-non-major-abbdd8ac71522a3458a4222600c11f034b2f7bb3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"00512155e049f880ee57fea4e4b635d1ca9c2f7f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.22-renovate-external-non-major-abbdd8ac71522a3458a4222600c11f034b2f7bb3.tgz","fileCount":10,"integrity":"sha512-LbJCy+naz3B9OElnojBofFwhSFhmDbNUfqSaLmqyJ3DE8poKnlbXesYb6jKoHx8AUtAek/Oyw5Q1VaEzpPorKg==","signatures":[{"sig":"MEQCIGisL7DDRWzwyvY3aC17wjdkTQPAvB0n9xqT0A3LMvNQAiAhlzYVGeqk0BSkOMAMEM4INE08MYz0t2IefSDHNWoCAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41306,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiR6GlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdJhAAifnjGmwtAbyZp9wrlEVYf8iGsAvegYVsd3uWxSNhuNQw+idM\r\nUaXAmO7StcdAEDRgVss16423LU3Dl0IBTu7ObmzXJ7dY1fom+nVNfHqRReJU\r\nZiskC2HgioO0cAgyyPhZvZJVmeliXkA4QKOzGZp4UQKDR2GuPJciZqOgsiQS\r\n833rspiA4KS8OD0MmARBz9xIbkxRVMIf8ROqUKIZMwqMSHznen7rIsbIT06o\r\nMO6ZY5rWAViWCxVxqWIMZRKzx4x41jZ8nVBagrTBExjX7plPLKBrl3Xg04qQ\r\nT8CAqwfk0sHzZw85QQ+jvojVb4kH6d2YBvHcaKc8vSdsL+SYTnFuast1xETe\r\nrDPqUsqwXuInp0Oz+WsT6lxzCsGSgD38cV+902tHTFEeJmX6bzBnQb4UDe3O\r\nPOvTtM1avUMYxNONAgy/NMRpHXqZJyKsfuKMGZ8lM65VNQOf/cmIlLPshBWF\r\nNHbpE1Rnm4UVKnVB4YAokBmUfpiLiYzDYDBIRwH3QUwAKL9QsGBMuWRhSrSX\r\ni6LBPPIRh9plKrsIrBwxQqZeTjH0b89yu2ve4NN2256KiN5q2HRMc7RIinOy\r\nVRJdxSBsBO2bH+dffQbmk5ynoLHt5Fv6DpqLJwtUq5TJpwBM1QyzR+X7Gw/f\r\nmrXJXf8tDnA9DdzDZo2Xle70y6jPGiJWidE=\r\n=7pgn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"abbdd8ac71522a3458a4222600c11f034b2f7bb3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-02T01:03:47.730Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.13","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.22-renovate-external-non-major-abbdd8ac71522a3458a4222600c11f034b2f7bb3_1648861605100_0.7737660129051482","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.22":{"name":"@balena/jellyfish-assert","version":"1.2.22","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.22","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fda7826f233568f753df8bb1ec6d0e8c6b336d55","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.22.tgz","fileCount":10,"integrity":"sha512-UlyzMCK93EuBkFeGYpdBZFpx8+mOtHBAqx1XOCj5GDkLrftk4XaELQ4+S05HtC9K8W2/8+HOWEDvf1tyGNdjtA==","signatures":[{"sig":"MEYCIQC9SSnvRfbcgOwzpDNWUexE/3kHiwqNXlEK9v9CZCRjHwIhAMDKNJlQZ1a1IxrQmfOXTHjhbmM23Pg73IHlt3AGkPco","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiR6JwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4lBAAidU1rdElX29wEgzA87OT7dEyT/oySRCXtx+55TUJbwyOzW7S\r\ncke5PNRzFhGKoxSbelZ6uEBnNTQok0ZqL7AMAsLZ4hcEuzUMJLPyORaUoNIZ\r\nbEyRHaufCz2/ewbzR5uqwfl/pki028aEf/AFbau1RTxOhoRagODyP2viTIcm\r\ntnt1Hd2hLHRuwQ3yO9z30fOqgGv8uAxarNoB0XeOZtMtzbccrk7dV4x/8FUs\r\nnn58X66ZdwH6sgp1q0WCD7ElVNSamEW4ngWLIRvG1zdipKxbFfu48NBkQIV0\r\nm2ampYvQoX9s7GZIuqq3IVgtDTn95PCT7F/qGMZZ140L21UoOoU/UzWAIf1D\r\ng8iBGHR78cdGZdtCAy8uMjYjIaM8INBS7nLlPXyYCmwMZNnck6fyqcZAUlGX\r\nUjdZHEgWYLoUkcuIhXRvgWtTLJqt4g3JkElPZfFOlo2HgQKe903GW0f7BExx\r\nnTCR8hjgiBRin8k4yYLAvfC2mozBNvlfj2EI0Rus7ZB01KnojRlCZ3JB2TJc\r\nxpTVub8r9GGGwDV63vlN9pPjMGwqtljCIYOPXIMTQh08DLJ6UIXFrpvkzAmh\r\nYYuTOtGVAliWv3WJSnbWGu8qvIY2hhgAIyKKFwXWAD4f2H/ta3OgJn82GQke\r\n8UEamgCQL9J+j2BrzLL6JapdUMhLXLFOWzY=\r\n=Leuz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3d369a7dbae9cad7c785c5ea9d319a3e103ce641","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-02T01:08:04.553Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.13","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.22_1648861808097_0.0947805195801843","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.23-renovate-typedoc-0-x-643cef2bee5233bcde82daf7847600a1dde5905f":{"name":"@balena/jellyfish-assert","version":"1.2.23-renovate-typedoc-0-x-643cef2bee5233bcde82daf7847600a1dde5905f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.23-renovate-typedoc-0-x-643cef2bee5233bcde82daf7847600a1dde5905f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7683d59628196d1d2838ce1070c946ab98f68092","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.23-renovate-typedoc-0-x-643cef2bee5233bcde82daf7847600a1dde5905f.tgz","fileCount":10,"integrity":"sha512-tUa7oCQQWZvI5KXMPu90Bziv/9zbv2ESV98U7OHIXxmW7sM41u2wnu2VT2sqBAelhL+J5JYRCRigLDKzJVuGbw==","signatures":[{"sig":"MEUCIQDRrcsfeJET3siZnrYLWzOo9M8438wsu54oPB8aBhafgwIgPWvYeWrtkWwnZXg5y6CGteASX3QjvrifMY41izdnwJA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTmrrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoj6g/9EdXz1eSv41vDYo9MHpUAg/J4mdw+oEkZaxbcw7jo9o+ZftOq\r\nNOU4+bUonUcC/4fU64GzQGv9VoR7CwykSAaZk7mtIHnDXV8NAJWtwdDrhsYW\r\nY6RD3FrKyu2Xqpc3Mvf9hYvnGYhfpGiHQBlxwSKfRqRm80XKC8V10dbprt3N\r\nweY2zB1UAQZDRUP8CDhH9BDcjjf0XkGZ76sY3YytKZhGbN2qW65HBX83+sMs\r\n5eTWABxg7uEfFCtC85FNF88exQM9475SsQJvtf3xlZjNTJgQBRx9lwKhH1bG\r\nfInFWXEHpiPbs45bqJD/prvoCVIGJohJmC++URGLttlzVvEAF1kjamRrHUbj\r\nuHOwrXheutcI4NdOVlkS7LvpHwBXhEBTSqUW9b/ud30txoS7y0bMsb4C7+hl\r\nylbarKts37pofUg9o+VNY0rxMLcw35pUS9a3SFsO/gm8OVLPHgkkgFvEk+WJ\r\nSJFEIQUdBizHHnSdi0Pem8eK8zZqqdmTGHq0UgbAXpNi/Q2RKZxXBMXOMKvp\r\nJoFV3RTAlxfK1O7ne4npScOuANRrw0f97ZLI4QjBxODSgSKKwkSbonuNRtV2\r\npELwdWmPL85K1AXko6mJcqYvIPY09M7CE32SwjV/1UZlo71qpZf/a43UX2Ff\r\nEyxi0BtjeblOqThbfeNnmeGRjqbxAAtcWrE=\r\n=0Mt8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"643cef2bee5233bcde82daf7847600a1dde5905f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-07T04:36:45.534Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.14","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.23-renovate-typedoc-0-x-643cef2bee5233bcde82daf7847600a1dde5905f_1649306346881_0.8835376762268707","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.23":{"name":"@balena/jellyfish-assert","version":"1.2.23","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.23","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"84906e218ead9ab535930106ac18ef6a3438f290","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.23.tgz","fileCount":10,"integrity":"sha512-Aff847GxJbjELL2MCcGGkb4IYA4HFLCdvlz43PXkvzmNtdxnOdPV43OOPnw5yteZhSV30jBB3xR++saW/Ljv0w==","signatures":[{"sig":"MEYCIQDF+Sfe7dKgAJEFJdL92pfsqbTS4kPiH6MvatMW280k0QIhAKorRtb6lkDC4XwP8zmLNJxpzexgE3VPOMYw3052cgGI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTmvEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSRQ//coz0ZO0AT0h2CykWSVYPTNVB6bRs25adzNcdJMUBuv+sz26u\r\nN2SsuU8B8Z//SZPLe8FuVNlmHiCOUd0UTinv02wiLxdnr8NRP71LpmBl7Xsu\r\nWLOOElr0S9Eb+qnfO5CBx5eTxH4a54dBGbZYS6DvcRvJ7Ym+d07zOqIoL3Tv\r\nRdvnFgXJcSCNzA882RIx7vIy1JNHVMTr5mQxxcUeTyBizOFGVcxJV78MFFlC\r\nZCeWC3Sa/y458kH3qbgFLui6HScKP1/3kq48KXVktXm0NDJwicEVsc1ZLZdv\r\nI6+QiILOfbJKc0nExNJgJ1//8GFTF8vRwT8mWPNvrmwvrY1hPm+MWGk8UQ6v\r\nFfQMKALOagrZ9Idqqo/r+1yqbNokwRONqgDdKDcJA+McwHr8rusmuLyLZBnH\r\nIqIlCR6awEH5mzzEyUK2spmvWAlbZjpA7+Wqu/okgoB2PFXbaGhjKR8x97T8\r\nr4dOsOjTA/e49Kppn9AFTjLBSkdtDSZQvJsajoySFV4WEGM46G7gwgxRZw8t\r\nH9OEEKrH4rBnI55nR0KJvnZ9xFFrO0juL7tFkKETU8C07cRjO7RxaYTYisXg\r\nRKaMemy12g0K7fifGVSDlRXjj71Lco+/piTRfXHsIgZmhugvu6mAtxnZIJat\r\n5RSy5OECwCkXPArcAv/rb5tt2zaqgCoVun4=\r\n=BOj1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f99bc5348a6ca0edba1c99bb3659d8ae9ef9c904","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-07T04:40:58.166Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.14","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.23_1649306564411_0.6648249033673321","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.24-renovate-typedoc-0-x-652aff5181e2adf0031b6a5c626d09faedc41908":{"name":"@balena/jellyfish-assert","version":"1.2.24-renovate-typedoc-0-x-652aff5181e2adf0031b6a5c626d09faedc41908","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.24-renovate-typedoc-0-x-652aff5181e2adf0031b6a5c626d09faedc41908","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"bf453102177aefc7a458d91f04a4c1c234ad7c13","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.24-renovate-typedoc-0-x-652aff5181e2adf0031b6a5c626d09faedc41908.tgz","fileCount":10,"integrity":"sha512-6JSkidjy6MOr03PXW0vpAnEUh4EyjhXSXyabDoLAe9aHq5y9mDkza2dMPKvs493EkufbtaL54Pv8abgdwddimg==","signatures":[{"sig":"MEUCIGe3GQQ608ob4Yl0AfTp5L/6CWy6DUPmeryUbD9QpVGKAiEAnuDZaIZI8e9aXgkDyzeE1VzaEpPCRY8a5DEg3fxCIoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVD8aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/gA//VneC5QgW74ZogkCcr0JuCSfgmFp/0OVrppz6t5iVSnthXFV1\r\nOHzeBQwhANhaiFUY8B2jirCVCOm24hnHbyLPzVEXRU60G7IafukLlT8sow+X\r\nHMJZSL/+iwTq7lqX1KNMNqA+J0mCcZybtjCvgUTVjVuRNLWFS7UvG0sLqprz\r\nmkoYLU/5AZ6KXHyoT3hu70U02sYs5KoH8wikObMzPOKIh5YN3Sm5JsUoAfyN\r\n1qOlgi8BMXInfkNBsngJ4ujTm1EW2gN2RQXEr/CFKHd3vl8PNfplJfPemQGT\r\nWznvJdQ0aMKZ+6N4CkdySr19yq+yVmmy6BPD34kVQEiZVlwrA8IOhnBHW/Lv\r\nsOEoKvTD8c8OQcyuzTIand7QxpV2OzR4SKbG2gjMKOuwd+/aDsFRbNtQMqpN\r\nd8QBDWtGSMuxu/F1dbCOGolWPIM+0WasCeSsADwvEYw13agTwHX1pBAKgFQQ\r\n2yKEioTZQUQWxIBOhYvD3QZoO2M7YqOqCpe90d6QXZsiIJrPZGFLLFEiAoNp\r\n3FKKcnBjCu2oR2ASfCiZu4t092COZFtQxaCqLuvIeIOH4yUGHulJenQoAfGT\r\nguR4O5bj/HpHmDyAhA5IZZRpwgwyWAktlmj5dW0ckDd13TZ60wdqNBhjdxWZ\r\ngXdi3bDxASsuywKkq5YqScfw4oEmRcHFpVw=\r\n=9aJ0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"652aff5181e2adf0031b6a5c626d09faedc41908","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-11T14:42:51.985Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.24-renovate-typedoc-0-x-652aff5181e2adf0031b6a5c626d09faedc41908_1649688346291_0.9231939336832307","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.24":{"name":"@balena/jellyfish-assert","version":"1.2.24","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.24","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ac44d0b75010dc6ff10ff86ceb85ae89ef8ee9b1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.24.tgz","fileCount":10,"integrity":"sha512-FMt1dKSdCpyzUXRekQivjj4WDIU21A42khWT+36pFvfOB0PZagS1DlErtkde+SjRp701oyyvEtgZEWBlS53GeQ==","signatures":[{"sig":"MEUCIFUjx2hboe6LBlbEElgYPK5i3G9WgIjUUV+D6HF9w9GTAiEA4IHmnpjM/mb2jhI8/CuWyX/2LBVdneIDvLybt35SBZk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVMOJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpb0g//cvzZgan0BTL9g7XgdZaGvQS0mwzWHECGkCS6IoaBRdEVeAad\r\n0S57Xzq+WDN9bQc1vYw72PKH2NzzKGKdR0ErtKCNqif6d91OUP0zzGBBuide\r\nTWgP4X8PFlUbcBWq3vWTpec46Bn8bZBEPQ8AD5ZluvOIT+JUDDJi0r0arOzN\r\naeIvgMpTqD0mk98Lx4bpt3JH1Hzd95XByKnJplHFei/PupBDh2sdnA1YEb7q\r\n3j4QyuMluPYaXXwVJBjP9qNZx1nTuvtNB/lRNv6oJ9vQO1aIJi4PlZCJ2Q6C\r\nBRRLw8In7TBdyQ3/B2DCxdcsZ4HbtZz0qvMKPePR/j20BtT0H/dZlJ1PJXnk\r\n0Wk4PqXH1OxF68zp0G/mdirMk/DoZyQLJaRp+IkrwwVl1PXIFbpHeZtJY/mI\r\nqCfn58lA9u4i9frXNP5J+n6uDgnH6105jQJRGdZDdfS3XcB05Mset7wDCcks\r\nnj2CRDh/TaDJvGLExKX75fip3+636XRNSrelFUWbR3sFvo84dZH0KPAkMyl4\r\nBHvV+3JJsrZdzrbXbKwyi3eGSAiPnjzfVxoxknv8sTCK0RZJ1L0FOAstwLcU\r\nJ2UXTkZszv45d/DdlHMrC6uGMs1OSFJ9Da2cmWemmrLgbVNU1bHMCUVV27yg\r\naHyBeZgBFA+rvRkA+GOHo3zTDXTO+vg8lks=\r\n=AXqh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e6aa4c26001acc78ab2adfd03e26d88b0da9d748","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-12T00:08:37.668Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.24_1649722249236_0.47369135686830544","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.25-repo-sync-jellyfish-config-default-2b7198cad26635dab89a1d1c11bcc59868dc09b3":{"name":"@balena/jellyfish-assert","version":"1.2.25-repo-sync-jellyfish-config-default-2b7198cad26635dab89a1d1c11bcc59868dc09b3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.25-repo-sync-jellyfish-config-default-2b7198cad26635dab89a1d1c11bcc59868dc09b3","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a14c8aa5884d6c6a00e3b9c9900090a1f8545a96","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.25-repo-sync-jellyfish-config-default-2b7198cad26635dab89a1d1c11bcc59868dc09b3.tgz","fileCount":10,"integrity":"sha512-xzg0COBBctIK/fU/19l/HTLqoqksZreJiVGbMOpw6L3k9F5nKnU6vr8HO0OiWt3x/rZQQRTw6Kb5OAxKaZF8wA==","signatures":[{"sig":"MEYCIQC+b4HDsIZDIiwcq4OIq4BdZhTR5rAUHQKEjFnAzOZ6dQIhAPJfRI0yG6hFvjSZj6/PjfBeAgszjdnNSseCA7ElCU4i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWOBkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBQg//deP+gAhWvbDaJGHtTS9ng0qno8O84Z1leLyZR1LlSebasZdb\r\nadG4022OaDkORvPZQxpYqp3W/x2H80dfT+ZctgulFuNTqvB947hitMM/oTNt\r\nBtL0EIvLAtte9eb8W0qVTNdI3XlJ/HAJOu6Yc51qsDFKKS5ynfP/qr+z54y6\r\npufY8qyhqemJh47AbcdKOFpvovE/8qw5oFM0xq6OaiEotHsJ+QPY3h1tjz1V\r\nxZpp0B0/aaaZ7kCTzU0w/D0AYh9L9m4238y0OHmtAUMEyyJaRuccPUL3yCTp\r\nJYsPh/wvaPD6khiCq2Z08xG1ayI3NgUB2U0job42DL8VSOgEMYlTq+AOPkiL\r\nrrz7kG3AaV9m6uJ9WTIG5TgrlgdyeqGQLyKyD8L8ZDgIJvQcRE70/yo7+B5L\r\n4izzqSF0QzQgDNyU6CNWNblzbWErg9qNI3SMFwrMvSKCBexut7qzEMB3+OqY\r\nOHcUKFv4x24u20zxumTYvfqsuO1NmCvLuS2TSdJMraPfVkmNb9qC+2oyqicl\r\nNiaDEmyfxJVjwI7UXT0Avh0tDpMEQrit+W9sLJ8epfr15omvsv8kltWanRb/\r\nPweJxmSX4CzsBADAJYQKkl12xCK+yggE5VUL2pt5bprSdqjP/NK0dYHUsGX8\r\nE9/OfR46cSHL/uEI7fs2ZJNf1y8wiA0PE5g=\r\n=Z5q1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2b7198cad26635dab89a1d1c11bcc59868dc09b3","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-15T03:00:35.472Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.25-repo-sync-jellyfish-config-default-2b7198cad26635dab89a1d1c11bcc59868dc09b3_1649991780294_0.334090222744746","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.25":{"name":"@balena/jellyfish-assert","version":"1.2.25","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.25","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4a2e4513492632b98f2d6e68c8b4b69978f7ddfc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.25.tgz","fileCount":10,"integrity":"sha512-aCRM5ZsDoUi4Jgoh2DtpzOVdGNfnGF6MVkDyHpfk3/LUjLX9PQn8GC4sdTYZ2q7IpeMqgGqA4fXF61xKP2FOFA==","signatures":[{"sig":"MEUCIQCy1JTKNTq2q/BQJccg7dES9t5Z2A+IaWa5drauQ92vzwIgYZX7bFqdeFll4AlEXojLqonJdh+jWa/NyInGkEtgMwQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWOF5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+Ow//dqqLIxHbhbVVQJ2kUV5qSHpAFygywe2YQIqRDu65H65tyfiS\r\nlK2X58zjCb8SsdbqtyGXGGtKu1OH6NvQbLTJiaLAufcy+mkqYvKm/8oz8HAo\r\nNC61aXL4hzRB0b2HoiQu0XP8Jn3Y6V/XoWNdBppsayNvZKvl1QQTDFPlVYl4\r\nji8P5e3gfO1ep+3nfYI2eO56BrWrJNkk+f4QHsEHVW+ZXDzWbMaJ1yzYUW8Q\r\navbUr9MLtPBNBSzRpniEZ8FfI9qA3XkCjKnWUKkt0cFRL7AEP5Z1f66AUhC8\r\nkjCVhgMvKQtC0YPxqRSecVriqdumUsG1gZXh+hn6YD4b0+TO6PY6CgD0/d3w\r\nz/BF62u6iZCcwIm1eSRYVpH9OKJyt3DQcO+vKz9p8PtSXEaIbQa1oNe7L2WO\r\nYtZMO7LBoYlp3buBoIud6HuY3/tC3NQ9R8jwMh+MLvgFN8QQUxsNgle/HGd5\r\n378rx/vzlU2YthZobd9m5GO9W8U4mGmnyD9fMgA2sh1f3az5pE4MKIk57OyL\r\nUFKnHeDhe2T6jZrxx96llQv7ZTYC24aix3j/QfORYKebEOLD9xJ0kA5Rw8N+\r\n5fzIlHVxLG7XSG1EFTJ5eD8mL8JHSIQ4+Y1sfkY3OFDS1jRQPZI8Mf6fFb9D\r\nECqI+uoPisH4pK7kaNavjc0OYXiynq0hRV4=\r\n=zfgn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6d9f38ac99229c54c9a76239ea5f7d8e656de8f8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-15T03:04:35.746Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.3.7","@balena/lint":"^6.2.0","@types/lodash":"^4.14.181","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.25_1649992057285_0.4063057444208007","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.26-renovate-external-non-major-86397b922e6159a11485c4bb9464e88b42d5c44d":{"name":"@balena/jellyfish-assert","version":"1.2.26-renovate-external-non-major-86397b922e6159a11485c4bb9464e88b42d5c44d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.26-renovate-external-non-major-86397b922e6159a11485c4bb9464e88b42d5c44d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"65740ba1b538116f5bceaa0771837849b97f66d8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.26-renovate-external-non-major-86397b922e6159a11485c4bb9464e88b42d5c44d.tgz","fileCount":10,"integrity":"sha512-XCuG8Yc5T1GQTqV2pM+z6W4CXTdYkFuNSyiculLjpIBdWkQOop7CXVX64BQ2Nj4kngm++sHzuMt94DSGwMSk7w==","signatures":[{"sig":"MEYCIQCkrqrU55sPfRu+Zq/czJZ8UfeCbfS7hHOzJGGtwjoF6AIhAMzxgt90rQLdyc/+mLFOUmkmL9RuTpPaUpQiPpDa49Zm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiY0NfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoerA//X3OTRG9xldVpQzTsGP/T5528pzzhHsjEAXCCwJ9uobUeWI4C\r\n5QKfT2hHvKhIBFHCEX8ssr1p5VFgmkztU/kd06Rpg8gIJdxrJFocGTSYEou9\r\ng0Ij5vi3OhoHbHpcDBY9LoXaiPQ9G3rFL195Jm33yAZaQFlPFySUVZ9va/Jq\r\ntBz9i+CKaTR3k6e2DO7RbwKYGIR1cJ6XlEl+IXUedTmyDY6vv4guguevdbrI\r\ncH7Sx6heFx9HYDBM+JV5/Vpx0k9H5NgVqwQ2mF9y/MXZPcpYc4r5Hqnc8IIZ\r\n3dL0KOay829aD+Aq963KXsWVc2qgFRs6urgldZ9gbnGVah+r0wPnS1l5PJew\r\nfXllhJOvNENXK6VJA02k+AU+g4abFBa1s+VUe5OYWpxpV23JS97sL/XALKKr\r\ndHdzSrsZdKEC8gBzxZAQztRjGjok7zR1IFfJau6t5zhVzXcL5IpbaPy3maHR\r\n+HPZ8+gJUGeWXUsLEpFY+CFPTKs/bbAipZmW3y3JRBYxOsa9USS9a6o+RWZw\r\n/eN2rDaSLrYl2flu9BHnsdm+5iwKrU3UgtG+t56W43PCP80x2CDa2kXqhFWP\r\nVn6duj+OTzThp0KMPyBtxIGfYdES5qf3UUF7hdvdugWONp5y0eblzq/DXMLn\r\nI0q2CNydRHK+SoJ3tAcEhTAyrTfqVExSURM=\r\n=Pnzh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"86397b922e6159a11485c4bb9464e88b42d5c44d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-23T00:05:50.547Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.26-renovate-external-non-major-86397b922e6159a11485c4bb9464e88b42d5c44d_1650672479080_0.9332117410553484","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.26":{"name":"@balena/jellyfish-assert","version":"1.2.26","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.26","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"54de79c65658182d707a917ccee3946aa55ee3f0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.26.tgz","fileCount":10,"integrity":"sha512-j28gFKId4WNspXft0xFnWYf7kCE6NxbBtvshBWyT21PW+AxktkUaab5v5EixS/FiyIivfppmZR/Z5euO8gK8/A==","signatures":[{"sig":"MEQCIGwU53WPRu+WZjgNjkz0amzGAegO6zFoI9cNm93vBrnAAiAQ4N089LzxUKDwLOP0WN5lRIWPe/vP6DYGEzxagmh3/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiY0QoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5oA/+J9fPPUlboEKwC65/Ih5v4N8b/LEMnl+tB8P/TyX9dSG5HyoX\r\nkI1pXafpGOAd+TT6uwpNe6dD4gzHiiEPtwwoxPSgFUWyGBmLP6W/cIwz7tzS\r\nI3wYAtgKxWPWu2MIE4hFgpk8v9XBaHCMyo87HA0U+mxMOLDVZYmobT7fXeTa\r\ncFJWQKI4taf1EMmjps0MEiVwsfI5AdwSd4UCrBVU/kOpkYF/TsoIO9gVaNA/\r\ncRd/EvZm1XsrLtVnrV/jjdClYsyyL9Y+OfSGKSw9GG/R/hWFop9C4Bn8TCIJ\r\nGh9q5OsB0XZy2gvFz05t+h5CVPLPh7EMNtJYBmUGOhQTGU7Z18KL+YmSr9xb\r\nFM21MxtNMjl77qQZzKVb1hym33+vENLZChsphU4HCevybHjLa5Z0cNYWycW+\r\n38Pvcd6eJOH3ARnTmoQ8YvaPp4mPug1UbNgX0J+mJXvoKJSbao1QmLEfEqbx\r\na3LZZzkQEx9slFz2uyh9gvsiHlSOMT1g7sdm/RNDKnGgz2uS/wsMKS+szd2V\r\ndld+k9jLeTKWWzjL3PVbcs5cjUXF1rTb1d4gosaIkvmx/Jz0sizWfTnIoe9G\r\nnZE3mC6iJNgrMQ/8sLsLbMznV4KrCVLJID9+0BMv3y44YJN547r82b/t7NQD\r\nwmxfUByiQL6+cIi4S0BUuYfaoVfyjjgpKWk=\r\n=tutv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6b3436368aa7528dfc980c03637bc4243cffe44f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-23T00:09:14.227Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.26_1650672680584_0.26204670300893396","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.27-renovate-major-external-major-cb5c5f0bc21b8d9fd53713bbd95db297ff2f363f":{"name":"@balena/jellyfish-assert","version":"1.2.27-renovate-major-external-major-cb5c5f0bc21b8d9fd53713bbd95db297ff2f363f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.27-renovate-major-external-major-cb5c5f0bc21b8d9fd53713bbd95db297ff2f363f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7aeb550e5b9c18e145702b5b1fa743b2800349aa","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.27-renovate-major-external-major-cb5c5f0bc21b8d9fd53713bbd95db297ff2f363f.tgz","fileCount":10,"integrity":"sha512-8ZTizHRAOl+xYTw45nYS9HUFRxCXYaolVdliD0HLa1RbmG5GnnFNC1HdgTAgE9hPZtY4tBsTdlyZH8KahPQtKA==","signatures":[{"sig":"MEUCIBibZlffIiujUR5GJCoCeO3c6rb5KuSPK47GQ/kvKdddAiEAsrswn4bAyjF9hrlfZZrtxWkWyEbVp8sHd53cDhdGBDA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibJ1kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqjbw/9EIy2GNjXLNQQZ51sva5mr240nSWWbf1iUJnu8nmOS5pHTauU\r\n9gZFwgXe9OONIpoq8AahHceBgasWHpqPCKn38ui5nCaqGrSx0qRDj/YfdP16\r\ncqAH16YZ+DFRwqi4qz8ZZABzLNZ2SQDGkMY5LY3z5cEMCtElRtHDgfatjOJs\r\nH2/E3tupawV/2l+omAodO05RQjDhLiwwHhqmhrlS/4xzRYkgSbB6RyI9syaa\r\nkTmw2s/senhn6YJYUBeFb9+34u6bsQHPvZigyRI+6qOv2B0zUssDohzrNBmF\r\naiNPQWVSbVKIpcF5OiUfG+Ycxxbt4qejnnhZT1IjxWoKSiX9iQa4ByUE7ciG\r\nSU1tNDHRjnBWNc0mktcq5/RhOEjOGGKdopymFosIU+OFUughuB+E8w6/xi4T\r\nV8tVtoekWaOYk0z2Qhj1WcfPwr0bRISU/VWChCd1XaF/5yvSRiEgTMnIVAeL\r\n+U1XDB7SmSWPX7GbhdYTWVxggfT6GCLrEcbwy97KTPsFpo83iLprzwonhGuT\r\nDRho1pwo0P+eeSqq70VbmZH2hkdJB2A/0xEDVitCcQpCtD2AZlyWPOm3jf9R\r\nvCYopl6Qbu9X0gFslG9FSCxwFe4FAMocmbdG7f8YIe9qyX8VQ2uxH6bnVFAz\r\nB187rQH8NJRiuXTACyjkBrLu8P2hn0jIvIM=\r\n=LiTk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"cb5c5f0bc21b8d9fd53713bbd95db297ff2f363f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-04-30T02:19:59.635Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.0.3","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.3","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.27-renovate-major-external-major-cb5c5f0bc21b8d9fd53713bbd95db297ff2f363f_1651285347897_0.8063470396249699","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.27-renovate-typescript-4-x-e6ca731f2215230008956535cf96faffc656ee49":{"name":"@balena/jellyfish-assert","version":"1.2.27-renovate-typescript-4-x-e6ca731f2215230008956535cf96faffc656ee49","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.27-renovate-typescript-4-x-e6ca731f2215230008956535cf96faffc656ee49","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"392346c3536c019fd908ffa823783ef5e03cf23c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.27-renovate-typescript-4-x-e6ca731f2215230008956535cf96faffc656ee49.tgz","fileCount":10,"integrity":"sha512-I6UIehKZFu6rBLt9p2WO159OFiM/yoNJEB+SlU+hX7qCj4aRB71OkU4C/eJf6wAwi/UGfAs3Q4/V0uOHrOJUxw==","signatures":[{"sig":"MEUCIBm1DLfgVx+5hAUxXnWbFYKoNXgqWNJMNAQMaQhmv6nxAiEA33DYlybgGZFXaTX8UUfGQ40S95mPQxHYn1DCrzoq8rU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJib13bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyNRAAhFBHtz6HQec5yN3cCrqxT1YAwNytxCdRzy0DTMiingBEF/G4\r\nSWltPtq07GWwcnVaYd5UoYaU6S4McKv4Qx63Qrwhc5nCzlwYNmEjM+796EF8\r\nAmkhCRmzAXsJ5QV3Gp1+WkR7/2HNL9xqI6nRECwNN3cdO7d8rrv1Gw23cuuo\r\n2U68flNg1MIc3lSaT+Z4FyRyP6MasBd8d0TzpTNlp+uS0bUJSenOdf2W4U/x\r\nbzb8T5z9alvpmj7R/w2pYfskt6ANoT63ka5NgmO3wJGTI5UGNtrGqJHC7Tml\r\neHsA2QOZhLl/UENCmbu/rgOdoOKQt0bUo7VF/RmtFBmHE+avsCvC5vK19lA/\r\nDRUA7NM/qyCdAF9uSUcbTaJS+Uq/3s9PXEioOzrVMynFJSYPCUxtGX7XfoTl\r\nNyvqB479eHLTsaozJryXGUWqZS6rchvkm7H7dsILZyxw2RLDnth+A00fWagY\r\n68IcaCplxIg+SCTRVbpkKf4/wYciFlT5LQwgq722UtetQCmvgbypX/wFCnMA\r\nG7oANXBxzPv7nJ1LJRqUXknJ2m7sxOFCdrV2Ujm8phvthgjS8GM0LQXwB3jy\r\nzhc318xhDlm9E/PKf7bu4wazPvaIwrKl1iUTGJIyWOeEJxKFNu/W2J57TiWJ\r\nycyDiejYbSAU0mzSsGV8kc6f+5bRK8PJBhE=\r\n=YLSm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e6ca731f2215230008956535cf96faffc656ee49","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-02T04:24:41.350Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.27-renovate-typescript-4-x-e6ca731f2215230008956535cf96faffc656ee49_1651465690926_0.4114225585987046","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.27":{"name":"@balena/jellyfish-assert","version":"1.2.27","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.27","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1b470062e69f0a1bbd0f75a6710665678a232130","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.27.tgz","fileCount":10,"integrity":"sha512-MyijKv7VY+vPG6CoioARXToESwIuvQpd5s585SxL+ABKDEm7iGKZA/U9fZfdqdCC+bmd3eU1GRbkMGHw3ZMEgQ==","signatures":[{"sig":"MEQCIHAahgu6QpmvmmlYubPcV8ebCjTEfVKaQN878zEOb7EYAiA6S6uzkQ6+RI70sEbasnGAkK033ZNe4qBlyyjjH3i1+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJib17YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3Xg//TEqEQMKxk6lCxLNU8NbAK4qkwwppCs4GZHwrVmKwrZNgz40Z\r\n0xDiswT2SrLZL3f3h7K+SWthzxz5wv2Fu27XX9f9pQhZRQtAzV85z8t6xhYP\r\ngdP4bfziOTLrCqaZieVOXLvYEGgFS0ZuyK/bHO51q9G7DYRt8XFNpzCcUiek\r\nVlJX+brjB+jJQU9f2MrPhv5+hH8l65Z5yLJhSIWTJpdhXLiXC3R1VgYsu0ro\r\nue0wl3aS4VENV0rEwlqSQxV/Kdx3HhijJr0j1RUImGVk5IQLw4ewQ+dzy8GO\r\nSWeVG+X1wWWKXzWKGWHse/CQKxQtnSWTglBqVHkPnjpGxl2rd3ehlLb2MPhH\r\nzX8YYvApyY/aY8sPIyZFdq9nv/YEXqbETM8TtzrFK5VSnXfYVyDFv0zO+bhV\r\nAhSzOk8/DiaUKvAeTTVd+aeF14pcr0LGofxL/pWVCXkr5BXjdZGA/EYuIoTo\r\n652vJ6csnhsTgjKoY5rFJRThebIjWotCLVSR9XLQj4sNLaerbRbZS0nkdqNV\r\nkJfwWaIvIrqq7VRMeLcoZzZpauP8uBV9L/VuitutdndVyp6IiAFLs8JIjU7L\r\n4OoexvUfGslZbMYHqaC1QiENqaJ5UzX0CB+/wVdTEddCcSOTx6DP465456K3\r\neffsBgf1PgydKct/WsKAZRJDBNZd4n/Nmp8=\r\n=8mDL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e87c8907385eb594789395785192f3f22193c8d5","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-02T04:29:36.720Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.27_1651465944070_0.24960735792813793","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.28-renovate-major-external-major-0d0c6c519dda4f10a1b2e1c86d8c8c130632756b":{"name":"@balena/jellyfish-assert","version":"1.2.28-renovate-major-external-major-0d0c6c519dda4f10a1b2e1c86d8c8c130632756b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.28-renovate-major-external-major-0d0c6c519dda4f10a1b2e1c86d8c8c130632756b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"15c990cc6c19f43a6784ee1861323bc75e99bf4d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.28-renovate-major-external-major-0d0c6c519dda4f10a1b2e1c86d8c8c130632756b.tgz","fileCount":10,"integrity":"sha512-CUICyeekucPcOcArh2jAt/t6mYFyfqhTy+mATZ16WoLrwEgj7gztuUZejkeKoqsA9Xz4BDfeNeWa/fRBYCg6Xw==","signatures":[{"sig":"MEUCIH50uY4s2m4RxzWXotd/KKecklIL1ArYn48lfW9wZbj5AiEAquzc/m0+vd9uowOgISucJlzZNSRQKRKpbQc5XH6p174=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJib2yEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPRQ//Skl5siDRKH3fS209akhfDZsFp7SXB5snyknPYzMnuysRSTrO\r\nATVCBzBeY/I0DufvivoSQ6U8VuT14juQ5X7FPJladTzNkzvI8t3UrDkLdwL8\r\nccPd3IwXnzduEYZBVc+G8mTjLwxBiY9XI9O4vOpH6N8RYKqpPHeWvYfZzfSQ\r\nqx7vXbteSrrRrzHH4CEHB0fGxrg4zarLXZLRZI2d01k5Qi7rKYkBA4bKETJ+\r\naX1YAW0Rc88lwEtCq+zeSgc0d5dgA36r41HzlQIG2JBtjJDkGIEm/w9qojRa\r\nIueMI6ucJiy9Oe01W24977pOqyX7T9LNFkfHhLh1rs40Muw6ton17IYmJmbt\r\nypKyBhUZAHSvHYxcC+Ev033aADTHPDRpQeM+g6spDmmRSfUwFCty+AA0gJbt\r\n4F+71iQO+uFfh6fgHCIydmrpa+SKdM/367png62pw7NIkfElKgWTK52yTekp\r\neymi10TgdpVwGKew8aaXdzZnPFv1lTUlfGOSDgMMlPUrfZqvoEX68wSMlUbx\r\nA8Xl0D4juWykb5q8Mj+P5s1NwPLCjmkuJ/YnMDnFyt+2b6GrZCMnhSASl6en\r\ne8NzMXjkg38pW1HfRYTrqJXezioOPiV4M/GQDPPqTA7KkO1V3AzqB3xf4Ptr\r\n0OmfbvpGQsj4oXV//ad++R5ctDazaf0xBzo=\r\n=ygiO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0d0c6c519dda4f10a1b2e1c86d8c8c130632756b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-02T05:27:46.178Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.0.3","deplint":"^1.1.3","ts-jest":"^27.1.4","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.28-renovate-major-external-major-0d0c6c519dda4f10a1b2e1c86d8c8c130632756b_1651469444493_0.2722583899231532","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.28-renovate-major-external-major-9c32122ab5266b8a80a39f644e76420b15d8d5df":{"name":"@balena/jellyfish-assert","version":"1.2.28-renovate-major-external-major-9c32122ab5266b8a80a39f644e76420b15d8d5df","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.28-renovate-major-external-major-9c32122ab5266b8a80a39f644e76420b15d8d5df","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0f657935101538d19ba6a3daa4e8bdb6d9d93b09","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.28-renovate-major-external-major-9c32122ab5266b8a80a39f644e76420b15d8d5df.tgz","fileCount":10,"integrity":"sha512-vIi8kcvDqulu/iIxIOH59zXh+wMnBbhHUfDJYmdkcUGLe1DI+D7yFs7AriqSJDn1/Jm4rzDSgUDZwktBL8U0Ow==","signatures":[{"sig":"MEYCIQD+3pWRkES/S/3BPLEPuRQl4J5XdFHa4WXmhdD2+gMx/AIhAIFqcq36ALiwaEWZ09NKBroH7fBwvsYXNFdInddr6YCv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicRsrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgaA/+JGSkx8+ByaS0ZZ78b617jvGEtKRnjMqfz98zxMp52Z3l2aE2\r\nGXD39U8ccPXvlY8h6yWpY44ikFDT6DyqRrTB4tN8wNIwdB9vMXYuSQPlJ8Lt\r\nc20YOSWf8f7thhWzJk36D2cjT6xbRsWnrtYSYlNAW0LzevdzA51m6Zq4n0C3\r\nuENa4Y/C807kwfjCPVazoQ9nHm5TN3cLKj3rMbOehC2f1wBtBg1gghBNStne\r\nT2x4LhZ2Z8aeJcoiTMCJTx4NL9AY84f7tMAvPlhooDBSzOi4OnW3bnBvDAR+\r\nPo1I3nC7wc9NFa0qrkofdk198oqjJZgLunJpoQ/90TQVM3MmGeDcXZDPEI4b\r\nVtq8Mq62lyJc6sysENoAxJzt6xQZy3kkL2Bjnsj2KzNF95AEqcyzvHGZL3DC\r\nwfIwu8NHNDKz5/O87cP9Fij7ChYGG75KIe/ebXtzDQYXTKhUfiiwSA3tKUDG\r\nQ0IpiCxWrCR/g4bjqab6NNGCNwrbMfJP/nVFWmOUsct/49t1/OxP5hDwWDB5\r\n+DhLcZ2ta+vFGxnP3X+2I856BnclRnFTWCOxLMyi103M352bG3K2Yw2OthfY\r\nxG60cNC4XLdBSEwqI8BvcM00TGxcelyfFtlRw4przSl/ddvOhfam3p0+qfVy\r\n3T7zmSWx+9weR2V5dKAN2VpHkkFzU9xCyHY=\r\n=RRZR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9c32122ab5266b8a80a39f644e76420b15d8d5df","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-03T12:05:06.862Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.0.3","deplint":"^1.1.3","ts-jest":"^28.0.0","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.28-renovate-major-external-major-9c32122ab5266b8a80a39f644e76420b15d8d5df_1651579691413_0.14793420518672007","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.28-renovate-major-external-major-ff0c23032791836e5e45aff4acefdfa37d42b112":{"name":"@balena/jellyfish-assert","version":"1.2.28-renovate-major-external-major-ff0c23032791836e5e45aff4acefdfa37d42b112","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.28-renovate-major-external-major-ff0c23032791836e5e45aff4acefdfa37d42b112","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"aaf12a9f4e7da6d86f7ef9208033ecfd60619be0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.28-renovate-major-external-major-ff0c23032791836e5e45aff4acefdfa37d42b112.tgz","fileCount":10,"integrity":"sha512-O1WweqYVbRrMZUnfV2GxqZrCvick0tUubequNti+X2npECwjZmsgyshsa++XqnRQ3bjlgzTpMpzfQ9NJeA1Ndg==","signatures":[{"sig":"MEUCIQC//IPnSMIHQckujr+EtUaJSEsUDoNhXjdM7Cvt7wKHdAIgDajm2hZgjGlA9NpDuidC8N8OXln9R7xdLjKGBiJVnYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicb0BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmkhAAn7xzjZzKLXreexmceA/hIlJarpBLCfPZ8XPSKF+RoRDgwjGI\r\nes9f5e5uDwC7bZ4QifAtASVYMJvf/PycKftzoXoITe1k2BXDfyJDesCZ7/qL\r\nDOpKTE3c7T6Z+4wlhx3AQecEYU9ApbNwmEjPG81KX/lmG5HxlcDBAnp3GhF1\r\nmHzt4IOSa3Iihka5VoXBi44oVdyBKxfgim9jbtcG+boeIx/T7sS56Xjh15xf\r\nQoHg3adcTpn/roh4aEfRZy/y3prIUtJyt+957z4EgjYeV9VySu7LOAoHEQLg\r\n7pzNZYV7EQ4yxVN1Jld4TYs5SCI7kx0Wzv8uCgPuNUkhnfZBknk66J1cJmJJ\r\nnk0az7qICfeXmR5m3MPsd9eSN9wPkwSc+sjrXiNCQrjUItUklvLvHouee0Am\r\nqAY3lKubr1GM96AdrtxuQH91YDEftjgC1s3xtjsvNQ19jBb6w1gB3yYMFJ9/\r\nVmdVBo1IGRuOQNihect1fqDsmQaDqq5BBp9EJ5wZ89qQOg8FiK+SV31c3hxu\r\nLu3LO0C94df0f0jh+sx+eBqvhL/kkF5ypBczi2VauIcDTJuabdFrio4fHnqM\r\n9+E7q+TrduWDR/UDt3jpeJmL9c9MZFYpjppZEJObyFy1ueAAsTPn3JUYZLea\r\n4juEoMG4PvQNg6ZLpeUG9Q1oBxHdN3ExJVA=\r\n=/8Jh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ff0c23032791836e5e45aff4acefdfa37d42b112","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-03T23:35:47.197Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.0.3","deplint":"^1.1.3","ts-jest":"^28.0.1","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.28-renovate-major-external-major-ff0c23032791836e5e45aff4acefdfa37d42b112_1651621121392_0.33149242987131977","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.28":{"name":"@balena/jellyfish-assert","version":"1.2.28","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.28","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"662e787723df99ab4c60ab01fcae617b162879a4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.28.tgz","fileCount":10,"integrity":"sha512-a7MT9aP1/OxOv1qO6JGNLkGOAF4y6mpcNtbqpc3VwYA9K5xiTbHPJJZKh5+wnOjzu+NXAUJgQaZ0g7lCOFTRcQ==","signatures":[{"sig":"MEUCIELfErJkfpV9EXMxkzehTwv9z9RjycJAgV8Il5p+sXBNAiEAgbmXmSq37AkbPIc9iVy4JRSGOetu0s4JHcoJLtks9gk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiccwwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVuxAAj5Tm+igbF+9+lD1rapsg3bv5avikH4oDUcw19LgL6+lAxi/t\r\nJ8+HPJsAot8JWMdLaPcOkr82RtDD3YuXadxZXPi7p1/Ac949/G7aiB9ziFhM\r\nUXwcQYaZAnx0vDbRL/UHMj6KjVnFp571FbjHdXzE0eNjp9fbY3LDJ8ZEJgXq\r\nMkK5rJCvvGXnAybanmTR5wlu7/rpV8XaL7SSNEKyig/31VBYdqr2JdWdkruQ\r\n4dgcEpUuC6kTH/lo3P1UBz8fSa/AfrVXI00uGBWYuT90+tPjFpNnDdwtXKjR\r\n/5J/xDIqUkoeru6UveOcnwyiDuv/fQLxkWCflp8BmvrX5QbZZKMv297RaF0c\r\nzCSiVQ1nfpSAMYS81cLeUyDdGs/AfBPRilb4XE9cN9QFD0GwyPUE4YdwGwJE\r\n0o2oZmt1iaXRYhHcOoTEuqpTlqxWeJBaGESEuyPz3OB3Jbe6Qleq8XbBugJG\r\nuFz+6ExZS6k70pN8cpNzhZVb5WrPKsjdv3cGMTmS3aNqcUafPb8F9T+CKFSn\r\n2B9iGij2HTdWjw6fTWoHN0oi+J+hXMFyjDp53N1CLGkqDXRLQuc5ZjvwtKPa\r\n/433Txo6+7ZaHUfEqoy7Dv6cHvlbbazFcFM37V8VULdA3HewPaKfnv4mw3TQ\r\nOVLWzUb6+o1zAEHQlQvOOWHyZPc8ZZaoBV4=\r\n=Vb3L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fceb948e41c33367a0453105ed5c2dd09a85e007","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-04T00:41:25.899Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.0.3","deplint":"^1.1.3","ts-jest":"^28.0.1","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.4.1","lint-staged":"^12.4.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.28_1651625008051_0.9765936616254549","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.29-renovate-external-non-major-2726d962996b1a6aa9470d7c9b5f51887fdb3949":{"name":"@balena/jellyfish-assert","version":"1.2.29-renovate-external-non-major-2726d962996b1a6aa9470d7c9b5f51887fdb3949","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.29-renovate-external-non-major-2726d962996b1a6aa9470d7c9b5f51887fdb3949","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"838cc176246cabc125073f576e9aa045cc5c4171","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.29-renovate-external-non-major-2726d962996b1a6aa9470d7c9b5f51887fdb3949.tgz","fileCount":10,"integrity":"sha512-r6tzEu9lyxaLQ2JnnC739XX2Xdn9W5xyhovzdSo4x2WxlvUK4mZmJKWbQjT+dKq0rACc4FCKXnb2EGV3BJzDxg==","signatures":[{"sig":"MEUCICdI3JMvikD92j7NHqP/QZzzuuugz3NwlCheXq/KhlxQAiEAnImitUyJRuEj0EnvSZ1MkPUWoflgp4lvnnBOe6AOKvo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidc73ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzmxAAj4grOk7o9a6Kpo9NCMTIlxRC9UKnRotry+0fyQJfh7nkmGpZ\r\nEfPeyROAKCCOtbSJxkQX8JBxN63UxksYMdZdwU7QgvLRMD4CA2qsXcn3UCY5\r\nFUDLWVUwVeakIZVej47CfuJrZ4rT6WaC0GMYAiMnhAupuk4XdXD8pGAlaASk\r\nrWwHDW84YM0mDVF178F47wFBB7an08uvs09E0Wyr+jM33ljaeRug5SRbC6fI\r\ngf/9H2xdzEcJ/ZjYOttCXjn1c1N0hOVOe84ERNc7+opUTPVj9oMq9A1izKYQ\r\n9Da7QSKy4+0mSK7vVaO2wbDdQJkuG38ywJ7UR2vfgxd0Eq+ulBFFqPQACSjZ\r\nJnj1NLmdGPLVb9Sal7EXm4lq2cuaEqBQUo2SKAhkeu61NYU+okfY9CXzRS3D\r\ngWGZROauIMbm/W9k0zZKDVhQoyYxPlSVkcCxLhxikLqlKhYijTyqbgg9RMtu\r\ngNhvcpMLlp80hcpgu3OGbMOf5kQLvuSwB0NIpKp/0jFQWiRiXbVchPRyruoU\r\nyqMC4bVNatyt6kIc1EomKqTsq+GX5XuUGZGFnxvCsy5mvftXjTchG/MkJPWe\r\nVWIW79U7A/t1OQQkf8d3duGSEhPgmB5ZV89ra5XuoKSEbfT9dWNLtmwjsJHB\r\nxMpWovL3PiWNTf0ZISNS7MhMLY3KE3rXq6o=\r\n=Ak8m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2726d962996b1a6aa9470d7c9b5f51887fdb3949","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-07T01:41:30.410Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.1","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.5.0","lint-staged":"^12.4.1","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.29-renovate-external-non-major-2726d962996b1a6aa9470d7c9b5f51887fdb3949_1651887863637_0.15808682137856067","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.29":{"name":"@balena/jellyfish-assert","version":"1.2.29","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.29","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"71c4dfb69ee003dc2d40bc7a343627035a4f6b96","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.29.tgz","fileCount":10,"integrity":"sha512-xTpXLO+wZ7JNJELHmOdG4LSDwXouBee+TRJjqe7Er5ZtPuGKfjXe53uecGzt9ttBiK7PTDTaxgZXYEVWmGo5Eg==","signatures":[{"sig":"MEUCIQCMKCuz+BJc2twMq05ULMIliSo7YuBBtqKY46Kuueus5QIgefCM50LyDnmqpOPsOo0ZqTUTWkqP3f4LKLbvdJ5cejw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidc/jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbAQ/8D5wcu8wPVbaNO8d0Tlw4WnhcSnZu88Y9YlIjPL2tp3y71EM3\r\n6+GcrvcJdCZILTyiHe5/1IG24Oc7PbYjCyHTAwwBL0FYqf9cNbVGnV4raFyX\r\n/KIk9+Gmv67oJtj2USB/zSW0ySxZVV5Y5MlLojqDWmR5uNDNNklVzmvTZojU\r\nOFWI9UCimlVw1hcruv6TYPAOM/uosZpwoh+Ebf61yqy9yHCCrN8kjofC587B\r\n/Zn8UetgEN9LDgfE5J/lKCk7p8mL33B0xHm19ckCAZUR7OWAyLUmLzFSPZze\r\nyHoLqO8AooTBvm7Mv47lDdmvPSESLVoUaLBGsR0iO7NW6UQiPeWJUtuo5iMx\r\nLDLVKEj2Dyj9+oyVUqQYPRSfrejhrDTXLN9iniTvFJfNys2UgzKRI4+XkMN9\r\npF4JimI0eBvyoo1Nzo/BTE3lg+qq7xJAGTxkA4iu3lHHl3pGJ+zklHyDg2Ex\r\n0QHb0Rjm4JuU3DIRv/rKqPGWYO8dq6NiIBz5DBWTTpF79d7+QLgprXnxlOfF\r\n/mwFz+LVDRTt6evw04eMhbRVEIbvTcxfSfM3JjpOawclvjYsof6Qn9WnXGI9\r\nfm5MX9LtmeiVpGEqHnCyVuT7r/8fjpb0XN78vrTmrCEjMAo2e4uUNDxtZ9jh\r\nQVASsoBs0oXM1gC38ChXp3tclvCBYdrt944=\r\n=f/ee\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"0b78b0a57cb110bc7d6ef75adda52f0425152e4c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-07T01:46:10.026Z"},"_npmVersion":"6.14.16","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.1","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.5.0","lint-staged":"^12.4.1","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.29_1651888099610_0.18459512608293216","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.30-renovate-external-non-major-188b4bfdb29f64348ce14f8f833e002bfb80489f":{"name":"@balena/jellyfish-assert","version":"1.2.30-renovate-external-non-major-188b4bfdb29f64348ce14f8f833e002bfb80489f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.30-renovate-external-non-major-188b4bfdb29f64348ce14f8f833e002bfb80489f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4433fe9b71461b20a14c3063abc7c81ec5cfc2cc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.30-renovate-external-non-major-188b4bfdb29f64348ce14f8f833e002bfb80489f.tgz","fileCount":10,"integrity":"sha512-U6Uyu0F01dGDaDKebpmHXtIIwhW1zgj6jgyzG+rMSUTF/l4XHgMEud3szNf767uZ8cuF75AeBN/BTPEUYKaSGw==","signatures":[{"sig":"MEUCIEtALTK5DX7X1moi5DPNQAAHTdqFt1fviTuxVsfGNBL2AiEAvjXR68ktBGyBWjgJ0FQocLBTE5A6cdX74ATuHd/Zpkg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifxYeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRoA/+IUyuzp/eeywGNDS4AevojfImXA0/c9WljnfOEoGKCsNKh3CB\r\nnL4b/BBoyjGdXjrMGM7Wz1MLv8zfPMPnOrD8g1tgnoCL7JPPpt9pRsYiTsWB\r\nkeT7p1mMQG/RELN7O9Sv2gStzyJwE4l+LjBeSVvh8oIPCWXWyJBoVmDZ6dH0\r\n2LCePw1jzX2WK83gXx5xNBk+dlSbUXfzBUMA95a/hY2SglKOo1L4jfjmB6pf\r\nIp5Q16OZIojqcIfwK6wGzxHpfWBWAYSVBVUCqEUeo0DNngHJV1rvFMOH7tpx\r\n2/xBA7MEl5zdYxHcsmSqQlaMZ0CJ4KQGw6QsbEyuVsYWF1vN53MqnlgYBsvq\r\nvK+txNcj2sSQqTNBWpUVAMudPfhPlgqgfFkzHNBwVUZkh9i2byc1o98VIilK\r\nCcVnlZ+fAT3LGdW2oSkETLi/MjbGsB4Oaa7vWcWDfbTwxtEo2oyQyUF1epjM\r\neDGRicnWB0S8IDWBM/WQ7Q4n+6bdGve2sK8ei0eSb3Jut0ZOhnImpNGEiX5l\r\nMEqa/UdyhmtQN4FXay/tyl1LkWy566cfzx0B9pxyxtAzE9D/A9G6HoB9vcCM\r\nFi3Ev5ms1UoQFVrg2NhCajxlJgZlctQBuA9MWUN9kh96q509GTy+CtpuAVOK\r\nKINRxioVB8n/baM6pRKe63nBuf0lP6KLhpY=\r\n=f1V9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"188b4bfdb29f64348ce14f8f833e002bfb80489f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-14T02:33:24.348Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.2","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.5.1","lint-staged":"^12.4.1","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.30-renovate-external-non-major-188b4bfdb29f64348ce14f8f833e002bfb80489f_1652495902717_0.22336348210179824","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.30-renovate-typescript-4-x-3565366daee8319e7be5ad779dc9fbfd22827d89":{"name":"@balena/jellyfish-assert","version":"1.2.30-renovate-typescript-4-x-3565366daee8319e7be5ad779dc9fbfd22827d89","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.30-renovate-typescript-4-x-3565366daee8319e7be5ad779dc9fbfd22827d89","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"285afa01f49e230dc05fde86edc71aad16e95657","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.30-renovate-typescript-4-x-3565366daee8319e7be5ad779dc9fbfd22827d89.tgz","fileCount":10,"integrity":"sha512-9bSzK1CqMc3xdrHoWzkbyfmCf/1BBp39oBr2Lf7b+O4w5StYE1j6Bu/s45KKkm7nNRjHf2UFY5Qv9Kth6AY8/Q==","signatures":[{"sig":"MEUCIQC8fc9tYRznlFjWgxhIuiOQzi6y02hYVxAKJJHgtOqg0AIgCbGdPq5TBgpkXSOwHSyJpIFM2IHZo0W4gBwJzlcV4RI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijTjwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvFQ//VIusI05wyNkoLmh+blEpjU6QzUiN5Dqs9+zaCCTPqe1n6JWc\r\njj/RiBpBa/creOo9XZsiD30kqrGNoE4wOtAj6mRxWgQu9DmsEbJhJBl+XECC\r\nV1a2U/ms7DcvLeLchqTiyvUJ4y+Brh+oQTQhQ1t5Lf0JmwFnPsaumM8faTtb\r\nrkn8tBp78j3QklHiBQVyAIdfQEVkmZvQnkrzPfsvRDZogAW9Tgb7ryFvjHz6\r\n80yaRBK7I4Ni1O0/CXtTJ+Sl74hXqYxDtiWfA0rfruG1kGgHMBfEsOO/4lyJ\r\nvt/Di2wtT1CsPR7WLX4mDzgZZVEMKKItf+1AUW4vtiLxpjhDI0DBG/K6K2te\r\njXrVlYovSuf5lFu4KRyvf8QlYSdxKgpqY3cLhH2n4qqfdaOpmnegcZ0xD7XF\r\nDH/HzuC6AR0inOvbdOeNS9eERrM3MID0MuYHAD0Q/xtmehNKBf3gscIbpjdj\r\nos+C80iLbrsCBky0onGp7Mk/NT5EQO54ChTA6oOG5pIDEd7vOpjbL2IY11p4\r\nrb/hyZ9zebQHiARtnhjm5/XT4ApmyJQnWK6cFqbHj4xBmh9QmAxQtB2LyqLR\r\njUDSzAGGKRjPOaSBXRJ8sgiuJq3GXcPhhtBL9WeS1AVB9OE52dw1c5UiR9Y8\r\nVAI2QieCS6s4J62orYuCWg+Sos0IDN3sOJk=\r\n=LfAf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3565366daee8319e7be5ad779dc9fbfd22827d89","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-24T19:51:04.668Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.2","typedoc":"^0.22.15","typescript":"^4.7.2","@types/jest":"^27.5.1","lint-staged":"^12.4.1","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.30-renovate-typescript-4-x-3565366daee8319e7be5ad779dc9fbfd22827d89_1653422320145_0.6755936637849054","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.30-renovate-external-non-major-2ea5c5f05df813798559de2e5bcb7f5b852e73df":{"name":"@balena/jellyfish-assert","version":"1.2.30-renovate-external-non-major-2ea5c5f05df813798559de2e5bcb7f5b852e73df","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.30-renovate-external-non-major-2ea5c5f05df813798559de2e5bcb7f5b852e73df","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4e35999f3cf061922fab3e37a4ac62ca208c7f64","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.30-renovate-external-non-major-2ea5c5f05df813798559de2e5bcb7f5b852e73df.tgz","fileCount":10,"integrity":"sha512-n5Eod145h+qGwRR0niU09cXboi763OS0ELqXI2QnK/cUQqiJBZsVylxEJHHUVJj+B4w59crQTZjY4RKldh19zg==","signatures":[{"sig":"MEUCIQDVl8W31B7EOgoSAM2D0Ndt+wIteNvxt16RoCSkavYTwAIgJf7JaU4XLBEt+XqvSBbHL4xNvK5w02UkPDiaB4L55C0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikXZiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmprtg/+Of5kiJVC5tg2Jv/oFRTokbXDTUGP/GDj0JW2WbJBLO0D3Npu\r\n/AsREt7pH2lXsnQBTfcwRc5o4sLBZQDylpLv2VxIkREXINE9VCEROLvhCy26\r\nVE9rEE7Rduj8KfMtGH7nIXa8g5Y5Y4D47XBytW2wp1ZBBCYgzvIj8tChjuuR\r\nY7GtwIGMFfQTrWVZEuw31EzzuUrHUBoLOsoI1u97o1Ltf9QVp3/4D10Yu50q\r\nniMqDMW6WPkp6uiYNUUenAyM09cU+ZNJG+QQlFuU6M2c//k/F/giRZfRyqWB\r\nE+MT+gZ5zDYHXKPGvSxRdK3e5QOBZuh1jpq4AdJdUWqQ8iihJ+NwmOEXVRH3\r\nExffUN7kKREFggVsElgrMF3Fwx1MBZWgetobFNKXJet2a1YTKifGT3haJdcU\r\nHbBircW5m3JIpp6H0Dv9fHePCvt6EmbCUMND97ucrmnet3EOf4HYRN7u994w\r\nSNInQW+zvf7TbHRJWme8cel31EOqjoJXz9R5uO4C1cesJ895GOcX62ZlRLMj\r\n+HUKPnluZk4CYXwPQNemRpnf885qvFzKXVJ2lH2ZudkOn2K/VApeXt7sTdp6\r\nOfiG7761d85xpLs6ZmVyhoSe9QUl0QX4Rq4hB+G6daljyAG1ajKkfXnytVuz\r\nvOFeI56y8BqtCqSNVft9ALDbJHhGJziS/OU=\r\n=aD+J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"2ea5c5f05df813798559de2e5bcb7f5b852e73df","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-28T01:04:58.744Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.30-renovate-external-non-major-2ea5c5f05df813798559de2e5bcb7f5b852e73df_1653700193905_0.3212519202966362","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.30":{"name":"@balena/jellyfish-assert","version":"1.2.30","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.30","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2eb563f0f9174b41bdc17bc61f812fafd7f80cf4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.30.tgz","fileCount":10,"integrity":"sha512-B/maeBlwGcqEurg2SGcbxQZM23wb7FGQkmydxxRKXSfpeePPKUSoydQf4PAaF4k7cLlhWFLfkZgGRLQcGcjj2g==","signatures":[{"sig":"MEUCIQD2j9rrDqQMZSq1Mutt1RkV6CkpBG5fWQ3fsNjgaGgOhwIgG+I2G48Z9tYTcZ5ZyIYRRZJdsPHvPrH7gymbjCZIp28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikXgwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0BA//cEAue4MECM/j0zgHkDpmp6YtuFjBKS7kGB3hOSdDh/HXqKn4\r\njxTqEWnUmlQ8/p4NfXVm/TvEWyUSLDkVVuLafLacipVNbzKnBwXG9nqfjh0p\r\n7/pBLrNMNbxCW+4Xff2ZgWs+Pi03c7Vv5jPDvzXUFVvAFHPVZv/p/f6W5WR2\r\nzXcwLXTRRvvkRAFlUlUjMdw4HzNNnD+Y9DDyA++7tjLQM/nZQVQFcH4RYzj6\r\nEgtxszdKMjn9HMhHlnFclENUAxaPmRakt9jxTS5/9SDuaQTUv/9IWtMW5jiF\r\nSQkDysE5i0vkFimuyUD7e7hQJw/BbRE8Xtad8pzBF9Xvs7SLnaM5sDJpUry8\r\nWul8v4vEDlSftblSyYlrZZXK4ixGUjl/C/yV8IKFnJnApHjpAL1biHEYVFBJ\r\n7pCIsZWgGf330dzKZ5xEbQo/eJnninPIRxMzj/4u9qtn9rCM1AkePO6/YcnY\r\nd9/aBY8lTQR3viCnRS0bemmxoKUhasyJFzHIlPdKnMCUhCuzywzjEUARDf0N\r\nHLEX7BqjLgh15Quh+YCuuTe2aaBnY4D1mVniZYgVT4homKOpzwNhmd/4Equ3\r\nQLyKgmEyDZeRQIZz9B0gE67ZyeuCZZHBG2H9q3/fF+3kZDatlCxQWes+iKhP\r\nhsUXcV/E1lo0a4RysJtpY3dcPFpkJOKymaU=\r\n=WqMR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"db8adf98b9c89401887af5d228e639e066ac7dc9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-28T01:12:07.794Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.15","typescript":"^4.6.4","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.30_1653700655917_0.6379099613263095","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.31-renovate-typescript-4-x-1f6330e80ce9e4ed6ae851f0256e687df3efeb1f":{"name":"@balena/jellyfish-assert","version":"1.2.31-renovate-typescript-4-x-1f6330e80ce9e4ed6ae851f0256e687df3efeb1f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.31-renovate-typescript-4-x-1f6330e80ce9e4ed6ae851f0256e687df3efeb1f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"225f03fd79bdbdd26cc6d75d51b83c2cdba94ed6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.31-renovate-typescript-4-x-1f6330e80ce9e4ed6ae851f0256e687df3efeb1f.tgz","fileCount":10,"integrity":"sha512-GY5BpbOMDsVk4v2Z0zoeaKKZtQ+B7Ta3gMd/VpWiO/sA1j2QGK5FmOegn4vUE0YfSXos/fmJBP7TQjEg+dNZRQ==","signatures":[{"sig":"MEQCIFk537jx0YIw/r7wyVrtT6BNyJQ53mymmZimAcmgD21WAiBTWDahz6eBgDUSmQJV4I8VoKlVpALXB0JseYKBy++29A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikXlDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQRw//SD55M4l7uxuX2lOvwELH66nWykls13Vu52o8A4IDuxoyqJj0\r\ndpnT3a28M4O++HafwSWd86sK02nz49GJA4oIUWcFBbx6Bij94G7Rcusbh/KS\r\nUKjjRVAGYBZGwEyBYuPN+aTnHq2cSOqfBDyAzE6sDDT1TzHvjKy2gE3inpLE\r\nGGpFGEUY9Z7XNhh/VsvVv4Om88zDmyLJfdQpqEHiJN7Gj6ILCQQjHTXXaSRL\r\n8n/yUiBUDqLtSG86YCLayT8IQSCoQOotU79td90s3zSEzsITmIuVe7fCGwB+\r\nBA1EUPn+FmyxHxgO8lNsYGCI0MRE1blKry1VSRfJ60rJ15hLw0NN9Duj5Jwl\r\nb4ZJblSSvzt6RfIAJQFfRA9CdumV2LSKDSCkYOCaKjluuPkKgBLPYbJ+1Glh\r\nwEqELd1dnOyEfMTWno/16U6xpvkN6qKkDlT2nuzIevJEQjDXTZcxJ6GjHzJ1\r\ndnH+U5mHlt2BZz7xvVLr2mJzbyS2RVO3FRw3kk8WhJFV4O4oNKBSKPvrd3+g\r\nQ0UUN1WwaHecM7FZCBZ3nbMEl50JjYnC2DvHGAYmSiHD+0YnFYQwrF8cWfuN\r\nF9U0bhieY8eaPeLDbv+YXieaorPvcW2pxcH++JWnR1puIcVmMwH6yaNZDkzI\r\nCRex6jBQUZsigBgJq3Et3Rfg09ESJsyvXUg=\r\n=hrNW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1f6330e80ce9e4ed6ae851f0256e687df3efeb1f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-28T01:17:54.417Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.15","typescript":"^4.7.2","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.31-renovate-typescript-4-x-1f6330e80ce9e4ed6ae851f0256e687df3efeb1f_1653700931633_0.6525102005976764","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.31-renovate-typedoc-0-x-c62adb4e428902e48a465d1c927f0173d75df325":{"name":"@balena/jellyfish-assert","version":"1.2.31-renovate-typedoc-0-x-c62adb4e428902e48a465d1c927f0173d75df325","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.31-renovate-typedoc-0-x-c62adb4e428902e48a465d1c927f0173d75df325","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c2d228473be5636e05f45a160e5c93d1927ac8e4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.31-renovate-typedoc-0-x-c62adb4e428902e48a465d1c927f0173d75df325.tgz","fileCount":10,"integrity":"sha512-n+9E/UkgdBH8ThY3+W17lYP9C38EPHZ2h/2oa07rMFoooP0alU/ByjmWZ9F/BPvgB8Bl8EbCIKAxUvYhnzcF+w==","signatures":[{"sig":"MEQCIBFREF604OXZq6T4yLjaMk6ZxEKKMQXp5F8xbZzWTTX+AiBxrKqLsNlVQTWXqLlJ6vnq2khtBgfBapxeLo4zp7Jwjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilQboACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnUw/7Bd7+BZYS4No7jwmERUJggTi6xbXv/6cbDZ+A+xnQxvcJTY46\r\nPfZoVPPM10uvDFjypPgFhROJ6h/ZVHRf9tlwNmKixjLix8jo67ZE91pnRpZ8\r\nFteM1ON3HkvQaKy+8hZMSZCHx1vNme9PfoZ5nRdcWwLxUWAR47nbJmqh/B+i\r\nLEQZKyrEPvHlJPfpIGZrA+htPEeqy4pHgZxaZ+MvwSv+N0Wat3uVDtTRgmJX\r\nUJxgGWH/0D42vB7vzcH/uBdj1Ee/tlVMB0CN4/2v5Ed0fZ13GTR1LcztwmdL\r\nd0T0GT351KWSCUfpfjfUJCpaEny4OnTxHnXIl8br7pZOm9R1Ut2t6HcRd+cZ\r\nv4B5bUECyVCRmz20Q5lIahsBr3htRb+i2rUFI7aNexUXTxl8YsBcfPHjCpdi\r\n4UJT6MI91ehqPhGEmTxhjtxFnPcgqg14fqgOiTtBhIgKbVMnoBzQDnj+VjVP\r\nXd+I+t3zvxmBWHbfpbskXMWoqidn/LYkNjRG/r6fBTFyb3yWd8zVsGKAd+m4\r\nTnPoyc8/URCLdpO+bODpXgIVdByYWVdZBfjla/X5yoJcaVrwswlv4RNSxO++\r\nxzl/TA84UDI+Qa/n3yrnEnVltVVZpyUvQpd8lwLTaL4G4Io0N+WzlcFCVVkd\r\np9EBEd5bnvCdfW8NzAlVRzBTF1f1g/vpQp4=\r\n=Uyxg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c62adb4e428902e48a465d1c927f0173d75df325","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-30T18:00:42.893Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.16","typescript":"^4.6.4","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.31-renovate-typedoc-0-x-c62adb4e428902e48a465d1c927f0173d75df325_1653933800159_0.5154004347221208","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.31-renovate-typescript-4-x-6224aafddd6c2910ec61b3d709d5267c484cf220":{"name":"@balena/jellyfish-assert","version":"1.2.31-renovate-typescript-4-x-6224aafddd6c2910ec61b3d709d5267c484cf220","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.31-renovate-typescript-4-x-6224aafddd6c2910ec61b3d709d5267c484cf220","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7bf7631b958aeb808b63bfcb22e6067a279c42dd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.31-renovate-typescript-4-x-6224aafddd6c2910ec61b3d709d5267c484cf220.tgz","fileCount":10,"integrity":"sha512-D1+3TGcqeNBPrP73ZkzLLrpFW4el6lmKZXeidrlNhRfLrLrwWrMBC88cwaKa3hrD2GtY5NZ0Y9x6Yzw7DzkObw==","signatures":[{"sig":"MEUCIQDJ9l6DDNHYObM/134/8wLhLLX6IfzgcUJwWpFjiJCp2gIgWCdKTSFOY5gg7VAtyqC61tzyN+vNASEpVcGb9/qEBqk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilXI9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/0g//bdp776y05IBDF7nCm9Mktga/mfjd5pINXUNrPdx7ifJdPOfR\r\nXIQxxLb4P1De3cAtZInh43+miYAJXhzvAq8z1rn3ygsVL2692z9tw4V1wP8D\r\n3SUZDlLokTYJkvDhtbOIUTrmkbAT2EG/LHbb4YPN0VYPFaBo4Gq8Vx3DFEPC\r\nOLyrGxGYYA9hIfPetbB3Jvw1/X75zgEav7mh5aXQHNrtFvvj1stGuI73gShx\r\nz3ShrJ0SiIFfk/CMW7BMzmObu5KPbY+q7o+6D1DL4ab5kMuwzWgFvTLwR3hA\r\ns643WinaWV3HifWGJHkw3seeqr/gaiCBYqu+3rU/MK1CJLEMtWsTtrTzWAg7\r\nOS+RpA0YWTH29INcG49R/K+v/OI88iVNpSXCF1wjn3pmDXiOHj5x+4Naqpar\r\n3f/xuryE9aYzlgO6B1yt++PyS9Di604kKCkYLhI3LrEngCYmNwN/4huO3+U9\r\npodva2xwc1y8OWC/rj65QAfk0TlF0Xls0j3uBxw8VnBzu4dYdunxeNdjsosQ\r\ngI8JprRVOO8Y+MiTfdJrpQC+b4nt0HXbMSGXod/Uox5y4F6zy/fzC6V+WXKM\r\nBMENtPSo7DcMQbQf039PhX7Pou1D2lEuR4nMIUYF0zsas2Jdjh6CgrNQmufO\r\nOERcbWG1oOv/z0+y20qSgxYaq/sikLi5TXk=\r\n=JOTb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"6224aafddd6c2910ec61b3d709d5267c484cf220","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-31T01:33:49.456Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.16","typescript":"^4.7.2","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.31-renovate-typescript-4-x-6224aafddd6c2910ec61b3d709d5267c484cf220_1653961277655_0.5993821397301384","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.31":{"name":"@balena/jellyfish-assert","version":"1.2.31","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.31","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e1707c203f64dc113c6e1009cd994b022e05bdec","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.31.tgz","fileCount":10,"integrity":"sha512-A/XsUobn3CJJyMxJpRZQhYyzHb7utoUznmciWgp+eRP+P3jhm2P8rf+C/UI6zWaihJB1WeTcmvgzRXtZ4/oEFg==","signatures":[{"sig":"MEUCIQDUALKVBiRFzgz2fcubgN2ou6Z7uMCBJesH2qYFjLVkvAIgSihFzTEC0+Yzp0UO+KarwNy0Yo77PFSMCMlu4E+qfV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilXajACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKqA//X7hfFxqO9ekj5ttF5RYncwQuoMToP4mVrraxUtx/lPMIoPVH\r\npTMF2WA9D/EFhxGolKdOn6jQBgmh28wfDHNEJI4NBOdm/pipkONqgsJUF6jH\r\nztofOSORT18Qt5itByUlucbbc5DHeZWRRdowo+WDdYC+bLlao9Pd0z/jeWFc\r\n5nB37jioa7LoL+/W6cojKqPmf21osODucbS4tGczpR27Es8aXdwEHw1s5GxV\r\n5yE+RmX35iUnnGXFr5SUxdwuXb3yMDSNqL2qyplDjonZq7L72GUTeoxEzmuq\r\n/i+QlF0JdBbi/5yN9ImgCC+SFsVZ6iImBCrPM66KCZGcxl+99xlLUaW/Cmay\r\nxzxpXUjzPeQxB+XsBsOltRRGgNnRpoa9OXze8ESJBqOVugIxP6i28nG8UOB/\r\nBDLNs7qVxXDWwYTMF+DBSqtr2fSFXK7SOp287x+kbSjRn/3ZFEP4ZXXUj1ae\r\nXXntVtsZvsf0VHx+1pPixTQejU2lUM6eCz/WOgmQM0e0Y28wQMtVcx1L3DuI\r\nnGjcKeHESMneaWkSMUtB+IMMmfs8gngwElrVY/tKO7gAOE+/CN/TO3YngZYO\r\nXvLrnpB5JfWFW4OHaB6y0Fv1FjDEOzQ8ZPkXfVlvE7hIkcOC88jRzT/RlAYL\r\nM1kZfEPmfw4i9//qx7uKOhSB9+cIEoqZg+k=\r\n=lSbh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7ab059f72788fb07627a72cd958ded4f4ce3bd8b","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-05-31T01:57:50.987Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.16","typescript":"^4.7.2","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.31_1653962403216_0.5343788895505948","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.32-renovate-typedoc-0-x-506cdaf7e99b8965ba0275163e989f1f74f05d4c":{"name":"@balena/jellyfish-assert","version":"1.2.32-renovate-typedoc-0-x-506cdaf7e99b8965ba0275163e989f1f74f05d4c","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.32-renovate-typedoc-0-x-506cdaf7e99b8965ba0275163e989f1f74f05d4c","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2b2ed7f877182d1137eb98a8f96680b81f5c39e9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.32-renovate-typedoc-0-x-506cdaf7e99b8965ba0275163e989f1f74f05d4c.tgz","fileCount":10,"integrity":"sha512-U+oCCQJE2B5SHNVuLY5lp21RKHQ8tiFwJ43UWS2akblPclbTUgQ6qbgnsBQOJ+PT2qiBfkjw6kxLuFFBFy+2aA==","signatures":[{"sig":"MEYCIQC8kkXq2Y7YOOYv+e9gfsEtjCJV3aSgeOua9vFY+1VPjgIhAPcguYsF4/08oRLLE4xDpGGFNbhrEPBRPp2sX2715UOI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilvJAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcDQ//Yr2jX7+BPrG8vK3QkmbGeboN/Fz5SBuX1EHn9ScBqe0QIRlz\r\nF4PYh8Kt1x1aE3t67LbL4TJNyujLXgA/0a/jIgzCnpDBIWhWxoaUfuSH43IJ\r\nGABuRF7+mJSkvgRIbFAHq8bGt8F132vJz9w+qilX0V7w/tTd9LyPo3UXgptB\r\nkK8Vsc8bsfpt1345JGZzhst6+XcPHIf25IL1QYptoI+seTbwHYQzJSvhhnNQ\r\n6bFgepLmUuYD8QGbiAgrI0JNajggUwWnkfSESvBDvuW+YSo/akA1vwMTq6L9\r\nS/kA+gudL3jP55cddv1rkWjG7vquWqoYF/npmqZtGfXPQHFXIBx2bm1jXrCB\r\nWDmBQLnm+zPO33Y/yU0oT83HdtbZjzmaMTG8P8J6wVjGfm7X3Hpbua3o8bm5\r\ngOoy5sYQgDtaueAkivNVKjGUB52MeGZCWZdlDUH9gw1duDT5AoetlPb3BLfZ\r\n4jayq63mJFmA02bk1hQogctemZJgkQe+efUYef8Bw7mM+pM8YmwLfdz80ivW\r\ns99BufuXppXZ019b4Tt71didqr6eBqKhdn+PmepuAMEinN10OYJ64p4W7Ua5\r\nAZx/mmT+yrI0hchqusYWibanh8Gm2vaC9WLwc2mEay1TyyXqi9ZkKX522yMC\r\nzQoS0FAk2FHux5xNdX8MF6PaNOZK0QGj83k=\r\n=5Lnf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"506cdaf7e99b8965ba0275163e989f1f74f05d4c","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-01T04:56:07.315Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.2","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.32-renovate-typedoc-0-x-506cdaf7e99b8965ba0275163e989f1f74f05d4c_1654059584026_0.2991741359808209","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.32":{"name":"@balena/jellyfish-assert","version":"1.2.32","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.32","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6d96aa66659424d0ce40e10c5d81d909cbf01139","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.32.tgz","fileCount":10,"integrity":"sha512-kaSfjtPH4mWxeOLVSLvuTpoFVLv3HYZxD/GkKoOqHtmM1cUdRwr7XtSV2QQFGWFRZTVSL+ygwA/CaSdwk6Agvw==","signatures":[{"sig":"MEQCIE61Hok7gLpoxYMxoHuVN6mthKbxc2hZQvqL3cjess46AiAwcFnFfQMhcbUFH97jtTY/D212m5IsjCokWtkagcruYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilxydACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoO7g/7BhvQSNWnUBtD4hQ1p3IgdoUhm78ZCsQJ5FYVl8ZD+FtzOoq8\r\nUVT36xpbwELP9Qx4bN4psyf9xRko06edmwaRvAhPFg0d7RyMIY6/wm+vuPjc\r\nmeAXrBK2br+Ui4Hv7oBuQYuKxaIE1Y/H07xcx7k5TAbMGbQ2Fo+WEmAwqRgO\r\n/M7z8bXuBZCkQjeajdAfGWeERmElaWuKyc0xDZwAGmb6K2sR1QIE3DKUotXC\r\npX55H9T0eFE77scST04B1qSc1BkOQSS1BP+Rljp2Pt1ysqKJfzpwXi6Z71d3\r\nLJTgrcTGsNAn003vHjXYosumIG4n2fkBxjMUS61kL1UDepnvG/S4g/x4yaZl\r\nWO9VPIuL2pGo1jy0eArsqcPCCLyzMMXq08NoQeLNiOJAefkLQ3oyf8Tw4yNu\r\nBxVMozMQrsNuT+AgKqt6AQh2I5w3D5vl2UOKH5ZVJtvjYbPNchMD5UuSWHCB\r\nnUP+ALD8pUMeS/5FnPTYSIrUzDJhn66faIpDQakEbPEwOsZ+T26/7NGuxeKv\r\nSJMaQ9l4Oz1o/WIHVNv8JPnpzGiO/sGqQU/fHj1TkAQHF+j1aCA9hCWQ6vOP\r\nYDTsdFhHY/P9R6x6wCBLWHx/18OQSlZgs/08cyI5EGQClgrALDr/nd0d+ff8\r\nzJmXqsh7T9EjI/2OmIjTxTb9kk603iNP7q4=\r\n=5nNo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c933ac599aabd141072a1b989d0245d71515fe71","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-01T07:58:33.290Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.2","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.32_1654070428925_0.13776477465275505","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.33-renovate-typescript-4-x-f6a055365e94998203e9db2d497cf0f5743561ec":{"name":"@balena/jellyfish-assert","version":"1.2.33-renovate-typescript-4-x-f6a055365e94998203e9db2d497cf0f5743561ec","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.33-renovate-typescript-4-x-f6a055365e94998203e9db2d497cf0f5743561ec","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"62a1244f2d4084a969554e52ee4b5e51d31f0a94","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.33-renovate-typescript-4-x-f6a055365e94998203e9db2d497cf0f5743561ec.tgz","fileCount":10,"integrity":"sha512-wqeFJ3C7EgoEFV6zDw2arx9VWpmxhXNxhvsKu0WP1KVnUBZk3ArU8/9wuaRnA33cau2+r/RzLN0JbVISotcwVg==","signatures":[{"sig":"MEUCIQCYeDqxcCHtIqSmTpqP4+VkLvG+IXzAfzoKJ5mQAj1H4AIgd1Y45euGEwEIgymGX3kxD1eCrrw/oCHBN439arqhQ+Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimoHmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpr1A//cBZyLM+Dem7CKHK6zh/E299AGEVAWhoyTdqb811kQ3z+O1ID\r\ntKrSLQNEz8W0AO2GS+bjTth6L9CgjDry1QsQI2WTYixWi51Se/++h82cm5fy\r\n40gzDd4ug/j1HU24L/W/vxw9VLrF/09abnfm6b4F5jCKOHmie2XSqCqNfMRP\r\n5DVmCo1GaRb0ft0UyPnLF4wyTgxTRKikTm4/SdH632lZwjl+KGXCBxHwJjTa\r\nbS6sUiYYPlt8Yvv6X00s37WypCgrMFyMBovg54TxvYfaVlrt4AO/y5P3smo2\r\ns8VAUCrgvG3WH3jYodxNKUFFZw2dv95mnY97FsADYcTKNMgVTHA22M6kA0jM\r\naKaKO0q9aoqygjcra5xWx+IJY1jVX0NYn8uw0XL78/WgbSPZRxi2HCQjhZGg\r\naDJ5QjX1TR2IKsJXGz4KHBMUtPD6y/njG/Oh8Ni/wFYuha6iY3392FuV8qYI\r\n/zy5GBGSoQ94aQIfC+8w72t3D/VY6wheqNdKvKWxBE/bg6e6dqQLnBIYq7UP\r\ndY7Lsx7SAg5r1x2Xumm12TVFVrF00Ud3ewGS0RL+3M4pjj5V4qAyZ8LaRU8r\r\n4t7zFg3lOjQzjDyjUvN/zukL4cXXxrbaWxVFpCHug9Q+8cSyIEcW6rBoLynZ\r\n4uIo/1LIRdvDFTd85nA/6vrp0iYKMawbsqY=\r\n=oP5+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f6a055365e94998203e9db2d497cf0f5743561ec","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-03T21:46:28.581Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.3","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.33-renovate-typescript-4-x-f6a055365e94998203e9db2d497cf0f5743561ec_1654292966154_0.806397154849182","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.33":{"name":"@balena/jellyfish-assert","version":"1.2.33","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.33","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"814ce813cf2451a2b436946f4a56a17c572acf7e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.33.tgz","fileCount":10,"integrity":"sha512-X7KPMcMn0fifi660B6+drUhwZttjnZxugEXgiEb0j2KAoENb9dhLcO4G2USCYKQO/y0bMLV1uvCL0VLDPpC7UQ==","signatures":[{"sig":"MEQCIDy1Ulf+iPwwrw6o7iQpmLea3ADnq86BqsGpm0xARGOLAiAw/b2RVrU/v/z3lVnbJcRH7Kg0wg+hooIFrRDQ2HsT+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimqw7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmodhg/8CTpjsw0SWtuZY1e9acb7jZQI+H2CpU1h1Tr7e3+umIrYlMIN\r\ncZ9BggYDLRACAKes9i7LqTBOdyueap+QPV2QhpW3clc3cVYHx0iNMkzieiSX\r\nu7PljY7FVt76NjBKBxye9SIfit4To6snbcmcLlyhA+D2L0Ih6HxEGnGJaBDC\r\nzUqdfBnK8oFrILyBE+yjgZqIxRrGBEBJoQ2unrqS9mA/pN7zh8xV82+/7Qhm\r\nnBR4A7nIaGdPL8IVDc/LC+7jwE30cHVTWe+9h1ujy/+VfgzFalh3NuGLPCms\r\naJXt9emuSb/jV43EKUHki7/XQP2AJZe24xKpHERFa7CzZ8ITaq2xOfKGkuCk\r\nbDokoLqZazoeUu3xZ8P8oPyxgJoqUq857K/hI+8gSnrj1sJ0FBsQX8TTDycE\r\nAZjBPqOqB3hE/DvoXk4lc3d6lhBSzjVoOgUBveTbXJuHgM7hSd5n2XLXSksh\r\nPPl/Y3+GS2CJIcw6YteXuALFoPUhBsbssysi+xAwbiShS197Ntqf0SHEv0KJ\r\n7lRfiZu0QLbS8aWftiDFjgYaDT6AyDZuC9EuLAxofk6ObyolD35elkLh6Ixc\r\nors6Qx/oHWmgtrudzTsWLCnCzaKIQOH844OPRKTAf+KDFpWk2qavo8wAoQjY\r\nSh1z+aTsmdXWAoYPc8OyxBto0WtHuEIDkTM=\r\n=PTEE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"85a67d4bc3f2cd6407acd5d5c1751bec8a61c1f0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-04T00:47:35.007Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.3","@types/jest":"^27.5.1","lint-staged":"^12.4.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.33_1654303802967_0.903287061925943","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.34-renovate-major-external-major-c3f563a37ec45c5329037cc704cfbe7388069715":{"name":"@balena/jellyfish-assert","version":"1.2.34-renovate-major-external-major-c3f563a37ec45c5329037cc704cfbe7388069715","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.34-renovate-major-external-major-c3f563a37ec45c5329037cc704cfbe7388069715","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3a0aa52cf1b5b53b94fb4df013800b16a443cdb1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.34-renovate-major-external-major-c3f563a37ec45c5329037cc704cfbe7388069715.tgz","fileCount":10,"integrity":"sha512-+bDCRKmVJvy7vTvjopAHKnGNhgh/sTxCwnOOPjvNas4Qj8RRbMFztQsNniRTKn2nlo5v6wbqY6QZaVymiQ+k9w==","signatures":[{"sig":"MEUCIQDhgc8O8fcTcQPEJlb2/WOTBSEw12Wt3zFs/JHxqXtdxwIgUoMYJCpgRjRz6yRPsgimU/wjIicbVRgTioGXvPbwsVc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinJlzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrt6w//eZ56ETZXOklPYSu055DIXsjbQLnQUGfeZ3/SljLjtr1HBTPR\r\nHrJBf1wL7g2Sv51RDbl0NgQUwzkXjDEM9C75SWDsTdjmdCeH/kk++7jqFMoI\r\n0LQBqHo7j4mkWEjjHs2+hjIQuy/7vSxNsxyr57dlKZsz+T9Ntpt/zW6OldhV\r\nqZBWCUJZKQmNS9Upfb+7UBGkisoXaYV9RflrCv8FMVHq9UTHahZ+GfOumw3B\r\nPtrOcWssjFvCdq+ebrnJukakpLbzQoUsymxo2kl7mLqyv384siJruRAPjK7+\r\n8XXcO8t1PyYEg1KQX1VqgPDTRS73bCOoZ9sMo9J6F94SHOmf3ONj3oxC6Hy/\r\nPLry2Myd0reqTOASdkMLbAlM7R69u+tOw0XwSfQS9F8HDYZLDBNXnxGgRPRp\r\n137xkIrm6TImvyC7tDC8rDo2qNy46tRz/x0kE32kzZecmDmgA7wVXWSU3ej6\r\nSucldSgiZWY0GVT3d8d16eUsJ3wueS+MwMr2+KH4opXJlQnmYphl7lUrOz1n\r\n0ZPg+ggM9zin71/dmxZJRT/Uq2OEd67H1zKeM8tojUchV2x7FIOAYPF30m6S\r\n7S/yq6qD/J060rJxNCwEZIoSqu0HVaQ8nNQKectMVcWCrvaRJOchaJz4GTXz\r\n+ujhe5ypIaQGu6sHgBzOst3IUR/4LXXOguI=\r\n=fD0s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c3f563a37ec45c5329037cc704cfbe7388069715","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-05T11:51:31.211Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.3","@types/jest":"^28.1.1","lint-staged":"^13.0.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.34-renovate-major-external-major-c3f563a37ec45c5329037cc704cfbe7388069715_1654430067382_0.8530460376097073","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.34":{"name":"@balena/jellyfish-assert","version":"1.2.34","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.34","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4e354db666b40652a44bcd422dc090a5a7eebb46","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.34.tgz","fileCount":10,"integrity":"sha512-1yrBu4PdNCA6L0n+MMmdLxjb5sWmRQxAfes+M96uokI8CZ8/0o3mBg2OokSL2lW2VSOIe6ykARZqSGLzeQJtUg==","signatures":[{"sig":"MEYCIQD0poii2zp4JRoBraZnU2O+lHteWEulPcNaV5SBip3FMgIhAKPlS+X1QQ4ZeGWnajvl+SOHqhixJwfoF4pFMht2n0CR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinYX2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrnbg//cWIION2+4W90avL4VQA5yIKU4ESrcsyTBofa62VLwiIpzYwM\r\nRT988BDeNydUtpclJ/ljTI/AmENqHJMw6fprWZcPrrB/66yyuEEPLqsR2lki\r\nS4k02hIqXiWNqG/w3XfPQbsNbSqTalva/FeUOAxsZPLxWsdbsTp1ClOJNSEi\r\n8VV5Jzd4YIWZAwYy9oAk9r9DmqRLPx11NQZ8hDaYboDMzbbU+JYOb9xkJSkx\r\nfH6f+irIr22/swu9q8NhT4XjEzw41MNK2oBFGrJcPhv8f2rvkhsXJgnhiV75\r\nVH0igvnC/f9GP4fF7+FSPKfiCvcpJ2OtgSPDuWoJ/eNA80owuS6FGvLBnXf6\r\ngM/xsSgdIIGfpWq+4XipW48N39/9HvdyzqTzq7xgn/gW8qO8acujqHSkGRSW\r\nnyCMIBuemFMg+jZiEsJRUm51ci2URuU7Uhmgqoo9vGxZh8TpJ/sTdPsImxuK\r\nOlBVOVTNfgljvunoVLTckMb3fpvd2ACiyUgwE6wKUIoV6895Ck33e6NwOh47\r\n4Gh5UTUs2FRQjICnd76lXXDfRFGLiCNp3D/A16Kdg3+WcR92bYvpvWmNrZkk\r\nfxh7ZOCPmJLjXdCUICfsD2KSvpB4jw+VfyoaoWvvzsPwBnDpjFDLv23oknZt\r\nA7sTW3+tRav/AJ2iRtTqNiGnTdGldRk89mA=\r\n=5Jld\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ff5beaecbcb67f98e15d7c163ea43653524af010","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-06T04:41:50.643Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.3","@types/jest":"^28.1.1","lint-staged":"^13.0.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.34_1654490613969_0.5261544301333974","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.35-renovate-typescript-4-x-4c8cadf61e797c7e04adefb9fb9b3405cd8bcd46":{"name":"@balena/jellyfish-assert","version":"1.2.35-renovate-typescript-4-x-4c8cadf61e797c7e04adefb9fb9b3405cd8bcd46","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.35-renovate-typescript-4-x-4c8cadf61e797c7e04adefb9fb9b3405cd8bcd46","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"10decbd86f3a64d359ae41c68d604fc369d9d407","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.35-renovate-typescript-4-x-4c8cadf61e797c7e04adefb9fb9b3405cd8bcd46.tgz","fileCount":10,"integrity":"sha512-vraxfUPUawS8OtHKdZHx36/0i7PHYTDEUi/esPcZX1bhE63uJa2I6u/TrCPss+XMnreZD0XZOqT0GB1aqVZ4/g==","signatures":[{"sig":"MEUCIQDQOLe0ZqFg8ESymJptnD+xjGhxyqMADtjENkw1dHTZMgIgEUrNZLolM8q4AETcqUeTUJYOsoC3GRRCCM/9m6gZd+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirOCUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWNw/+OA3YmCNr51IiWLhMFzafPIYogqr1Y7fRais4MoGMkRWRrwr/\r\nE29pr6vdZy8G2TInYKe+adirbPpJKMZLn6ljD49kML0/kAlrtjEwDbPeNJlr\r\nEu6eWWmau8YKgAfMBuEucAvyjaSuJkFHeWM+GvOp7k9HfJ5FKzIV4aeVQhwJ\r\n2oiVGD+rz5ijikgbG0fTNb+jjAsuKV+Z3NHmIl02uSoAGOAdJhKUAluWQTz6\r\nmuKf80pbXyQeEmhMziohMSPB4/kpJf/54qnYiPB8IEMEXEKsexSCH6tfsDFp\r\ninSkANL23ZdTa647H2XWDHoIs8Tbiir/JdNLJHlYiVoGJ8w88LFhlswuIesc\r\nuT9iw16iBQ9r78NANg6jzGMgfLif21ZeAoE78i0B7kBERlJF+RqK8Ca00qkJ\r\nlKM6Yk8aFhYnttGkCVSjAXAX6jC5HJoB/NLLzBKxQ13gtrA7YNXr5GShylNd\r\nVJ/hKWbePi1tnrbzsFM+P1fp00mm8j236/QGcr8V+8giO9VCOIUMssYef1uG\r\n2i9L8s+mJ9erU+EuL89LVCJuGmnona9UnEIFADHvLI61Do6Z81PM6SLVVjOX\r\nmk3Me6Q019QHT7aaCYfUa8pZaDOur8P3IuZD5Mlc/LPY4MtPmN95GRHVgX6o\r\nylh93xSYf1DrGnlf50IWv9PaVDVCpKyk8OM=\r\n=yG0E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4c8cadf61e797c7e04adefb9fb9b3405cd8bcd46","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-17T20:10:45.707Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.1","lint-staged":"^13.0.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.35-renovate-typescript-4-x-4c8cadf61e797c7e04adefb9fb9b3405cd8bcd46_1655496851803_0.6661945411742229","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.35":{"name":"@balena/jellyfish-assert","version":"1.2.35","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.35","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9d037a8eda090fa75af62d3476247af60a3b834b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.35.tgz","fileCount":10,"integrity":"sha512-WfXF22UJKpq6mOOZAbkOnnwpBA71XoxjqpQvFvxeUqwJTRsyH5pJxzLdK0YxdSoykTBBKwRu92weZwME08HDIg==","signatures":[{"sig":"MEQCIA0xV9vfvsgGAV33Mk2eDvhFkh1hzuU0isZ2+NbgMvmZAiBZ4s84c3jNR2GyTvcjNvdgOxpPyuqBgMOVidiQltwluA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirpotACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0rQ/8DM5fH+R3EYTnvwHJpRyEcGEx0X59NOodNQwtsdPLXFGm2PrG\r\n64t0ZZHIGEGXZZU2v/Zo3BV2iHW6mbDRTVWQEAdv54M1uLVpUWYuFge3B/sB\r\nfcvqHjsCQk1GZs1MGVSIxPXB0tullBGGFH+wGiwJokItKsHPBhDkBaIYpV6q\r\nqhi8XTrXYKAufVL8RdWfi+49s38e3oNjZeEPkVZ16hXEz63UzwSaPQ8QXj0n\r\nQvgx5RxLG3Cs3pIzLyfsGpMEsFudZrLymntpvIMg9kGWwaIA/LQWuS/abc34\r\ncATWwK7jH38FiSImDCAUeZmPfrNEdscxaT9Z2t5m8YWYFBY6Fd2kPVCeCX8V\r\nlR+zgrijKef1+EUwQO/R0Q8pfZ/B7PdxdJ6/yFYnLxqStMU6v7zk4EZVtf3n\r\nlD68MQ9cWO5+D7P7Z+cnKeSlBTM0fiMiBiWix4z8uX4lJxObjaJLHe6ZP6vq\r\nkcPrmvYLJnidKQDhNlMFAaH2k+WtkviAK9f+tl2iFwxTWDVDO8fBlA/+k7Ue\r\nPMh/1wAhZak4+nEjNq1sOPtwr7vF+WthHySzCBxs/D3hn1H5fOUMsvSGoigR\r\ns/7Mg0gnk66LVy99Gljcjzpdt+YbGCVRttqCstHX0UVrYtJBlJP11wNNIRuy\r\nEDj1RN+ARZwkkshOuvVkejyRICY1ao/8VSU=\r\n=/k1j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a2723fe179d0cdf5f4aee5db0dad7647cfd45862","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-19T03:35:15.616Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.0","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.1","lint-staged":"^13.0.0","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.7.0","@balena/jellyfish-config":"^2.0.3"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.35_1655609900870_0.8809007866917773","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.36-joshbwlng-bump-deps-7f9e51aabd14dd454652d1595287789bb0273bfd":{"name":"@balena/jellyfish-assert","version":"1.2.36-joshbwlng-bump-deps-7f9e51aabd14dd454652d1595287789bb0273bfd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.36-joshbwlng-bump-deps-7f9e51aabd14dd454652d1595287789bb0273bfd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ed9bb5ad2958ebf29ecda2ddb99a64264cb8536e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.36-joshbwlng-bump-deps-7f9e51aabd14dd454652d1595287789bb0273bfd.tgz","fileCount":10,"integrity":"sha512-5PlfOUIE++ZsDY57vuFcsUJpHh4LtTGnilM0LrDPPFSF+AILEa6KPM0hhHXE/ONfd+J0SzqyrnqJ21T8BMy1jg==","signatures":[{"sig":"MEUCIQDeolbK7Uf5imUK9s54BLI49jSLKrGap2VOXgP7U9k5EgIgYuIGJqHT55rtEkVRUN/9DzZCetbAJXFa7kEqDAjwa8k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirqAdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr30g/8DO/z4udblq70DZBcclJlXtwFaaqg2f+Zo/CazXBuiL28q7Xe\r\nv/31ftkT0jx1hVRFbcTsuCpN94Bs1z2tX/5PdBKboJKWdmjBFj5NUSwxsk6b\r\nsqKWLz5h9wjT4UrwCAz5uo6XRkguo0MW+82+nrHwyRo1vFVD0VWWwoAiriWZ\r\n0BOzNu37rMVIAQ3XOWy0sfx1tSeW7yYeGplG32zv+7f9NCyFPHPnKJs1pHDS\r\nSBrEBLICywNk9J91Atm8JvaIwyxmxKmd2mARjpOWRZCQYtGCwXdwbZbfubZq\r\n1kGDwSg5DHuVI++D6x+4qwlypAiKs0q+GbC845aLOM0/J3dqWuwKjLhdR7EI\r\nsBNPcu7m4xOnV22XoqZhiRUpDPi3s0UA4s7dmTJU+cOMQUh1fFw8QCiBO2wy\r\nwTqFli8yKJf6iBwU28uZcNKMZiQ53gI7alhDb1Eu7SFXNtwFZWYvQ1ONs4HI\r\nWsLQ93vPsSCCl8kyON9jNDOgPUvsHPUsD5IW0GI7LTT71bZjcFyoDR/m9NsI\r\nab/6HnGHoI/ipcxqC0R36aACGThc0TiMlOnvCO/Trs36yG7xdkpevcEG5UfP\r\nNfMUMcFKO1fXfhHJU9tvRGbX8I1HXh1BMHrNkJX7xyG4mm0Df1lE4Ne23pA7\r\nCkI2hVc2B89yQjRDWB3OoR0PQxExFgg/oyU=\r\n=6dhC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"7f9e51aabd14dd454652d1595287789bb0273bfd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-19T04:01:13.175Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0","@balena/jellyfish-config":"^2.0.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.36-joshbwlng-bump-deps-7f9e51aabd14dd454652d1595287789bb0273bfd_1655611421282_0.6850298129091212","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.36":{"name":"@balena/jellyfish-assert","version":"1.2.36","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.36","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0098f35d9cc54e7767f42fb945e37db59706d1b6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.36.tgz","fileCount":10,"integrity":"sha512-9soaBKiZ0rWDEezkqp/fq1mp0W16y92KO4KSpaKLv30xWOtThwja6hasA1X/kKyBOANmyGbYPm65LGl+khGh6Q==","signatures":[{"sig":"MEUCIQCTMdHL3WD9DTZDiFhnSbT1ITOdFqZKw2H0RTHupZAjAAIgCxl9GJPyV8fCEjQu4mgNdQQXIZhbQnu1URbAWwZtoTU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirqDtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIiQ//YQ9iXyPTBnJfWKL94N3mpj6MDkyjQ1IO2zRkjEMlbs9T+fmD\r\n4hWR4lwNJXwz11MxGrugG34CNJ/gKgBYWsKMqs/5Eyc+g5qL8n2djV2dqi+s\r\n1vM+ChoestD9C0Hem1ceEDsWytyHjnmMEVJ4I42XZj+niqu7rtUWLQjR2p4w\r\nIB56OUOWEerlhVjEethCUrDtJkekztexFxWX25GXMZLQtfZGqi+uiNN0RZUY\r\n1fGlA9xz71O7s9jk7Bo7IPiHJMtj/1G8bcHAmrlQYd92Ptyykgv4r1fWck3s\r\nd+Lt2CBaHGJAIBo2RTaza4CChBmUMvA3JbDmPIk3axglHXhKaOj9yEYzyEtg\r\nquHWTAGfadbDVVzB7Gi+RkWmUq+0ljbmegflzo59bBS1HjDBX55Bhb1XavnF\r\nLYa/ms2TASJ1JK2mm5ETSAR1BzLC0hThXP8uM+LW4NMFSFU3PpOdg9v502j+\r\nourfY2gT24LV537Q6RSsjMCQYVhlYW/QhImylH2d3TyPjp9rSB/4L2TC8py0\r\ncyZjASMh9Z1qCLTrgIuAZGRhlV9ObwB0A3/S4vGIpQ+R0fZqTUrt0tEmakXY\r\n6RwoWEwaoc3LRm+zcV3bd6THTosj4hcy69wuVkLrYYn/GdnnV8QU8MyELlem\r\n2Yzl7MaSfCsikwvQl684/j9ee520TpNzZg4=\r\n=n6WX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"be9a9d27177bbde46e3eba45d35cce05529d2631","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-19T04:05:13.160Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0","@balena/jellyfish-config":"^2.0.6"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.36_1655611629036_0.5511668774239318","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.37-joshbwlng-drop-jellyfish-config-9435312665179533013437d76f1d4a0c5cfdc5d0":{"name":"@balena/jellyfish-assert","version":"1.2.37-joshbwlng-drop-jellyfish-config-9435312665179533013437d76f1d4a0c5cfdc5d0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.37-joshbwlng-drop-jellyfish-config-9435312665179533013437d76f1d4a0c5cfdc5d0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b6b83d76b1549c99ed1ba02436f7d4260c63b869","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.37-joshbwlng-drop-jellyfish-config-9435312665179533013437d76f1d4a0c5cfdc5d0.tgz","fileCount":10,"integrity":"sha512-EbSxGHhJYcDSoCgFldS7IiN6CJYRYcMONOFw118w3SRunesQJhRQb0mki2iLta/nmMJ9rBf09yC3Wvuo154Zhg==","signatures":[{"sig":"MEUCIC+mQRg55O2G2EYaBlx2KgX62PLFBoXQRcSTcv4B6p7yAiEAijACHSAaolpw1hSszAUe6oK5TdfXTt1A5YWyHbxjc/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirtDRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLhg//RzQMwI07OX09cPTEiVDLZfkMPBURrtcZaTu3+t3jxYlX8x4x\r\nJzS4nZRKWwjVNgVNNI7lqK/K+M5J2mCXLeo2pT+48H77YdRr35/JvymnyWi6\r\nDAFZXHfw+jtZ4ZXlaglZM1qa64s4chqAS/9gALh6CYkFjl+TI5PtdEcryZdR\r\nwcZRa0DLHqhyOKQUkbRgb5LoaadHTAzZ/1WF52ndyg2FHsupyuWVxQV0qJS4\r\nzoutQNqOhgw37yjBV7YW9SgbMr4ZqlegsCd936XxmVfy36egPrvRSKEH6tKe\r\nb+QpcnarPpFf24DBB0fVq3WBDvprLrtqxSZqU9vv6CK5qiIAxW2Pl1hLHUgx\r\nYAU5UAjfJQTCg5uO1Pp6RUbNpUo8UHweqmdav//7SFlBTKPKDO70SEUdYdKO\r\n8NzSGvJk3gWZQfrTgmBmWT9h9qx9sxn0G5MT+Sxqp+AjLchJi0RtYD/nmAUE\r\nXJVrlisumoiJGLI1hXAhNmr1nvZ8d+qsN3TvWrZDyi8aDuYEXEUE6y7S6oLu\r\nkxxY8RZVCqAPWn5Z7iBM9OMsSLMwudTF9Xi1CDWRNJxux22hof7ciE42BLJS\r\nRKUhUQY3iwRf/yRmYFOK6VkwAWBmgRWuJgCGgiabVNJ1jIayDyhSetWmfaQl\r\nQ2fLvVco5qF0GisdfirH9dV+5mKAT5Sl7OY=\r\n=Awl1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9435312665179533013437d76f1d4a0c5cfdc5d0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-19T07:28:51.313Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.37-joshbwlng-drop-jellyfish-config-9435312665179533013437d76f1d4a0c5cfdc5d0_1655623889214_0.6620576176410815","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.37":{"name":"@balena/jellyfish-assert","version":"1.2.37","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.37","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7d3b1ca094ce39c20a8ea14ecd92949960a1fac1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.37.tgz","fileCount":10,"integrity":"sha512-ybl8oqHkrhlcWoUvvwYpZQ5ETgVY+mbwqLqJOEJcdQLdLquIFeLCpn+Rme7JtQmihiEtT3LLvWthNdZnjdbKIg==","signatures":[{"sig":"MEUCIQCCl6iVjGGdx//YGpPUQ70n7DhBke/ukxfKNmrV8ZhNcQIgF51opXFMifq1NTkLdMvlGoE2dc05jfP5DB/uZnTTNjc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirtKpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJhA//UQIQ1Mq+fX0msYVZZoKdfLwsK8iWp1Lphgqqjq5TaoEtCd7B\r\n9KOtz8HYWF6Jiqo7nLkV+/RRx7pXnKfj8UA5lNg8xf9Ae8jbTXDfgJkiMktU\r\n7kk5xIN8qzOc+dWiFeZkruts/ahV8eKG3CjWJVDSRnYJ7u+ZgWzWhnCzI7Us\r\ntscmxrMwqqwZ34WQXGrMJwqeiJMEKROyLgkSQzHdhRPksXlOc6VIZANi8OKX\r\nYdCNkqY6P7BXneJPbDXBSTlZnCuEStsdqCtEXE+GxuXp/AFtT7rLcF/+eoi3\r\n9TUOW36wNc6PB4ANYJ2mAXq8e45wAsQVUR+kdDWR/xAT+HZ5hFjYT7aK6vRk\r\nOWForCiP5kkPzXCtC+Vppnyb+GG6mbnqqQ0Bvf0MHK8qnqoGc2O6e9iTSklC\r\nIx+BYrI5Y63jSGG+Svb0jCMDNqMxmdbFkTBB+dsVt/COZYjS5ERk1WvkzVgg\r\nMRd4htxtpGpEOHsRmn6K86cMOVrISNlyp/3KfiIWX2BFv/0wslcav5wj02RN\r\njosJIhOU3x53n8e6CWNfhiUxabWzkeNHmvKqu85fi/q1yTZCCfw9VldsdzX0\r\nLa3SLGQhW51K6uSGViyCwO/mkcwLd9MF8ZP2/eW5aCXgAirK+oHXFd53xhk6\r\n5UYiNfey2FY4kE/cOWQ2fIty2V4biT9kML4=\r\n=coEJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b180e55a0fb1686a663416a3d1c35b657c9459c0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-19T07:37:14.738Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.37_1655624361537_0.6828642762047639","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.38-joshbwlng-drop-makefile-f289a75c2a7a529a3b268f90ade27f49718d0741":{"name":"@balena/jellyfish-assert","version":"1.2.38-joshbwlng-drop-makefile-f289a75c2a7a529a3b268f90ade27f49718d0741","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.38-joshbwlng-drop-makefile-f289a75c2a7a529a3b268f90ade27f49718d0741","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7f3e9ea8a161f298adee0874b4c6f653dae2a1f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.38-joshbwlng-drop-makefile-f289a75c2a7a529a3b268f90ade27f49718d0741.tgz","fileCount":10,"integrity":"sha512-IuxQUtWDdkvpwKcLhc4Rx0FvkP1qcyk6Hh/IzpACAc+dkQXp7261WqjP2D6ZNQljHCvpRvUky4pKEe63tRgy5Q==","signatures":[{"sig":"MEUCIQCndP36xNv3uuW7R6Iwvf5skGFrG9i3HJE2A8DHDVelvgIgBcE7MpSbEJaxKPIdEVYEFGGdvpFaER6yvk7aS6XKvvw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirtPZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDdQ/+Odk+amd94n+VHoLRNzhxjmFMb07ZkMx14pzlVg7Fhbn85Oys\r\naiY8IVyjXgsHWM4/qPZljUfU2E5BTl7cf93dSPooBXcfWz6gU1OC3tTezDTy\r\nGFEhY6MkoO8oJTc8SAtbHHDbMoMBBw4qXmTO1XjNO8/gKTdv9Vg/DMfY7Bjl\r\n/qZk4fu2XceVoeKWasJzO9Mm94PqlzX5ZdHfLnQcqJyAcUmAp1/TMhPtdSqp\r\nfbrisObiAVsxO6Tu+keo8en291vKEcZVyqRntjmsT+9sUxauJ8t/Zkhs+AQp\r\nzFFuQkPzwj/SLZzrKvq4L3tVfDVNY53LYTTQaQxF5JuBsuKhgTaWybsAqM0u\r\nEWdikVt2bYnyCCNg6NoVEYkjuik644+7P86WKoLrzaAG4EbA281bCn4+HIYd\r\n6lYEhNORSL4KkAyTmIH25nnFccTssSoxUyN2P5EQFFdieHxsE1QgecSip4+i\r\nIvaQFPP/+7crZ4/KeOEaJZAhBgMVKR8Q6lonSTE8QVOBy4H03dja1bhCwHX/\r\n7zwvtE0gCSQD7Fp9j8F0FYIg39UJhpNpslg2cJ6hi8tFdAAvBFymnBdH/Gku\r\ndw7BZC5BT3ys+iJHy+XUYxCG884xiHRN2BdaMdb93JcB/L8GFbsH2AaZ/Ymv\r\niUC1c3I3xu5D9KDrEpylTmMb7TbWekAYknw=\r\n=icwu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f289a75c2a7a529a3b268f90ade27f49718d0741","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-19T07:41:52.585Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.38-joshbwlng-drop-makefile-f289a75c2a7a529a3b268f90ade27f49718d0741_1655624665545_0.4236400488880898","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.38":{"name":"@balena/jellyfish-assert","version":"1.2.38","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.38","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c801f9b6f5889d8ec99aed1d11885b5993458bc0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.38.tgz","fileCount":10,"integrity":"sha512-6d1TLsBUNTfQ9qMCSNhWmfZymWFAJV6H8lTfPYvQ+ceXcE+zzc06SVlOQrehmSOgeYogzWilFsSJoYquABmE8w==","signatures":[{"sig":"MEQCIGSa+ET+zYrUkiI3uuZW1wSyVzBs+zOk+pOeNUd3sdPHAiAfCtgmZygbh6s7P+4M2fhP08tiMRJ2QKK7Hz17Sy8lcw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirtTyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoefw//ZO7dRuLDDcOfZKjf43BBOx82KRmFGvRTC61jf6Q1RkpEq5yz\r\nXDRCW2oN5GGgKD06vl1V1cHCsHrX2nv9gvUyg6J1S7Cb0+Z3ypcDKCoAh403\r\n3jr+b6kWSHYJsbfU6oSQlXZq4WcPJma+BwsVT97ylWDmvUEwBJQNtO1uI1R7\r\nFXR4BcLHq3VDBY3U2rrHwLCz5/WVyuMwiRTFOk8wC7VrsVzuJjHVLDNRvbY/\r\nrIWoGyGmqrSjRs1kYn7p3edVDREg2iFB34SrINHs6rXHP6c8rHge5oafG92b\r\ndyBbYAsANQEuchup3eoRm77O6nRv6tnUX1XbGnzaEhWM4obi0xXDz4mxZgXv\r\nMqfALHvFaC+FwTvaNawBGE8Ad1DVfe1rDu2SP8wFUalGyURBZRhWhZMR/kzA\r\neZqJNestR4LwhFA8u1BojFkVDRjV5X+r8WyCn4bV9kMsjJhV7lFu3mAn4mI7\r\nF9FERGKxg/L0I0ggTHoqrmhcFJbccq7QgKFN3nBtcecGtq7jcOYDyAWFnDOP\r\nLBQDvnOKuAF95K1wIOCGLQNeSCflv8yvPOXFdmKp+l+lmLgLfVR1238YGULG\r\nza1A2LJOkCvdYwSWgNOTV5S00r9OBPfWjucT6MqvQpb0RVHx/lv9ozHe8RhL\r\nTrojEYEHd63/TaNZIErXocBS++l2OsE6J+I=\r\n=kqmy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"dbb5a93dbeb1ba431f7afd8031f47cccd3d6f0f4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-19T07:46:24.343Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.17","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.38_1655624946292_0.6082863909044234","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.39-renovate-typedoc-0-x-e82e13d514d4aeb6e7edfbc606119173989385df":{"name":"@balena/jellyfish-assert","version":"1.2.39-renovate-typedoc-0-x-e82e13d514d4aeb6e7edfbc606119173989385df","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.39-renovate-typedoc-0-x-e82e13d514d4aeb6e7edfbc606119173989385df","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8e234a6b0e127e75c83d32a8d75d9987d2d16810","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.39-renovate-typedoc-0-x-e82e13d514d4aeb6e7edfbc606119173989385df.tgz","fileCount":10,"integrity":"sha512-TCFJmEsCCWM0Cxpdtzm+z5hB5mPjT7oZJF9NyBjcxI6cE7KoCj5gR2YqymI8WsDhkrzNPCwoIP21U/BmgXYRMw==","signatures":[{"sig":"MEYCIQCh38LvhKvw8JCeSdxJ/VUUfvraxyiy/AQ6WcdJMbgEsgIhANuVMOEEtep0onB6QstWW+czS8m2Bac5GRWiYY7rhmUO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitnQhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpT9Q/6A6mjooYG0+RDj046LsEExHeCjQAoVOSm0UURXFP9+EN/tPIn\r\nF3wavNg5S+JhvUE5ZJQqWpxDSjGj0PPVK823neuM9VK7K9kLJc0OgOB4C7RN\r\nhk+zvIaoV5coVMfDptIG8rVGDJGr6yjWLMn58sVk9mlpOVGhHDm3GckPUA0C\r\nxLAs08GeA9lRsk7BIQjPpJDpzzeHVwl6oH7279l7lSr0Oy8QVF3DsUmKqqbO\r\n4EOgjocwh7hEd8RAREpG/sDzXRcjSl4Ste+LCm4mN9Jq7EncwDRYVLkpiw4e\r\nV1WbQHr9uMP+qDpoCrZ6Meyqywpq0BHMRQCgHj4b5OU37+GZYdBZSzyV+Smc\r\nflz36QZKyQN8dNjicjPaM4QZlA0X/qqE0ZNvNV2jcubrOzGRlMUAuHjGsBnc\r\nGGBTVPGDpnruOoKU7EJIN54Jo8H7e0VoLIiMoT5TOJsW1oeCpaFHDCc5lbjV\r\nYMSKDDop6KWdZ+ra3lCoEPnRrxZnwh+iCWfuEB8hufKNCFQ5Xndh6v/4bbD+\r\nccUm9bGmwyYUH4tivlRyT99LUIWRNfyV3Ivnth/hpYU1o6XmCD+rQucw7lAk\r\nwxcA5HR4TP3AVw//O+V4xdcb6Qs2EZUrd6iZv0Zxrrn4y1PshmClLbHBPbVY\r\n2DJKYhvH4XpSR5hvBEgbxnyFuNLTu8MrdJ8=\r\n=d7/0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"e82e13d514d4aeb6e7edfbc606119173989385df","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-25T02:31:08.629Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.18","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.39-renovate-typedoc-0-x-e82e13d514d4aeb6e7edfbc606119173989385df_1656124449770_0.11633129971342182","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.39-renovate-external-zero-minor-3a62710a673549dc0bee3f5f890ae35c4c87fffa":{"name":"@balena/jellyfish-assert","version":"1.2.39-renovate-external-zero-minor-3a62710a673549dc0bee3f5f890ae35c4c87fffa","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.39-renovate-external-zero-minor-3a62710a673549dc0bee3f5f890ae35c4c87fffa","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f3d8f01aee4279668d1f415491c03dc4d5acd62f","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.39-renovate-external-zero-minor-3a62710a673549dc0bee3f5f890ae35c4c87fffa.tgz","fileCount":10,"integrity":"sha512-KdyJGGqjvnF4vimHOPBG+AnGaCi2OmuVB7Qubh7AI+T1BzV6Fiq2tzb4/Pdwp/ptb1UGWdVy2BGouFn/EaVyfw==","signatures":[{"sig":"MEQCIGu9CLtn3FxbI54WuVcMFiPHF9784eB5uUaCngp4VlYhAiBzJ4todA7+3UjD+n2ApiMir7tJCeqqNTCM6irTUB0K5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuNAaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRnQ/7BVueH60zwnBm8YdvmJrb86t+AL/lg0Fh41ghj9DpACvr3pwa\r\nxQ6bophq+2o3CeKRNRCSLyYv67xH1oqBfNN2zBKr7kTQKCy4h/rLWtiJVsST\r\n/Gif4AgtN7LBUx3dpKRZIoIbgYOX8QYQ2lKkNBHV07ir295jqGVczheR61ji\r\nAXLeHTxjiJRiJSMuBP29dN4tjlSC0KSE1nwwORbioKu9aJOBcBvcPjR+KtGY\r\nHX5ox1+c5EyawAqjnR06mA24kXqquzZ2ZN+i3Mvs1jv9RQgOdLYI/Wgq5YwT\r\nxQhA/iV1gec246+lpY8S9KModGjkQUtLeS3ETipkpWFEQ+v0sERSKfFeUV/I\r\n20NiV2zGjB1LYWMn16/1UTWfunu0J9th4GoHtAaPXZXfabzMl3RSE0jX3Hhn\r\n26c/CLqGA5F5ZiJacYS/9lFlx2+5uD9tmLERPYNIpWvfF3HuKiCyWv04qQoa\r\n68KfdMjEVrVr4d53GOZd07EEkG1/nH6VDcu7tQkU0VZQBkVN/77IW3+tHM1F\r\nKSiEt1zTSjd4oSMB55U7+8J5tdmJVi1nB/k9g7TPRYKP6KfytZfbWD1Vc0n+\r\nMX/qw1bFXxO1SoveIGYp6p8wjdWkj2w3nQT1Gd/6Ylj1mrdgZiDYvT2S3diV\r\nVJEuW+uE1+aLPsLULfJ7mseSJ6ikcgUwDx0=\r\n=wP7v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3a62710a673549dc0bee3f5f890ae35c4c87fffa","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-26T21:29:12.797Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.1","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.39-renovate-external-zero-minor-3a62710a673549dc0bee3f5f890ae35c4c87fffa_1656279065820_0.1442825908997416","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.39":{"name":"@balena/jellyfish-assert","version":"1.2.39","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.39","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5138419cfb6916c19d04a16f0f4733a4406f26f2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.39.tgz","fileCount":10,"integrity":"sha512-OqTx0HkDVhhzeK01B2BcgGYzmo3jInm5IzyzQ4uK0HNJthe1lj1vmqA527wgFd7qMk8OIPLM3JT3lK8towVCUA==","signatures":[{"sig":"MEYCIQCckJXZfdeX+6kSs9rPaZkVrREcdVgzogebL1LGWvRWCQIhAO1KcwnkA7ODzD29g9THOAKWDtcYeVg2SAdmTiNhfPKv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuOjsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsFg/+NPYxKP67MfUt4zgY0v1ZixmJaOWHSMrcB8pBksJkQ2lS4cKt\r\nhEIltB7QY4Rd+lwY0bT3WLGYbORJqCsXPcevhAGG/7cUI46G43RB37rtddWE\r\n74lxPFhwDKrJi6fj3rtdupgJ0GQe+FNSDO5+BpWMzfE6jUEIPkFzBG7aaTOi\r\nqpH64OyXrEV68ZHZWcpONuQhklfBjJbW1X8KYVWeBkOd0k4WY3f/oXg11w1j\r\ndUhIvUlvcNLsfmBa3z22pmMHqTJKT3DE6lwO6q6bt8yMzxf+R435o4RXyzrf\r\nAgNPU3Otq2dzASvD8lrBdzjlljNLwNcgunodjQ4bueT3oUvSEMLFICZb9SPl\r\nIsLSHX8NfS/c0HxwQGojA/DesTy88eqydv61xQIvZO9UT8V/qqDvY80r37sn\r\noGXiKe0b5wFoipEdIGf1Km7Z4JF99Dx5TGydSgOEgJL2qtjsOMHwwAzKwnNr\r\n8BXRX3oWyZFdLu51l/FZYp6WpeUKnKtdY5wNaGyyXanqb/NRIsgJ7Ez/t7xf\r\ntZHDtixJE2GF8ArUbUpC9N4som+Js2d82ieDEEwMDlDwOG9sdBSZX/RfsHYl\r\nqA3V7EQ6taFJ3V5YVei5ff+n+WETyPVGdXwShJZW6CDru28FgQror1Lcs+H3\r\nEpvYteT7y69a0aXFey2wTEB6PFufVH9vgMs=\r\n=d0CX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"ac0a76ecbdff5475401cd9e52ac966a3791672bc","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-26T23:15:03.456Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.22.18","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.39_1656285420580_0.2257100997830579","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.40-renovate-external-zero-minor-4862f9b71842d5c296a3dfa8715c8676c1a43c00":{"name":"@balena/jellyfish-assert","version":"1.2.40-renovate-external-zero-minor-4862f9b71842d5c296a3dfa8715c8676c1a43c00","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.40-renovate-external-zero-minor-4862f9b71842d5c296a3dfa8715c8676c1a43c00","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"73c5f78c9ad2b9bb75a9f6dfff20f98d420f85e4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.40-renovate-external-zero-minor-4862f9b71842d5c296a3dfa8715c8676c1a43c00.tgz","fileCount":10,"integrity":"sha512-Kkuw4e4KuWn3o2fkP9IlgoLoscFlJ35lzrWvLy8+noSl1o20/adwfAWfOxHueUMSpkiEHf9dD8gpTFKOiWz4/w==","signatures":[{"sig":"MEUCIQDYjwzSK7hcLy8mNVi1bEv7f/KbSWPcy8OduDiH8F9NAgIgDygrUtl5QrLmMaVZK0hZfPyFkY9ISwSTcxpz0rOtwEU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuOttACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqyA/+Oj2GdRmOt7djlob6/M7bHUNnGB5ozegCLiBpA1cYcKWdEex2\r\n96EhoeYoGlbmUb4+AHfWe289JHbT53NfitVus/BaYTnnLBzzqsN045+TqVOZ\r\nqRZU9BBmxs1aKKpUWfyYrwtiEo3nJ7XSiW0nUjPbAQdtwB0vnlIR1vO1Yqti\r\nKzSJKImfEDp6sVRFXhvddq1TtSt23WJv0iYksZfEfqKI1ZAD28vtoaYDyi/q\r\nHCB9PsQIRnUqT+hcCIx/qoH4aeKmpBhXkr7gyfV2wEy1xS8sYywh3Wo90X0i\r\nFlBRQK8JjJXvG5nHsUxizyjiVBSktbvdUImRbLw7poFDX62RUv6/uSr1CYL7\r\nyfT7LyjxOgnrAK3r5exFByXUQHL+zhvv1xs5zN41lHEo3Jxb+/nlJMj7EfXv\r\n/cJUNjBzKaN3QN3AmPfLRIlNa0sR6ViX5vJToEhE3FBFfK7QMDq5WQu/CZri\r\ng7cNO7yZ6MlLJ+gmHSseXvsYd+CjnYjDKtk3D4ZQJ5Kzzv+OiKjPOXEDZsaC\r\nlacwYl+kz3eJGUlZz7IUpslN+KeexkSe54Xd/D/FljCBZUmzkKx7kTrG5kYp\r\n8ouM7j2tZhF70SHxcHDCqsnpB/fmpOhXq9s+BpBSxopnhoNBdilHvD8s1ypD\r\nGKTpn6QOK5xbUyLHeAmkIv/fdhFEKgQy+AM=\r\n=6gv4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4862f9b71842d5c296a3dfa8715c8676c1a43c00","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-26T23:23:14.311Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.1","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.40-renovate-external-zero-minor-4862f9b71842d5c296a3dfa8715c8676c1a43c00_1656286061286_0.5384810168463916","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.40":{"name":"@balena/jellyfish-assert","version":"1.2.40","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.40","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"aea59dec4edcf5007e87abc821424fb5350b4198","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.40.tgz","fileCount":10,"integrity":"sha512-MKyspbELX8pJelB94lbdkQVaYDSUXvcStY9w76dPwqY/mCgAlsqWlOf0OixedBoyNaQYIV3gvGR9biXjvqvYQQ==","signatures":[{"sig":"MEYCIQCKuWgtC9T7NE37qnERhQ/exnq/IWhS5jNE4ID8PN4WswIhAMvwZ6SHjRIHEO5OfsanXs+MKpe+qZyl87Z6vy8li+Oo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuj6HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTEA//QW29CUvfxttJfPEkFohm/Tomip1PGuyQ96uAn5Hh7DI+7kmU\r\nsxd8fT3JGjpaqptA6SKMmtCKL/TlVyMB7biHnv3qdvu7jU0C1+djcHtthwnQ\r\nFgbVh0JMsL+hKx0g6hp7HkRwz+67cRPiFtbPSeTGsJwqlMonmolsvuEX1S2g\r\n5HhivV9TJfuQhXHJNP0HLDfBy6dpn2SxLhM0C5sVQPPYJhJq6swcdmu9Vrp2\r\n1wR0zBo+jCCdEIKMUn0qvCVD8fRNyQUv2/tm3zQycYb12s+Ik2vWV+RSLEf7\r\nJRMPVXUNXSrdWYDQkD3MIjLrA5fE9RJLbtx4HkEw8Vzlqh26l1TmKDZafPRk\r\nopYGWqQldP9AdvWhuYpLLxMvGF9/j4lEDjvV/0CtJdQIQrYWkM0CbMcQvngS\r\nS3pR1OcEMoyrF0py2c6Kq0exMdB3Oe960iQG+8fUeAq+Y7vQXRBoVim6niaV\r\nqS5B6HV0jMTTLvAPTvXbwOJFe88dulsma7MQJUubBC2iofJUg+wQoMg3pMK+\r\nzxpMd9XweKkgSIhxw8A/XfTQHp8Cio/9RIaVWAKWJSMCGdw7NwJA3pqQHHCD\r\nfZLNwDotQN+7P5E80uANSaDwhHEekiD45tlCgBhMenfWpyqGrDz+81mbaAIE\r\npD5Kw+0IcOD4P2vrUdhhdMhQCjnTUPwH8Nw=\r\n=mswW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"351dc259302f63b5c6fbf886d70f8b6183d7a9f2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-27T23:32:31.619Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.1","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.40_1656372871060_0.3576605873830343","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.41-renovate-typedoc-0-x-bdbb8b1ef805f1e39e05b9ee78cd123dc4bef2c8":{"name":"@balena/jellyfish-assert","version":"1.2.41-renovate-typedoc-0-x-bdbb8b1ef805f1e39e05b9ee78cd123dc4bef2c8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.41-renovate-typedoc-0-x-bdbb8b1ef805f1e39e05b9ee78cd123dc4bef2c8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"01f30d6135444edaee9fa8761d7e05a8bc6a76d7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.41-renovate-typedoc-0-x-bdbb8b1ef805f1e39e05b9ee78cd123dc4bef2c8.tgz","fileCount":10,"integrity":"sha512-YrjpNZS3bqY3CgY4bkuv032RUrAFNbNd7dSF0K6Fypod1HHHRLnm8CF3OHE6xAF7SiWlXag51i8AsQUhPHdHwQ==","signatures":[{"sig":"MEUCIQDuJUQ+1nnqYJ95kz/JIYB4ULERSjmJnDKxo1ECF1liBAIgW/SKJ+tTPC01IRsG1tc/7uTsGRs2KdhgpxYzMYjeS5M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42834,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuwV/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvNBAAh/joFqdZaiF7KQqRrzRhOgzcEGH3PQRDh8IuMwlENYedINfG\r\nnSOe1/lcvhVdPM1SxcKGsVvfK+6IIdiqrjC14KL04HFBizXCpT3wnk2iJEjw\r\nJN7gitoXlMJIv6N35Er4wPCf6QoultplXY83vYi/hUmv1a9flNhopIHVGRWV\r\nUOBQs3LJagm9YtjfHIOio1sMVZG1/kwYE2RdtJPq+Pk+PlwVlTOyxYjFER0v\r\nFzd2Er+SvxszAElAJreVqpyVXhx68xYNzFyVj9DTsXKJ/Bk7prgO5yWW3mzE\r\n1Awcn67BdGNLRH0jMs+AeREEgdjsTxbkJdA+he6RFtg4d794EmSOhPlZXyUv\r\nMuF3EyA4gT+wd1G6JV09ZT2DRANtiHknp2O06Ev8E17xsgrmHir4F+mXe8iw\r\nuNtlWR9oes0glDJhajWfcpaGnNY+NifYwRdXINbYOYZT2RbNIhrBcwARSS6Q\r\nqSAHDJOhZfY6SnImuVFkltDEPhXvQMkmhIQLdkXYB1fbSumOsIcHJpdtFeBT\r\nxYGPfI6Z9LgUdsmgPi0dhN3Tj4nqQRVG3Y2ZgDfVFzyVULntUDRywaEvxYyR\r\nkyshGLNhbpC5eZ8PaLCFKjfMJRtXiqLc97O3FhbhlMh5GA56VrpvRT7IxI8t\r\npKXNKiKc6Du5cXSJYTor6Bz5En/znFh7M+w=\r\n=KjZk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bdbb8b1ef805f1e39e05b9ee78cd123dc4bef2c8","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-06-28T13:39:19.501Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.2","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.41-renovate-typedoc-0-x-bdbb8b1ef805f1e39e05b9ee78cd123dc4bef2c8_1656423806964_0.8457514665584962","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.41-renovate-typedoc-0-x-1a087fe4c73ac1c7dba3a30506408f52bfd4b3a1":{"name":"@balena/jellyfish-assert","version":"1.2.41-renovate-typedoc-0-x-1a087fe4c73ac1c7dba3a30506408f52bfd4b3a1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.41-renovate-typedoc-0-x-1a087fe4c73ac1c7dba3a30506408f52bfd4b3a1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7b8bdce50d0aa83b3e218182b7cf30cc2a1eb649","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.41-renovate-typedoc-0-x-1a087fe4c73ac1c7dba3a30506408f52bfd4b3a1.tgz","fileCount":10,"integrity":"sha512-HRkfOd2fr1sQO2/ZRBKOPTy+Z6LlkOcpIBVBhQkFmpUJoo+gBxnz6GYYta/hFJpbThznGisvXa00q6OqhPSOUQ==","signatures":[{"sig":"MEUCICWU6z1umWxpFda1o0C/+fswHYWW9SsiY6hYnL5nUMgMAiEArWUcp/aRxGbJwAONZeHBF/2q7+QwR2QpVLFfcTfW8jI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiv2wkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGhA//XUQ7l7vXpUMJeQ0ZeZgszs258gUqSBpO1yVr44It6jQuDQqK\r\n5OW0CWT4Pi34GbnaJjK0i6h8cmbjwxtowG0meOUwXASx3aOWbKkGFDsFoJE/\r\nRV0o8vWu8vjPPPSS/jev7Q/jf6Nvk4OpaLaYlfRMivbYv4iyx3pJerRtYAKc\r\n+d0UEGh+xYeW/CnRD7wejzCnzP90zjVfQ2Jdl2ihNqRCzpT/jlf1saawYxbY\r\n0hU4Mx3i9BrfQH0Aw+Hjn9lz6uG3h77hbvRB9tLzzRARjiGy/mzYPd+1jxLS\r\nMkdz0W7Nm4ChUQOqVG66Lm4yLP5fnhgTqUF/mZS+Y9QYRwwWLDshfyH5HuhI\r\nVTCEhjY6ri2bSwaKS1ACaEen4v9xHzqgGTRCPku26lT3ncMKEl3fdZKPlhda\r\nw8butOwqvWMMdZRLdcAUzUmQ/2EZC1U2v9dK2MBHaGi1PeMkJirK8DYdstJd\r\nm28+vFGCg4Zrt0ruyZVNNhB2kVrNTmJ5UNVT/GNmcUtfMuA2gcfz9zS5WnaB\r\nMNO9S3zYpqjjKJcbtzlVZLDURDkb6UG8Fr33LZobgEaIWbhdRP+4MOUPmfdp\r\ns/Mgxpxn5/0sFqNeKsvdI1Pr6GEDtWLWwfoNFNGCK5OYcNofD1SSESCsE7V5\r\npjNHjR5nTMzTvlzBwfGz6PvzMfAOLyRKhfc=\r\n=iOEE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"1a087fe4c73ac1c7dba3a30506408f52bfd4b3a1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-01T21:47:50.242Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.3","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.41-renovate-typedoc-0-x-1a087fe4c73ac1c7dba3a30506408f52bfd4b3a1_1656712227956_0.1967304633721949","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.41":{"name":"@balena/jellyfish-assert","version":"1.2.41","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.41","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6d31e8a4799ab4bc341110e0fd04d63b018c4b97","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.41.tgz","fileCount":10,"integrity":"sha512-n/RCkYM7WvMIjycTOBx7H/quhyABBVTXCIVjm9kjS3EiVdqpak4TWUgRZXWwWQ6UqFKwBS0X9fJyTozUSfQN6Q==","signatures":[{"sig":"MEUCIFg0ElnaBTJDIxChqqGa/vNxp+YkZPFJvfYzVwGXDKLbAiEAzncN+q7MfoGsp1DY/c9saDgjqoGLGyvvbrA7myipiS0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiv4eoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrkbg/9GcZzcQCEpFj/t641qyTmSX/zebdqqB2CMFea+ltlp5+9RjW1\r\ncxFANS5diXbITyTebeoiZ+KDhnftJv3cgAqVO62J179TlLtAfZiOOHvsLem/\r\ngVdyCbc1vUSAdUsLray1RHQkJpvL4QNC3SAfv+gFfwx/aC9Ngu7JwfT9xu65\r\nNjDQudnSMLAdwIXFg+T2sNVhtRLedot0KYVE7e7MGUe1nU01FEwT6tXMs0Ia\r\nvTWMk8/b65M0F8jvvzDotTanSyylRqIrW9gpCwLVHar9l8snJnQ8WST1hLGt\r\nT8CUd4Q/zlRS9tb1rvaCHCUoyUPUJOa58eAKYo5BRA2tKEC4uVWDgBOb7Z/V\r\nxoGj+XoasQSS8sG24EYNKDtaFP0gfEtCLPq8YVOMrLF6XcF8tEgfpRvO17e7\r\nLcBSiIa917Nu7Mn9Zn33aXCaScbvJCUu5WER8VHtiI4G1Wc9Wq7vJzD0RrCO\r\nSSntniJpwX9EF8gQj4jCzJWAwPmo4Hy8r1fPtS8dd7GUQ88nPQ3qeNfFWak1\r\nnqd490YKoK0HX8fhiM3QFxX4otrfpwoOfPYmt0mt+zkE21P9Mu7mm+JX6/TQ\r\nq3bG3ClMSpNew87tcCnQOwxD94iXRZP0Q6IHhSESg0du80t7I9YQQukufXXK\r\nDpnmbjKvN6FSGkZt7k1aCaIVG1ZFVVBwR20=\r\n=klC6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"9d2410bf20ad3a2312ef44a2b337a9a018417617","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-01T23:46:00.386Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.3","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.41_1656719271848_0.3011995197528632","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.42-renovate-typedoc-0-x-d5819f9522b304fed5d6275b441d6ab37a29fc44":{"name":"@balena/jellyfish-assert","version":"1.2.42-renovate-typedoc-0-x-d5819f9522b304fed5d6275b441d6ab37a29fc44","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.42-renovate-typedoc-0-x-d5819f9522b304fed5d6275b441d6ab37a29fc44","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fc51f863bc672a1193035c9d65a2e7f7e25b72cb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.42-renovate-typedoc-0-x-d5819f9522b304fed5d6275b441d6ab37a29fc44.tgz","fileCount":10,"integrity":"sha512-CQRnCloxNMGf+jTiJg6LZBEsF7Cwmn9CZsalT1ejw94V0ybe9pMH66F8GIHaYnBzB7tONl5oAbwtxHDksnNopw==","signatures":[{"sig":"MEQCIDz2tJIuXJL+LczKS3d1yEKCsSQN2h4swGHbUwN2QQmnAiBtc/cEvOf0Y2mEDxQbLTmGV08xp+7uhsXiTmTMTzOo2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiv827ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNmA//TSuciyilKz+BeSGrxI7Pt4okBLb+Byj/XgxuCHqqHpmy9QwL\r\nNsl+tzM++AEyFbFTEEh9UzT8yv63Xoz4aGWqSU2rAIVQcybM9CEaUD06KXf6\r\n14BsB3i2xb2ifJRQylj0vFmu4P6wXOrl022d68frMUKFZa+lRfBhKVbLTj4P\r\nqxmGtGClYXfvB+9XnqSU5srcmYpODCIKWfXp/AFXz4XfmsELkyyqlG2ndkL8\r\nB94Ihy7s/qNGoC2SonNDdM1eotkzAwy5CfvjoQoJFarr3G5SMsMi0hdg8oQ6\r\nZkIAtR/n6f5rS7wN9kmy3YMoQy3OO4yPxFAYE2NQn4jLud6d1gBbjVSYJweG\r\nevIR1CO/HmRXYmsmOXl4kxIEnJanUW8OcxnxY6KoXvh+eEer4iMjKBMOsznV\r\ndiBA0QNVvqkASp7jpyDEIPJ0Pqc76yZCrONzRre+ddfnV4yih0QcWvKmnMBz\r\nwPHS2dq8+0lTvJlnbTxMGCVt32wGmvGgbX7/qFgRo/bAtnQR0lLbaQYpARXC\r\na5VT8rHvNYF92pEX5pqmHtrz2rqjh+z8pSpIzz/GlZs7/K6wTippkx7IHjAz\r\ngqQ7eZmTRlJq3hfARMQy0HRp/Q0y44sA427bnf4aPh9pvrRbEMH15XhnweJj\r\ns5kp4UCMq9HdUKXskQeO7qXmNoANiMqnAro=\r\n=HYE2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d5819f9522b304fed5d6275b441d6ab37a29fc44","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-02T04:44:09.021Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.4","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.42-renovate-typedoc-0-x-d5819f9522b304fed5d6275b441d6ab37a29fc44_1656737211160_0.5026473637350608","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.42-renovate-typedoc-0-x-73d9625f6c8e8400cf707bafdf3e8359e554b71a":{"name":"@balena/jellyfish-assert","version":"1.2.42-renovate-typedoc-0-x-73d9625f6c8e8400cf707bafdf3e8359e554b71a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.42-renovate-typedoc-0-x-73d9625f6c8e8400cf707bafdf3e8359e554b71a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ca6f9d55056fc498354534f3dedd83864c0ac5f1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.42-renovate-typedoc-0-x-73d9625f6c8e8400cf707bafdf3e8359e554b71a.tgz","fileCount":10,"integrity":"sha512-GN4oJl0KPAKfhFPBmUCxzEJiJFnL0prBwkbH/bH3zC1PEUVfwhuevv0b30tUQdf7L3/SFK/4IIP4uR13DMgvvw==","signatures":[{"sig":"MEYCIQCzTNEF0MJJlHnDaaXtTZTEuaJzRA6dnZL1UBKCLlJlYQIhAJom/QITMgsgbCH/nrt1tv91eAcbKgeCdgTPbPsAT+6p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwI24ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruTw//f1TtVKl6mHrgPzZWZUIdmMxtnr5jY24V0b8iJL0ghDYA/Vwr\r\nCT0fFps3/LQktigs/P7cSnx2133Caze0qTj3NwzLmnLAY+lFOhvQ08L7n8h3\r\nyi/Oz859XazNDUDyrjwmVAgnWr4H1BuBZ+u6h6dMAOYrP47U8rShd6nUGLaM\r\n3VmbGSYIHpu0H3USqILpKXF3wKVlritsXn+yEviiN6AM8RIse3ZN2sEiFjsT\r\ndAHijybLaVOaxSQ4QeTUiven6VkFdJia+oo2J1l3T3YC1nzmv+LDnQKeDHPS\r\nUN+SGqNFGx2VMU3iq3kAO2Y80tWOD8+FZvjwzjTiU2UVsuMOJenw+jPiQKE4\r\nljWeWgSCnrCJ8iZ6Sr8bOzAjNb054w+3VdTv/OoSVRWnzLilHbfrNif/5Lwb\r\nykiNiksH5UemeIzE9MHxXlCm1yJ0h4ayuIwqIJLM2w6V6q4NYUCRVDfx+GVa\r\nYXiZ6LWKW12X/9f3Hc7+hDtx5mgDHiIvwPYfEkq6Wugqe8G5iUKkqjEAx7iX\r\nJNpYgufRv92pZtXGA0dauQkr75vP/iCorZGL6b64tBh/ZMfdDjKX2ZTzqcwf\r\njVUC5j1AQm/Cs0H+1ZzDOgqzblK+dqFwnxFqTP1dSmQtyWe1aBYEwYxcEfqJ\r\nmL+et0yNlk2Z9AI8BCUQtnrO5tthLZ05kk8=\r\n=vVCE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"73d9625f6c8e8400cf707bafdf3e8359e554b71a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-02T18:23:00.521Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.5","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.42-renovate-typedoc-0-x-73d9625f6c8e8400cf707bafdf3e8359e554b71a_1656786360062_0.8272945290078169","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.42":{"name":"@balena/jellyfish-assert","version":"1.2.42","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.42","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cfc948b89d9c9a19fb96e5e3abd45c8df6c71d65","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.42.tgz","fileCount":10,"integrity":"sha512-+g+F0nugWOkfEpaCbXADXBFnoWTomm51jpBVTZsLYxak+Jh70+c5hwhwfmfDifowZS6Io8Dw8t0eB3y50yAFug==","signatures":[{"sig":"MEUCIB0KfX5dsUAnRbfH0YpqZn1YRWLoth+OacpiWnntcCMzAiEAkdXAFf6o89icr9nnw9ztXyihNvGavbykxksrim+ocY4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42907,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwQEAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvOQ/+JIVpEqkBEJb0n1oyqPEEtu1zDot2rJlykXN8f/SNzu7/qaYl\r\nJORQBChq79W2nQz0S31Pu4MAaqXUT9tlKjTbutKdjsKgvoNnBg9NM+yhK1sB\r\nOCMGXkrDdwDiRMmGyeuU4uWmUZXjaZwUVzPWWeaZ48WzmzDJ/601qGLXqG8I\r\nL3Bfg6hk6RmLJLWBpMRpqmN6FO67XXas+9nU+NIHeTogEJ26aVNzqiEWFViA\r\n7efMzZxDCL3hFneCx1l0qnerEpSJUmn0Lm1gdfc87gg7Sx/Do7vK76mBvOU3\r\n0tGA24INKQU+I61QT1VbapirYhlxqeWL3CyhYoLbYbM0oYVGADQ6WriBG7L3\r\nHz2wnSNyRjR8hOwrDdpPmGC/9zIQeDU+tOFO36EC5RbChvF3A9zXeYBYpt+s\r\nqL+XNdh+YY1yj73YbLGILGlGqBOUQUaUSfYctZIi3jVGOSPNHkMk2mo8JYVY\r\noj5yGS+ct3qwEnFeZ8qmg92BbIV2E67bon/W+qlDYfj+UH9AdpxUVf1VOzme\r\nITkA2FtBhqKRJRqY0PzzIeYeuuqaHPXmpwfgeHR/iJbHHFXDAU0oixKUFoCw\r\nlFn28EJ0L4WXhc39jIr5A9EmPlCN7wJmPSET/coXQXkB1R7t5nSp0DkQnHm2\r\nhf7r/0rHNroWFHIY8wPznSNsewxsIYdMrqo=\r\n=U3RO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"19eef2cdf661f88618e9d37c0ec10813e87ebf45","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-03T02:35:44.753Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.5","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.42_1656815871765_0.4970374814251872","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.43-renovate-typedoc-0-x-63621aa66717614fdb495a02359c988aac52e594":{"name":"@balena/jellyfish-assert","version":"1.2.43-renovate-typedoc-0-x-63621aa66717614fdb495a02359c988aac52e594","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.43-renovate-typedoc-0-x-63621aa66717614fdb495a02359c988aac52e594","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fb08cb05c82a8ba401f68bf40007db7b3f8de5fd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.43-renovate-typedoc-0-x-63621aa66717614fdb495a02359c988aac52e594.tgz","fileCount":10,"integrity":"sha512-g3aP2EbMcGsfMI1zmkR1hF0MJfnHQUxS1Gpkh/Rf42DixY5SBQkFiSQ1cOX8bOpdNUmsg8zcL841rIqC0wBd+g==","signatures":[{"sig":"MEQCIAaLTBUAMwpIHcasMW1o41kJqoqgzEob/8NXOYEdfipQAiA7HocbZmg5MBUkEByH8x9n8rD6plPs2kK8rTJJR1uXxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix4+cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8oA/9F/oSylRaF9LdDQtdGpVhoCgclqR1vpMkQ2NQK8iBrhk9crD7\r\n8bsrXtFK3fIR3A88OT/D8ZNiKNARSo22axErsa8OVECnVvaqjhLwEqsCyRDp\r\nVkE4dkGqNveOAtYxFczERyzTGSLMecOxRxS9Jwih67J9lSpa/ZasNqG7MmTI\r\nngEAvCkqmYobOoApBsBrPniWReTMkyCjDp8uIBUrn4IzO28pH+nCGfWIeWGJ\r\nlLytNCD9pwctQTU1rIw+UWGe0BTohGtc6otfmHXGBtn8q+ZCzk+WoOc729t3\r\n7VR6ds2hUwUUL9ABmp711iTioPPctGJyRO65tVvTnJ4UfhhjOtxZXmOGOHH0\r\nesLfCj0pzT1SdN7DFVAtcREdYmHOdJT+0M48RDQwvfuH5LtcDUcbDki1XGaU\r\nJlYyyjW/sqrps4RqWXct0T74CacpriuHWlVUzqzf/27IyN7C7orLyABtGdVO\r\nv3Ks/u8BYqjEnsGw6PgGi++BIAi8Ym+jvAIdbLyDPBMy66/l0JWYvuLoqHQs\r\nE0YhsdDJh4JzDSyNfckRKqrrWLFHz16xj7evECKwVnKwgmLY75BlQ4gZfDdQ\r\nef+3gYGtNvXLeqRhAUmlw7Fl/5ZLPAwubUao+EsKg3+8MLvifBWgpNG7XFrR\r\niLWld1LWTQJY1CIC+5yXb5jd3Wfqnsxh06U=\r\n=Yo+f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"63621aa66717614fdb495a02359c988aac52e594","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-08T01:57:46.254Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.6","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.43-renovate-typedoc-0-x-63621aa66717614fdb495a02359c988aac52e594_1657245595913_0.100498949183081","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.43":{"name":"@balena/jellyfish-assert","version":"1.2.43","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.43","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d737e85c4b7bc8af8fd3116dec425ad5f82152d1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.43.tgz","fileCount":10,"integrity":"sha512-TJI1a5Av4QmuFxAAxpebL9/JYoEITWIs+YM055gbF8HfKy2kmSmfyCra089QLfLlI/3DuSasiVCmgreuA4Fznw==","signatures":[{"sig":"MEQCIE7pWKyzQQG8LexRZnCEz+gKmGcxGPgzOfpDp0FQwaVNAiB43ofBeA2Qg8U0eG9a8YLSYRz5lb0XwQ1mHwmFG0RpYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix5BeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqiA//Z9EF6oCBb5+kZa/keVVw0lNMXLaYlICuld8m5GDSQdco7WAt\r\n2AMeb3aW4iEcPLKxFeDD7GEKQl6xzQohK0WSy2tszT5ywH1ZXeDYV6IXMjOs\r\nSqL7PC5yE4ks0OCLYg7jKZqJXZelnPRv49KvVkVY39rsvLQuqtUl5vbGlN4P\r\n9ShZzkmwwTT1Dlczn4RW5P5KZs9KQ71sJpX20Cgvn/4E/WAsliUP47POEAJZ\r\nOAEmWPIzQGgYq+ZBd3c2+RE6ZlqMmj8IK8ug1LJoSlUjEfmfqEUHI2rj7e8R\r\nMkZpjNruTuh9m59Ttxz8zgWU8arfrrcsmUd/bPaZuELq2uAfJnVuVXnW8m6R\r\nDHmbWq4Iw1sl1G/WAQ53h19aZc607MwGfFveRKP1n3JZ19/784yla4+SYr9m\r\nRuRbuM6XXEwHiVd38+Q+NzHpw+K0+E4iL+XW1awicu69blZwcbgicYBSCfJw\r\nye2vHqlN4JcRU4HV8eyLtSs+pvBK3LtsGMo7ivJGncu+soaxiZSAS2HKWEn1\r\n7xdP+eq4YnewKOy82oD8A3WrDX8qUXgXz3qPcMupEdjNKa45m9sa1xFRvNyM\r\nnCwfUUf3BtGojK6/NBzFh9kJ8GETry9iceGIKxVLOc0QRA5RQIFd3Iy7SZuT\r\nArFp+m1N1TwCQthiWXTG58zzs2mg0C77Q50=\r\n=h24o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"21ed6c2db7a534124e590fc60c8f68cb6ee17e61","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-08T02:00:59.353Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.6","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.43_1657245790397_0.06598186911823256","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.44-renovate-typedoc-0-x-8dd36d6fefaf52f192fca1c60230b41c61162acb":{"name":"@balena/jellyfish-assert","version":"1.2.44-renovate-typedoc-0-x-8dd36d6fefaf52f192fca1c60230b41c61162acb","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.44-renovate-typedoc-0-x-8dd36d6fefaf52f192fca1c60230b41c61162acb","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"47bfedb5b43e958f5a985b7b1e2fa81149b47a49","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.44-renovate-typedoc-0-x-8dd36d6fefaf52f192fca1c60230b41c61162acb.tgz","fileCount":10,"integrity":"sha512-E4dO2teUCoiWo6AvgzJfZ41KOom8KNtg1Y4yrKVC4R7f46R6NZW5HVkhNr6rJFB2Mr0AA3ldSwa66KMjnL8pSA==","signatures":[{"sig":"MEUCID3oam8SeQwHqbT4jgJdHyafOxjDM1zBujdsxYTpPmWoAiEAzS7fuYYdQtAZU8mu8didoyMhcQtTW/JaSghljk/ptoc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyg5nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuzA//TlJL4SJZEi/JcWb7mdPLrPyRjyjHTLKk7qDckM1uote3I30Q\r\nPR2wf8Z8IRNQktilTuNG1i/6gGaHDqs4dcZztwGoK73CBojKoT/PmXDg/Hbm\r\n/eMv/ccLF+/3sVFALc29/dzdcPeg897A6N935FgBq3hLC8XMwloIe5FPntck\r\nGqWFjeM+54CxRVb8qrhg5k/45X1djYj7zHN81WPFrkb7itRBN5kBxk5RQarb\r\nPfpOmrYjN7iVXe50BbzU3RLuufxGBrpCpzt7RXAZaaAyWsUQmPKIK8c0soPw\r\nvoY9BN1TZ0mNUd1VgxHs91mzxvpzTQIlx1LYiMA8Lf43KzEqF7UWGir6CP5R\r\n2TdDHSO21kGf+MJNj3K6kRbNenydw15WwqFSPCpJi/YtexKmFIYPTxWni3Ys\r\nMnnDcI9z+m3BkJnFgO4af3c6vyOiKnKUHMsXM0zthL/aT3y+qbP2BlofNLXX\r\nGFHmwSrB3jnnUx4D5vTt70xFSczqyHYxKO2/bOsKiRTjB8iJYVLhKz94nR80\r\nZ0Es16o/0Q9NqLTYOA3uQ3vIoCHQr1tR5geSXq6NDycW36Po00wD4F1Vs2rW\r\nLO9OYbWa9j/UF59Z9j0kb8sW6VuAQw364WMSujr5CkGYOVcusosJWHF72YmL\r\nqtTz+1L24ptECjfZoLLhBW3v5Ve65rvOJq8=\r\n=ezyn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8dd36d6fefaf52f192fca1c60230b41c61162acb","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-09T23:22:19.322Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.7","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.44-renovate-typedoc-0-x-8dd36d6fefaf52f192fca1c60230b41c61162acb_1657409126882_0.13435903938485394","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.44":{"name":"@balena/jellyfish-assert","version":"1.2.44","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.44","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"dfe493c9a65a881bfea257cb09baeca14bfbc96e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.44.tgz","fileCount":10,"integrity":"sha512-6jRtpnIpchB5Dok47fqDKCuu8Pq0cAyjqTL6JZpPLv+WtNiiVNT8mPT1z9S4SJT+xmEhhrSI28NEg+OMT4IDfg==","signatures":[{"sig":"MEUCIEhftBvSpZK5DkLqoIMc16aw9czZFokceNE1QWNc2U8QAiEAmmLc/swJrmeYr9U6CfO7PnnHjA9lLXxb/DWYPvQoki8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyg9WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrV0BAAgPLhXRWtYHgQ6XXaCEp3pAgJIIoXQXVRh52zZwVB6/I9hpZW\r\nraNNV2e2ObCdoZL2km4QqDftOyqgjC225RMtiomMUtaJ88zcYkMYQ/hiCITX\r\nZ8sRID2HNf2OM+2/9W+shHXDNPRf0zdSdP8gOcaK96Xb5JzQsJ/Ms2md3oz0\r\n34DxW/ZXlr9wpCz6FrczV5poJ6KA8wNpd4ZbECC3ZC2lsmfFkP2jhWAIGjfc\r\nU4VAHTACrY8RRhOdPl4KqFYdk47lb2pggswmQb6t5okYR+1T53xygGDmlbi5\r\nJmchS4JkLjRutYCtCQpPmL6UgBGhW/XARaxkEwO1wItGO4shMxwSKn+cWilN\r\nUVezphwbu+ABu8meZrPnAVV86RcBKa4PmnXovXz/kleBld5h89Dd+TWpx9h6\r\n/CuQY6hXiltxObYK6IzzDiXckMXqbZAG4TH9FWMXl07/Mq3G5H6G12svwS9m\r\nRnXT56e1CApCVO8jGq/0iBRuZ1DZXaeDM/MdGLLS+xUe8cgBUeTgyciGeY8H\r\ncTqGDHZoncohpCm+zXx6hqI0iEShNtrRS5fhNPxdjpnHzBdpPvAinJFZeep9\r\nqA1pXHp125Mi/tQ2O2z3ucRF7AEkZatM5zT3hayKNYvgTqHUKsJYALneuejY\r\nDkoycbturH/5OQGsT5oHxM4jq6jCS1t/rAk=\r\n=JQfQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a45b5cb8c5d673e5bee96130252827d5aa54d348","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-09T23:26:41.081Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.7","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.44_1657409365850_0.8259650265857792","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.45-renovate-typedoc-0-x-b70368a3a930a03c401a1db8cbd25f6e82d67d6a":{"name":"@balena/jellyfish-assert","version":"1.2.45-renovate-typedoc-0-x-b70368a3a930a03c401a1db8cbd25f6e82d67d6a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.45-renovate-typedoc-0-x-b70368a3a930a03c401a1db8cbd25f6e82d67d6a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2d9a281bbe502bb6c5d40c4fd124f0956c2ac8b9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.45-renovate-typedoc-0-x-b70368a3a930a03c401a1db8cbd25f6e82d67d6a.tgz","fileCount":10,"integrity":"sha512-J1bsDQD5INVYvYmQi0+hXjK7aviUECI+jEKea9EfE+ALjwwTuZaCz6BKe5HZ3sYpBzg57cC4FzPnKqRa976iMA==","signatures":[{"sig":"MEQCIG0YPPnVPaoYPOE/sxP88R74/RvkiCyd0qQZnFpia4AOAiAeVyZLJktBA+6p1DEKCCRxzcIRBksZdCYLm/TDpUTTmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1Kf0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoXYQ/7BJwlvv57jZhHKjbUMlKYHi+yj4ZdmZjAGoQSptE9fyvcsvWK\r\nntpTf+9UQuUly6Wm3s0IQh/2M10OdC9NqR8yUDpt/P6Y3MZJNtZVY979YPYM\r\nn//NVfO6ifr9Iwdfk3oCpIxjjqzc2jdMn88WcA0A6vDHaAv2yD4mvhBthwV+\r\nOSEmfOoLb9t9gbYlTVRZ6kfPp+LZggSZfkzQUfbRM5pZ4qvkK53LrLXYlMJ+\r\nBeOPaTTQh5a51avbgdnJu0x3lA4AQEj1xreavGuG8IOlhaiwWxqdOUoiicjf\r\nERURAczH6c1SRx2HVsJcrFWjanVGrodyOPHyfpsa/CxtE/GB5/IZENRlqGJn\r\nV+6qT0DXtgPMu7P9IgspTRjiTwvn1vnrG0er0Ax6PWFBPSY+U+d5XjYImxXf\r\nBDF83mGfgiPgf7tVTjQW8hsVL4TejLCLrKkaHB891Nqa14yjcnhf9w1F6Of0\r\nscCrjzr5IIp3ac3C5PLYmeTdc2/NwrYhTuZvwV4Z8JSE4Q1GWGXuoLPEV5zp\r\nHTFv+BHtd5q5DNUmZXhxefRgrmJ1V9fJ6IfTVW/Je3tE65Dn9C1t0/rXUcws\r\n3GWPJQ6bWxQSBvLchYxPfWzVf/Lp+emOKl+jfHyL/06ZFjsXVl2ZBV3FlXcZ\r\nVwt7G68eBPnw6qlRm0afxvBwkEurHMUWBa0=\r\n=CYwn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"b70368a3a930a03c401a1db8cbd25f6e82d67d6a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-18T00:20:08.467Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.8","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.45-renovate-typedoc-0-x-b70368a3a930a03c401a1db8cbd25f6e82d67d6a_1658103796569_0.4834943776329903","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.45":{"name":"@balena/jellyfish-assert","version":"1.2.45","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.45","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"621ee078562ad84d80f587335e7c5c5147a7a306","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.45.tgz","fileCount":10,"integrity":"sha512-Dbutn7jJjoUP6PblYnCMujUW4P5J844LaiyWrwNbE3IBunM+oDDScf4S+w/LFK22Cx4tRThzbyew4NpFgTnxRg==","signatures":[{"sig":"MEUCIHQnw3pf7sMvNqgRyWi2LrBfXedGWwTVFwmLtFyUSK9ZAiEAkelnxX7KgJbUhSYT3FiuOeLIn8EJ/o3whJBt2r2bWRI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1KitACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSuQ/+LP9imYPycbeGPm7wRwxNxc9coxl3wo8ucjnLxWE+k6x78QGC\r\nQxwHXRy/mOTBEH8HcnDJ6jXJkf2kcASct72EGkxSPApOOjHB6I6IFkglDrdf\r\n5h8pXIyKH3xJeKdV8+nQjoUiAeXP0ApFhGfVsCkMAT0e2HRKPeBiBOMOW6s5\r\nsY0NCtEFD+Uh4Hayv6c3HYhw6QcWOVUAB33C4ZGoQpC/XjEKsu7xb5CE5peO\r\np9yvEQxg3jVG0UmUTAnfM4OY3/6TIiDXvulsx6QkCzBJ7Ww3xqfVOmBPzpFx\r\ns7Q79tsWT4H1E68Iii+9VJS1ow85oppgkhfcc19TvEULMWkKYcx1ulckFSbD\r\nK4ZFpQcUHBMbXZzs526lHEFo07d2c4dQjk6Yb6VouXUOMbbElxNdHf3td5zD\r\n2zg16eWZqPYJPH0M9yFqswr27hWV1OY0kJQ5IBHI81nGltuHhU7NrNb5UO6R\r\n81TuKYxnhRx2Ynp5sfvAsELX3VUIYXV4+FcQw6kDwrUEunWar9Uyf4p+bTCg\r\nqlMsynckizaZhJITtKCgrwRg2GzOspGWjbsZIu8ixg32ojtsfWMdCU60AUE8\r\nZZ5t90UzPCkoT0JNLKwR48bx4uFAbbwx8jXMFbQRHJeDiu/jKrm4k118PBu8\r\nZC566kVbYzHY+GWfT8TKNeIAVF+MWrZcmgY=\r\n=Ztws\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c2ac2ce9123c7055242fd1f2ad54551c4e8864bd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-18T00:24:21.578Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.8","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.45_1658103981692_0.4329401941518818","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.46-renovate-typedoc-0-x-12732e47904cf8febb296eafa6cc38d84eff79b2":{"name":"@balena/jellyfish-assert","version":"1.2.46-renovate-typedoc-0-x-12732e47904cf8febb296eafa6cc38d84eff79b2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.46-renovate-typedoc-0-x-12732e47904cf8febb296eafa6cc38d84eff79b2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"288d990188bd4912cda2f1ae3af6bd9cd3e86ad8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.46-renovate-typedoc-0-x-12732e47904cf8febb296eafa6cc38d84eff79b2.tgz","fileCount":10,"integrity":"sha512-IfrtVjqXlv2vdO21a7ZvYtlRddNJw4gGuNPFTdAZ8D+O3DfZP4J64vEb/Df+Aq7HPMy7u4tB0vCEJ0lS0FYLFQ==","signatures":[{"sig":"MEUCIQDzilGb2vLPolDSPMXf68e4frNUfUkEeI78hXifub3PkgIgAkRe2bfoyQSIQEZGIrij1YVd2s5K5XkL5M+fBsVFqIs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3bPbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorUQ//RXYWp3em71NVJnsYvlx8eZ6VEijz7x44jH1NAGx2OvDJREHr\r\nMF0fsN4GQC48d+kxIXx3krYJeUDBE6MwEOqSPUZoRMFYnr0XFtnHgWsyA9kK\r\nXKLSo1iAPNCcFXiGVoJ/FWEJxHZ1tQoXHpLzy9GqnZ774Ogy0lFnlvf46OD6\r\nGaL/dTIYPKKN+CZq1r+uLIZ6B38i2itQNjmdp9jKj90gJW65r1AT7H9nXQR8\r\nNZSHcavcsd2bp7hcm0Ke6SD5r51hDVKFkROMAhlDDGGpQBce65QcY3iaBi/9\r\nCXQTNLKmClhVwFopvUi0xFb+w/eGr0u5qIpZEDj6t8Y1yfzsnbwnAa7E6uLC\r\n9x9x7uCFOCZ8jMoPomSuxIiwS4KGGrfopkDCYLTVmD3APNuLb1uOhLCPv3yf\r\njr/JVxkZVehDxF07mBf23xqkX/u6ADILfTqiJY81wznT5/xwQN+oEGljEQL+\r\nllEKWMnNQPwlKZ6BcIUyfV98UUfMCBxXYGrsCDwlqUO7SHvenn8iXWzOBnlD\r\nuIxGtg+QmHwePogPf1yPyDB1z4S35h8otsilm438JmFoy2vS16duFdl6vnq/\r\nPQG1+/PNEqqgCyWakvm6rsOyhoC6LXUxZg7aHdzfsrobd0tMjoUSoRaXkX99\r\nHRv8JFpqZ/9Vfyld/0Fr2qLHUleU5nA56Wc=\r\n=TG2D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"12732e47904cf8febb296eafa6cc38d84eff79b2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-24T21:01:53.821Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.46-renovate-typedoc-0-x-12732e47904cf8febb296eafa6cc38d84eff79b2_1658696666963_0.002802369178226849","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.46":{"name":"@balena/jellyfish-assert","version":"1.2.46","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.46","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9ffbcfdd70a48f9af100903a1816be274ccf02c0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.46.tgz","fileCount":10,"integrity":"sha512-zKmXT4pfhT0zk6vg49CnK23815GUA4eyyODWYORoR0ncX/SKqKL1wg01UTRj4xl17lkteC8R6nL4wZkVSJ5/3g==","signatures":[{"sig":"MEUCIQDHg5/FfpDNvLlWWCA1qKSy6osQ1INPvUCP+UupvcnPzgIgDBPbe16udpVEQsNc4do/YVI+RJBs33zHU1I1TZqujN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3bS+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp64w/+IYxAHFAKfdeix3ZOy0kKPlz9ZxbHfGjOUgrh97vhdT2jffG5\r\nuaCp8yf6Nt+bfhYTXDWan+/FHcTnXIgQq7VSRkIhO+2QqZmQvofM4Kjm2HtI\r\nRbIRZACFw5LvgQv1bIFO4XWv5ez9FIQ9EX6SzRwFaDSGqsYGHRQxprw7LZuP\r\nVVoTrqKe4NxEdr9HUu8+l28j49YJMybkAhNUF9+P19CvmcUWTlrpYJtZe38W\r\n8dPefLLdloXDSdiZzU2OYdSiPUH0cTP4T5Yg4z8t+m8kZbugenKp2qDPLPO0\r\nRUKxYFt3bcKEFVa9eZMGek0sER/rIgWhA+zjp2bB4wMvjrkWEhouT+k3amkn\r\nmXF6UGdEZ7MD6YBtvqUuxzc2k7aj3skSEZ7/Uf0+Hc60ONhCUs88vl4CIW6N\r\nbFFYT5FCl4BskIRkCHoDSjTfbL4Leae+UlhpyhcpkxlFV3a+m6sXRrPhM4eA\r\nC5XbA5YebQ0XNM3Q/iyPS93rtDuxT2nrdmBDwhRx4oOym+dEVBo4HOB6NZro\r\nujcTsbfQCLTnbN6EgJRSbUxYFgymegJbo1nIZg2vEKIrkRpHqK1kRaM0WrgO\r\nTrUvlYwu6zPp6UzBjyUoUlwmzAGUEpMqhgDMndaybuQ8WD5JFNPyJRnjbmg+\r\n8kw59bhcBC9gYgbCKyQxT41r2jwbWL2y7ic=\r\n=40fo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"974c9047710c68006fd3a05b0b52620f726cc554","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-24T21:06:19.489Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.46_1658696893973_0.12304642694038948","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.47-renovate-jest-monorepo-fae11c7f5a2a27e36c4628c39309cb2f1c989587":{"name":"@balena/jellyfish-assert","version":"1.2.47-renovate-jest-monorepo-fae11c7f5a2a27e36c4628c39309cb2f1c989587","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.47-renovate-jest-monorepo-fae11c7f5a2a27e36c4628c39309cb2f1c989587","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7614a151448e2bbebf553be8d2514c3b30b50120","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.47-renovate-jest-monorepo-fae11c7f5a2a27e36c4628c39309cb2f1c989587.tgz","fileCount":10,"integrity":"sha512-p7xOrqDw0vyTGRrwNcX8Gh7RnkRHsuhjZMcxT+FnqbcZTd1Zf1hggz4lQtQ5KGq/ReeTjmGYtrnJnYOCnlLk8g==","signatures":[{"sig":"MEUCIHvkLwHIi941JX9n+AZSgCoSSUZH2dsdoBY2z3jjGuJCAiEA/tDx8X1Ji1cz1/yZydXRt/eDGoTZ3NBQxDFyadu5csU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5lzkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6sQ//dXzU+044sE4p3SzC6Fhj5FyGv7Sao+KKNqmqzFxRObi+A7bs\r\nF4V1NXlf5wWxO+FtTw0rCIuXk8N/H7df8RrFIdyshtGja7XZTzyf0IdxsC/4\r\nKW2S5ZQ3Zz0QU9x7btl8eEEciEluVkkl2Jf5MvXCPOnCciA1kojt42TOGC5i\r\ntn6t3cvvz6aJiJuYUF2OhZ+oa70c/zcd0A+KEfWtcGpOK6fq40Dp6qjHsfdL\r\nGlnVm2NPaTNKivxJ/Msz4sQO4EOvWFaorZ0QNdxjxRWi+0i9pI0OGkTgAGTf\r\nm7wIxEYaihyvj2nAE6otLOXf+W06tgRxDx6/9LfEaClCu5T/Z6BaFGDxL+zl\r\nKrrlXF6JgGsQkLpSxarZ+8NSeIHchdzc+i8c+cGdwUzKuNID89oTBfjU3gva\r\nq6DGu+EA4VYFNBSg9NCKfCGdh7HA++Wpv4Bn6SBr98BWX7Ceg+hsDTh5s3Hy\r\nK4xhOUzBLu6n3xdamVzQgOs/UUGMF9nK8uR3WAtzfDheNyzQIjmVc3/j46fV\r\nNvm/xW8VOL0DETGcphTq+XTj/soe5wzfStkVVPUDQgcUqOzLbSA+oIALPKim\r\n+tHqZGUC81zeVfF17XXIQSa/mfoUUDK45IUGAe8+j/oNOB4qvPhMKoS2CRD9\r\n3v+64eonz5vgXHpuXwObBIQccJwabcOBfis=\r\n=9wqG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fae11c7f5a2a27e36c4628c39309cb2f1c989587","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T10:39:39.649Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.47-renovate-jest-monorepo-fae11c7f5a2a27e36c4628c39309cb2f1c989587_1659264227782_0.1657771997050046","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.47-renovate-lint-staged-13-x-09202a1e9aef008da5d4a4d23a4998c0640c320d":{"name":"@balena/jellyfish-assert","version":"1.2.47-renovate-lint-staged-13-x-09202a1e9aef008da5d4a4d23a4998c0640c320d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.47-renovate-lint-staged-13-x-09202a1e9aef008da5d4a4d23a4998c0640c320d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ca28ed8f295cb981bd264eb3adc3bbee17c5960e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.47-renovate-lint-staged-13-x-09202a1e9aef008da5d4a4d23a4998c0640c320d.tgz","fileCount":10,"integrity":"sha512-cik1KQlTeWK4e5dL30c+RGkHe1fGhJjgEmt2x7RUBTUZUiXrSasmfklapQSIyHwskkECVxJqpz7A80lzYBwsJA==","signatures":[{"sig":"MEUCIB0rv06O3VPqhLLl7evuhCmkluLuZHVT20GHLJ3cXjzbAiEA9PcZCo25uSBxJEc+P/wQ/pUS7gj/7ANtAIqhD6vEXfk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5nmGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGoQ/9HOI+4V2RaWrseU1ZrjeFgFESdWcVXwFGcL8GBFPSyR8plfyQ\r\nbejD+Uk+o4Z2WcWpLdjM0qcZ4mlbD+kfFlJT+8g6pKuTiqRnZ1ePNusy4Zgn\r\nPmuZeMaeD9YiEah8Rtl1yPoLqPtNiKytUgbKYYxcC98lZQIOSmUYNn2za9Ea\r\ny8OZDYcIdf0uGPndUY9x0myVsVLxmriEJWIP0NzceylIXDQZF6tbI46Qtdy4\r\nPWbxD6EVPcPz2MMtwEscnc8gycMCKAHhWru1KnvAyr/LeCyWfqojBneHkEgn\r\nrs7dG2/0UM6avMM00sfOG7Oea012NFiYYkvXHZNIkgiE+Y8AGoSyunscKLKt\r\nnDR55JUv/qR2HhxHhMNiVGxtZM4wjaqYZ2OFwjTuaWV7VSUl359tpNa1F+R/\r\n8zwUTN8LH8QRbCPA8skJrL7E5UGE0i9m8iroIre+/u+dzHcvbNaSMvA/rqhU\r\n5Uhgp9muZ4D1Zios65eU3FcSmRMX90dnyZ9CwK1Wb0LVWIul8GlNILrHDa4v\r\n5krk/Cg+TNDZ3vWVIc9h5mcGS1bq6Zzl+D5ahqcjV151sqJ62MeEWcU3XbzC\r\nv8rUGaS1Hyi+IG7IY13l2X4CQ8NU7IX/dweiYjCXIGi9VkARB78kd+1SAxAj\r\n7Ly875QirjeByu4WKHtmpNU7xNh9qqLvMUo=\r\n=ut31\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"09202a1e9aef008da5d4a4d23a4998c0640c320d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T12:40:14.504Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.1","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.47-renovate-lint-staged-13-x-09202a1e9aef008da5d4a4d23a4998c0640c320d_1659271558346_0.5588823962573399","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.47":{"name":"@balena/jellyfish-assert","version":"1.2.47","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.47","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9a96859224fe3fecde40d6a09470baa6a3c53d6c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.47.tgz","fileCount":10,"integrity":"sha512-2Iu3WvsJ1HYYxCHZeYaQ2QHWuFVh05dXEfFZtpLeRCvdYVCRhI0sBjW8lSs/ifAdZ5xx5j/VUfk/Pc7yJNGl2A==","signatures":[{"sig":"MEUCIQDyaQpOOw5sO0jOhN0SMB0GXWwhPzFtlpLTujYd96AipwIgbTg71PXtgSAHx5Y8Khk6y7Fny74hM4WzSDpwsGdT76A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5npbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwyA/+IY3VFtr+rQGCIjdeXNEC2Ll1mhshHLbEKtB0+PYRi01kBd8p\r\nPMxDuUuqpYQApP5Y/Ywmxo10BbT773m3fCiBoUsMr8ut3AKkzXSXXiDXdjLo\r\nxEjIO9HrEg8xceqihZBjUw10rflsf1C7jnuuP4LOjocu5nL5+i1Zqq3kQsoL\r\n1MxD5R/fEvmgjnTcMh7Jxg185FAxBgDFkxBLFivqwIQGeQ+o9mlRKiUycqD1\r\nakGZoSZnpj2cuN3fecyIPH1wXcdUNXQU1a8/fzviZ+jiovlk+LcZwW9AqIRb\r\ngeoJi8/skgvFIi4tMkfcuL/tSd/ZhRTQm849ZNN8SCpqjBwrM6NhTMKnq4oV\r\nnrclHmf5jX4VVi/sHMZ7pwES5j7fjNztt8EDLoyq9jaDfoiGkN1FZlkyGcp9\r\nzwXkuy/WsX/DuwqP8y2akXh77CV10D8aOtCCuGacGIojt3NRNAheo+6Ej2X/\r\nYVuJRXwpdByKuO/U9Rda/ANjQwkWBADdwQFIBu5cOic6yD5fhYaNd63Dmhxs\r\nF+qR95B3c1xS08udIV8xRyjvdaZY24Bdf2nZUU8J01rGhelBJ+qiuABnD7ur\r\nPVkVLkUyfcfSiyZ5NWSqf27jEASmpwU+beNE7eg6XCArsGqmrm2IBC4PXv2T\r\nHgBwl/iCyKezZh2Ph+USQcEW1olA2Z0slmQ=\r\n=HSiS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"584496a174aa1a8ed0ff6143a94d028391873fad","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T12:43:16.919Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.3","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.47_1659271770930_0.7403261748671599","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.48-renovate-ts-jest-28-x-8cf428a91cae9db04e7375c64d8729dfad7691e2":{"name":"@balena/jellyfish-assert","version":"1.2.48-renovate-ts-jest-28-x-8cf428a91cae9db04e7375c64d8729dfad7691e2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.48-renovate-ts-jest-28-x-8cf428a91cae9db04e7375c64d8729dfad7691e2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2ecce68a238a7b3019a231ffc269e58644a9effe","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.48-renovate-ts-jest-28-x-8cf428a91cae9db04e7375c64d8729dfad7691e2.tgz","fileCount":10,"integrity":"sha512-5BAxYazWvsh/gfUrrGgS8fL5LR2ppNXvYnsbtQ2zzDzZ+BCuVJ2CFaF5Gc9Y0Sgs5pBMvFJHMAe5+7cVET9uSg==","signatures":[{"sig":"MEQCICT9RbxT7W0rM34pv1C3cYvQeIxgf8H8OdyYk+BMEa/iAiBR8HMdPnEOtwWcWk/j6gOz6R3MY4SEDXh3Obok337FLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5nxbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrY1Q//SZ+28iEBfMPY8GtLHN8wsvq/UUze+fQ5d4bhxADKZE9ACEY+\r\n6/g701FtUoj+w8b8r6G4VitJ5Vrd6CgQu6CkAVfSjTbG1igxNcy9MlC5nU73\r\n/vUf1Yq1W+j+2tGpVBI6UuAcFuyxFrBCLOOWyKY7f4XjUxUAZQyNfB4egSGr\r\nCxKYVEx1p149GiworbPRWUAEXjrqj0VT4RzzKnNcKCCSkelO2yVulFHm4/hD\r\nPiPC4cxxOb3rO1900K703Hkc4ML/A6HK0PMbpYe98nvPTLAq2wvCyQtmuoEE\r\np9mH0tZkueQHpnfX0Qz3rF79BkVgHe6UmR56fN8Cn9G0nEvxtL/gF/T1//3O\r\nHMXbB5MmtsV1W8o4YzY7kXIeCLkwNix2QJxfwWnVTnTbDt9nhJknQSKyA58R\r\nfj6qTYtNxC7oknCCf4hIg17YpUpbNThLLVww4SFnjFOqbPqOjfnJWk7D7Qk4\r\n7m12WzRNyac57Di8RLLzr+OBAoBWfdQACiqBAp8pTt7P13umlQIyn/gXwDfV\r\nppM3bWFTS+BjRRcx4J0CtDK0fL3MaFjMaZUi8vDf+a/ocEN0eJW/SrciKAh3\r\nWl3RAx9Y0sMmg6w/piI06yB7+fABUKf15pKOnzAP+9gIqzQCqFrxZYGRFiFC\r\njkQTGNOEGvh+2E6tuFCX605J7N0uAdjTj40=\r\n=Yzgz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8cf428a91cae9db04e7375c64d8729dfad7691e2","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T12:51:38.222Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.48-renovate-ts-jest-28-x-8cf428a91cae9db04e7375c64d8729dfad7691e2_1659272283652_0.3930059639775736","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.48":{"name":"@balena/jellyfish-assert","version":"1.2.48","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.48","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4896fafdc35a6acc94577bf2ec353b0db002901b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.48.tgz","fileCount":10,"integrity":"sha512-S/DrABqTIjREys1M8wtZysa6WrtJKFl80SaQ45amcS7o2bo1i52Z4syU3zq5I0bF5UegF2lMTgWQhA+KpMFQFQ==","signatures":[{"sig":"MEUCIBP8G/9rDPUgf5NzXaznxrj1hNaklZzSTko7uyQQnCviAiEAluPidePIL/sKYZtaNmNcR8/BKPDtIEJUS0/X3ajtPc4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5n67ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1YQ/+LZT//Iy1mAPt6pT2ggznTynHnW2CIQa4mCOEqvJ/dsdz6taL\r\nvJiUbCLWvGLlTAs8Pg0Dnk8QZ8/oIKTgrHFEls+XJm7vpzlYfrGtzjfT9X0l\r\n0Gv+z41PhhSKqaFphZ67qKZLtFF2gmM/yg+y5r7nWIsjZltdzbwydCt+Gtqt\r\n2Z8MfqC3zdZF8WM4CU8IUAMrkSj7ho9na7S5Wtw5KxFI3EQKuxGBlgPDCLec\r\nJhbsoNvH56z641UreevJYZPiKvUpoWZUL+xvpow0Axn+budFgl3951lVtbg0\r\nCVivjhBi10tBr276gDxKQC9GWopNsc5HCWElr5wzwDI6mexJDKUdCOpovrac\r\ncWqPgN1YiV927PC4q0yHu6ZbZ+XiYE4VZf9CcQsczITtOLeZPS3UH7ZQTK3z\r\n+OOBrkAM/ueSDD5erPqhuVRcPrGnolyXaRzKj+BD2K3O4MXLTJ25tUMF/937\r\nXzu5xq5XJCfH9UR2/mbXPg54s+Zuz21PW4BFG5PIukXKi0qmrpuT3WGkGgE/\r\nGR0fPXS/FTTFUj7yXKCaJh4ZkQZFOOyk1Sm5DmoW0o3SZzbCuOQGLzaDLHrV\r\n8jexPTO2+K2KlYHUHTDurZW/I39AbhwgGDD9b4GV2D4BpCuQBmuErpkbNdBW\r\n93va0VTrCC6ugIRmd4QVzehRTKNDu7Dezio=\r\n=sL3H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"19381e07703f6fdb0652138ad67c200e062296c0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T13:04:49.323Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.2","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.48_1659272891073_0.48477795362128284","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.49-renovate-lint-staged-13-x-f77684a0a1c21fdf41f208d014aff5282b18f444":{"name":"@balena/jellyfish-assert","version":"1.2.49-renovate-lint-staged-13-x-f77684a0a1c21fdf41f208d014aff5282b18f444","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.49-renovate-lint-staged-13-x-f77684a0a1c21fdf41f208d014aff5282b18f444","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"83afaa6e4c055a75db4943bb09a1f7920a85b665","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.49-renovate-lint-staged-13-x-f77684a0a1c21fdf41f208d014aff5282b18f444.tgz","fileCount":10,"integrity":"sha512-Exxi3ontP/qB23jGSksUDNYqohkE7mEnpW0DrFRimluamAVitclGj5kCL1OTYCo7aF5H7yCf957YZbTx9jctnw==","signatures":[{"sig":"MEUCIQC4pThdYfqFCkTzzwL+3/aostEG8nYXXVhdmY8qMOP6vwIgQxP2DlaDk7RTXOe7r8g4/F3vu31JNWM4+ebq7jRfOvU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5oCpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplsA//e9jMQ+NRaLDZgpHIudSqA9xHtTSRqpWrldDFF0YhZn3pNc2I\r\nW469qcHKIH0uka8gwplLflI6zpqqqeEARiEkT7ooh4xyJPqddymgp2OHQO8n\r\nig/YH4aQ8uHpmve5BaHfkeGiVzBefeY8HRNT3zSiEpy0tpWuWM5eUPdxkDH3\r\nK63fl12jSwebYcx1AM8VmwAxHxLthKhGd0WU2TLwlZkA4m63d5nr8CaZuZ7U\r\nDe2X4PIV8idKhx3tO71XfiGnQ2k2aao4jDnGvaHfCJEYnb5chyqPLUAjT9JE\r\njV22C6b6LRZmPyfgW93H/BqmzkN37YssKPY2+1o3clFKjf6Zvvll1UXWEbRD\r\nirYT9k2tPZKuudPXciLcimwMTfZrBU9s6V/BB3/QTBBAVbBMLhpprTHnIvFd\r\nvWihGgVSDJNLb8yL3OG1BLA4QELat4QRazQ/+0jD+j4o/pZuLAKQ7+LDqXnD\r\nNfRvxUj4CCAIUueLi5njib+XDQYOltEmRjuRe2V2wurrlC7K+IN/k5vGXuaU\r\n3IGIXMp5ocKF+iS/VKMwdlTa/Xl/0hQAY7Km+Di3pnmw2V1et2N3Y9L9h6h5\r\nPB2CSuFO5Nwd1dQeLG1XN3yjrZY49XEw0LSmtXlWmHk4dAVzy7BH6AarU5V9\r\npP9s+JRDWrH38VKzqo3NGq/XbvGoGUlwATI=\r\n=F9Yl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f77684a0a1c21fdf41f208d014aff5282b18f444","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T13:07:43.554Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.49-renovate-lint-staged-13-x-f77684a0a1c21fdf41f208d014aff5282b18f444_1659273385213_0.22949704265387472","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.49":{"name":"@balena/jellyfish-assert","version":"1.2.49","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.49","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6a493696a5341b4d6e44fd4dcf97b1f8e2a4e7b8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.49.tgz","fileCount":10,"integrity":"sha512-HMcgh2IvrPOeBm3iHSlnkGajy1UyA1YdYvOijxVYQIOh53tbWnA8Vn75dNe/QZt8gxQn6Datjk+AsAViUkTHDg==","signatures":[{"sig":"MEUCIQCYZTlHesYTrYbYPZC01ZzDs00oreyNQs3IM4+VJHTr4QIgFOG33nEhDkioBkeAyAmxy+mHJVYWrxONkO0kAGaNPHM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5oH1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2QA//bR7Xe91wlycq5jGqVnPGo7NyURJje5Nke8mICYqTCA0U8oHL\r\npvCmRbtPbvkNB6sv0W/Xpjdcb0WKThDiUb3DuuvdpI+SNpP40dK83g55khlh\r\n0S0VPPETgwbZwIqcs1k3tUA1D+2VYArdQxe9IFQM/DayA+LjQKvfLSprCrxq\r\nG86rzYWpwzvhJHLCNNYfDnli2aeNQ4a2zPGz66jzhcTrW7muI6vV2nOLBh6C\r\nAZD8fqnfZVzuhbECu0CqV5UXybqCLWyMVhacu6r6TYybLPw3WOV1BeudAa92\r\n4ZVJo2CmafsHSRkcbMRIpVsZJZvlS+EH0+XPWQrX5RVVS7YyNB+oYOzZXTxb\r\naH8Kw5/75S3aeHtPa0VjuP4t1YPmyRQRgmtNKBsoze8rN3Rie1pQQ2ef8yiA\r\nCPAZkuGbaEYmxIJoXrtRqWB6Iw8xB2Mr+IgrWxWhjBZpiNmkWgbaP+VrSrCy\r\nXpvxNqC7xBGB8GqiXlHSddmgDopAu2GIHO8ACddWoZnX6SpxO+vzJ+LqxWzr\r\nklhU2jDTcrZs2BwFjb4jMce0a8z5f+cbdisoeTlEMDlv9Kyn6lBr7DqojG3c\r\nQWrvIUw/zGFl7hOQ5sb/miJv48GBARhW9lU8Vqp8wejXsfn1XPNA29UA+MEu\r\ndqW6BRw0IE2fwBr5gsEEXzLFHGjUf3g3V/Q=\r\n=mp5g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"80218ba3f168241535f9d386cb49cb369758b7af","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T13:19:24.091Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.9","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.49_1659273717245_0.5395869812739296","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.50-renovate-typedoc-0-x-bc402b8ac237fa10193dd51e3017aca62a47c023":{"name":"@balena/jellyfish-assert","version":"1.2.50-renovate-typedoc-0-x-bc402b8ac237fa10193dd51e3017aca62a47c023","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.50-renovate-typedoc-0-x-bc402b8ac237fa10193dd51e3017aca62a47c023","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cdf8712f0f4b4c1228d7427740518f3c67fb9ef3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.50-renovate-typedoc-0-x-bc402b8ac237fa10193dd51e3017aca62a47c023.tgz","fileCount":10,"integrity":"sha512-IJSdCDVsqOUAfcDkWqepNMerWW8Dd+8a5wy6nkHU3CCMJRIkhROqcwMbYg1ytl0mLHSR6dpPf/GKhkoeOu8KaQ==","signatures":[{"sig":"MEQCIFlahFpkNI4HP49gBMzPdjU6B+mTz+IzwafJa2N9YQF5AiAhf44lvewM0FG985X8nBYs/w+iLmRfOXlCkV9XtmHaWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5sdFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrymQ/+PAPm1aNQ6IqgGyTeEsF3ojBSoCCLaEDvBvpkIxfdl9F1/tEa\r\nsOgell1XBJD9clYTGoILazafsY0ku0cIhBiT7ybAa/PwfM8oi2JOAD5NC7te\r\nMh75XNt4Ok50sUemT4ItEmaP1OIpZFwuhQaLfu3KjJge5w709bC+9JlEtmxF\r\njy3VTohkDvgpiEVf+ABP0jgGQV3a4ZAcqPuaFtNjDvZB00Yv/NV0jyw3FH2Z\r\n4ZA2hlbU6pPgs/32G8oINMSzMl9pXS1uNn8WescfZ+lC1Y5TbhA0EGfCjSkN\r\nY8eresmjLq5EbBw9B1BaoyIZgXOcVKzuVSmItK3dSLQiqlkRBcwsQdYxFNk8\r\nzfjbC7z3O+KDkwVbhRJfGSHEaJ+R9BGrVC2refOYKBt3ICVRvSEtMI2E53cy\r\nGU5bui2ovKAdnfWg87FtnG6uvX+FEHkFLI35mhGuN4HyYnxf4tqk1LNBAr4n\r\nJ0jLmpWZHYVbr+Mk/rhsBVqsA4bCpg25kD9lWUdLVTdB6dr4LEhC3XBr8UZ1\r\nO3GyaWGJkNBcCXyzO19VQFmdqCL2Oj5FABLWE93+8sR66R1OEBeIdjURfSja\r\nr+BDoNm8aIWkUNPooKeB0HCuQ6gzjGeZ1y5i6OX47iAmS2FoVzVRkVilijHT\r\ngu13aWKG+UTp4QHaSo2yrIq+dee0FkebsQs=\r\n=5+vn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"bc402b8ac237fa10193dd51e3017aca62a47c023","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T18:14:22.512Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.50-renovate-typedoc-0-x-bc402b8ac237fa10193dd51e3017aca62a47c023_1659291461170_0.13257958300717698","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.50":{"name":"@balena/jellyfish-assert","version":"1.2.50","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.50","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b9fada3ec98a78df255af04704b6d1bd94c0b7f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.50.tgz","fileCount":10,"integrity":"sha512-61lIb0H4y+hq8XUr3oFvTWSDXip1uvjxScE+VVhWD8h1XM10BDpbGf4QhuvnK2dKrLQa34yStEqxLI3RRn/7qA==","signatures":[{"sig":"MEYCIQDXGGICeg3y/QUvXvPaRWTIDiCHdFdT57MKOwmYK5qb7QIhAMuWWvEj4AHzMM/7Yy0a//Kmuyb1S1BL6tY3mdUl/Ypj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5u96ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqLQ//Sk771QGI+4k+Ok/srjmgg/+cr7CKK+1zvgVumJd43Hy2v8VS\r\nZt3TST1k40l1nNBjh1qf0LQOQowYhU2CRX1djJnmDQsx9IgxX6Ru59DBTMcr\r\nd7vTSZsnFguQjqhh5WNehoLYz7QuPiFILQ1cj9wYSE2vzbPxPOLOcdpKnbw7\r\nkVBRC9k5VChrmF9Kzbn/j0qAhvXVNwsChUCvS+mtMvtDwIJX0ZYC4iLiX2Sy\r\nV5DE13QXMiYFkxdogc3OVG7DI2UoV6w11w0j3PYRoMc91E8I/2oTysSU/6w2\r\nvAUoe+1MxDXKtmij3dH4AdA0gr0KNPs4dMChh5ACF2Dj84yQ11/OgEKasazf\r\nsYXh6kMgHlZFYTOW319pK0QetfFOj3UG0rycg1VQjEXSx5iGMEP8KXpmHJoQ\r\nE+vLhuGx9qqWiLM9fblEeUjNENAXyA411jIJ/6McRy3h77nZKcV9ToaHpHUr\r\nRZofo75jOTYJp0yzuCraH7+/uKWoVV8usrTGXgbYTIOQMIi+mSrwGUYTKUjc\r\nyPzM42K1ATbKSh01yUMZSDPyHTcGpvoAuI5MCXVzKft1EqXISJXWM0Bcmwj2\r\nO6nUtsmuFZYvOhiNsO3o/fjVSXvLkBh0qBd30R00UupPfcDc10GQitFpMnWy\r\nAhNtYNajtq83y0CXIhoNkJws3w8syfgB29I=\r\n=01ie\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8a641e767912dca2dfb6b907e69c1fce0b7a0977","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-07-31T21:06:58.237Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.50_1659301754767_0.4534111206572009","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.51-joshbwlng-update-gitignore-46593d46f2343a27c407daa9607c738fb638ec62":{"name":"@balena/jellyfish-assert","version":"1.2.51-joshbwlng-update-gitignore-46593d46f2343a27c407daa9607c738fb638ec62","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.51-joshbwlng-update-gitignore-46593d46f2343a27c407daa9607c738fb638ec62","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"db0cdfd7d58f76734ad981ddd995f827459a6b2c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.51-joshbwlng-update-gitignore-46593d46f2343a27c407daa9607c738fb638ec62.tgz","fileCount":10,"integrity":"sha512-/APcUg/Fj7NUux08VqD6d9IaSFctKq0rmEQbKwfWpvYzOAH/uJTPU1M+wiGo5YqpqO2t3jUJ+HK7i8+rk4bZxQ==","signatures":[{"sig":"MEQCIHmMyYecKlzeekDx4yQBSDChsXotNZCcCJVXFE9MkKdDAiBc9NiOUHEbkDnAaXqP0v/zTbfVfrIoYX60mV+EHbUkKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+zEPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRSQ/8C4tD8UN0vnGdflhnnoqoTvGdBrl/IytWqRDD1bJckgBsbRwx\r\nRAcI+LeT5aEN0DAQdPu11boNGjejJm7uaua/eREGV0wM3ufvJ2fGc97DOTKj\r\nYTJWNwZ+bLi/IILoQQqCyUviC6aENCsSnhwVuJuX3JOBL7nGmJ5u5FIXrvuW\r\npyPnGbcr77U57hFsF2LCvlY8HRH+4sQQuM6wKyGsln7rKs8TSFEGKwl+1/sR\r\nb+3v7Jm5ymukqCAo92+Kz3D4J+L3Ek5eCmo20O43CozFhscgOwDnAO6DPYcu\r\ngJ+hX8+Gt9skTbToKD7bbHe4AEuJcdoBPHI0hlQJkkqCaeZmMYY+xvV0S3ZY\r\ny+m2Rvwtsvmq6uuJ/SrsRYrY7SwMUrVblQGNe56zh08q0WgIiDga1y6crAWQ\r\nkx23Mg3aRY5wE6FiXvNPKMTVo7WlnjdVIYzEEQxLbuCMzA3p+psYllrPdt6p\r\nZmrUasNfE8g3UgxcQ3vs4plD9GXJyet+FmDpVBKI1hL0L5Bgo/Lr+YW65fd/\r\nJnwU2NMXFPV/2bG343B77s/O/AXHoIFPGWA0wUYTPe5SUZfgS6eHhqSbbiej\r\n1kFVOZgNER2V0h0jPEEwhE+Nt+BT4r0yEzSl46/iR+WU2HeSElOoq7tmjbYx\r\n7E/dGqwnRYXzcjIwi6opRBB7wAo3RbcSxok=\r\n=8vKx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"46593d46f2343a27c407daa9607c738fb638ec62","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-16T05:51:24.391Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.51-joshbwlng-update-gitignore-46593d46f2343a27c407daa9607c738fb638ec62_1660629263356_0.48050506705530993","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.51":{"name":"@balena/jellyfish-assert","version":"1.2.51","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.51","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d28a9cea4db8cd3c06ea2605f287823bcbf662e6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.51.tgz","fileCount":10,"integrity":"sha512-PlImcoQtoBlAMyJsWXLbYXuElmUuvKSczwQ9c3IUpC9LALDTKvc//cIaVTrhrRGMum6VyKAS2dpcxNPAN3uR/A==","signatures":[{"sig":"MEUCIBJ3kjaWVxSXGh/qOA/Ra/AYJ2K1Wv/jAl9Eee0tDh8/AiEAzaBfWgdRdZWutDOB1Zi/YwZnJKP4u/TpzSS2WSewCUA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+zHbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqp+g/9GWYQho0V07gh3zTOPojseaLtPfDUITsbUVP854GAfA0m9AgD\r\nTYKSCxhG4Fug2JxY5/E9bchdPRsfkd2R85iQw5dtq4drIfakX8rWKk5Y2/13\r\npih8MlA116nC2zH/mlOziKVz1NoAxFsswXOGIWbdM8oqSnTHQzISZ3QN+HFh\r\nDSNOpJt6WUusnqncVzYIJAdbmMMOGWduNirsD5NevRir4cAqCghA0EnCtTku\r\nlNU41cVvmR3H+pFhZ6yRrWEj4gCjlzgVZLx0izCFQNwKJH7Tj+w314Sm2Bkf\r\nk9JcegzmgVi47P+76zNLqy9Q847Rp203vrXFwmjAf36BitTLsM+5Oo90GHJc\r\nwYLDysKIE2tN7Ojy0iPUBEUj3F8uZvd+HMp0h5sG4MZrK7gKHsNTsh1wAys/\r\nyLclTnl41sDScbGGqM8IJxWQyXKxQ6DlLBUsEOXp/L0kSZM+KUBfS+jhbhZB\r\ng78GMNng+kEXsgDAAJMy44IoXbbEYdwn+wegUH0cGoVmVmfqwhNaNMWhJHSI\r\niOxVfA6cNgKm8Adlp7fxe6BzxzW73BEd4tiSsQqUQhTUirKHHyri2vlyxOQZ\r\nuHJbSvhyL28kgOJnjiPrS6E9Ciqx1UmdIMnJSwlXePEBdtJMJzwlvSlN5eMB\r\nWthsChFVRTVuMiOurjphuAYTh8SWOS2ET2w=\r\n=WJgf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"63f19ed2ffb30341a86299d5fe73ee0b438974e7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-16T05:55:46.828Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.6","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.51_1660629467403_0.3427617627283943","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.52-renovate-jest-monorepo-c8bb01cc2c6d731a73323588a7c72c0ce65fe987":{"name":"@balena/jellyfish-assert","version":"1.2.52-renovate-jest-monorepo-c8bb01cc2c6d731a73323588a7c72c0ce65fe987","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.52-renovate-jest-monorepo-c8bb01cc2c6d731a73323588a7c72c0ce65fe987","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"88d8a48d79a4af0d15826716617708a73dc6b955","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.52-renovate-jest-monorepo-c8bb01cc2c6d731a73323588a7c72c0ce65fe987.tgz","fileCount":10,"integrity":"sha512-+5RUkNH9yoIc9TapBBJoCklBe/9GB5HiIlP1HUgijf24ZWD8j+9lRr6z707KNLoNtYpl4FNsJSk5HQWPR18WNg==","signatures":[{"sig":"MEUCIQCjNIPdfYS6wjlnf7uLDrS/ferHNb4Kmhh7IgwMwALS5QIgV8zJdHgtiOGDvUgFRB4aBfMpbwiJ7ZxTF9H+GH8gOvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjACzdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/Hg/+I+E8wi5zUhgGAzgkBOzKfnLCKiX4wfwOwknXSB93Recyjsei\r\nxzDzVVMjEJk7yffaclo6f4WPAWdXUs1ONWyQJx1RJHeyrWnoQijcDqZkX+ri\r\n+bFzAPlxMwIDKYO9PyXVrXErUOqCPoaSW8SrlBUs5tQ00Yua8VTC6qpmnc3X\r\n8sjbZqISrSkw3pM8rPRNqdK+dGEZM6+6OIztEBPd80Gf0ZRL8jtPxjp3YS0y\r\nzEyZh0F6xwubPpG3X/D9gIQhJqgfvT/1mgCVh3sMqTCzKe5DayhtLIZHPH8U\r\nk1SGR1SAJMuK9+Jf19f1ZrPVnfk7dQRv2UavXPH2kAeIm0MhqSGp8+UGVO8/\r\n8EnbiZRxB8brYR22D5I7LKykJloZ/F3LjUS2HcbrMSf5KKXxaUAt08NHY3E3\r\nORDMXyUaePm34O7yxwkThF2vRmxDlpF7z9X7+RlqscYebiNvgRKVEVVHdmiH\r\n/Rs8WnMLCjSzK+uBiFg9tT/c5zfZjmpjPhXUqdPJMeQ0FATEUKjOlvSmdhkl\r\nwJlt2rZGULHAUlE4WhY7QG3Vv6VmgpPt8MWzyJCOym/m54hXns0+aAh32Meg\r\nw7IZPUhnrSlzsD+EIKaYCrfVxMoRFBJg6v8/fbzY+tupwj96W7N4gfxStZEE\r\ni2EdS+fqwcReQ2cb1vGIl0tTy3IlbRznqGA=\r\n=GOiP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c8bb01cc2c6d731a73323588a7c72c0ce65fe987","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-20T00:34:30.612Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.7","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.52-renovate-jest-monorepo-c8bb01cc2c6d731a73323588a7c72c0ce65fe987_1660955869226_0.051484065672696255","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.52":{"name":"@balena/jellyfish-assert","version":"1.2.52","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.52","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"33dda5d0c27e33f2281a25c62297a7a67ee25ef2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.52.tgz","fileCount":10,"integrity":"sha512-gknmHLQx13BPcXOf7wpCPrf4ijmdyuFT5rWfkuabqSyqno1qVboeASNx6tcUfFvCWZqebbcXaDvJ7xmTTRcScQ==","signatures":[{"sig":"MEQCID8CMgYRCwe1WFfv1rvzOakTne2GT+FBvU5YBIbFtwVuAiBiAnHkMf8XCBknQFTimX2dqbwjpET579682HGGQs6VbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAC2OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcBA/8CMnwVyrogc21xLit/M/LX/w1JI/tDZ9EQBqBeZWlEVFhVCAQ\r\nPxq8bMRqmEWPoXXxERAphPgU6ELRxLjddCpyM4MpmnBu6APPeXwoNdG1fBmp\r\n5M109iLnZ/IP77ubhAdGYr76jnbjA/qU6VLHx8PxvQyGG92fb/LJgHuiadP9\r\n1c8WCJzOt5/iCIl7wrjOkF883aBDu5t9KJM74tJF4T65z3wZfSxLYLUbUjmV\r\nbYsVQ1QTgdXS0ajA0iBtlqA+bVJWkKUZSjaMwbIblNtcvK+K6DGXS9nXZyvW\r\npYo7EqI9EWtt0Un5EWt7T8lVgb+EXUNXDJ1NXkQ7TrdZ7pptv6g957CT+ESz\r\na0eXyXckfvP5rIr/7VZpQKMcwmaDqLeDL5Lm9wSaakhIRaoO5sn+CQte6/4n\r\naonlzop5OBjTMnhNkZlcUGvg0lSpGgxx+Z67OS9psXXjd0wNNqx1BnAhPVBt\r\nxo4G4FCQI1btIhO7EU84C/L5kxq2krFD3a68BuvMdnimGyRWVDmlfhA8xox3\r\ntR8PMmRSQlgxwP+u1wFQenqw2Rh4hBAgfK4B9BHKFrC9uKJWCgywM0dclSgr\r\nWtTRuTAUFcul/EbMKwcdOKgY/7A94PFuk5uTGp/r26X51E6QXWhLkTxsM1Er\r\ncYblQ/lftfJ6PDeyee3ZYcOzNHrbufC6KD8=\r\n=fFfD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"dde74d769d75c423aa0379809747bca093b01d48","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-20T00:38:38.839Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.7","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.182","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.52_1660956046624_0.36257815622980805","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.53-renovate-lodash-4-x-f77fd3f82712e07e95156441c661487f586e3203":{"name":"@balena/jellyfish-assert","version":"1.2.53-renovate-lodash-4-x-f77fd3f82712e07e95156441c661487f586e3203","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.53-renovate-lodash-4-x-f77fd3f82712e07e95156441c661487f586e3203","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e7e8e485e6db4d6f2ec467598c8a4a87f7fb877d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.53-renovate-lodash-4-x-f77fd3f82712e07e95156441c661487f586e3203.tgz","fileCount":10,"integrity":"sha512-xj359QUwu7+QheYgzuVIibSzhDTOx0UYOz86MQ1CqZ9mR8xK4TN17RAllIT4ClRnK6wj3tjo8lam3sCmjqvbRg==","signatures":[{"sig":"MEUCICB7Xsxeclaa1ManMzYQG2hXLE+YQ07AY9gnCDlRfnI1AiEAqZ0Klqh+JKJ0P/YSCeZvlOiwSvwwiRvnFhLugTPx6jQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAC43ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolfRAAno+GuARu++gTNOGKZKK/6TKQsgc3lmKVA3P6YRB19krQ8rtQ\r\npN2glw67no2LSW2IjHCk7OJxX7Z+/7I+homF4Kt+/tnsDa0fj1u9Gx6Mt66X\r\n32an5xGGzPjWJpe50yrZayWbaKr/gG1S78Pnpbzw550vkMRkdy1SJOxCmzNa\r\nZUmPMNL79QvJRm0oWiQB3theiRVwIb9V8uSScMWTLWGrA7jfhAA34mJO9Jnd\r\naQeiiMCE6mgiYaErpnB05i2/bdBV+AIOgnoOUh9bDF1SfWT4npgWeXVETXV5\r\nBRGh30xuWU7pazfss4G6iiuX/9681Wk3/OynXGXohO091oCIaaXD8vkjRjVU\r\nMfrBEDQWLTFhqSHKNuy7kpbl6Aw/0FXKwKHAbmlSjfvwmAMR657DkuztSFAv\r\nMiCyE46xIiDrF7HNfoJUsQ/njCEMLyA/XAdBVhCcbb1Roz56flFd/LpVuO97\r\nJf3urI401cvvm7+EFc0uBLhek+AFwjLd9swxY6ARnDnz1FEQ+EYAR0gnYGHN\r\nlYKCHqwiRatWons4x3sYbhuGQBZUMOpyUP+cEa3qdYXS/dqQdU2a6bWSycGY\r\nR9nMdhGqny9oLQyGnUQzBYfQKeLKKofazZ/FzghTsgkY5bFLLs5Ca9ChJF/f\r\nfvJXqDAwVr7/tsGhg3A4RsvVcqXU/5BaDlY=\r\n=+rvR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f77fd3f82712e07e95156441c661487f586e3203","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-20T00:41:05.749Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.7","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.53-renovate-lodash-4-x-f77fd3f82712e07e95156441c661487f586e3203_1660956214801_0.3566606422843084","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.53":{"name":"@balena/jellyfish-assert","version":"1.2.53","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.53","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ed5903b1ce6c3f2c3ed669e15b650441b48a3bd5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.53.tgz","fileCount":10,"integrity":"sha512-SosJ/hdgeesQFUgaCvYJ8m0L1dSuzDHED/2qyk1EVKvpW7nGr8gbzJcV5WhNldF2w6xooAPZuaO6kdELp+QGjg==","signatures":[{"sig":"MEUCIQCtvRnv4rw4NlBkNRdLf1ORKAxnfWMRwJUABPZ9sJ/wdQIgIw8Gym/zystY62wcC93yU3trCI/DgZdFTND8JmuznFg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAC+hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqEHhAAiQvZzHubg1ZxKCLUEjToSGPCb/YN8zhCmQMc1XPnv4OaGH3U\r\nirCinx/tR+pooXv2prmMHsXTUKdXLy9gUvZVV1rNfCcyZjZ3hqUBzagb3ja+\r\n/5fZgxWd1SMjMXguX6yeqgsLMpQyIFxH0aDtBdMsyh5h6gNyxxq89oTK5RuY\r\nkHwmJ4sVfaQWlQ0IONNjtato2UUCn0lyMcd8Pf9lvkrqS9zEjzqN365C1m+V\r\nXUO+Jra3MuuO361bLzkvv3eWUnn/JRf6FRspUKaziNo64sWuPQbfJzbXXlfu\r\nINAAn+Wv8XJv4+HejUuSkhs+2mHZxk+ptjm3Q84twDf9SAdlQrGMl2z2d57q\r\nQZaSbTZooYzp/7qi5USOfBcHOkysgoztQm9wzbDab4vkBGivbF5ICL0dY2u9\r\nvVrsv+EzxqJ1lkHCtmwO/kMuqzkSfH0Sy0ZAt9GGgMhf3ytnTiYpphj/EwoW\r\nI9TouUkrEct4T4L4AIQ508QyEWxH3vXdNNc+EnECG7H7syGMQ4o7xO0fGqqp\r\n/YOqi1fl+8HM6djDfIMIMbd4jitx5GiAPq4oTI++FyVWq5DdOEGOVc+qnmxc\r\nhGq38wFCLAFDI93mcJjAB1TpvTGP3WYJYyYqWxW1wBt+12G2JHImWB3UH87N\r\nXW2Uwrd2+mcJsPIqXN8iwtQeqI/BXkckdGY=\r\n=ArAG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8f3b75402664469619ebe5df964bb07e2ba51b8e","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-20T00:47:29.616Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.7","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.7","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.53_1660956577558_0.933455523686519","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.54-renovate-ts-jest-28-x-4b946e24e94f31ea1f5d5b4de50d4fa40a21d084":{"name":"@balena/jellyfish-assert","version":"1.2.54-renovate-ts-jest-28-x-4b946e24e94f31ea1f5d5b4de50d4fa40a21d084","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.54-renovate-ts-jest-28-x-4b946e24e94f31ea1f5d5b4de50d4fa40a21d084","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3bb34ab65cce1cc8e2fc4212f2142011de33e0e3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.54-renovate-ts-jest-28-x-4b946e24e94f31ea1f5d5b4de50d4fa40a21d084.tgz","fileCount":10,"integrity":"sha512-Ay6bKlVZTp3RgPRMvXpTehJmoZzUtinyXOgUnbVStN57vnC1qnrTzYQLhGBBma7lUKEOXjypIVhR/E8xS2aDCA==","signatures":[{"sig":"MEQCID4LPuuExVviQx5lHqdZ8I7oNgO3Em/ysucyGNdUb6xCAiAD3j2YhN173R2snU+ndIzMGY6Hg3UatFkKKpdcOHrItw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAFRVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOUA//YH2O/Lg4wGPYim3KJyRZ9os8JVDVmZt/ronIqQHzAFHxwpIn\r\nTjX4ngZa/oJ/YVeR0Caj0AQzsykbk2BEh9ene8IvkUhd0NNApnYP0Wb1heog\r\nuMndf7wMByrmODkoyESy/c7K9X4zwc4GyCj5KRtAi5YgjWMnEp+E2vNgseGP\r\nnxtG9NoBtsBggKYE1EeSry9m1w63ThiP0KcAh2eh9SHuT+Q785bx3mHXoNDn\r\n6SMsGQRf17uinbwm8WOpbl53OCm3skQX3jZXJSaO6LLHAYzMUemEyC0Do24E\r\nms0IPXrZI+4gwlzqD5tbeN+VZxw5KhpiwpMZ2hgjCCLC+I4Aw7dNtjdYhbUT\r\nqQejc3A0KRjGh+S4YetaKWOa9cESMJccRVoPao/RCXbbsmM05T+lK8SEjs4y\r\nnPLeNaOsZTcqkr9P4iN8xbGsLOezi8X52Rjaj1VjCIIU2fhi9ZKxxNtEoOlB\r\nKYUTUd/VKGlQu8eKJxF8t9D6LXtPSi1QvWUjM2JR/hnQvOZbXI76S3sLrG+l\r\nPEwafrYH89fD4kQpCdxJIFXAr26fVJGRE/ZZw4hIhFyAEOE4Dnva7+sW1Ycd\r\nwEld7bvYokYIsza2x/ZnGbNLI29joOq/bNxh7hPrkBEkWODUjTOPyLRbHfgO\r\nGYKinjqF7HGvtqK+rqxeI/zD+er94V9banY=\r\n=3oEE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4b946e24e94f31ea1f5d5b4de50d4fa40a21d084","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-20T03:22:55.890Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.7","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.54-renovate-ts-jest-28-x-4b946e24e94f31ea1f5d5b4de50d4fa40a21d084_1660965972744_0.6915546150063037","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.54":{"name":"@balena/jellyfish-assert","version":"1.2.54","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.54","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4935e9cb3cd187253ce9069e33066179085735b4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.54.tgz","fileCount":10,"integrity":"sha512-sjE10Jt2YkUUmxniZxnM6ON4QH1zKssm/4wgU31bwU2G0Xq3NjZuG+f9DYTi+nV3CR2RaZGAm3ZgtL287/Mesw==","signatures":[{"sig":"MEUCIF44eopj6CSfSSxJRsLwcp/XkcyK3xcHN2x7oLGfuBYJAiEArCfWAxCc+uaTD2gkkVS5r19JVsw2pPZP9i9q7FAMqFw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAFVGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsFw//Yow8/TfOQl7p1m3NzlYMd3YpkXqJrVD43pe5FaE2/oZAw3+w\r\nWBKNJJyAsK/AI5kKkVm3ike3EkGWmXluxJQ2tMatnZfXU6+GtDDz0j9+6L5g\r\nv9z4mnjV4xh+w0Yi0Ps1GMwcDjNye/fZfyoMSwM758KB0KcmXt98PjNPOXpI\r\n5bLvr9kCxVxXrPiuhOx2tQoE2HG+rJKRGX6JHsMUgUC/3JOx+8cIbUIgG5ev\r\nvvT7TlN5W/FNBX8wtaVT2EzD/AloybQC+3lEJTQMHOk/btaRXUZO2v0SX8Nd\r\nhYruWhtvEuirOTDt5yMmuHwCLxXd3SOmV9oymVLU2mTzZO4eMaCRFbfzh6nY\r\nGm0VUZoZfwPUltz+sAgiIx/iyz0CSr9RGuonHi2ERACx9YiLkGRHct1SThY9\r\niXvdch5ts3uQHitGEwgCqzJAHOWKUjGV9PpZb89dAvvdRcJZuo5O8d9tR3so\r\nseAjr8/RiVegRy3Q6FMPT0ajwhwkwreCKiaXjj4zdgHatSYal9isP7kL5O66\r\nOR+57suF4yVUPJswzgLAbnzoYzN3+BODCYy06nQq4cTbu58jr0O1eIFue/cf\r\nsIQRRzKs5x2xJcMPinBAG4WrmxLVLh5cTR7ZngKNDGHu6nAf9r8I56qS+cMG\r\nbghs8vHMxdVMa2E6zR29nNvryYOwJgDf++k=\r\n=s4Qu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"800c31145229eb000a9074b10a52781d29f4a7c0","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-20T03:27:56.841Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.7","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.54_1660966213798_0.6795153366668554","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.55-renovate-jest-monorepo-4b0db2301f5bf3f99be0a633aa8e27634497e8f4":{"name":"@balena/jellyfish-assert","version":"1.2.55-renovate-jest-monorepo-4b0db2301f5bf3f99be0a633aa8e27634497e8f4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.55-renovate-jest-monorepo-4b0db2301f5bf3f99be0a633aa8e27634497e8f4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d73ef54c9ec04ae73ef83ecf8668c26d64d06a99","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.55-renovate-jest-monorepo-4b0db2301f5bf3f99be0a633aa8e27634497e8f4.tgz","fileCount":10,"integrity":"sha512-G5LQ2dgzoLEgRh2pNyfq9KgXd/kcDFBaAGEyXB2zHPriQ7E/kKLPni38QICU14qpUewGieP6syAfKanQcivrtg==","signatures":[{"sig":"MEUCIQDGtg3eKhwfUhBW9mBUufQ5rSJ+7PyK7YEb0j+YuO7VdQIgXBuWwn/f8zkRlhy1fdAhpEjx75Pm3tGBG8OsCPXNn54=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCt0oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpV6Q//QGy6XyI2fYF0CxGgPkV/OPRRZQbQQ0T7pDPsDKxZVL8fDF4Y\r\njkIxMU2Z7ryyP/CZ05xemsCgch/Bw33p08xvvlQheVkQzbm90QgLsSsx74CF\r\nEe2caiNtFrnKGncrzY0CFBJcXVzhu523e31T+/Ax2HY1Mqhp1Yu5laB1+bWv\r\nPK3278sXPa+fzWJEBvAIAJtQGBorh4tUzT2XjPrEjrjV6fSEwPFrVqsq5mQ3\r\n90jpt9gHs/HlKptb+Hr5OJznUmX9z0XZNdJU7yNHZt0bCvqJFqYaUNiXRaom\r\nYz4edzuexVXoFf3M2rbkdTAs0LV5h7IrKFql7hjLgg3PBvsZHEo/74xvGYJM\r\nTKefiHHJuPvyk7/JM106Cch9FDoGGXqZpsbKyIRElvb9V5PZ+GXHjCt6SmhO\r\nFIoOUzywijcoiAHSORyV7fj7xiVkjM6VNJG4oKaWkcsauVKuZxV+uqUQoKDm\r\nVy4SG7bREtKeWEhwj+hfg5mbpzYg22W3Y9/+8TACQUljioJLDHh9qEn1lAVi\r\nvo6q8DK1y2UKRBzTXRQ67evWp6lEoeD07AkSbpuwgkeal/lLgR9QtFNURXS9\r\n42BzdRqddy1CPUPtYG53KbmhNokt3JR1rktzEcOSyyrj4Ify3AzNMP8mi8Za\r\nZlP1qXZsQsJW/McFccAP3SOYpJ9+o6pvM+A=\r\n=aI6q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"4b0db2301f5bf3f99be0a633aa8e27634497e8f4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-28T03:09:42.084Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.55-renovate-jest-monorepo-4b0db2301f5bf3f99be0a633aa8e27634497e8f4_1661656359843_0.6062697228112366","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.55":{"name":"@balena/jellyfish-assert","version":"1.2.55","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.55","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"439c0201f9cccda8a06f5caac0ed3164f86d3b6d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.55.tgz","fileCount":10,"integrity":"sha512-T96bHlZTXJ4dgquNR8qBptArJuu+Ne/P65ag8/suzIy6KnuSviZbwIZwYu7FQlK3N9MtK2R7cY651OVcgj/m7A==","signatures":[{"sig":"MEYCIQCNx5Nc+eLBmIaWHXO8uYrPd/FLkYB5BZQPLh+Za8VjrAIhAKb9lXKSQomE2jvBjJy3f+N6VSo84oD+3R9OBOSCu3LW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCt4GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoC7g/+OHpzYPcUEdlxwg6kzbxrQXixJaphVXFaobujYpSoAQoEd6dT\r\nzKGozbBA0OPKMXgDalYxxv2FhD2FolX25dVT4n3oK82SYpXqC1reA1pnpYV+\r\niEccFNYy/KMS7uSAx+5KmAVq6UAl+b/xeQes6L5ViZzETEI9UKQhMzm7XAo1\r\nkRVMgT+aV3Wd2WwnrGQd2ol1FQQD8VJNJujuTA7Al3w/flg0iIXPogmC2FQh\r\nlSOkDOfvr5RC4IZk7aF6d9aCPhpLo65zXFj/0IcgWhBEOjfT9VH+69eb/YLB\r\n1M2yyg/6EBxGIxyZsgqNe6iIRo8PK6ybRnJWauu5jwPNDZdKpd+ceIOJY/A9\r\nrDtbewFGAUrdeQ9/lm2KzMbwR4SroIBIE3/DJNqBFARG8tjD7kpt/uEC50Ae\r\npg2D2+j0CwdBaW2M4aYxgCRJOf/qU3+4tvi5d2ZCwSpA6R/fEG4X/Dng6Kk6\r\n8m1m+D719se1S+A+atNDPFgSyY7OcouIM/TYK5xEQwcPkYuJ9F+BLjxYOEjq\r\nM6wq7c0iIItQl0ehFpMtBEleb1Al6KD6V5KhM57sh04rz82RpYEvUDTwAYyX\r\nFT8a8CJf8VImWWtAFyb4FqMG02p6ZEjLYmPcElUWLW4Vi+3RDVYT8Z/82vFe\r\nfPrV0tuRB1w6DEO9wFNxF5wNMmdleLZNsr8=\r\n=GFSg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"c4ef12cac9426a757f82a73508c4942954e6dd47","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-28T03:14:02.819Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.10","typescript":"^4.7.4","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.55_1661656581881_0.8778422167672078","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.56-renovate-typedoc-0-x-37811410d04f6e6f303ec2c40901e852810f08de":{"name":"@balena/jellyfish-assert","version":"1.2.56-renovate-typedoc-0-x-37811410d04f6e6f303ec2c40901e852810f08de","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.56-renovate-typedoc-0-x-37811410d04f6e6f303ec2c40901e852810f08de","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7f5f2f025c5f475483960042ec562b30a20f1417","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.56-renovate-typedoc-0-x-37811410d04f6e6f303ec2c40901e852810f08de.tgz","fileCount":10,"integrity":"sha512-6ap3nvVtOe34HLKSPbetGWgm0KZUTgNK6yghFOtkJunYfbftzhsvvFnBdtjMWckbdpDlS8+okPTZnrrNokFLjQ==","signatures":[{"sig":"MEUCIAMx7AKwVVeYlNpHJQL0JWjsQ5NHJHpg1heNe0OyKiCNAiEA7+a02pg4j22y4D4kXeSQ0UH+S7yqZis0Cs7QEBg3trs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCt8yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo13Q/+PJxlNNitD0Jcz/YTyS8lESPnrhnSyrdsfOMyzaoloXmdT+F7\r\nuNPzKvvUddSDgmiGpaYpAt4bkL+LJ12ma078B9JxFbxsDTL74ZQLyDvldzkE\r\nMwGKEmxYFie7PaVSdWz33TqhxOGtnNKtWAZs067hktsi1YjElDjxKVhXmb8W\r\nRDvBRdVb6dzKOvJRYiuDc04JmM/L27qf9j9XaVwZjAvJY+mQIb1o1CxhWm+V\r\n2az2GDDopcfvKpaqdLvAzU00GMvg0pKnT6DYO07yA20/NIeoWZ9ZxRR0DLbM\r\nydD0n/v+NnufUy+KZVLOmlKDYgQr7WYsvCTpTiSml/b/YX1DCHtf5EBgIu1u\r\nmLaDEKzdm53cRqbyzYIUksDObT2CuuH5tk0aJU3gYa3rMk/kTcz7VHXPNi1P\r\n7LZBa7SX9t1aWbzyuOwEvNmkM1fSi6TqUk1Ik6IVAcL+g8dKCAyvSq68oPQI\r\nofjqn8YtFs+6+LC3kee7ZxqRdUSL5aPejJAkhvFUfc198txNjk0BS06q8zwV\r\ni8YUrDp5JHfwL2luo9X1QhGaxI/E+uMrgUHcwX/+/CLiOae4KNg8bl6+Y2Pc\r\ng1ePlCK+ig4M+2utRiW/qitkAbBwG3g5KeFkUYiYT1y81s77/DINCYEfLa4i\r\nanS+OcwhoFkAOb+3/rWeeN9D50lB8RaeRF8=\r\n=JVLj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"37811410d04f6e6f303ec2c40901e852810f08de","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-28T03:16:58.414Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.11","typescript":"^4.7.4","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.56-renovate-typedoc-0-x-37811410d04f6e6f303ec2c40901e852810f08de_1661656881897_0.7008085841603147","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.56":{"name":"@balena/jellyfish-assert","version":"1.2.56","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.56","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"902dc87fcc3cc2f030514e8016e5ff3f388c1e40","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.56.tgz","fileCount":10,"integrity":"sha512-KRZUZH0U5tOzvb6hAENuVa6K7+Od5qHn6DpnZMaXYmdaZAbdUPS3IBNFG+X4e7xSPVB6N38FMvQJY83bAMoEdg==","signatures":[{"sig":"MEUCIQCrm1KYacESjJeoBWATzG7QbBL96ZflBCPmYJXj+EI2AQIgerPi0ar89v/5GFvrHFaYxumLY8LA5Ic69Rrf4IQEyzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCxnDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQqRAAlQsceZf15F6aFRwfgM5POdCkuFQ9e9kNJdSdjeULPS5xoQfU\r\nKo0WrDwcdN3l8WKtVn9sD4bfbjelZgxu7BY6iqsJcSFqI9f8i0U8ZnyLla3r\r\nHKJzKPp5Gy3GXotVeK5sGkG/UcJn84lpnzHJab4iteenn9aowxDOFa++kEna\r\nxi6QyoHLdfAI1M3G1Oh5siGj4FiSxId8Q5a1xX7L4RJPHt+ZbiBY1bj0ZpxV\r\n47zZbSrqmcXgVHvaUn4o8V704b7+wn7NeoxxH7U84ZWWFdivDTMEEuW3WKiI\r\nb2Y8s1955c5YtsaCNUDjR/V1Q9fYTgkHwvNvFifT6sPi2fxKLlmHPUDsIleG\r\ncTVGx8AwQqXGLdPf2v8DKF2fPxqMAci+KNiGH2xHcHizmIGZ0CF6FRE4HnB7\r\nUuufUYgDhvCYSE9t8eVyXSyyhLLl55+C0eztXqp0+h2+dBHXgiNpS9Q5kiGj\r\nlKEEqigd0Uqf6fzvYqCvMu4O+ThvVGP61G1Q0wI0K3G6oaGfyTolTleM0Q0T\r\ndBVWeAJLosLYQAY6Y6ElMkVw5ZnjEwU0PCvZEjQHefO/AqMTTNZHmUdF3iik\r\nDYkXUMdKV178bL/JW/9D1nTm9TWbbhXBf6XRiuj8UbroYQz4+sd0Ha1cYBag\r\n/C3R3ddjDByfe0MVzquyKpz7cq1zXT7xWEY=\r\n=GgiU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5b4c6698be41cc716d931d054b04fccf029cd75a","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-28T07:28:03.425Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.11","typescript":"^4.7.4","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.56_1661671875684_0.1726038637451477","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.57-renovate-typescript-4-x-95d5d524ac89b9939c6547da9e9df024a507d21f":{"name":"@balena/jellyfish-assert","version":"1.2.57-renovate-typescript-4-x-95d5d524ac89b9939c6547da9e9df024a507d21f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.57-renovate-typescript-4-x-95d5d524ac89b9939c6547da9e9df024a507d21f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ba9850da2b7cd3c71e800410f2bd40bbe2f5ea81","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.57-renovate-typescript-4-x-95d5d524ac89b9939c6547da9e9df024a507d21f.tgz","fileCount":10,"integrity":"sha512-Dp4+Tu7nxqScTH2gmyEI+g1DyiDN0ktAtXk8pgF7gKzX1Q8Jwsv565rQa9EctA9DpWIVhe7F/7GA98FlLYXoLQ==","signatures":[{"sig":"MEQCID2s6Sgckw/3Xs/f8QlVfDTFV0EVw7mfpDNCtAMT7Fd8AiAW5CuKvdgvnaaqY9shwkOmXmNUgi3a/ae3pNeFbwKJ9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCxoJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0pg//edkjX257K6tBf9bpPd4shj5HvTiqhE55wpT8n5FEVVKmcqEq\r\nQfveAOF7FgVY/X7+SQDfk6JQupPvD+tkbo1irnXsZKKUxMCWF4WSH6eS2FTu\r\nR+ii/5BPG7Syws4w+lI9cfPf39UQh0w6I/G9HijbYjJy24MO1bWv0q2llU0P\r\nkPvSh+DiDX10aNfEWA/syOHMVOO6fWJ1Yly4SIHOTm+ik5LsSQtRbSCQqA0O\r\nk+F+hOJUJ/envUo4cOMjQID0yLuj4NbpKQV80JmRbFhKiFkG3lBdYHDJXqD8\r\nniMYGE+plDBBGzf2l9PHk5TNLwSFfwq9lm7Haeq9oR2jxgdcG+MwxKYmjceK\r\nuVynoS/10dpIGrcr3nlXdhEqf9Ju5maMaU8CRcIoYn3YX9DYL8btRamk1EGy\r\nadc2knuI9Uy7RVqTIapbkeNe5kY+6zTnfl4cmfoWJ2qKSDtOvvt0FjnGcmKo\r\n4BVfmsan3k/tr/xrSPKNd54syIBXI6t04MAEJ9xH+ksd1RPa5HwHcn92mVhL\r\nMY8cYhK9AVEIckGkdL/9ESfxNjG5BV4AA1//47z8Mxh6nvDyXek1Q0w+/6mY\r\nXNn7EEU+vO2dlZgFAV+EMOdC3gZtX15Ye5rOYWDyLy5gHSp7D/n7+0bIckfS\r\nVo7SttJlJ5VZX/QqGebfOseJjUK4I65GOa4=\r\n=xMtw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"95d5d524ac89b9939c6547da9e9df024a507d21f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-28T07:29:31.123Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.11","typescript":"^4.8.2","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.57-renovate-typescript-4-x-95d5d524ac89b9939c6547da9e9df024a507d21f_1661671945804_0.8188684504521462","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.57":{"name":"@balena/jellyfish-assert","version":"1.2.57","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.57","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0626fa31d4aa20c8a01f3ebfbb2af67461759949","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.57.tgz","fileCount":10,"integrity":"sha512-I3cU3VYrtSThrQ/xG6YBaN9/I1rmzY7tMQUBJKskHiY/J/kANGst0Dm+tut0dtip7rK08AXtYbylc/set6n6RA==","signatures":[{"sig":"MEUCIQDF9CEM9d8x5EwkFp9ul7EGRyPd9NPLgwAB8MzkNt7HhwIgTr6jCM7owxdyAFBTa8lu12YeuamhXfeSmn1Of0pMBxk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCxu2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojqA//erKzZQZNsgFAlSpswOBd88d9rx7re2TyBV8Jm7Xs7JuasfV6\r\npGNu5YeV6lQn+WQK4xMB/b/62a+x5R+4zWJ1uBRmqBnELxys/hkQXV3cEuUV\r\nROUG+ODfFVG0eDE5e77T2DkcoaJg3MZNtPPtdaTFOfkvqJpR3XIzAB59eTSw\r\nX5vyP4c5KF/bHcSh1R7sQqrbYdmHAQC3fFzeyGJqqWAE49OPmtEDrTcoas9k\r\nmI7a8cS1/Sg3MhIUyuzRqDdX88/F/h6Y/yyMKR5pC773EOgWp4Z0UHq7ocDC\r\ncT8JDSHnIEpEYhVLXTkv0STYNx5SziqZw7AXx1v+SvDomkjTuSvntqz2yjw8\r\n4EtfpgwPbHDsKnplKxeq49YNKTy0+k+37NgJVKW3jg/H2OtCF9K7vEoFJ2K9\r\nzDgkoCOja+EBBMnzjQw0mkGPUt+ZsgiKgUCqyz32vH/YkuxHCt8r8SZsO2cp\r\n45Fgd5012JLVFTpNWR2ruikEDp4Dm/ZAe6Dmeoa4en4+G1Pa2vf79Pv40vhs\r\ngoS5QGtYjkMCuBpAGCaaVNcOWjinfuljrG+Bz5uem/S8yHCupYH3ZPK53Ilg\r\noDMb+eKxsRNUKmOvMhrK0iaGbXTU+e6EKLclRB3CLLCfW5ASsbtA2f7MeNur\r\nao7zVZwM04RevtPN181hwxfyBEfQAXGlT5E=\r\n=1I0B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"934d9a1782542c94eaa3fdb1838cc3f1e7e34af1","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-08-28T07:37:07.621Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.11","typescript":"^4.8.2","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.57_1661672374031_0.45648219540192847","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.58-joshbwlng-update-typescript-067f8132c93dd949545d8d40457474e18ab6d486":{"name":"@balena/jellyfish-assert","version":"1.2.58-joshbwlng-update-typescript-067f8132c93dd949545d8d40457474e18ab6d486","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.58-joshbwlng-update-typescript-067f8132c93dd949545d8d40457474e18ab6d486","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5daae86fcc5736a1a7bd283b6168775c420e5a83","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.58-joshbwlng-update-typescript-067f8132c93dd949545d8d40457474e18ab6d486.tgz","fileCount":10,"integrity":"sha512-HB69s+Eq+1wVouGzjpBV3Ndiyzw5vC6VdGztvKYBPj7umQgrIxLkSYbZ5U0RCosbJCZqEiNgZhjT6fESDGluGQ==","signatures":[{"sig":"MEUCIHOiihEeeE2zmRPUtBqGaf0LRhUS6N7Qp81Muw6k1xElAiEA49GdcsAjpR3Q+bcdrvjwPr5AuXGDSHeiNU31WgkJNgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG+cHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/MxAAm4yk+fFQ1Rf17mI4mTlc0pocf1U3OaGDpAVFvdDaSPICoUEP\r\nX6D34s/gTdfxvET+xPT7wNj4p5SRjdt6sDV3EZE93VX3kgmqWouKIzE+zvLr\r\nbJNY9kBQHUtEPR5oW5K3+9DxZ4Q67XF1+RBSdnUNZeX15yXEOTY4VQ9Y15EB\r\nn0kWjWxbJOeAxU8gZYwq9KRhn23ViXfLNZYf5p19MgtC39p92UXg4bIMko5z\r\nV/ZtJZL5dK7wsXQ1NrdSqH4UjR8Itf/JUESmHz8zRl2ykpIO1tqtEwDZu/Ot\r\nMLIkGTAdR4NMyXoe4GFGYR/Es3KDfShSGyiOTYL80+ThJ+jvrsLRTH6rqMdF\r\nfr/nldnnG884usYUWM/oaBju/442BCjHjYQSkOnDjyJgmXtCMbn4Jg8K44aR\r\nmkQNtyK9jMTYJ9yCpvbirIEx3fuRSpFLNYF82TT9Z5XhNZMX02YB7za2Dh6f\r\n7U3Pm0pj+VQzXJSeqyFBP6HiManSmV3GL+3xFNFghVwZGL3ihfa+MXz3HlKh\r\n3BL3Ps529/2Uq/lw6JNZQmJpZsuvUCap54iriyFb10IR+TQsObzHr1KaAMcn\r\nmwENa9DhhayrPOTMoS2DYrYvLK5twhr14JGCFgp973d1Jnpl823lIiDHokFq\r\nOKKirLZREjjeyOFIQtYJdMjLZN+/zPdobQ4=\r\n=koV9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"067f8132c93dd949545d8d40457474e18ab6d486","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T01:19:50.384Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.11","typescript":"^4.8.3","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.58-joshbwlng-update-typescript-067f8132c93dd949545d8d40457474e18ab6d486_1662772999525_0.575445556568259","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.58":{"name":"@balena/jellyfish-assert","version":"1.2.58","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.58","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7b8d7c90ccd1d51324795a60929f98ebf4ce6465","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.58.tgz","fileCount":10,"integrity":"sha512-F81zr94zDSkLDnxJGMsJ+UoSXLC1j3uQFHyuYgzxYYvaRdOqwVg5AcQXRe5ZE6isglnjMQDeq/KUU7Ra4+UKvA==","signatures":[{"sig":"MEUCIQDT+QSpAPokbamodEYL1eNKKLQ0LKLeehMuPrtmR3i3ZwIgdRSq8LapsQNFAmEyeN/H583OfYDABDUSw2wNmfqkv00=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG+g3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqk8g//Z1XQoCNpDSbpSDDGB7466f2cO2K6si9NVU6wy39YXTH0d2JW\r\nxsZhBTbg1a4TUI20RE0h5YauqI5OIo79XuWxA2/IyfatmJzOsDmaPFuBmq92\r\n0RfPMSKmcof2sdsYxOXJwdCzEnLX8dLyY0SEMuxLO92NOnB4AfygCB4/g0ZX\r\nxfkJsj04AhormAwf0NlCRUfP4xqIZHaNQ6pVK//hPuHnUHjf8n0VRQdZypOI\r\nG922LNKLzwegiU9SlYRgXcnyqoUTkjElzYg6jQr1/GiQ0ImpmQ+m3gNXRWug\r\ns7UEi1x+s1qZsx4SRDS4uFK2jzEVzZQYwQlLUXSNYQh69XjyKo6ZAmRLnQst\r\ndUkvvl4ModkphK+O5xXJt6S+2JHCXUpIZu46KbHYzvyx8+Hw13BKuc2pLjlR\r\nVyRcLMGDm6HbjUrKkvU5AA8U81ILJR8T5CypiG2TqMDe629b7LcvtHfubv7T\r\n15ZNnkj3DcYFwxuPNUV6/URp6JTOifvaBHC7n0qhA2Numt5DwOM6AN967pZa\r\ncDSmrlQ9SXd7jlMnla/q2FM4WhhKT7WEDO3URB/QrYtfUbFUWh8Ww9dZpBJ6\r\na/eyJVWV/OEJjXSbgqg7A3Plna2exeu1WoFzloNnotcJzQO1MJwOUnrDBtuu\r\nW6LyFS/ULbO4W3RACChTJEAblNCMKfPGoZ4=\r\n=1fY9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"895ca5ac66334380e2aba8e2651c4958aae3e17f","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T01:25:25.222Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.11","typescript":"^4.8.3","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.58_1662773302769_0.3437983223165173","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.59-joshbwlng-update-typedoc-fa9411c54c7d1240d4f59df9d7e608a2e6de4b07":{"name":"@balena/jellyfish-assert","version":"1.2.59-joshbwlng-update-typedoc-fa9411c54c7d1240d4f59df9d7e608a2e6de4b07","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.59-joshbwlng-update-typedoc-fa9411c54c7d1240d4f59df9d7e608a2e6de4b07","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d09e56fe8ac1d60ed7736057f6c1630609d25cd2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.59-joshbwlng-update-typedoc-fa9411c54c7d1240d4f59df9d7e608a2e6de4b07.tgz","fileCount":10,"integrity":"sha512-qHYz3fBaJzgQIO5C/9J1ncy4GMYUW7DT1UY5tIOD1oFIwRm5cMNIck4LegL0STk7nxIPcVjzjmXxWRKQATz1Og==","signatures":[{"sig":"MEQCIBLm3RdP6oEwg+N/6rJhOn5a33tdL06lnVzeQEPExSZaAiBh0HXeHteeZ837vte7U/9PBDCcXUGvHhyvspy6kx636A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG+xWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCjg/7BMJ/3RnKAbohuOX1jSPYv/bWuSqk5UeSlyj4tUUKlfHih4d8\r\nAEquk8LLGQ9zLg26OR874kMWZ/HnZyCe6DKqJ+qnFf3JvoymL6KXgZ1gX5dX\r\nsjye2OO0z7FqA6lD95dtpptrFknnzkG2EumvLlBQGiwWRdYpARqMUYpsLFzH\r\nls+tFsG54hTIydDzHWe8T2NmMGVjIBt1yJ3A2nxoeMIb2rajVeI2kuDPaF8A\r\n8K0TRBUILavrix4m67SBG5I6MXNJOi5YelqsorQSt6WwSZPfVfPqo1VKY9jf\r\n9jr5OXUVBa+p+SbfueTKTY6EdCdCXA7mZ1UtF2GVuUVtg5zL8wbroA6X2eII\r\n3aYa1JpF4HnChp4C9SyYf8mFyUXKFcDadNTu/icA+oiyiQ+fIAlsjgUsMMGe\r\n9ApfGwBe2ezyAZuCtU2FcexS27LGXXu+ZbfTsifY42PoFvInTUsOHskRRN2S\r\n4ja8nD5SCOoYtV9aipDh++Kf1AtXK4jtOG47sXCvM2X8I4DC7b0P3FGpYGku\r\nt4ELZWz8Fo1GvWwOuFzJwLrB8nnZxK1jgHfp9Xwmsmyo7i27KtmzHVD/Vmvr\r\nE5P/FobVh2RgIxTi3Vksj5K2IICif7FXq+8ZO6s5580Cf/WI+FrVw4IwIek1\r\nKjglNHmBOQQ14JkTCwvyE3cOjlscwWrI7is=\r\n=SBt5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fa9411c54c7d1240d4f59df9d7e608a2e6de4b07","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T01:43:04.747Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.59-joshbwlng-update-typedoc-fa9411c54c7d1240d4f59df9d7e608a2e6de4b07_1662774358046_0.7976693420739909","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.59":{"name":"@balena/jellyfish-assert","version":"1.2.59","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.59","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"39f769719dc54aa663210608db91139d682f700b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.59.tgz","fileCount":10,"integrity":"sha512-6yk4Vy2OSPdoOcmoU50xI1/g+cGkp2sQneBZqSA2pGtMixYcPqlp5WNKbnjXVK36/V00QWHuocgiBMdBgoPVcg==","signatures":[{"sig":"MEYCIQCjzZsFQWX1cdjw/ke/SsFLwysYhwgwZ3FHwQ50VwWZbAIhAMLOBTUv1ulPwoJi1LQcBFd87ybev8uI+vZ7CSYYdW1D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG+1eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkOg//SBVGdI8GrlXH+Hvg6QgoYBYI0VtTwyBQYjqObwsghLQEGN0Z\r\nZYliv8Vh51xOpCiOhL4ZmMJfeZ9GkJSf/5D5qE1ma8A0dqPy04wKApQTmfl4\r\nRjuyOnI9rkTUDhEnVVP6/OSxMCQ+obZ4DgQvKbLocx1L6qkazgjN28ZhhtSw\r\nXG0FZjtPxXmaQyvHHbhLZwsWjISFWfFBsElvRO3W/Ql+GxRSDqccxUSnB/HO\r\na8VGSoOwKqKWGCNzpSoGlezU8g4tOKIDYeXzc3osva8QWiybm6JvjQLFjVqP\r\n7OIlD1xXoydWOemZywc7V+LREze69wcvdpMnSJpBFocjdt0dJlbh+xSVJHRT\r\nCFqXG8AJmp+K2P6zhg0uLSojY0RWd+o7T0FYEXax/BRfdsgM/3dGewW0Wx6d\r\nOHLU83NWbgn8mdG47Qpz1u/Qc9SP0qZl+KFaNj47klV5UXznIBa1Pi4K1UQO\r\nc3mJyDKsuR49I5diABJHwkev6ZVlbET3/qQz+9usIlqz5jIrlSDthLQFZ6yK\r\nLjqiEn9V4bFJijRKbnSepuXV72Web/ZxZ0CIhTU6J4gIIy03wNkb0cy9aZP4\r\nrkqkjjEtn4BUlakQOrkpv3C+gwLdhjcTF7j1bvk6LeIDg6EKA7zVlR8LDnWW\r\nPSV2xZrb/3xiAs6FS8s8vxj+4foE8m/IoEA=\r\n=13Ql\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"a6b61809eb7b07fa534604da62d1fe034a7ff2df","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T01:47:40.283Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","deplint":"^1.1.3","ts-jest":"^28.0.8","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^28.1.8","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.59_1662774622724_0.7128786363162061","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.60-joshbwlng-update-jest-fb45f58f475c74840ea63e9d394ef089787cdffa":{"name":"@balena/jellyfish-assert","version":"1.2.60-joshbwlng-update-jest-fb45f58f475c74840ea63e9d394ef089787cdffa","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.60-joshbwlng-update-jest-fb45f58f475c74840ea63e9d394ef089787cdffa","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"15fb3209951ad7b78fc792776ebbca2c26db262d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.60-joshbwlng-update-jest-fb45f58f475c74840ea63e9d394ef089787cdffa.tgz","fileCount":10,"integrity":"sha512-B49B5JTETtTLD129KShrOI3uo6IbNWSsfmV4rsHbDa5/0iOLg1LkqCq8iGVnXFnxUFF1b3PveSxIIq9mMjHSNg==","signatures":[{"sig":"MEYCIQD6jbwByVlX2V4N8XMZLTYs2++XbSAncIQe9clUczLc7gIhAMyD5ncqB9QHLkHmEH5/sU5tkkH8QrojXAW6u3lEPVlT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG/WPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQYhAAjuc3GNQNqpLDxs/NVH4rMkA0MVRs8KbEh+QFj5XN/i2WIr7L\r\nj/mMletaPGPbBx/pqkGqg0CfA1BqIoRvJom7a1dAyTjUqs8uU7yuwF1VIfMX\r\nIQNAl+EY8IQmfuwfEDVoCCVl9ITS28IC6ZUga3FvLrurPq2Ph/cFSV4Tn5Kk\r\nQMVmHNINSwrNc3jPL/9ZagQM6argQDnPwasPnC6ebz42raly23IwPesk54s4\r\nRUQQGurf8qhhN+lEO/gG1kB4V7Y4TgoKJ+JoeGgX/EYGHOz+ZvK8nK2HO8cI\r\neC7vMvrctplsBV7klDfc1TKFT9Wbn45nIumL9hW3jvMM1RjXIrArYz4cwTpU\r\nniIqWiJvxwqfQvT8VDWMrqH8Q4wslpkN8LCT1vsLGSDXLGuRgXSjOR0QTfTf\r\nFWdQLrhr4uvN/d5pAlZdHQJfDy5Cwc06DHh83vGjNe4Dvcohdp99lTjqJEaa\r\n0ZX3NoeZjad+f0P2wuW44zwTTBiurZ5x/P9ZZqqdsmW38MUGvhiarTbt/0X0\r\n3slOVx22oGtHd5nNfPXAmUaJL5evk+lHUrxqJrG3EEg3yK1wFbfkDi+YRbO1\r\nEAwASDAbISXCxhOxje+mVGRBBmxsFE87OwbWtCv6TDNc2PwCBZKSbPLyTaSD\r\nCszIMKMkaB/eO30332D+3ETy1+bMYDs8G18=\r\n=0ANk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"fb45f58f475c74840ea63e9d394ef089787cdffa","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T02:21:53.598Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.60-joshbwlng-update-jest-fb45f58f475c74840ea63e9d394ef089787cdffa_1662776718979_0.6004666280316813","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.60":{"name":"@balena/jellyfish-assert","version":"1.2.60","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.60","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5ab54e1dbb73b07da0649f6714f38d06456fde77","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.60.tgz","fileCount":10,"integrity":"sha512-EkZBQHjGYdZmhyQOUeo2X4xdznaU9B8zQHtrDxhuO5H6N7hlVJmO07Ki3vNH9Y+lPplm6iqrIYXCWaJgJeD6FA==","signatures":[{"sig":"MEQCIBQJFo+kVVDryUjnsmVX4y1dARMSrsMISMmU4YrNPZAvAiApBxFO1FsuSDY08nyOHX8jcIF+n1RXJvchEZ2v8Bg5Ig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG/ZNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmryLQ//Queg0FjPAx6p2kCqkGER/WKSXft0qmD88JIPwAx1JnGi6iRA\r\nQwd/J+LBOchrAhcdkcLieX8ViCekKoh458UQOTqlIQhDrPMYmueGlk8Lo4cU\r\nfqR/Eo/DqVMuKVV0IidbYqcfID+iUGCNmin6cjAndBZRo65RPUIeY0qXVZxm\r\n9v3wdsuxiB8gjT8D3mk6lIUWIZJVz1QeFVdv8wVzUAtWT3s29xnVnp/AZxEG\r\nrzrc1lc2izz3pbCsI/cP3Lr7b611AuxBJcRCYOB+wkLD/aWRzYi2qq+fs+jZ\r\nJmCS2p5PrX14w4zhXzLpuL6Sh2xXbVxS1ZIhjM8/DIvuntNf6YyNGLWfuWHg\r\n/nqAgZWJljnUD8wbnhBS6T2CR0RNhiKdmoKpCPBAPqjiQ3HjSFSCEDPT8Bz4\r\nzfHjDootGdcKyIwQGupVqmc3l29CXI0vsXkNEkX/leXZGtxKHcGgO/QhXSfx\r\nlfOIlWRKBr5B9wq8zJTWgscJIZ/Zl+O0mesK/xA1NwDSramB4vVFJbK19XgL\r\nejjw8sA0BgY7t39hd7RXXeFjvHxaZVFyw52yalLnPT6BiRfHD7+2i5TGT90U\r\nY2cDPVNlabgLL09U7l6VINq0LJzsYiimINXjaxz9auZ4UDbiPyvWUe9Qq4jQ\r\nVNXmDsTzEbZE6CcDZLd4vM8VC/sw7cdidQ0=\r\n=SRJe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"d6031569173b0be17888ce480e665e573ef8f7f9","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T02:26:26.916Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.60_1662776908962_0.44862393190869687","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.61-renovate-jest-monorepo-f34f0c8e5d85064b149edf4f9a04b5d05ce1d8cd":{"name":"@balena/jellyfish-assert","version":"1.2.61-renovate-jest-monorepo-f34f0c8e5d85064b149edf4f9a04b5d05ce1d8cd","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.61-renovate-jest-monorepo-f34f0c8e5d85064b149edf4f9a04b5d05ce1d8cd","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a0c6a9e7eec916acf37cbf07ab634c99a3b93de8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.61-renovate-jest-monorepo-f34f0c8e5d85064b149edf4f9a04b5d05ce1d8cd.tgz","fileCount":10,"integrity":"sha512-VOA1+t0jYEHZabrLYdXS5NR4JrCbEx3pyX8JEAyU/ftzHisgOadgZiYCkPrZlyfyOWB4x78cpeVVvceYmyRXPw==","signatures":[{"sig":"MEUCIDUV5upZy8hHbAH20WT7RGBe8eiUSE8aKBrhKF0T6rCOAiEA6bNqLl5frJmjaUHVTbAYu3yYB0Y2MMtOmyr9FwLRtjk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHL+GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHFg/7B+FuhAoTG49lbArtHmw8MdgZLsoSZCA6Ie51L6oyecfUVXJw\r\net6Aj8uBoBiBie3RLxW18yfugguuJOuBE7si+CxOW7h814rIe6FWAMdW6aHW\r\nRIGV9TCkfYYRTihddLFFxXt41o5DHZVikYTPdlgTyQtTs3scmXEYE+4P7Uug\r\nVvYK7ARKwd+mI5a5AAX+qpcAFZ1hIQxUMpyP8AivpqC1F2U3Fm5pW+d0WHkQ\r\nHwvURsE1U8JsdmFXsw3bDMiTp104NMXERcrHt1j464kr3CFcaY8vzjk2/bqA\r\nWYfg+kfXwD1j3t25AJuRH8+9tuje6I3MhqNL5jf+H4ELfD/99WOz8kVL5eiU\r\nPL8dvOUI2bbQPPvMy65Xi9z2CTWrhQbY4KTy8OZRreuKyNlCNQglihwv5K0z\r\nJEnEJDUdcsRvv2FM4D4omvKPC3U8VzNxZLAiyeWPq9wY2rq3hZthkmivfoaw\r\nzyJLw1L9I2ik6DwfbA5tDy372i2Qk9MqYChJNBbgAhVCY3L2FXS66x2h4RCq\r\n4G2cc3CoyEOfllQPLi8uRPT2Y04C6KKDtJ3Pl9Z9xGKyRESXCMkm9ZvhTc4N\r\nLc9hiEfDAo9rkP1jyyLLiMAA9F1XfZSkzXtaNR4nfufxpP6OTlDPke174Hxw\r\n+WPF29R0GpLH+FeD9qS4W2btvGTR2Sj8vHI=\r\n=c/bD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f34f0c8e5d85064b149edf4f9a04b5d05ce1d8cd","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T16:44:20.436Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.61-renovate-jest-monorepo-f34f0c8e5d85064b149edf4f9a04b5d05ce1d8cd_1662828422442_0.1343696809696906","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.61":{"name":"@balena/jellyfish-assert","version":"1.2.61","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.61","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c4660acbc77753a8cbce20acbb68e67d09c6a17c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.61.tgz","fileCount":10,"integrity":"sha512-gX+g4FzXp6R/uFzZFOhGlnnfA3CZSehfllaLnwpGSs4GQ4rqragyDkAhjeQlZ+/0f31CTv6Hy77oTJuaIwQ/MA==","signatures":[{"sig":"MEUCIHDqh6GsAjLguMboyfKeo+mvfxfPe1MWnnsz9ZherVw2AiEA0apQh3C58WZW9rWujfW2sV5FRbymfbLg4/D9fDexfbU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHMBsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/tQ/+J4988IQkw4XFIXczV9AJ9A55U+D+cPHQ6NSp6beeJgGUFlZw\r\np0eJqZd67QG1BiTFWVm/StkvFIvVaMJVPggQMjgXGykJYBq9SJ0+OvXFc50/\r\nG/LSLoh3Sr5rgGYDUDsJH2NNEXUSz4+Ju0SSQjxgUskvdtkv0IK5O1n609Bw\r\nIOOQxa16StYqpvQOimb42iNSY5NpZq1LlYHN5Qfj5dlHaU5c7VEkXoBszOww\r\ndQ7/gUvQVlNMPmMSImWTT0qB3O4nEvQLDZpyTJd7QkKFzIWNH3IhAJSm/TQE\r\nIj1hnHSHzDbuK/9nvHoveTn8FrlAwViROm+ZVdW1FBZj8lBR7u2wGnUR9TIO\r\ngLYdskuiL23NTRZjrrUDz9kZqZ8ko/H3H4kfaE9zd9PRQ+0674zECp9qQpFk\r\nvgbrwfRW48bDERlxw9ZmMOliEd1NGvQY1vtOfp1MU+akHUTMSyfNjlYCPjga\r\nYu+6DFG61rqimsVVU90qPd+e/in/Uu2QNmqnfZwqOmAzWq2ch4jg8N2xN1io\r\nClMx+Klzfc5Spf9XpqtCP+rCefL98/MVagkwet9X2dJ40DgyLsd1SxioQ6ry\r\nVkoJ2+UXbyK7DAA9y+17LWsG7gK9sMSYY24GrSm8oDda+UPnU/StcynHZHy5\r\nHBHhmkdqRrW74uOTc1bhhKI5BGsYFbS8REA=\r\n=E6bf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"f7d347b4c00847c9ebdaad9d7dba5e14cbca6db6","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-10T16:48:57.277Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.184","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.61_1662828652422_0.5688122013365895","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.62-renovate-lodash-4-x-06fe32ff77a5664bf5761f8d7c90da250eef0e6d":{"name":"@balena/jellyfish-assert","version":"1.2.62-renovate-lodash-4-x-06fe32ff77a5664bf5761f8d7c90da250eef0e6d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.62-renovate-lodash-4-x-06fe32ff77a5664bf5761f8d7c90da250eef0e6d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f2233334c59b4ae886c017c9f82eab47a4c4e717","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.62-renovate-lodash-4-x-06fe32ff77a5664bf5761f8d7c90da250eef0e6d.tgz","fileCount":10,"integrity":"sha512-Wio28MyR4SCpM36vjKmM+UHZmDeFHz3Ui2ZnbzfxteUBFStwoAgZbMPzqSEDnm9SW0dBRMjArU6h3yLDhwJDUw==","signatures":[{"sig":"MEQCIEljuq95XzHws9inaj2eHwAC7NGkUv4I0SYtGC/7kI9aAiAnRpnKxyoYW9lC1r0Z3vz62NrSO0u/4VS4CGiNaK+aJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHbjoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9Rg//Y04V0PI+clxbaRW1005SFy50ZIxmco0S+OK1cXXPZknum2Z1\r\nx4FeY+EtWEzwfUOA7LnysUim+ivh7aFyr/OdDmk3Fyd44NqVRMLCg/gR3SLm\r\nT5vlhpL3/ClmdBwrGW844PWlaqGO8gYWSNalaeaS2+H4AgoGDEpTyXHjAOpw\r\nJOrQYjpQ77I67WmRP64kDQ4EKsNU2pkT0Z84hclCtBYE6QxrWrmlEf/73kCS\r\nfsd+3+XCnsQsMCtZQUcarqcHL34CIa1Hp2CCrssRlZn1tcOlM8ZQSj4Pb19H\r\nmIsnOpYRNQlbce5isBdtxw+hwdaB8HIVLMjNvxKsEq9Eqr7q5a0bhVUBSlh5\r\nveNqUQjTa5WQ/KLL8qO727JjSOPegXIa8aCEeCmN//frCZY2w1SuAPZK0RLe\r\nZnfXXCXMVL9d+0fF7qIJXz/Fp1G300RG5L+leJ63fMSec/0ycSD3opTFw/NB\r\nzQSlHErtJUq4eSpxGdKk6GRzqwguwBFaskNUBxgvDphigV7VQC/qONntUDQU\r\nnuv8bn4D1YnAc2QkeU4QrEjcv6/EDQR/AZcS26BIta49xbjBotvsoDEU153f\r\n3ZV0kHUqGDjlXINflKgzdf4G5um4UaqsD5G4AWScPP5GxzChvOHDrR1Abepn\r\nJC26rig3rhr+0kgth9LIuKzUj2p1nM5L3PI=\r\n=+5Uo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"06fe32ff77a5664bf5761f8d7c90da250eef0e6d","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-11T10:28:08.889Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.62-renovate-lodash-4-x-06fe32ff77a5664bf5761f8d7c90da250eef0e6d_1662892264029_0.809333647347364","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.62":{"name":"@balena/jellyfish-assert","version":"1.2.62","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.62","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3c6ccd1ad3663854ffc3996fec41d4e40275ed12","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.62.tgz","fileCount":10,"integrity":"sha512-uQJpms7drzkhMfrkdwnoa1/ciDShZjaGQrpOXwd/jyo5XZMxyU2M+bBDopTifIxBbHD3gLTSKUzoLasCbwPpyQ==","signatures":[{"sig":"MEQCIFgjTjHetwn69M8LlUPMqhc9VS20gX3jXWiFJLlqtzHxAiAWj9f8iP/UxbQbOJXB61xSt2GSI/dS+L5j74vh6gyNhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHboNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwPQ//Ytp+HVN2e2+vcCGwcQ+mFtybPYOzIUhl380MnZiEGX1ESFSs\r\nWfavzljWXiikGG1ASA18v0Zw0xf84zlJSjL6hVkYU25egUGVZv5xlbRF2Va9\r\n1hSIS1krP2ecW9FE1+ei/ADFcfxkWzexvfTztzXQlioZNHs4bT9tpJUgQ1se\r\nTcylHOKSxCYwIewh63/K3FQnNQV9k6oDlHWrPRfP07xpQ3Q9I+LD3v5Y6SWs\r\ntYn714hLmiUL/UZYZQAoqGrTF28pho9FGQwXCHEcZDkis5FUIsx4p0dUXMCV\r\nZLrT8TBMuhGpQc8CnhLEyp5ZR9tXPsRDm8c2IkejE14VXpIreTGIvCzgrcjP\r\ngE7e+GXs+idnVnQojOvlk2N+1x9AwZCQ3pMApkVP9x2j1IKJUiL+qj2oAOFG\r\nUNsYG0Q3UpVYDSMrHvZ/UAoIi21nUU7VvERQFHWvqQjPLfMjLUGE1To1LN84\r\nTpwx7T3iDzwFprkShO87g6OQ1b3A+ndF1eByH4TpFNymbwU1QbwApU1wbnkh\r\nI49t8HPrZ9Tcgc8ivSuHcpUSC1O5xm+yvr97DLy7l1muJI3cG0hOoYF0OJyB\r\nPuCgdzTq9d7umwboissJviyGEPVCw4S1OTvofl0jTfa/kWjIzS3KisIr9RzH\r\n8k1YMFUJlO+ukdYABMD0BbCuqUiPO+lT7ZM=\r\n=7AQ5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"3832a53e7f010715ebe0059ab2902caaa729d2e7","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-11T10:32:39.830Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.62_1662892557221_0.9585576410508363","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.63-renovate-jest-monorepo-5dfcfd0729a6a49962fcc6a71620fb0584bb6be4":{"name":"@balena/jellyfish-assert","version":"1.2.63-renovate-jest-monorepo-5dfcfd0729a6a49962fcc6a71620fb0584bb6be4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.63-renovate-jest-monorepo-5dfcfd0729a6a49962fcc6a71620fb0584bb6be4","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1ecb3fa56947a852f622cfb2419853df388b0dce","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.63-renovate-jest-monorepo-5dfcfd0729a6a49962fcc6a71620fb0584bb6be4.tgz","fileCount":10,"integrity":"sha512-RrQyuvXYWwjdB4YkHZT284ts31XseOCItdPEnWSx33aUUs9LMyhZTvCNCqE3QynPhNITY+0yx/dd4T13AGAShQ==","signatures":[{"sig":"MEYCIQCS3x+lkZL7r+T3y2Jl5VWXGt+P1Sh6bvjM+q6+aByGyQIhAPSUjETdSExOwawLsdMcMdfjakHcxd2VXiKd2EZ3izMs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHeS/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzaQ/+MSaoAy2b88lNZ7loSovCnbZx27iZrzEkhwTpruwAltEzfJRU\r\nRxNLGv4cBWBNGz7NzjsuvqXkIv+rD/b3DFX/Q7hH/X+kqlh6X37fPMp2uxzy\r\ncpxuV0g8eXfsRojQ082gnMvxuEoEOLUVZvT269B1n+U2BIOJGnkuLGNH9VSx\r\nt9VvLOFMZIoteu+MLGjItgJBti69dh7Lhy45SRNosqY5t8rfHyBG5AOPrTOs\r\nQzJ3fGQEp5wI6WQ83CmYmlcq+2GoVLNLimZYS+ncygFkLSKtWRqOd4kRh76t\r\nFHnClW4kaCw2uYcpNwKdFhUX0jnsLJyJE238vqH54Ra4jhwoku22gvBlNiB9\r\nkTnEDqyOobCbyKjZ+dznGqBi1drLwhix6q0IEMnMFSGGd0ZpMbkD4f5cJ74Y\r\n4kE35I0FGVA2V75tXibRAKgIfEgxlf5pOGOL6v8aICi+OGf0cN29mvrLtF7S\r\ncULKJYZuxUC7Jd5H2c7qtaEnU8Qhlc57FEXn8Tyqdkm1TZjMkdai0GfcXmJ+\r\nt80/Ulids37TNFEizXbIWY+zp0E+TJkFv1ipA5+n5smXGsmn3FdFJzwGpOIX\r\nE3phovPIt8OWNhoS6p+zSIWKXZyTXzlq1ExeyLHsTIMKT/UgSDhM5lZxToka\r\nyX5tZNLC9gQYedCoXM6C/m9Sjn402x+Zy7w=\r\n=w04R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"5dfcfd0729a6a49962fcc6a71620fb0584bb6be4","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-11T13:35:12.645Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.63-renovate-jest-monorepo-5dfcfd0729a6a49962fcc6a71620fb0584bb6be4_1662903487475_0.5019185755264537","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.63":{"name":"@balena/jellyfish-assert","version":"1.2.63","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.63","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b570e43e9a34f7c3d6f90f9b97c3d9ecef4b0b2d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.63.tgz","fileCount":10,"integrity":"sha512-HbAAok23yc8WSooMT/ix9QTBpv2WUYolwKzzfPABIFGSbilMmwPZdn46LObCgc1aDMDLcycrw07hKzRJiOA5Cw==","signatures":[{"sig":"MEUCIGhsU98qqOGL0ZEn9HnLATPkSNNrhc/vUQb5P19tMUdfAiEA3UAMNV2+uy3PZKklvpG+F/ELwxL+zYLBdWkKQ220Vc0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHeV8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPEA/9HyTDFD22h/3RZRij6P1PybsrqYHeEDm4lb2v6Vj+W87Cxndf\r\nkh0Tk/j7sUXhsD4CMEcK4o1kRlZc2VFjUEWDNWFwYWC9+ijLli+Vh1NMT0k+\r\nHth8QT/hhtkUVgd7nnYJfPrn+ohV2Bt9WCsZN9XX2JPhkkRFXzqcJvW+Saxr\r\nlFYSEMWossQQtcMxxjuAkxQGGfUi7DC5dBSpDTtJecNyYyICMHUKf3Cr/rVP\r\nxkrtUcu0H6vsXgUTrGBCiTDyrSPKlI4ZnXuESB7AsWfqYksFjbmD0a1xVDqr\r\n7enMsdtsAJWkGLY+ENAA261ez1D1OoW2UlmMQwEPz5Raw4r9k//dO1ogkHS3\r\nHAeljk3448NqNVL7uwKHhb0nJTcXbsV66elxz26XtkPY9LXxp3IzfRN+fmnh\r\nhOEDh3/zyzGJsMy7HODbKqrjtPOsbMPANcvnSNjHhAKBV8gBonbzZeBNS43p\r\nb9wupQy2X+9XFTZv1UfVagWRH1xWelq/l9+wOocARA1fJCb3ae8W4WQzQyQe\r\nQdnvmgP1wXbR6Z/iL34F5HU8WeArcHuTc9S7JKR2rkq9dTQcksG7jY1SvZcW\r\ncII6Xs6sdTMSQPhP1yUm9D0oXPXsPO53q6RQ+U2ltP/m0OEkCGV8ARb1jvdP\r\nIYM8+QbofoU38zI6ashyuMkhiOnvil6YEW0=\r\n=vSlE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=12.15.0"},"gitHead":"8b4b98f7e0fa0282dc11baa166aa82eed12dedea","scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-11T13:39:26.529Z"},"_npmVersion":"6.14.17","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"14.19.3","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.63_1662903676696_0.6435305347178151","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.64-joshbwlng-flowzone-8e14591c0dc6269f1087c29442f24816f1529212":{"name":"@balena/jellyfish-assert","version":"1.2.64-joshbwlng-flowzone-8e14591c0dc6269f1087c29442f24816f1529212","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.64-joshbwlng-flowzone-8e14591c0dc6269f1087c29442f24816f1529212","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5504a89b2da7e6864c2529fc6e024ec458a1dcce","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.64-joshbwlng-flowzone-8e14591c0dc6269f1087c29442f24816f1529212.tgz","fileCount":11,"integrity":"sha512-TT0UarY9YyzczNPU0rwsdIkvc48RJiwrc0gw8H3M4TpBWqwTdIMMFojGCFPGS8QYO7r9zx3aI/CylWByLelgNw==","signatures":[{"sig":"MEQCIDubXfZiGVHAQ4P0OA3Mc22MfLdK4wBk5kEUN34isANgAiBnndEBLio/lejRENWo8kTDp1v9DUo1TRIB9yie1aztDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH+QOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlIA//SLOnnLGuUvdWvXQWuIiJhZL28vQzYckBYHJ69OeiG9BDJupD\r\nt5hSpHRtR+Tw97G8oqmBpr5KgVmTJcXUsV2N5xaTpnJyifunsmeyElApGErN\r\nFtYIl/5+o1f/IHllEEOryU6mbqJeteBCtqPoOF4T5QAAGFcFvwPyBHjvoCdb\r\n0q05setZRSmQJRLy5OIiGPdevi9ALVyc5Ix/wRi590QMmGSmD+a3Aa8GlHRw\r\nWlj4CFoxO3C/O9T67hYbcyb1glF2dAgw9uuklVlIanMLvabNuMO4Sn+dekdD\r\nkShkt56WAtmzvtdIWDQ0klGIB5wTCbjTP151DWyUO9F/TBKrNN4AplhZxKLW\r\nixN/qky0T+gcLoGeMVzqz0rorW5mBV3IPpGsPHV4JLmIHIIh6fSOyYV7KOnV\r\nXUosaPU/kVa+0P/8XXI5KbIeDh7OrXB3M+mA34K7Fdj7VW2ymlSzPl5YxG0N\r\n/4f747HL7kh2676jnfK+Cy4lE3o9HCzq4YpT1dW93cYvEdlHUCC4HWl//rF6\r\n3WQ4vjoH1X10nHyTQAtALyYCClWA6KlR9Er4AVTlT+QpCDmpMyRHZ03yUaBZ\r\nXnYUI4W9jrZQKlStapGfJLMeJM0GoDl1hTzruCfF3a1dOdXmtAUIgqsEGMlI\r\neqw6B8AalqMYeY3jAvL63DcVyFenaqfbW0I=\r\n=9yN+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8e14591c0dc6269f1087c29442f24816f1529212-18.x/balena-jellyfish-assert-1.2.64.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8e14591c0dc6269f1087c29442f24816f1529212-18.x/balena-jellyfish-assert-1.2.64.tgz","_integrity":"sha512-TT0UarY9YyzczNPU0rwsdIkvc48RJiwrc0gw8H3M4TpBWqwTdIMMFojGCFPGS8QYO7r9zx3aI/CylWByLelgNw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T01:52:58.260Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.64-joshbwlng-flowzone-8e14591c0dc6269f1087c29442f24816f1529212_1663034382624_0.8244698003199264","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.64":{"name":"@balena/jellyfish-assert","version":"1.2.64","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.64","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6a728ec42bd7bc5c34a943c6d227c4ebd6bcb8c4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.64.tgz","fileCount":9,"integrity":"sha512-4meW6OiYZtTL0KSy9R82Dj0prLrXRYRlafy/xzs7cvmOXTTBxUs3YF491kpECBnDQRymIkVK5OXjcWmmLwGF1A==","signatures":[{"sig":"MEQCIAGytgTNkbAtilWt7Emii+2Wk+/pjpMMGGtdZEYCxbO5AiAoGMSW1z2/6BwJ4T+crNpydj/sipfJ5fDKHP6EJ28Eig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH+VQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqvuw/+MLtpTT6ME5wqGBX0qWRduff6NYn3wZ3oMLZNIE/+66MUnCMK\r\ntU6QrtDgtAMo0iNMHI5Ux/xGNE6OazQtf5Z9wDT53svu0WrOg6YS8sG3VEj8\r\nqOFIO5N0IcqsvzW4qePWOIJe0vofhj3YDgM1hRLjSNoL6i8dq7trtgbOS94S\r\nsJ8zyjFDpNXIvJZFxujQogJV5HLwIww4CMqflC7dQsJdNlPfVqaZblJXGAu+\r\nZd8xeprqWDpJGL91NQFRQuPyTVXVjCnsKdwl/cS+Iy0CIuchKcuach3/ZCZY\r\nSf/EwjOc8d+3kqAbo2Ta48np8EUXH2SJZVx9aGrjkzMAUnEWHSnY1F03Qi5S\r\nm/dcAJN00skIILwcg/MezaQmNdgMHL+bwU9HcIKXi7191ZV/FbdTCLBouP6e\r\nHB5SlKZ8jBgdtYd5T6i8lQD9M/fZngnvSbJuN8EDwpujh8UzcVyWA3BoGdC2\r\nEp7qIJ/YTSOqU0TUQpLDm7mmsZfVdaw3SdGQvo0RFncjD5OlbuuDk/CvFX6s\r\nKcKYTCCINtixyLZ+MBcbS1A1913pnv59lAg5bPC5Jv7IGElFvg58KWrtrFHn\r\nuULMlq2vpZnKfDyHDkSeaDvz8D5pqCxAnv//RoPQ4CQ2H0OdP6yHRnUjtEuv\r\n8TRKuM1aWc+57S3WXM5OEM9FXXVXWihcIrg=\r\n=TZPx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8e14591c0dc6269f1087c29442f24816f1529212-18.x/balena-jellyfish-assert-1.2.64.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8e14591c0dc6269f1087c29442f24816f1529212-18.x/balena-jellyfish-assert-1.2.64.tgz","_integrity":"sha512-4meW6OiYZtTL0KSy9R82Dj0prLrXRYRlafy/xzs7cvmOXTTBxUs3YF491kpECBnDQRymIkVK5OXjcWmmLwGF1A==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T01:52:58.260Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.64_1663034704538_0.08348035466622439","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.65-joshbwlng-update-flowzone-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e":{"name":"@balena/jellyfish-assert","version":"1.2.65-joshbwlng-update-flowzone-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.65-joshbwlng-update-flowzone-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"27ddec0e8ddd468cb0f96b5f336eaa2c43df4226","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.65-joshbwlng-update-flowzone-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e.tgz","fileCount":11,"integrity":"sha512-86UqjJgVqLLK5bJ/U9rRoN7dMSYdcfWrFr0ENnpPVUuzUPx2pSs9TY90WfgfMCZ3DpWyrK0ZOoaSoeuBiGK90A==","signatures":[{"sig":"MEQCIAlS7hbr0xc+0Leor8+7eunsKJp1GEZZUomt7o8qfmZAAiBmqMTU2ORFu8SxweZUQM7eAmlCfi5m7rlr2wAEkwIsmQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH+YdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofrxAAnyFQUePsMh1KxY2PanG+YgeijsqF282Vd9qgM/kiqdPxO1UK\r\nf2Gw2R8MvyjiK2QARKIxGM/tAvpsrwybYkJP5pjZGqz3yO8MaDdyzoFZRDo/\r\noi5hS3ONT/mea7bC/2QP6qgNQ6X2q/SO5hdJiUin2WNjEG/awQW5yneTpWHY\r\nY0vhS1b3EiAkg4hmn44bGtaV1rw+FZAJ9b7mYorHnAa60WxasnxGGxdazwGq\r\n22TJHH9thnt8xAMU7s1rvqCLzzA29tVDy/XS/UcSU+FwC5hcH3plcQ6nvDm+\r\nSDpzZxYfF1PlPyuva1yECTrSojFUkx7CCIAXhIqG9FJaizdr+I4LWh39KWBX\r\n/3g90QCTIwQVfETIJrBU96Q/e3dfdm682EAssJoVrF/D4vlI/EX9xdoDStfd\r\nELWeQjmdCAizms4Qo2rzN3RiI/Xd+BWabZg1Jj5ndWqW5O9Z8lLQpC2fUB0N\r\no6f4qZvyzOpSNkfnH1H+Kh1tS16E3SJR7GDOd9SUpzkNI1OOXI5NIXyzwS/O\r\nDlSDabA12DS0LQlVcquCvEqHruvZoPFep6wYO8VHOwo2+XevllEpyMQRIeCy\r\nl2leKcV31I6IJxbw71jzK8vq0+z5Q+USsWevFskqlItBrRHC7UCn6kXCQm8h\r\n6CP1jm3wVUiiHSToEtwlmFRqeso05kFDiSQ=\r\n=bVCX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e-18.x/balena-jellyfish-assert-1.2.65.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e-18.x/balena-jellyfish-assert-1.2.65.tgz","_integrity":"sha512-86UqjJgVqLLK5bJ/U9rRoN7dMSYdcfWrFr0ENnpPVUuzUPx2pSs9TY90WfgfMCZ3DpWyrK0ZOoaSoeuBiGK90A==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T02:07:17.664Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.65-joshbwlng-update-flowzone-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e_1663034909215_0.917060951379181","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.65":{"name":"@balena/jellyfish-assert","version":"1.2.65","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.65","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b2ef14ead84b28fae926b629a5ced7deba842306","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.65.tgz","fileCount":9,"integrity":"sha512-YxXR+YJiCTe80c6rcED7VND7kFFeIcOCynT3k3BsAC4rRgYBxHzR42tkCLodQVh+QgFULPCTLSwPDdln8gihVw==","signatures":[{"sig":"MEYCIQDHQgMTDyj2KlAXaNN3b5parEbhCoPRWqzaLL64b5rMJgIhAOfv/jE7fYFagL1FwFGMcxYAH1TX66clMDb0m5IBNUJG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH+aQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFCw/6A0AP/krDfLXiYZETQfMN3jQ8zxnotLX0/zO9zXK78nAKWIrV\r\naVgIIdjbl3ZZz3GVP2lAU214gcPYbwhiTBYdmiX7w7Si3GEnw8C0S1WUvbJz\r\n968bI3JrgoQCvPVd3z7ilZ50QQ6kAxDJCLiI4qf5+1rWOZF8k2c6aX2MRQ9j\r\ncSmqvyPE7vZRS7NoysnxvVSELXhZ2+XSIcf5EwvlpxepL1vdrnKJiyf7IYJN\r\ng5kE368m19Atz7e35s5qla0Nikrfdd3X9Fq2sEBTi8xotA9QTIRdNt0lLdrA\r\n/jg7yLpCRO+5DmlMR0ko7GhJBDMewvTVUFwhdZy4dwsVtaYuhnTr4a1vqSJO\r\nZl22U+0aX7icsUx/QFyHpiE34RoJsYjMKnnOL4BimJDgjKdbOTAG853wJCNk\r\nmsA73IIUKSGhplAGSd3bLErwNu1DAhcq3dZLCgg/2aFEl647DiHRt3g+yByL\r\nqdkYMakRIxVMUODfiREiX9DhjJmCGImhyv1YBUZokgGxAhJu4p23Dx+toj9H\r\n4T5K44jJGZ5PIe9dRr5a1/MfsYTQ9ZnArUMHvL8WUFnwha6+vkzoePFcRpmB\r\n71PluJjcOizyW1H0EifTrHv3QtIG1PIlZYl/s0criEo0lvNeFSXOy9IkBu2Q\r\nbQlKksF5OebdU/jco+hFymGYHE78tp/fPkg=\r\n=aWeM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e-18.x/balena-jellyfish-assert-1.2.65.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e-18.x/balena-jellyfish-assert-1.2.65.tgz","_integrity":"sha512-YxXR+YJiCTe80c6rcED7VND7kFFeIcOCynT3k3BsAC4rRgYBxHzR42tkCLodQVh+QgFULPCTLSwPDdln8gihVw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T02:07:17.664Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.65_1663035024296_0.25938749855079757","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.66-joshbwlng-update-flowzone-2-60b35339a9889ea4c52fd306750a50d06cee6348":{"name":"@balena/jellyfish-assert","version":"1.2.66-joshbwlng-update-flowzone-2-60b35339a9889ea4c52fd306750a50d06cee6348","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.66-joshbwlng-update-flowzone-2-60b35339a9889ea4c52fd306750a50d06cee6348","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"74884539d49ecd945a4bfbf3cf6df4301977b6c9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.66-joshbwlng-update-flowzone-2-60b35339a9889ea4c52fd306750a50d06cee6348.tgz","fileCount":11,"integrity":"sha512-tqsbUSFB5Gqm5cHDx+GpXgy3XLvUkkkaxE9A7ZDe7e/+bkf1MMmg5OBSTuWGw37JtpBNIv8K8voWoNF3BiN2ug==","signatures":[{"sig":"MEUCIETti0C4+EFJFJyXyMLcFFZjHIp21z4UmIBcjvLJHEyIAiEA2AM93E/9nDxhIe2xMumSRkDUn1j9AHUfL92ef0ZEcro=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH+kuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm9g//eVmbxEQZhXx5OdLhodNF0gdQ7NOU9hqUxelBOYOCgu6Rl82+\r\n1VYfqKJYulpnF2TcUmU4yBP85N7Uu4rs8I8YSOqDhuQi31HWFtlfDi3PktyC\r\nHrSEa1cs6uaSyIWOeFIp/YqkAE0Nb7G7CWBQ3C5nIsJXdAdnE/rsZfDgZb3I\r\n4D1OR+R/Qg025ZOGJw/INgoWI6hil+U50YjLqA1gLTBYYvpiCCtll3/6gFEb\r\nheWSErdmBeQGSNJoTxrOfvAJH3XNeFON/V5w49GBgWc63N74l5HT+mUL6W5U\r\nJ6IOpjE5qI/ni/9U99uSFpPuXwLQ/PBOEHBI+xAZ2RLiI55MmA7q8PH/HwEj\r\nH+pIkoBtJ4MzktklD1VlE3USeqlFvAI2lqEOYMy5/KJdbWpThHScj7TCu8bz\r\nDjl6upVGSB5WH389WfIslfanA/aeZU72GcCEh5NivD0qLi8XuvUnaKRTDtdo\r\nhQ3dsptjQMF8+K7Hb7X2JDAGebzlD4kgJv1CXNNSCxYeakhROQAL92lyqRsS\r\n+6kEwNuVSiiCo1efDNpjtmMPbvzdVEiOYSVZ5MMC9icLeqKXL7zvBu5l9RlG\r\nAWQn4V7gc7uP2jAcLYktaxjQzagjbFgtNHXZYc2gtPa6CBEXS8qKenOnbc1W\r\nD1BRHMXro9uIZU+v/MDdLqDLTnPqwueW0Mc=\r\n=Rs9h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-60b35339a9889ea4c52fd306750a50d06cee6348-18.x/balena-jellyfish-assert-1.2.66.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-60b35339a9889ea4c52fd306750a50d06cee6348-18.x/balena-jellyfish-assert-1.2.66.tgz","_integrity":"sha512-tqsbUSFB5Gqm5cHDx+GpXgy3XLvUkkkaxE9A7ZDe7e/+bkf1MMmg5OBSTuWGw37JtpBNIv8K8voWoNF3BiN2ug==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T02:20:20.693Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.66-joshbwlng-update-flowzone-2-60b35339a9889ea4c52fd306750a50d06cee6348_1663035694785_0.7565889395598693","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.66":{"name":"@balena/jellyfish-assert","version":"1.2.66","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.66","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"57c3ca41f7124495f892af0c569e811463064138","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.66.tgz","fileCount":9,"integrity":"sha512-WJaHAeXruoK/WEu9OtAGy0RZsuYTu/wX+crFl1dnCfhBDaRorVIqxVCN4m15eecRfxGUgoRrBkkwuI/4NSeKMg==","signatures":[{"sig":"MEYCIQDSaUTo1xzkZ+uXEl6Xqb3iojKiVRlp28ufIfZo7+EEnQIhANLY1FmoHDbKtXLACLdd6bmLbiP+HorwV6Gu1hic/TsQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH+m6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSTQ/+N6nu+cHq8mwUkImrcutodhf3CMgLzOxNMxOBXsEsUu0hlqgb\r\njoaNeWzRWhzt1DfKEY9y/xMedUVEtczcq5cmxLwENaXqjvx6dD7YDZGpen1q\r\nuqMkrYkRtWpyCrxwFmjzm6z5rS2eflGFxXA0Xm8dlS8aE1bTzwma4U9fIxR5\r\nLy/lPZYChSCbq38cUzKxQFvmM1hjA82yzGBOoslDliVfeJzxPHrpdF2cWfFZ\r\nbS0GXf01cms10juEcWTDStdiY0N+RNNOQMOhtO96Mc0j+EXqP6XcSYgkcqqc\r\nK1XDr17q0PPR1JpeHwq7kE6N1ExWf3aq2RbVNIPk1Wa/5PcDKDEqhAQaMEMs\r\nUhKvb0Qwu4V5tTx4Dr918SO9+RC6Jp7IxisxzwxlcyLYDQ+VGiBzqKLJSAFU\r\n6wGuDvQjX49Sy5kfGJsXDgui6esMkBBIKJNa9VgwJKFHnuFxvMjmxHp4VYXK\r\nVowAMsZNmF8I57nqoa5bkNYdO27kbZsLsywUSd7T8n73plPs6sXc7jsVlyje\r\nz2nK4QvWWAzbFEfWUYYjLiCp8YTy4jFDBZCwUWFWvdc8RFhPjqnzb0aLNpyI\r\nDv2j+iplvHyeVP2K5aGlvAu4N4pqtVAskzJeL6DC+mWwQLWQrHCJChO1N7vl\r\n4q9XsGii05VQDq2m87e9Qp3OgjNKtvroxcc=\r\n=k8+f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-60b35339a9889ea4c52fd306750a50d06cee6348-18.x/balena-jellyfish-assert-1.2.66.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-60b35339a9889ea4c52fd306750a50d06cee6348-18.x/balena-jellyfish-assert-1.2.66.tgz","_integrity":"sha512-WJaHAeXruoK/WEu9OtAGy0RZsuYTu/wX+crFl1dnCfhBDaRorVIqxVCN4m15eecRfxGUgoRrBkkwuI/4NSeKMg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T02:20:20.693Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.66_1663035834314_0.703262476584295","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.67-joshbwlng-engine-221ccc123c8a09b9179751ec0965ac7967f9e27e":{"name":"@balena/jellyfish-assert","version":"1.2.67-joshbwlng-engine-221ccc123c8a09b9179751ec0965ac7967f9e27e","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.67-joshbwlng-engine-221ccc123c8a09b9179751ec0965ac7967f9e27e","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e8d3aa0ffb8b7357b0e21e4a51546be075760a91","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.67-joshbwlng-engine-221ccc123c8a09b9179751ec0965ac7967f9e27e.tgz","fileCount":11,"integrity":"sha512-fxKTFWNauCcV4ndbogcFB6UpKzRxsQWgLpCUnEKPvrLps6JTxD+NyHk5DeWLSiLAw6qQuk9lCWdjyIAbkf0oaQ==","signatures":[{"sig":"MEYCIQDqjTirJlUTWblIvhvafs87zjEZmjkv5Aa7zjU/xIDXZgIhAKodZJlp/GWqPJ7HnjeDu6Q9bl30A6caCxZSrth6tUh4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH/N9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphXQ/8CdCvoIJRDhoPq/pPNTBfFA5WbzMhwbiLTfoA1bGuOAT1cyay\r\n8rpVOv7J3QN2DZAifAmKTOyrZGkK+GdF2QsGmO6bDkYFUkrP88oouqq0RYj1\r\nP8auS7QxKEPBgtlGXsOvvvXMRrNvq6hulTftG7NOYHxMKdZrZnAdpynH9+6r\r\nD4sTmDTDWbCSARKJnhYhyf1mCjN2eb6TBPGDHjMWOfPZNFPcpY7ak+p89TEk\r\nYCZlm0mHNSe7dAktWhFrOOUD6JjroU+8xqGZyNTJtM4d1EGnkWHvIXbTSrgS\r\nzwKDDSCvjKTwQtfwiPdDiZlZ4iXoGlENzlREt284PG1eoSfzwDMZWtvrwkIv\r\ndGqfgzKyUKvYuAkye2Po/IgpEAMC3dNf1xh9CeZpgDP5IavI6bVewGcBYbVf\r\nPUqENJJuNAdrI0ugW+kwJnsctYwRqAQIZ/u/b3NKBcHAkoP0BYuQf6drHm3q\r\nXZ9s2pfOqiu/OiEoMbMUMiUyEaRV3pjPxU5CF9fblofIKPVY3wB7uCiHDfMk\r\nu0uagUD8LlmItQV1vFx++j4a1e4qy7SucR1el6Q5Yc+mkcQeoTQmryYbezIK\r\nzB0QJuzL/KkycAPmZObqvdBo0Iz6Ov7iuHtvrfp56PZX/8lA3kSqY0XFk2pV\r\n3b7eYl+UwKMvIgYoi84P/jZAcBcryOzMAWo=\r\n=4dDa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-221ccc123c8a09b9179751ec0965ac7967f9e27e-16.x/balena-jellyfish-assert-1.2.67.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-221ccc123c8a09b9179751ec0965ac7967f9e27e-16.x/balena-jellyfish-assert-1.2.67.tgz","_integrity":"sha512-fxKTFWNauCcV4ndbogcFB6UpKzRxsQWgLpCUnEKPvrLps6JTxD+NyHk5DeWLSiLAw6qQuk9lCWdjyIAbkf0oaQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T03:04:24.042Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.67-joshbwlng-engine-221ccc123c8a09b9179751ec0965ac7967f9e27e_1663038333498_0.37282130704719196","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.67":{"name":"@balena/jellyfish-assert","version":"1.2.67","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.67","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5cc4b27116e221e3c28215ffb843df0cca2addff","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.67.tgz","fileCount":9,"integrity":"sha512-cwSqVRZ51v5pMQcyLj0LaAKI4BODO6fP/p7rm7IQeOOMmFKv1GRhQSQc590evE67MygLcqMBdhfapmWEy0YCYQ==","signatures":[{"sig":"MEUCIQDeK/wzX8rkTHrArxjq+v1J3E/OlDa2l0bgaUi1c5OcrgIgBCMWrNu3u49YbYfh0gOy/62eRIt8m+cY6b8NG7t3BpI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjH/QkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnSw//aJ3wyNZP06Nl5JHgfqe31GRpVAZpprzji2oPwkRqBlUThSKg\r\nriBCoKGbm65qA+d+VJRdrieWrkBxYc/4qmP1XDl+nW8ngoGHKw2jsjV2kGoO\r\nrZ2D2x/Y4/uNGqU4mElqGRjWc7i9ViXIqjzm4lrJFSBCfL86EFFHho2QphM2\r\nLkMstCNn9ZdEW3gD0DAw2fsbcIFKkYbrNhAAFxPEv/MBjTaG3SCjSalF2Bas\r\nv0HRYUN0yMBwNn3ryK7Ft1xyiSWJE9KfwxqILqHTAtXaGSiJO2rUdzYOg0sj\r\nUunFht5mF9EP+5tXQLkyDl4X19/vaMf0oQEYi8bX+yFel+00aaSxoJ0+PeZ1\r\n6dWP7hRTz1bK89YDBerM73F8YEF42c46qY6QkJA+Jsj7afdc3aq5oAgpBeSK\r\nNWovsWcj70Szsg0EhkLnoi6l9tLLw6SEFKG5SJoVm/vYG0bj8t16+xObmuKt\r\nsO9gLOoFULNhzTUmPmmAI+g6nppchPM3xZOBy8Iq9T4H1a4e7fWrupdPFCeK\r\nHJjp1uJHI2zE/TpmzP/IkA0oCOhb85nqLUKrkSLCk3DOPc9+JQly7c5m2awo\r\nJgWo/nGWpdJPArri5H8fK5wL2GcksyR5makmtY19Fcl0jm+dWWk1IgSl1EVs\r\n2WI0zzVrfxEIVpGqC9fx2UEG6j08vobNSjY=\r\n=j+MO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-221ccc123c8a09b9179751ec0965ac7967f9e27e-16.x/balena-jellyfish-assert-1.2.67.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-221ccc123c8a09b9179751ec0965ac7967f9e27e-16.x/balena-jellyfish-assert-1.2.67.tgz","_integrity":"sha512-cwSqVRZ51v5pMQcyLj0LaAKI4BODO6fP/p7rm7IQeOOMmFKv1GRhQSQc590evE67MygLcqMBdhfapmWEy0YCYQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-13T03:04:24.042Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.67_1663038500509_0.22367896791938846","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.68-renovate-jest-monorepo-4cee05e5473260fad6c2d8d0a14449f496eb539b":{"name":"@balena/jellyfish-assert","version":"1.2.68-renovate-jest-monorepo-4cee05e5473260fad6c2d8d0a14449f496eb539b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.68-renovate-jest-monorepo-4cee05e5473260fad6c2d8d0a14449f496eb539b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e505e8ef8e8fc5f47e7051d427a646337ecdc15d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.68-renovate-jest-monorepo-4cee05e5473260fad6c2d8d0a14449f496eb539b.tgz","fileCount":11,"integrity":"sha512-Fb47+JCuXVdlLiD19gmbaPM41aSe9SFf5/LIVpVs0yLoyHWXMJdsJOt5IRDuyYzuYvicXIGZ361FIyRWkM+gOA==","signatures":[{"sig":"MEUCIQCxexUweMIiK8tnDYDljNgddmP/BRWUbXmNp20lc2PxAAIgBMjes4OhBr6K4V6NdSq4eU3N5tSOA5FQ5leEBqkGDsY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJRawACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrt3A/+J98Rjey+/gDod8RiwH+Wp5boExSOMDdDmO27P3BZttNOC+b+\r\nCGZMyXIx3zfVnwxjlkWCZe4HwaMXusNE+bC+NlYGnwdY530iMlPZuD69+jLt\r\nSJgCwOFKx38ZGXFY47xOu2BbiLwWOmfFn91ubveEfBtjXLPjkEjL8gJRAeuz\r\n7imf5sgt0ZPV2xjnTFzQm7BZce0Wf4Ik3IFUBB32Y1PmThfirfSWubrmwZHw\r\nIO3VVQE4zseZRe0OEXOgUhe0ZsL63Q8hMz0TtFCF/XuHEF6PasDpK4lo/LXP\r\nEmH7GspOpl5/S8QPuQdWxR0/Z+6G2ub9r9qNtb3KTsD+d6hi8xYXlYcpWt3X\r\n5yyOmZ/tdqXeutbwK9rsLPsaOTe7K2i/bUyfmFqN119UABBzXGZgx4uvtGWX\r\nPSdupSe6waKVLUby+EQLa9uCMZt1vrSxqEwm/TcpBAKijPTGjoaWbGb4DLPR\r\nGRPsvnQlKduBs1uMln5M/pAL/c9epUZb9c9unQ66fRGEpjIvkuTa2AD8/EXC\r\nmhJHwytlmDuWGxrYceYfAm5EG3rOrC3kSSLZuGfQqTNmWBkwWbjpCG/2FbAU\r\nX5IC6Ae42oc8204kf2lVBFqIIRDHeYU6Nw+ziJjgDP7W9yyx7FMntu1zSqGf\r\nWl5ilfaZ2XrrzNBmrC863vjjX9hZcgpJvlk=\r\n=ZuBR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-4cee05e5473260fad6c2d8d0a14449f496eb539b-16.x/balena-jellyfish-assert-1.2.68.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-4cee05e5473260fad6c2d8d0a14449f496eb539b-16.x/balena-jellyfish-assert-1.2.68.tgz","_integrity":"sha512-Fb47+JCuXVdlLiD19gmbaPM41aSe9SFf5/LIVpVs0yLoyHWXMJdsJOt5IRDuyYzuYvicXIGZ361FIyRWkM+gOA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-17T00:36:01.068Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.68-renovate-jest-monorepo-4cee05e5473260fad6c2d8d0a14449f496eb539b_1663375024647_0.5371618409614827","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.68":{"name":"@balena/jellyfish-assert","version":"1.2.68","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.68","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3c1970be1aed5a0f09c70683084a5acad045e093","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.68.tgz","fileCount":9,"integrity":"sha512-RaagE1Knm9VEHlllHSKJBU323YJamw1tHiR+11vk5xLBxUYD5Fvl5xjVLzde7Wh2TtYkyV2p7JCwEjYavMWOPw==","signatures":[{"sig":"MEYCIQC0+uH9Cx8qCI42YEIeFpMgPxj+BvscCNI2tWQw+djQTgIhAOm3YvIl7e5GlkYwuqxfS7ONmiJ5tm2jZrv9rWEJMMbJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJRcgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrx2xAAkrjDphhF67enBMDVDUOEmI4jTGU11L7qB6sH7dv1nFEiqG1b\r\nT0T3RcaNM2jcPV3nUT9tcnaqRgRowRrAhQGm+AMZ+eb2N1zgCIM9lMVzH+6u\r\nTk2g/55Ekt03H/UR4qz3qlf115bcjsQWh+268yOXAsefoDdoCXmQd2ZrRE7y\r\nRoJFIEm+TKBbZutlSPteQmjDUCYbw0Y2dgdybFEsA4QnFTLCSCqPUxLevEC+\r\nDYh/2IL0jkc+TMKDXiahHzAO0qdIfQDX7kdNBzwy+LBULkLe2P1Rl27cFfU8\r\n1RfGVGH/GBSJ1gTIUbLta5q0ai+cMNgDRkZz4ZhDqnk/6ox4YZpJY1s4kpwz\r\noObANE8CSUX+8X57JrkRhvCQy7nvWu1Q8d9di2mZKq13qQjq3mqdhuFEoI+g\r\nKlojzWB6+X1Nrc53VHCqNcUiOCNsT0MwN0tV7ooy1v832xPoR0dibcSt2YDV\r\nIJw2e2bNKJQE4frZzEVFGVtrsqRW1K1tLbxWNp6wodbmgPvkMlk9oKfHpJUd\r\nLufvZExuCOGNZ+HP1hGiJHAbxOJGBUoA8BpTOoQNGwgwqjnthLFTUhr/Dvpp\r\nrhxzmuv5B29r8jimAbxHQNwltrxzhLH+krvvNr311SuewjhKzfOLnw2WL6oi\r\n5PU7iYyvsyR/0aq0R+lOOB9xp1bJxrQypeI=\r\n=rwaU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-4cee05e5473260fad6c2d8d0a14449f496eb539b-16.x/balena-jellyfish-assert-1.2.68.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-4cee05e5473260fad6c2d8d0a14449f496eb539b-16.x/balena-jellyfish-assert-1.2.68.tgz","_integrity":"sha512-RaagE1Knm9VEHlllHSKJBU323YJamw1tHiR+11vk5xLBxUYD5Fvl5xjVLzde7Wh2TtYkyV2p7JCwEjYavMWOPw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-17T00:36:01.068Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.0","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.68_1663375135896_0.28870470637985424","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.69-renovate-ts-jest-29-x-dc44fc1a9b455538afdbd8ecedeec277d5ec425d":{"name":"@balena/jellyfish-assert","version":"1.2.69-renovate-ts-jest-29-x-dc44fc1a9b455538afdbd8ecedeec277d5ec425d","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.69-renovate-ts-jest-29-x-dc44fc1a9b455538afdbd8ecedeec277d5ec425d","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"cb4b97f524cf8311b6f30f503460a04b2fc1f0a0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.69-renovate-ts-jest-29-x-dc44fc1a9b455538afdbd8ecedeec277d5ec425d.tgz","fileCount":11,"integrity":"sha512-Se9llUEtFuu2l+ynkOAP7ZT28fAAAXU2oMDEpQeyd3MzrALgX+nfZbyK/Lq4kuMeKdccloe+Ua98qzKlfVZtNg==","signatures":[{"sig":"MEUCIHLnGBjfqBS597NUw9yKkxXo1+NTOXsDZZYAx/Rxek9DAiEAtUSiYuI3F7V7Gxj0VZwC1z70q6v1cGGFELoTnKbNF94=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJRetACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1wQ/8CDs6fDN9gzRTFb133qAOeD20pNWuUyRvIvd3I8BpPC5F6jvA\r\nkiaUhxz652izhU4w4yCXNJ7ODJaGPL+AwEa1WlFl+FiBlt5kll985qaKRTQN\r\nEqC2Wa8yYUuzsKOoSMD90fq/qhhhe/y+mTSwlPg/LA8hVRY3kdeA+WykuFEk\r\nUIYo00JhqQcHIwkUgs18gZHXynFY0250cd5zFDpOJrthTrmyT6hJgYS6Fn0n\r\nSaYIwE4b8m7IT661Csb7ESV4nbpyjwKDkhJkdtVcL0tIcyWk2gqkRtM/n7LQ\r\nfADV56ubBAQmbdB7NHv67q2nU8CWlmN7zqdoTVXnAfUTETYd1nuyXmZlM8SY\r\nEZYF8d/QVQ9GvOutMtXgM8o2g5vqwRmoXAjmC6HQBs2EKU+Fy7kjjOWqJfm1\r\nq66EylpFXZueV84ceFQuT6TnYt4qm5lKr+uc1QcEkFTyHnWbZQTwHwP+EPUn\r\nnB4dHRTyBt1Eec1MwS1NNCPL62Dyor6rBNADZ+UKMj1uhmi6bNVPO5Ctj9kL\r\nwxbb4NkHwtM6Q6TsgSkF+gKASvxZpNr4rvuBNts8LK+Bz0R4dRi7yzc0ADS8\r\neJ9FjnfUBeRGbaqSxeXtr/mzxXaQR9mwlxIaGn2ze5cHK1qWZF++tgCc/0Zn\r\nWzLp4jyEnUwPsadC71zodyFurduw2wqNh/k=\r\n=dRVN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-dc44fc1a9b455538afdbd8ecedeec277d5ec425d-16.x/balena-jellyfish-assert-1.2.69.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-dc44fc1a9b455538afdbd8ecedeec277d5ec425d-16.x/balena-jellyfish-assert-1.2.69.tgz","_integrity":"sha512-Se9llUEtFuu2l+ynkOAP7ZT28fAAAXU2oMDEpQeyd3MzrALgX+nfZbyK/Lq4kuMeKdccloe+Ua98qzKlfVZtNg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-17T00:40:12.196Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.69-renovate-ts-jest-29-x-dc44fc1a9b455538afdbd8ecedeec277d5ec425d_1663375277613_0.3463515588595669","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.69":{"name":"@balena/jellyfish-assert","version":"1.2.69","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.69","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"affa23985744c06a20b6d41629de7621543011f3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.69.tgz","fileCount":9,"integrity":"sha512-iD6YoZbbVnr2ismQDJNaRuVqPmN8rRT9WcCTLrVBkHqtIVa4CCJFC1Tc6HCSw76kP0UZSsNWA4FxRCSxs9spCQ==","signatures":[{"sig":"MEUCIDJj7bHPL083+6/R4h+zHMIWrPpUQOiTLQcjx4lni8beAiEAwNxgkxAickM1NOuw1yJ7D+GxnPuaD6vd1WwJEzFDYRY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJRgfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu6w//Uk2VKW6q8PwS534OVBLKjF1Ye3iPxBf1lxxpD5hVEOJo6WMr\r\nAs8tyRYwj5iI8XBl4wFF71tLW5/QVVMGEth9S6e0tunYfCIu1twzUREpESvA\r\nCvC0OBPWk8TNb269PLEVhDSyLYx8Fmy3njw03vDRnk/WRYwptx2WGA/eiqI/\r\nsSTeNw3qFy35Ggp63J0qMIuGHJK+pyTwtaSsSE4mk/ihYxCUH33UyswjIfZI\r\nCkSs5ZqZmm7SytyIP9rRxUfZv2vgjvDVLLrpffuneOORlRs+oMyro1Nq8Edy\r\n0My66fkDzHQ8uJYEFUhIA9SQr7LZEPF7ALPVL9HLx4ngiX002hv9X/qn1sis\r\n/Q12m1969ZxSsGJj9/wPBVVrW5ei/ChzLWh+yDTnQxa1ubWqSGMU4e+6GVC+\r\nlbDSHxKKyk9GdKbAVH7M9Emoj5YMKZABOG8hLCMnyaNk5z4nUyxFXhEKSgy5\r\n623HXmxBl78MD4Vc/aTdb5/6KyetxzCMrc5x1tPJoCe7rxG1fIoq+9nDFHiS\r\n8iKRimJO3TiRAztacwIOq7FbkTGWqPmsuhkosqSAeq4Ym8f+PY3xYsKjGG5Y\r\n5XKASVAoYNLj8pa5zQrovADSq7faG8WXkQHlxyvAiL24IH2/tdZQH7VVK5oU\r\nt3RZ3ZGvggtMvU8dyKlCrdlnSNa3OoZB4Tk=\r\n=ORwo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-dc44fc1a9b455538afdbd8ecedeec277d5ec425d-16.x/balena-jellyfish-assert-1.2.69.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-dc44fc1a9b455538afdbd8ecedeec277d5ec425d-16.x/balena-jellyfish-assert-1.2.69.tgz","_integrity":"sha512-iD6YoZbbVnr2ismQDJNaRuVqPmN8rRT9WcCTLrVBkHqtIVa4CCJFC1Tc6HCSw76kP0UZSsNWA4FxRCSxs9spCQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-17T00:40:12.196Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.14","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.69_1663375390903_0.8647595249470268","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.70-renovate-typedoc-0-x-e362f8f636c079f7f329945b6e10dc9b755df4d9":{"name":"@balena/jellyfish-assert","version":"1.2.70-renovate-typedoc-0-x-e362f8f636c079f7f329945b6e10dc9b755df4d9","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.70-renovate-typedoc-0-x-e362f8f636c079f7f329945b6e10dc9b755df4d9","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"19035fdd276dc89ac249340b02da5c103160fad3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.70-renovate-typedoc-0-x-e362f8f636c079f7f329945b6e10dc9b755df4d9.tgz","fileCount":11,"integrity":"sha512-ulZZ24bhksnAPiZrBxDaIOL9G9Fwsfi3S9vRFdd378bdI9oYMTjuNKl0UhfQcWQFwMvazKB/jlbTTDqBH0U5Yw==","signatures":[{"sig":"MEUCICIOOWycZByPHAaCJIpbTti4qTK8RARD0Kj1XmFIRDgbAiEA3i+wzrPfNs/XBOpuyvlN3IWRcv3ZfZZovx9sFNMMdzk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJ4EJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmprsw/7BJYcZTJnSelq2vMtQr0UlZjIA7xcLKdiTjAyx0Fj8qgi6emF\r\nkwqMVdOnWLR4quTHuj+pXIGcygZANZHImU7/YVVsDVI4/c7D2XfFZgcIGCYE\r\ntjUgLDPm7LAK3zoN3bModI1eObrrJzLmNMTXVN0NfXuuW3xS/ukjZx3yo0fH\r\na/XZARsZWK5R5Gg1vhR67k8TIElA/BbMqHy/4TA4W5mK/YIqJcVkOTA/lpb/\r\nVKjCNnjUxk2L6a66s+94jUIdRuUmt45TJ9XMotobSqsx25Dk8A+R97gYSR7o\r\nxayQGGopSdGoPHU0R4bqrneFerq/7u7EOLQrOb+Y62XZ0aa/4Im/swUA+0u8\r\nm3rRpP1t4gOe3TNLuikfPkcEO0WM4hisrxqPDopG1shiYhpExm7iRt/PtyWZ\r\nVn/ADlQFYHK41iMPF8UKHaoceBsgs/DbHELoBjo3//8zozZ9rmjaNlHRnyCh\r\nvTdyvIILHCyCPIxdQqIoRyzn/SHvayJcGvcE4SgqCkju7Bo0FJnoG3fn6vYT\r\nka8IKP1Avzk0Bq5GqzyJkiThy1x5+Sh/v8Oblr0dfk2uSYAeMGjpBYjH3b+N\r\nResA7S4cIT8TumU+RgFTpvb0NQLUdfgbOINRtmFtb6YBJV5mNkHlsQ0DYl8z\r\nqCe95oSfSQQ/+GS1M2ReA4/tnsK4HLkFG04=\r\n=2hFV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-e362f8f636c079f7f329945b6e10dc9b755df4d9-16.x/balena-jellyfish-assert-1.2.70.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-e362f8f636c079f7f329945b6e10dc9b755df4d9-16.x/balena-jellyfish-assert-1.2.70.tgz","_integrity":"sha512-ulZZ24bhksnAPiZrBxDaIOL9G9Fwsfi3S9vRFdd378bdI9oYMTjuNKl0UhfQcWQFwMvazKB/jlbTTDqBH0U5Yw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-18T20:34:13.287Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.70-renovate-typedoc-0-x-e362f8f636c079f7f329945b6e10dc9b755df4d9_1663533321772_0.7110547252180746","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.70":{"name":"@balena/jellyfish-assert","version":"1.2.70","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.70","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"60d18f2155be6c084c40f68f3ecfd7c2ead38a02","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.70.tgz","fileCount":9,"integrity":"sha512-188gKYR3Nt3T7sndSYKU8K/hku4i1ippGklnutFfY4qr37SIteKb5hxxh7cjwPe21HxGC2aE+rIagaLL0DtdSg==","signatures":[{"sig":"MEQCIF3vTpcLeNi3Q9ijS5DrQqrsjOVKMo/coHDS+gENkT7vAiB5ScY4ZLACGYIWtgqkI0/1Kvg0ZVqYGVqLRFN7AhqZKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJ4F9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoscQ//SDCcVgmYVnULUvw+uEYIpfDLNgGkJ0Fuumu/ftDsb/gz+rOF\r\nDgGWhepdCBlaK7WoYtQ4zm2U/7hVEaAYvZvJnU+D/Pdi3bf8OoBDXug2RSTs\r\nfsf3ndMmmAy0DzrnES/EyMu5OCuypBWq+tTR73WCiFBAoKKpFUKC6LWdl3lT\r\nLxz+3pTqJ7ZbE1zzuAKjsd3OkxErRcXuxW/duv/JGyG7R7azXUOgcU1GrhGa\r\npbXAxXUryWi0IdUdJX3QOGx0CVNICf/SF0qgNTf1xsKIaL8p1SbScdn/AzXe\r\n/HUNXGNcPMa2/5War4bjTDg5WonVMkhutj3zCjvQnZj1abOipnEac8eIC1Mc\r\niFCJ7+465h490JR9kirSe8URHLgaonN3aTpJAT/sTQIW2LsYxZth+h8mYcat\r\neCm1nEnwS+xtFXUYqD8N82zb8ZEu4vn4p7FxFfs703hUp84rpwHkOzjDMpsg\r\na77feAoXZ9aXTK/fSdeCVSta+s2vOION9noqke89MpfAGa6PKgKB79eJm9gp\r\nM9ukVGxTDDU/YhYFw/oJdwHA9NIL/0wK8AmKoHOSc+v61lq4V90fgaAHs2vF\r\n/52xDCqR4z4R81Gw836qEaYJL8OB6V1p3PxNk9KfFe6ZLnunclxQ37u55kAN\r\nfZANwfuglRE59H6RKJEAYpbOFR34oohg8uM=\r\n=RYIP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-e362f8f636c079f7f329945b6e10dc9b755df4d9-16.x/balena-jellyfish-assert-1.2.70.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-e362f8f636c079f7f329945b6e10dc9b755df4d9-16.x/balena-jellyfish-assert-1.2.70.tgz","_integrity":"sha512-188gKYR3Nt3T7sndSYKU8K/hku4i1ippGklnutFfY4qr37SIteKb5hxxh7cjwPe21HxGC2aE+rIagaLL0DtdSg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-18T20:34:13.287Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.70_1663533436867_0.847845965583431","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.71-joshbwlng-add-nvmrc-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8":{"name":"@balena/jellyfish-assert","version":"1.2.71-joshbwlng-add-nvmrc-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.71-joshbwlng-add-nvmrc-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fcfa7f1ca983cd00e08469a1d9e671f3ac7c9cdf","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.71-joshbwlng-add-nvmrc-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8.tgz","fileCount":11,"integrity":"sha512-krm3LywdfgYSuCRsrgU/aGmLs9U9X0ZhO//uu6ZYWImebtJs+WoK8MXa8VuF7FZzB9sLfEtDemnkRZuotUyT6w==","signatures":[{"sig":"MEUCIHn43FoT7YZyURqAbuJbFM4BiVy1V0HGCmutyZjrOPlbAiEAwXo1IomXdf4a6Grs+5pjKpMOJmpkgmZQ+cfJTMF1gM0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJ+vqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqPA//QyEVcqNC7mp19xT8zwQctaJ+nAZYyJkw7kR1q0mA4WtvTf3e\r\ns8IWTGmVSoXkhNvO3z70mFr0rdSgvG2AXhf9v5dr7tBgYivmGIYu9ZyTBXUQ\r\nCgTfehI3kxlpLfwkjYUHUzGEI45OoIb83K62mE+bFbQK3HDaSOefeTmV30xp\r\n7NIWuBqP3FSNWnrBqB5pPXSn+Xs+RT9yOB7A29lYRKQmstAxQFbwSYrIdMUk\r\nGZdtzmD0LN3U1AGUHXTkhoNUpoAyPlqx15hcDKamvIoB/2lt+ukBkUO50zMM\r\nrHyTyphKlF4r+MXA015Ln6h6zPQzdqx3tnrIrsIK7syLiGKmMhrtGFRKPKNP\r\nzbYu91JhrW8ZFxxEbaPy8ighSA3x6xKfwJHCSFyv9GDXH2ODCETNbQiKhvKf\r\nY8NHfalYtzDyn6NFaZjsKyywgsvKDUx1xvLtNZpiKt/hputhwfz6aP+1tMVo\r\ncS6VbT/hCEDVKyTZqwrT4kmVQOyJabgkH56XiUnxpiKeZ7//bPKEXzMt2pgv\r\nch4PhbN+QQX5k+veWlmuKB1yZC7Uu45oyBeh2fzIJPXr6JAU8y1tljeg8xNl\r\nm45H6rJtgu9vOsmvd426efaYS8tTZY7Ngd03WQBxvCwh1gW5Z+tHo8ej41w3\r\nxJEv3E6e04u7adUH6EDAthgECeC6iMITIbc=\r\n=7aIx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8-16.x/balena-jellyfish-assert-1.2.71.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8-16.x/balena-jellyfish-assert-1.2.71.tgz","_integrity":"sha512-krm3LywdfgYSuCRsrgU/aGmLs9U9X0ZhO//uu6ZYWImebtJs+WoK8MXa8VuF7FZzB9sLfEtDemnkRZuotUyT6w==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-19T04:10:22.225Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.71-joshbwlng-add-nvmrc-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8_1663560682370_0.024193824595587055","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.71":{"name":"@balena/jellyfish-assert","version":"1.2.71","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.71","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"351237c048c5dbe9f218f5bcfa9346fc297c861e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.71.tgz","fileCount":9,"integrity":"sha512-JgHKz4i7uoZaDL77TLcPni9TjoUWjulekJU8+mkJ2lg4GWAi3+fkPJ1CCiGOhC4x7+pEezSDE08inUVoRMW+YA==","signatures":[{"sig":"MEQCIBjpJf0wMB40R6Q8ylrbetJCmsuczgUK/mrD3cmr7pIDAiBOS3Pd04mpWRTZEaE0jvE2oEe5mEO1OlHuRj59GAYTWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJ+xmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolmRAAma5Pc8ZGro5PT9APckM/yaQnXo9e5L7Ljx0xKixgmsx81s/m\r\n1SlFGfgiND71Bo0/yM9zEm+Iykitse4s9rKgvjFsgxnY1K/GotHLgozUmnHz\r\nH1qQ4ccMJnZd7EKIa7G8PK+LF72qzawnsEgMNRteC6z8zjq5SdfLrbA5Oyba\r\n/dk3PJTGvzw0p+SV/A8RVaj3Hz6kuxw6Tk8ZW326LjXMgy4Pgzjs8yFzcNe2\r\n2AQdjoZdYCjPnWhZ+XeuD3oIVpqBbPm0/YrFgSF+HtNp1AB0SmLOpoIuu6ss\r\nel4oaNFXjjQOmSWQV5PMjAgmMtlrB4XSHHPZd0558AXUCub6lQX5TbJNL6K+\r\nQIJ3iQdoeE2Q6jsHktw1yE1/vvH0vgdunFHMXCrW1bClAG3FJ730cs5Ed6jf\r\nbK+orrzwf8jkiEi9tvYa4T/SSd2d58U/LtHe/SUSPkf8DfRDyCuIfJHqeRIx\r\nAO5SWH8kjCCRdicT9UYwYChvn3qjWNDvdrYXerMg8C4A0KukmlqTd8Q7nlEa\r\ngYlybxgmzzYqq3UYgr/gvgSj1fJrVjxgub3rF+b2+LHFNLlFBKpOXV4FfCv7\r\nhaNeZE/ZPx+dx6jqIkwwmI4rXCzY87KdGUYr3Fbsvt3mC4P3f9KeP7PJmu4g\r\nBagCQAWUxR32UC7HR+kudxhtoJiEktnD1QI=\r\n=q3zA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8-16.x/balena-jellyfish-assert-1.2.71.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8-16.x/balena-jellyfish-assert-1.2.71.tgz","_integrity":"sha512-JgHKz4i7uoZaDL77TLcPni9TjoUWjulekJU8+mkJ2lg4GWAi3+fkPJ1CCiGOhC4x7+pEezSDE08inUVoRMW+YA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-19T04:10:22.225Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.71_1663560806512_0.7659533739841227","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.72-joshbwlng-codeql-f2dd86064ddc0f22c50bc0d434eb64293efe8af2":{"name":"@balena/jellyfish-assert","version":"1.2.72-joshbwlng-codeql-f2dd86064ddc0f22c50bc0d434eb64293efe8af2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.72-joshbwlng-codeql-f2dd86064ddc0f22c50bc0d434eb64293efe8af2","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5ace746c4d072fdecc94f6967b36d4b24ba87976","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.72-joshbwlng-codeql-f2dd86064ddc0f22c50bc0d434eb64293efe8af2.tgz","fileCount":11,"integrity":"sha512-NqV5U1coDTnxdcujub6jOwW+lUlGqaBGkjH8/nmWKuqQxfGd7/O5RezM67yk1g3jzckNcfabigndRSKv2zOXdA==","signatures":[{"sig":"MEYCIQDTbuDYTF8Lw8tp4ssZDTwe9YnkGfi+XeIku7bN0E+GOQIhAMrHgHa8x9CbXSkGcMCxtvXGJnUhJ/qozrub3bqEaHP2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKA2yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbDA//bT1LcQKGRbjAAgeGBrMEboSdATeJRsrViIJswgiOICHqMhIe\r\nI7zMtoT31nVzfQbMS+IvswOiV5R+vGUB8KyA7Xc1I2dFlGe3UKijduQDEKMW\r\nGo0YirEEyvOFjwRCyDRQqfpSs1hCeYolixCl39yqjeLVsYyyWUidS3MW+kNV\r\nXw8miJWqqVBtk0IKRicePjbeUXNP5GnDeemVDFL+kCGO34JtektWTra8fF0E\r\njH6n47Pc5yWNwTFKfy0kK/Rcexuo93hsTW4ygEwqRzDnKiTeCd5BlZKYNEo+\r\n/DtE6GY1ler43vH3Pd4PMyvTE8+1olqU3dBNIqKm3bA5zTwq3iJh2v/FS1tL\r\nOcQsGoaGYN45PwBrZ6spFXc1qlJ3ob7H6G37qP0LovtJzFsR5D088GCi70f8\r\nLDt3Ft1ykwHMXbVchyHm8spV606+XguKIt3GhsAHk0MQ4YQzG0bM46SpZEM5\r\nJX3busj+pqNBkQytiXSJPOlWosZq5Ny+HmZuaI7Q5a5Uu9FRQwOecRbM8yci\r\noJH1tbo6j48/+OnrF87XJPZrRWzcM3YW07oowPmya5b80JQqhSAZw4lt/DXl\r\nCwIs+h3EQK0u4YreVyZbN6tpUEua+34KGg9fT4Git8djLbJmCoTb72qrrpgm\r\ngxYsmQRhw+MQxD73t4cMoC4ZdcjeEQOXtUk=\r\n=lxk1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-f2dd86064ddc0f22c50bc0d434eb64293efe8af2-16.x/balena-jellyfish-assert-1.2.72.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-f2dd86064ddc0f22c50bc0d434eb64293efe8af2-16.x/balena-jellyfish-assert-1.2.72.tgz","_integrity":"sha512-NqV5U1coDTnxdcujub6jOwW+lUlGqaBGkjH8/nmWKuqQxfGd7/O5RezM67yk1g3jzckNcfabigndRSKv2zOXdA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-19T06:34:20.339Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.72-joshbwlng-codeql-f2dd86064ddc0f22c50bc0d434eb64293efe8af2_1663569329878_0.9854735905547025","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.72":{"name":"@balena/jellyfish-assert","version":"1.2.72","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.72","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"efb8a57c6792a847ea85dfb7479adf8591268385","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.72.tgz","fileCount":9,"integrity":"sha512-ezHFcLQWYzYGwfGeZB7VpZMfCN6ClCli03iXcG81XTIE18RuFhgKY0Pma07ZASxXlWqqjJHTcgI38i7ZPzmFAQ==","signatures":[{"sig":"MEQCIF2pVGil1le7/6YgZEJ61S8d0/wvMkkiCMN4Hu3Y5Sq7AiAg9l/FphLhLhYsgPQS4kalN8hYajE/v48HmjKohuaCHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKA4pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqq+Q//eMekP6BCGdVwVEWq4WZC5Q7pNxQQVvZmiqDA0gzx2hnFAdOi\r\nrOxHeRNGxrqRhEiQCMLox5qz89WAMH1NV+Nv6h3Qo4nKLRxzN4vmwIY1/IHT\r\n47wuXNRyVdgFMZul7QU5mczfVazGGnstVencnzUmX47rhhNcWg0h9C2WoMRk\r\nVSkbKC98Z2Q2bXlCYB24K60y5jmYCdQKpmXGv9uBFier9HAkAc5PQ4kyNiDn\r\nwgoY//H5vFB3vNF/9eClJM/JOOydTtkjIrMOdrhn68mVSvj1N1c9GtNVbavm\r\nXSAtY/FcVWX+wzk3cWaTJtrLMQQEvkxqlyFqha1AtzqlY8VFBTtW40ivtENk\r\npQDVud5JZbbQlczsBqqicPtddDf7n2tyTHtLUSbpKfUKlgCMXAGVqF1U3W2g\r\nMk1qc6MI8ME/ey+7fmEM1tsGU99de45ejKSXmWmngkss/8XYFZMREJ0V/f4A\r\n/q671RkGE8w6TS4MWNANGZEi4A/uJIep9bWFPC1mMLheLxj9EnSrg886j183\r\nOaGMPpnisILXlhafyugWrN32Scflq4PjXshuM9bAD0nRbUeLt8124CaN6gpP\r\nDpz6BV0crWxaHd8p0hFZQQFUsecml0czX4XZT9fFdIqQOQCutxp+Wtg2R89Q\r\nJ99fv/wz6sqtV2DpGtUwVUMDtu2iY1jxxzc=\r\n=wd1l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-f2dd86064ddc0f22c50bc0d434eb64293efe8af2-16.x/balena-jellyfish-assert-1.2.72.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-f2dd86064ddc0f22c50bc0d434eb64293efe8af2-16.x/balena-jellyfish-assert-1.2.72.tgz","_integrity":"sha512-ezHFcLQWYzYGwfGeZB7VpZMfCN6ClCli03iXcG81XTIE18RuFhgKY0Pma07ZASxXlWqqjJHTcgI38i7ZPzmFAQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-19T06:34:20.339Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.72_1663569449059_0.5353117414092456","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.73-joshbwlng-editor-config-8aa8cf8a190b1cc389fcff40177d4178004882b7":{"name":"@balena/jellyfish-assert","version":"1.2.73-joshbwlng-editor-config-8aa8cf8a190b1cc389fcff40177d4178004882b7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.73-joshbwlng-editor-config-8aa8cf8a190b1cc389fcff40177d4178004882b7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"244dfbf4b97d3e4b3281344d17af2e765d46e783","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.73-joshbwlng-editor-config-8aa8cf8a190b1cc389fcff40177d4178004882b7.tgz","fileCount":11,"integrity":"sha512-u3UKwnCJE5c2mcNPzk6iZWdkItcO2/E7RANVC5h/zYGkYnIlzFSrRCNKMjZCCQe7zqq9esLaC2pp2kXbAEVzEg==","signatures":[{"sig":"MEYCIQC3pBLSV4zWPvBObYEpbPYDlhy9nf9orGtyliZ1JebCqwIhAPVlMk7GV/I695ecNeeo2IGzadnvWv0nX9gEA2pFfAIZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKB+6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomRQ/+Ig2kdxb4u7G9LkozX9qfgGLSSahgndGCy0Ah5MPAP51FnaY9\r\nM4tOzBPsNTu68NKfEkqnEk/Zw7yqQLkL5as8JxhfxDwWuSZ3AJvmdBAtb+8L\r\nzsIEi2XOnfUZFirySqcJdFsXylM4byaZE7MWzdGfHWZgAhXxFjZmjXDGHKNt\r\nHjO5IMcw1HIqo0M6ZTg1G7323UDq0Bg1SbXsKZXqEzrCkFGJYjh+iURSLRly\r\nVyzlY0+SJ2Jck6foHXlbHUg4TbWs+/LvrqKEC+/0iilgIFteD0EDylRyyaPv\r\nwPUDcKH3XtbAUhDJyLI1otgd2G8/bDOWkhFCEF44Z1pxeEDP1Tce5dYGLkea\r\nEepgIGmyNnyex7vIhcWfTOrEZpg82shxNmDnzALwyj67wsSo8CEA/KuNYTMd\r\n76Y+QypltMz7gjDfO4tv453S6y35nygTa+MJ70drFx8XPV8yUpoTnY3bw5tz\r\nxrHScv7Wxg7xlQBnTuVEJFyC3NFGdu7qVUwl3r6OE/TB6v2eJaPabNfcyePO\r\nCieYZAjGafDrFQ24uwtnLGBKVEKsbFpJitIINpRkvB0JLdW2yVzLxhZG8GNt\r\nmMahYunnF38maTvX6qVnjs7hlBK6+57ysmC+i8KXKyc0qXQgx2xZk3IX5Wjw\r\nQ60fMAGkhYCgyKSyIvt+G+ugavWBMAe+VEo=\r\n=pY/d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8aa8cf8a190b1cc389fcff40177d4178004882b7-16.x/balena-jellyfish-assert-1.2.73.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8aa8cf8a190b1cc389fcff40177d4178004882b7-16.x/balena-jellyfish-assert-1.2.73.tgz","_integrity":"sha512-u3UKwnCJE5c2mcNPzk6iZWdkItcO2/E7RANVC5h/zYGkYnIlzFSrRCNKMjZCCQe7zqq9esLaC2pp2kXbAEVzEg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-19T07:51:15.418Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.73-joshbwlng-editor-config-8aa8cf8a190b1cc389fcff40177d4178004882b7_1663573945944_0.7668654061686397","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.73":{"name":"@balena/jellyfish-assert","version":"1.2.73","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.73","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c2301f2d9966f27348950db837ff89ee447d3dd1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.73.tgz","fileCount":9,"integrity":"sha512-2+3L7Xn8Vl86KPXNO3R8tNFVbBI645k4ZPmx0br85keVr2Jl0yONoNHtDX5OSK9yH9TflXJaRg0h+LS9TeLdPA==","signatures":[{"sig":"MEUCIDPmKNuyDhkb00KnYUaY8jT+foMhXG+9cHpUFM8NydG2AiEAiHYXkpO+h5p7jChrcqRLXsRhavnMDrz6YmdmKUqGEnA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKCA7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpvvg//RNFMd+dv06D/rVe38aab7QOQlE4F/reHZtuK6KsdYPnNzvp5\r\njW/w0/f271tdXcFNw9tbXbMUUeayNn0OPc/wFMpoUpb+6GgPTU1IxLXLH62s\r\n6Eai9iHvHEJiTi+nEj3UCTMr+tj4VkVoZ8JKytYPYMKIHh6GWfhtpy3TwF4t\r\n+oXNowvZ/S8xSvOq1r3ZRvNB5TPUcsHeOOlA9ruTxmMJdEg3YA3wenFvoOwE\r\n0OyDTDCytJnW7BW4UW0o2863a6NhWNkKmYyXaDJg5xvrq/4Q6oWC9dxcuRnj\r\n97wyUL+UMsLYGSSnRLgsB66rSCAWF5caHWbaaPDs7BVm+8WDlp/GBVMOTjAp\r\nFrvb4qRib5QKYsnQtw8kFJZcjf1TqIweuFBNiBq/ik9qWzyatu+TwlH1qxq3\r\nrU+ZrWXTXAqQc4Y2xLLm+6RlnclbrLVHKuuPn/6WMuSQRNBYCewF+nXRnbkq\r\nsOo8D0UkayTneqt9d3Xl9LSpDfrZF0AOPi4RaYY7dDGRb5roivyPrJJOdPs1\r\nJ6Bpp38fODmsaF55O6xGRxuA2cHg8pOGc6zfpK9qKkjwBpT1nlfunKsg1a4j\r\ncqqfFGCTp/aMsNQ5Cq9fXkGOrLH4U1wTIYo2nhHQQIzoy3ED6eG8kkdtSfid\r\nn7mUUDxx9kn62Vzl7yVgVo/UjnBQc/nIbQk=\r\n=hXpw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8aa8cf8a190b1cc389fcff40177d4178004882b7-16.x/balena-jellyfish-assert-1.2.73.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8aa8cf8a190b1cc389fcff40177d4178004882b7-16.x/balena-jellyfish-assert-1.2.73.tgz","_integrity":"sha512-2+3L7Xn8Vl86KPXNO3R8tNFVbBI645k4ZPmx0br85keVr2Jl0yONoNHtDX5OSK9yH9TflXJaRg0h+LS9TeLdPA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-19T07:51:15.418Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.1","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.73_1663574075322_0.7372896475655153","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.74-renovate-ts-jest-29-x-d4f9e02618da3f2c063f5b7691117fc2730a6e9b":{"name":"@balena/jellyfish-assert","version":"1.2.74-renovate-ts-jest-29-x-d4f9e02618da3f2c063f5b7691117fc2730a6e9b","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.74-renovate-ts-jest-29-x-d4f9e02618da3f2c063f5b7691117fc2730a6e9b","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e859f2feb83d96a858a253c6ea359376f4d20d21","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.74-renovate-ts-jest-29-x-d4f9e02618da3f2c063f5b7691117fc2730a6e9b.tgz","fileCount":11,"integrity":"sha512-o5xRKycsrYIhj7I4j/7rhE3VTT6DIYcrAJ/EySGcQC9lZfxb7NO6K7LjeE5ID0+TmL1/QYy4+IH1M6WwyGZZag==","signatures":[{"sig":"MEQCIHtjlRXBS2lkN9v6CzOABd9AFlfMfn89yitMWQVj6ZLnAiAfcqV+YSg5QTDnI0SnsvIa480ceW9vn4eu+s3CSs6chQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLtcCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFUA/8DStjhlpLsmVG/8vgnvAuZOCLhLUuPn+7mTTWy+bD/SYk2dvD\r\n6jDkFN2Tbw5H5tqAl1YPrZeD5i9ui7C339TyNfRw1cjuvza7sB8ePvC1T4l7\r\neUr6zsZzXVmcIbY3JYdRXW5A6OtLNX/Lltj2EmRUp+ZbjDbROUDV7778hOIF\r\nneq0B2qZBdsc59AAvSuyPVs858fd3MntqQyujIsgttJinJQ4acOOqHDGTZ9S\r\ntnIdeeTi+V2PZ83n9sPupOYmR3kCe2ZZQAKhGna+TqpDnUSiC4TA0WX9/Wyz\r\naG4Svnp+8B3IYF58Cw9t7EMQaIIRxkvZEA5EGEFe3Tu4zk7LIJaSB9LbzJiB\r\n/07BP2rnZSLWshUcfkBULOWOb9dvdNc3Q3B4a80jIfaUMs97SQeTXhM/PE0x\r\nv8kExXMKAOssO7kJ6CCbrPoyGx3upxSEaB9rwR4fjkb2YL8A7aFA/jyEa/+H\r\nnHBNdWx3Yk32vpMST1BX4w+Rq+P5dWup2N4lOqJsCbtnVn4/8FzoM3jqwzXD\r\ntO/oUuVAjFThQUxWWdnzvM1tJ05WKU+Ib0UWD3izN+Sl44ev2EMvy6v+1bx2\r\nGtpRGIcyakRoR6MwQw1/5OXb9TZe37UMcXUWn/R0Xr3sQCc+ol2xoJGxmlH/\r\nnI8b8xQalEburTDDnCmaG2IrmIMN2Z+zE00=\r\n=cyHG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-d4f9e02618da3f2c063f5b7691117fc2730a6e9b-16.x/balena-jellyfish-assert-1.2.74.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-d4f9e02618da3f2c063f5b7691117fc2730a6e9b-16.x/balena-jellyfish-assert-1.2.74.tgz","_integrity":"sha512-o5xRKycsrYIhj7I4j/7rhE3VTT6DIYcrAJ/EySGcQC9lZfxb7NO6K7LjeE5ID0+TmL1/QYy4+IH1M6WwyGZZag==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-24T10:06:16.195Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.74-renovate-ts-jest-29-x-d4f9e02618da3f2c063f5b7691117fc2730a6e9b_1664014082071_0.377374946067663","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.74":{"name":"@balena/jellyfish-assert","version":"1.2.74","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.74","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d5e38b57bf80f81e8e1e3a013e99666e2938e84c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.74.tgz","fileCount":9,"integrity":"sha512-Q2L6qnSrcwRrN7km+ho3nYgaBmF2o+l/hNFYUnMTaTfv7DnhYCQt/25nzThJM5DMPfU8Hjz3DYvettPo72jrYg==","signatures":[{"sig":"MEQCIAUIudCHhYk9Asjz2VLswoia2W+yp2dKVNHAdLp6QKaFAiA/4nBFW2K9I4w8m/VxyQa1kddLbGytzdFjoq5+jIBBFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLtd4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkFhAAhnxDXnE2xXskyw9/vuR+UtPrCChyDGqsHgJKBadawGnKEij/\r\nh9NiduTtdERSYaKS7jkclFj+uDTdWh8iG5qsx8R24Pir7HAplXPftyGQVizA\r\nceDHJroGFkGkLTf6RxRjsSsfagmr9SEcOBBHLXbh5Hl5yot/R1mDzsLHnyCx\r\neyHTcbZgEmnR/YwFnTnvdgc9X/Xl1Rhmr0ditz8PoLVeOuIePju6g0SW9bUl\r\nBG70VcKRAEP7mAKID9N3Pdpv73Yu6c26cWPaan4KVHMyx523IscSfAchYbfL\r\nHbQ/ed/+p5VSIToAzUaWpUKtBYJ2+eEX5+wCqvBY+xqsmEQDAcgv4ZRKbdVp\r\nuz/Nc1HVaRvfHLwCOP0MYiF3dGZsUL823EFh59N5MLjbOT1JUUdoDSV/UQcS\r\nsAJwmFp9zay8F67Ski1WEr7+8Fgkkx5m+xaRHVqgmCKhGJzgHqEyQTnD4Q/2\r\ncvBoVtKSMOOj8YJyheeZiY0ZhQX0FJvMgZ2BuG3q2C0DYigTgOYGsA3U/VuY\r\nFVXsGx9ef2H8f9LU+k5BICuLy8Sa6A4pnoUuNVb3Zb0jfNtzipgkC++PEw2E\r\np7KB7XfNCrDO0uz0kZiLm/y4anX2G8ApZsoelywf9Sq3lygoRSjlj8X6G+wQ\r\n/eQpYigz4LNRwE7RGwhyJRJ58JhjTOQ4EGQ=\r\n=sh87\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-d4f9e02618da3f2c063f5b7691117fc2730a6e9b-16.x/balena-jellyfish-assert-1.2.74.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":"^16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-d4f9e02618da3f2c063f5b7691117fc2730a6e9b-16.x/balena-jellyfish-assert-1.2.74.tgz","_integrity":"sha512-Q2L6qnSrcwRrN7km+ho3nYgaBmF2o+l/hNFYUnMTaTfv7DnhYCQt/25nzThJM5DMPfU8Hjz3DYvettPo72jrYg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-24T10:06:16.195Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.74_1664014200114_0.8040705534983839","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.75-node-18-ff58ca50166401d3d2ed4f2bdb406afe75610265":{"name":"@balena/jellyfish-assert","version":"1.2.75-node-18-ff58ca50166401d3d2ed4f2bdb406afe75610265","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.75-node-18-ff58ca50166401d3d2ed4f2bdb406afe75610265","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1ec00867680d667c3f6c512bb4db7a17f20d51fb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.75-node-18-ff58ca50166401d3d2ed4f2bdb406afe75610265.tgz","fileCount":11,"integrity":"sha512-Rme7TAbqYeQo0x4M/c0cNaLmoxTFGmjis4dZS2HiWM0LakTNcjiUSvj7lU+JZuBMnG81s8u7ir8VlDz8oPBfkg==","signatures":[{"sig":"MEUCIQCrNDYUEDDV9W0z01Pv0sYxbHZqodELF0gZbRsPPWO2DQIgComeHinbt0baQ6bXCNXDwecym2R2dfH4dTwlNNQnkUA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMtkTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrpzg//Vlmzykb9MRjawoIB4xPvj96HokJf5MKvxfoh4m/VLEyFaNlQ\r\nE5v3+Cs2kNzswinOkbVvRTVwyCflvaubWn78X4oElY+hNpkzZQ/at/Vj6uVv\r\nFmW6Wk8YwhwCSyUhUYo5bFqXoXACCPK70JeulW31TCxAM0h+cDL5qOGTvQ0l\r\n44x54PFJGONe7Vte9Ba8mzpkwpQYJS1GIiwnBXAhh828/GbNJJ4wIkxMygsJ\r\nlahvGwSg2VXXyuHJj2La+yLG+dw+5o1FrrwOmiR+pjG4Y3SF9G2wLB8NRAuh\r\nGG8n51qNmDNeeUNY8SkBDABzPXmoOYb6RMViFZxjutvVjMoZS+vH0u1M3LKW\r\nmwiI3bwhP+j6jGCHJPi39ViaZiuZvStmbVo1j1DnTS+OlX9ac0NO34wCBBlZ\r\n5m657w3Ywb2S7aifJLceoCUAlVW5PghXR6Fw6w0sasz7ZH+9EEDND+6HDOdD\r\nOrIIxO22i2LHlod3diCdOBEKkscaVHCipxumluSHVxbaGghhhEDr2cyQj0So\r\nZMRw86vbE7Ny2Fetn16frfl/9akp2HUZIG/ZasdL6m3kX9lJW33KX4mnE9Qv\r\nD/pxRXYTWYfcRyHpbkk4NnxVYfn6r3fchbg0wL51Ypdlb/D+pAE7/+60Lxvu\r\nGoVHC/XK2teI2htI5rMyk6HZ2IHtWlumRdE=\r\n=hn0Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-ff58ca50166401d3d2ed4f2bdb406afe75610265-18.x/balena-jellyfish-assert-1.2.75.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-ff58ca50166401d3d2ed4f2bdb406afe75610265-18.x/balena-jellyfish-assert-1.2.75.tgz","_integrity":"sha512-Rme7TAbqYeQo0x4M/c0cNaLmoxTFGmjis4dZS2HiWM0LakTNcjiUSvj7lU+JZuBMnG81s8u7ir8VlDz8oPBfkg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-27T11:04:34.242Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.75-node-18-ff58ca50166401d3d2ed4f2bdb406afe75610265_1664276755110_0.2771519595723677","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.75":{"name":"@balena/jellyfish-assert","version":"1.2.75","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.75","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3d9b71724a9f7c6f1ec54d714217563839f731a0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.75.tgz","fileCount":9,"integrity":"sha512-e5ZqJICMpE6TGInOnKY+ElBfEKTMy5bc1EbVjQMCuXHDORbbN3fjVZ7JHrMRAWhVUJ2r6pgESJLSHCugkc97xA==","signatures":[{"sig":"MEUCIQCDImOWZiukkn6i1tcSg8tcMaySZ3V8O9QIMGvLi8ZWDwIgXB473Be9rQn+zvPuhoJ7epg//8OkXufklKb+u+ZLfUY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMtnbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotjhAAjbGzrhHC92uFl5D+Sw0kfXhxozpWv+GgVjLtCS5FSaiV4Hv/\r\nEJU2E5oXc4/OQ6ToEi9pMVmUqR2l2mGSrVah/t6UB16KFub2K9/YEMMBqbCc\r\nKQyZZvTVLZLPQXIi7cPZ/NLnM8odfvp1EUWd5zitigt5cSY2phFx4GUT65Y+\r\nHTVOtJtdTV2zsFoL8NBkMlOkeMuIZAsy09zaOfqYgFJkLns5uWAyyvbUk099\r\nY13ee3G3j9kCOM62L9mxrGsyilv7Gfn2WR2W9D6/ibZhxzPG7pmBOGqg5lpK\r\nLd1fxNd2l+mVMv5upBIIg5xO1wCPMG9+HtZoSKGKly3wfKfZJVQfhIHwQWby\r\nlbKw5VWy6tN4kj2XE2Bn00JOc0bhT+AizF6Tx2lJYhbV/HHzhrr0qtNLM5uC\r\nfn8jFJ7HonHPd4+VwZlD/wDtgsz5HtSskI8NmTy1ayxc/GpDz/+i/1aAEOr/\r\nTzM4yqjkRnrIyVC0TeZ2jFnbJ0BiNhc7r7frWeDRQffgns+pfopXh04sVxjW\r\ndNvGGJYk7rwBsjO/yevA1rWnO+uDA5tN/NekmPh36tjHGE4k9ko3Is+hIvsf\r\ng5cVewC3rwBAQLDYEIOJ9rFCue0AZidali1qC0foBPQPUkPJpLnHKFwyWDyG\r\n9ZU8L/UXUVPPW+86JAhzOMs3wgvfQ2Mn0j8=\r\n=fce+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-ff58ca50166401d3d2ed4f2bdb406afe75610265-18.x/balena-jellyfish-assert-1.2.75.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-ff58ca50166401d3d2ed4f2bdb406afe75610265-18.x/balena-jellyfish-assert-1.2.75.tgz","_integrity":"sha512-e5ZqJICMpE6TGInOnKY+ElBfEKTMy5bc1EbVjQMCuXHDORbbN3fjVZ7JHrMRAWhVUJ2r6pgESJLSHCugkc97xA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-27T11:04:34.242Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.75_1664276955803_0.7065371899679793","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.76-flowzone-docs-7ef763d3581b7c5aa7a97e387b31173c577d064a":{"name":"@balena/jellyfish-assert","version":"1.2.76-flowzone-docs-7ef763d3581b7c5aa7a97e387b31173c577d064a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.76-flowzone-docs-7ef763d3581b7c5aa7a97e387b31173c577d064a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b02b5d65f3a1134475bc5b75af4e445c5bc5f008","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.76-flowzone-docs-7ef763d3581b7c5aa7a97e387b31173c577d064a.tgz","fileCount":11,"integrity":"sha512-vn7GL1r1C0sDVs+bhJKHmp8Tchi4RwcYthxUAF3cCYkwx6Tr9kMGku+lSf5BzPQLLAChQL4Q3BCKCD6oce/GAA==","signatures":[{"sig":"MEQCIEvF0UCWc4c3Fervfy2yNAjDUcD2arFk71tLCoWReZnPAiAs12IKqga1JBPOL1aiHVT4Kd9JiPPfJ2zO9Pand9Cdmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMvLxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRpA/+JXsWNLcF5UqsmZKLo7cholN/ntt406ReVXaAIgs3vkDAV2EV\r\nFGdkOZjPyvWq3ZxHmbJZlhi5cR/JFH9lcw19TMNM3eGjEq85yY9EJzQ2KEXa\r\njvHMVjSuB3OjC0c/lsPsh1NeYFhv5m67sSQfSKd5mdi0YTwYpXqHPCgjYUVB\r\n2tAKELE/eoEUje+qIP0Fr+KgqgJdDY3He1Dnz4U9kJ4Zotlx4ZE+gHZBItOt\r\nTI6kJTpZj49WLncQN86G5t0zacoaDLpxRxwnKF4eno1ytx+HH3Kk4KWwAy3m\r\nm31C39HazrwNID606ERm8ClDDbvcgD64vgvMLY3KF5O8/zJTEoYg2/yVT1Zi\r\nkGzAmgsBIpoFgjVP/1lksdrZ1nInDyuBhhOrsrEty0AyPS2JBraUZXemBRn1\r\nVpn6iaXdWh+/MFrYHeOPabozN4hiBjvXWFqIdOzRHRq/HTa8oAshgyZHX9pQ\r\nttGP5fBSblkzyGeM9imvegF0UhNp3PQb1XQAcuAkJ++VuOKnpD6sDwRXseNu\r\nD1HrPeCI0z+vWmuczlJeLwZPyVxQoD9spTy013FjvU0ssh/cT/hcM9tZdDS9\r\n0jK6rQroX6lyrotp138yMjloSmf3hCQBXF4oGtugKxwSO83StDAgCuRfvUrN\r\nO23THJQmlnWhrFEFvZyNh5jjMXE9FpJ5VT4=\r\n=6t67\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-7ef763d3581b7c5aa7a97e387b31173c577d064a-18.x/balena-jellyfish-assert-1.2.76.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-7ef763d3581b7c5aa7a97e387b31173c577d064a-18.x/balena-jellyfish-assert-1.2.76.tgz","_integrity":"sha512-vn7GL1r1C0sDVs+bhJKHmp8Tchi4RwcYthxUAF3cCYkwx6Tr9kMGku+lSf5BzPQLLAChQL4Q3BCKCD6oce/GAA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-27T12:55:03.994Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.76-flowzone-docs-7ef763d3581b7c5aa7a97e387b31173c577d064a_1664283377575_0.5367914611900615","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.76-flowzone-docs-c653febbb07a5fe090300eb5f4f90a42d768440a":{"name":"@balena/jellyfish-assert","version":"1.2.76-flowzone-docs-c653febbb07a5fe090300eb5f4f90a42d768440a","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.76-flowzone-docs-c653febbb07a5fe090300eb5f4f90a42d768440a","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"046d060b822746c991e33b8ca44e155d01712829","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.76-flowzone-docs-c653febbb07a5fe090300eb5f4f90a42d768440a.tgz","fileCount":11,"integrity":"sha512-TOtUo7bkGMD+U9X7YPnUFIOoytM2aGpn+7rBR91uChezGJuuxGhQzhlel0HbeACSD2OGJTcLrXok+yNi25+pXA==","signatures":[{"sig":"MEYCIQCYw2b629M4IJ6DCChDkTLfvcwBAiChEeUN8x/prt+TpQIhAMMo/WgECOG0gYsFBuwPawAXexLC2wpSuodOnz/v+0Sz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMv+ZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhmxAAg28ySLS1zItPERr6afrP2zNfgjl7YWUym9Oi2niXFZdzq68x\r\n40b5iXn0jeD3hPTUo0MjPwWy7ricKXVhoKTYr44NH6HyzfCnmPrQMrLAFo0Q\r\nDsVTSSRZMWswo+gDMH+Mo6cOEC2MOkVvZ5Vlyq4XMKIVJFhkmwWj4csjfPv+\r\nrJHVZNpEVdi8cVteNgKOO+yHfQpJczMOBrUqix1fU/repn1fLQUzwSn9kGnM\r\nM6q+nKwKSgDzzDoyaTEyGvhl61AoSpmpuF7S2Mhh7BETJ2kKb5d+iVNdXbGg\r\nwonsl9URQP4rkj0GryL10rfjIGf5iStL/jHbOb1QM2h4MBVWV2YKzR9gJelF\r\nt+FuKoUSx4e1kVu70jX9UttBbJbwIYebYrtgupDGenW2IbDXkI5s7ddAJsFN\r\n3ywaJyB99mElIXVqc1EL5tavvwY5Fg0ch3aWqJEH68zsEUjKNzSb2tmkGu5Q\r\n2lRIdoFtsijYtZqlOZhX83+4/2UMBYiesi9CitqsQkvnje6LvHmgWtZxT6+p\r\n6KvjqW/N/BQWCMgScKS1O3KSgmH4Okc5WLSWEeZHoadCTannxTkAJQs8gKKm\r\nOR5Dhh8YoyGe1PZ5P48eWKk6OFQ4ngawIE6tCVpZ1lo+so0ifGtmxQ4QVcJh\r\nI67jCv86N3OUXczLgNq69U4HrkkiGla3tiA=\r\n=LEvY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-c653febbb07a5fe090300eb5f4f90a42d768440a-18.x/balena-jellyfish-assert-1.2.76.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-c653febbb07a5fe090300eb5f4f90a42d768440a-18.x/balena-jellyfish-assert-1.2.76.tgz","_integrity":"sha512-TOtUo7bkGMD+U9X7YPnUFIOoytM2aGpn+7rBR91uChezGJuuxGhQzhlel0HbeACSD2OGJTcLrXok+yNi25+pXA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-27T13:49:07.664Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.76-flowzone-docs-c653febbb07a5fe090300eb5f4f90a42d768440a_1664286616895_0.017052519266918642","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.76-flowzone-docs-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17":{"name":"@balena/jellyfish-assert","version":"1.2.76-flowzone-docs-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.76-flowzone-docs-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0a12277ed74c98accec61057b84a75dba8c87394","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.76-flowzone-docs-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17.tgz","fileCount":11,"integrity":"sha512-O0v+xntXcryo5fR2W15lLzkGhroDRtCsuWXLw5ShCKkkjTXg/BXyiuy7pR0oA6tPWtIj9CpU15cnu5M9swI6Pw==","signatures":[{"sig":"MEUCIQD4xPWOVSOBblSHuGeRb2Cl3SiU5Gy0uPSmaV3C1agIPgIgYFlIBXL8Tkn75Sg7nspILJhQfQSF5rizIoreV2M0tig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMwUvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoflQ/+JfEZCxQt4PAL9S0MI8DSVBot/vpftc86z3o6Ui/QhQeDrulp\r\nAt4RIZgEpZYtESPjziNpTYHiM3wPyEKgZy3uPvb1Qz861FWVSLI2P+iScN1E\r\nhgAZ1fpO+slIAuAT1pAO72XduakB3gUybBty2gspySw/NTKpSp/lJrWks5q1\r\nnK8TsOPeu9quTqWaAPDY6N5yyEo9eITlTG8hrsFXmmdoJvPX9lVZB6I9+uty\r\nRRPYw+rV8n+GAzBhUqxiCXLeHXmIRlqCEa5jWaeb4NX1PurYhitHKYDNfbWz\r\np0lBY135zTMyCV4dh+gw5Ke7CYxtKVwlFFmV78qF1Am7EUan5ryGi9IyiEpm\r\n+Vg0A5QFsBOzxETx0mR/U9MP1noTGXZ7vIZNg1N4rVgxEIg35EJmtdhusfef\r\n1184b2YsO7F4BhGJ0zlZ1G1UL3UnWm3I1X2hGnEMbtGEX03NkdZWHsJ0maNT\r\nJUJLfHK1OZnFPRRJAUrTo8SapGptzqEjXT4YWZaskPUNx629XOzC7fQ27bY9\r\ny6zu44OnJZYZeeZnhrdimCj4EnoQMeX5vLVZ+rzsGbNXRr6YJmLwtBovZs3x\r\nRxRn7ARtgvKzCwXSxMfbKv9RT8Y3iKjW/tVfcTaa/rbBN3GGVqJvtnuJlcBL\r\ndFAfcW8IjjmwNEC0hSEj/LnRk12BjKFUIXs=\r\n=lXuu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17-18.x/balena-jellyfish-assert-1.2.76.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17-18.x/balena-jellyfish-assert-1.2.76.tgz","_integrity":"sha512-O0v+xntXcryo5fR2W15lLzkGhroDRtCsuWXLw5ShCKkkjTXg/BXyiuy7pR0oA6tPWtIj9CpU15cnu5M9swI6Pw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-27T14:12:46.340Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.76-flowzone-docs-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17_1664288047333_0.8598266864113582","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.76":{"name":"@balena/jellyfish-assert","version":"1.2.76","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.76","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b5d1c58a8e8c90e618e9eebac37a9ad03239166","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.76.tgz","fileCount":9,"integrity":"sha512-k9Nx8lD8fVzltYY90b111UT2xZVDvFcKbRXFDeBJSbhh1R2OdxwcdrLsuuN6XENGEy8krgaIgUZdUphj93WKkQ==","signatures":[{"sig":"MEUCIAt7UP4ZoHQUo41xEN1vVcseFNII1HXQLbleHB8upqKoAiEA1N19hwJbD0x1pbffSu7UJBsmJf0efXcWfvV5QTcigco=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMwXiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7MxAAhxsbOIG68TuE/QlnfKCAqeIvQS1l1vMMqTk1oWfMl3JkXyJ/\r\ntsdG6XmGXrk6mJwx2daCenrZdf+iFAWfvU7ho8S8KVmFKXMZ/CY0n6JlT/rB\r\nCmhN6S26BcX4qD+4LwpkYYcRawcdXlzSKrkmUMuwkAaYsuhL+Tf4yLKcVam6\r\nqy8yudtXXBrMOrsoRDxO070LZ/+sfjbGgehW5GLXxpyTCfNqZFum87y4DLp7\r\nSvGWqyjH0xySl4ykAz+htfshJKVEJPdD5Nsv28u8Zsy5NGOk7iAGkc6Z6fOf\r\nub7yFxZlGhdrI4jWZpGFH28A9XnUfr6W0if0asqa1+YS7q7Fdt1ANn/lZc/6\r\n2h9HqYYmu8lycZOglMMKJdk9XMBenPzCLlYP8/jckjDbFg1ItpYltYFnxrNw\r\nGg/CsCFlRRbavykanLhQpeBdOW+INz2KtvyXFvlxOAXprwye7ZGg6+8we+R4\r\n5gV5/SzjEHmqaLdQR9dzJvbV3l+5A874CugsILSRPSXg9UZu28TR/MVjwdc4\r\nUAShCNRPD5Xa2SKM+B5WIEqoXK0fygA3QRZtT8XHsVV3kSvR310x9nCc7+44\r\nKONVU2VUu69CjPVD3TPnh2+GcsP8UCSopMpI3pzSoanGrb46PGav9NHMrMrh\r\nj7U9J1oRK7/prbvU62hwC9Mboc5IOf/d0dA=\r\n=hARQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17-18.x/balena-jellyfish-assert-1.2.76.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17-18.x/balena-jellyfish-assert-1.2.76.tgz","_integrity":"sha512-k9Nx8lD8fVzltYY90b111UT2xZVDvFcKbRXFDeBJSbhh1R2OdxwcdrLsuuN6XENGEy8krgaIgUZdUphj93WKkQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-09-27T14:12:46.340Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.185","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.76_1664288226107_0.6498980114205959","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.77-renovate-lodash-4-x-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922":{"name":"@balena/jellyfish-assert","version":"1.2.77-renovate-lodash-4-x-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.77-renovate-lodash-4-x-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c8cac1e9cd59efabb6ec2917ad08159c0edff6f8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.77-renovate-lodash-4-x-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922.tgz","fileCount":11,"integrity":"sha512-NUMtmszTufH09hJRKMWayUClg0cBh7Weu27iw2K31PEsxrXVQUGEHG5o5WS6NvvUV1B1prb2WkcuZHdUWkOPtA==","signatures":[{"sig":"MEUCIQCG/gx79i2/Spr46JhO2SPYuCqmZX/qVC7RK0KRhiqPdwIgSaggDyJYDvtYExDSQCvwx7h+iASs+1sUAe5IgN+gQsg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN5HfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/tQ/7BiiRm4I1UZtVg/X0C+3SxojkhkLvWbIHY0qtiw7fX6Zf2tCm\r\nyNoQQ4wayJ2JI0Ct9FfEhBGPWdjMlNYKZfsJR1/w8T4hTO1mnow+l0hVaz6S\r\nWrahRVHbF0NirCKV/4VykiaBqDH7QtR+D1GVVoY7KLuvP1UVpHtR9NeY8p3b\r\nL2m9+8zzFk7zVbRHht53tAAFaeJGKHuCe0iuqD03VqNcxOPjhhRR50lS+Hko\r\nvzKB1tBFEwpj0SscuYL3dYvnEEuynbd1Y45GV99K9OldOeMYd5dnyfuvqv/s\r\n/jMU9hMacKKdhaupQNfIas6BLXXgBbvS25ZSeCJUvryx21/PtTkdXNDWhKYo\r\nR64n+8iBii8z5p2pCq1fnU0NyXXYmnnpMr0qy22dG30slQH8b7PeK1H53n0N\r\n+0cvOjW/LMtyzBpzCCf6VXkW2fkidqegX1PuatbZp4PqCO0VQKRFoeELKc2Z\r\n7WgvSr+MwefvcEeyyURZR/BCWP7jlTsmz94X4qRznuduTaLkVDKVbUTIc6PV\r\npV9BicFsgREGGMJyRggpEucligQfVYpC6Y0AEV9kE6AP7MN1eWqpsy2ophHY\r\nEOaSdQf/UDe2Q1/ux3VNupbikfbCdL9CsE7zEVcIbqSChvicf5jmRfp4M4o2\r\n33ygV5PtqEtl9ac2xhZWrQK1nMnV8IE3+ng=\r\n=93V4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922-18.x/balena-jellyfish-assert-1.2.77.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922-18.x/balena-jellyfish-assert-1.2.77.tgz","_integrity":"sha512-NUMtmszTufH09hJRKMWayUClg0cBh7Weu27iw2K31PEsxrXVQUGEHG5o5WS6NvvUV1B1prb2WkcuZHdUWkOPtA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T01:02:03.603Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.77-renovate-lodash-4-x-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922_1664586205847_0.5826646480414912","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.77":{"name":"@balena/jellyfish-assert","version":"1.2.77","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.77","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"fcd14568781feaf5fb609ab5f2617dbf6a0c0507","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.77.tgz","fileCount":9,"integrity":"sha512-sr/ZUMKRHuYacc1cHdphCFV4Mcc5da4b+Q1WGe6ZZdyZYprsoSB7/xDDM4xaPB3QDRvu8nTF4wgLtIAoPhDEWQ==","signatures":[{"sig":"MEYCIQCc0LnAdx04iEyQnNG5uaIV3DnBqoqTu6AnegKxTddjNgIhAL9Jce8FXMZeWJ7xP1xYFrZlytXgV6uPjHl6HSUJ1HWc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN5JjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZRQ//ag1IrqeDb5usAJ6ItOiBX7uOmzdfOvE4uyLp4DKW3JfA5jGX\r\nRPmxpTcR8U4rMJBc4BkrHRi2nhYK+tu0J8bMVl7dtNlTehaHozjCVjmN3gEN\r\nFS3iuPpHP/oCH8a/SKyw96DgRsw4DO4ZDpQSvkDStpSl5RAoodJqekCwzrn4\r\n9CyeJQVUc0QioPzwVcnwlinyQNTUeo0T8vj1I5F5syxIXyKOtSFuykmR2UbE\r\n71wOwFYQrz6sv9GtM2185JBZT/ffGQrOk98wmLjyuqoV9R70Xiyzen7Ja6eG\r\nLCcjTvuLgTLgvXDHmoWYpxG6hy1oXkf1Bn8t958p2XDQtQEMTKGfh/CAaYnN\r\nUkYgW2VDTqmRbKSkEm44mqNtODav91ZN+hctn78cJEi/UkIjJ2oHFtejZ2Fw\r\n2sPacZ77+aRsFObPrZIQNpHQh7saAYabGG21uDeTlZXgbqc38aILk/d8LB1a\r\nnTGJHBQPFlpU4VtEPeW01g0s30Vd+kXW/V/wxouKJygGd2Hb2AtJH+AVSA0V\r\n0453796IO79jJnrplK86GjLJNvUW4PRltXcWAOI4yHHQwX2e6UA9yzCr2QrZ\r\nzEnv+/NB9AhmNmu/j5tHvTI49yTAC2cnM8idhhOw2Gq87TBxiY52qL5a1HCw\r\nqZQ2PxlxAmlTSn7PJYza110YB4e3YUnoeGM=\r\n=+apQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922-18.x/balena-jellyfish-assert-1.2.77.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922-18.x/balena-jellyfish-assert-1.2.77.tgz","_integrity":"sha512-sr/ZUMKRHuYacc1cHdphCFV4Mcc5da4b+Q1WGe6ZZdyZYprsoSB7/xDDM4xaPB3QDRvu8nTF4wgLtIAoPhDEWQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T01:02:03.603Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.2","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.77_1664586339336_0.6293138252018435","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.78-renovate-ts-jest-29-x-b69a913fe294586e37a4759f9e138e71117a6e47":{"name":"@balena/jellyfish-assert","version":"1.2.78-renovate-ts-jest-29-x-b69a913fe294586e37a4759f9e138e71117a6e47","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.78-renovate-ts-jest-29-x-b69a913fe294586e37a4759f9e138e71117a6e47","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e54ee22c92308b2f26b89855b82a970e8396a2cd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.78-renovate-ts-jest-29-x-b69a913fe294586e37a4759f9e138e71117a6e47.tgz","fileCount":11,"integrity":"sha512-mmN1QtxmPinWAA7hh2Y0vCev5EBdMXvHy2qVK5UJiDU5D9MWgr4uWy0b6LMPINMDP/Fn9L3h8MKUizY/zxCX5w==","signatures":[{"sig":"MEQCIH6m5nyOE0VU/a12spn+xFtyd4aIiN4lT694pDtO8HrpAiBSFdpc/VPA4MUO9spx+ldNB5NRYoXcyXVhjzduFk/ayQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN5MWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrc2xAAjmplEqlhnNs8a3ossVicePS5lYCvFJ34MVHQ6Q0o/5bqLYLR\r\nxWwqDPWcYMP0ffs3UFwrzM2sVvOPeEYlU9FIGlGSkww27bSYr8j9Y+16ThfX\r\nRji+a6GP8goDYaGnl2wcwt58Wj4hQWlMs0kD/l9w4Ga73D8mVjLRqi+VPAq/\r\n747We/KJHAAaZHQhWaQMVNl2bFm4Gc7ZiOLaLHv0ayUBs12Y43Sc3j4tQyCW\r\n5GAV3cy3ZHNEk8S0SfX4bbCAHf0Nk36C/QNmf26CCFH6Lq1GOs8KxHYIpVdf\r\n0k85v4vT1FAz+jMbxfBAMngWE+7lTadXhV3+kdOINwwCT8t4QRWXqJjD1LiJ\r\nhYLw3W1HjJbdctNMgJCZFPc3qZ7u/0kOEnZanP6NeOgUgp8T64UR7NArZ2Iu\r\nYN4e7LxbO8lC6OC9I1U+UJlJXwXfWd9V7pwOjKL4RrmkTondDBtpkKfEEBly\r\nZ9x4i/oYSnB6Z3+hzai5uzbmyZwqdJhAk8LZL3sB0lfjsm+je3MlGH7VtWfi\r\nm7lu5wrH3jVWd8pwMF4+3L0UUizrA3m0UXUnOMXw3JzenJFvWXBTMBtfrk+V\r\n+p3iFcRNanEMvXRTyC4udlE2X9AALIOMdIgUt/uRVk/mIUeCGQ+LstrYunDO\r\n/4oJSnMa9OGEfZCRbMKpLIPzxgXs+SjWpF0=\r\n=X33F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b69a913fe294586e37a4759f9e138e71117a6e47-18.x/balena-jellyfish-assert-1.2.78.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b69a913fe294586e37a4759f9e138e71117a6e47-18.x/balena-jellyfish-assert-1.2.78.tgz","_integrity":"sha512-mmN1QtxmPinWAA7hh2Y0vCev5EBdMXvHy2qVK5UJiDU5D9MWgr4uWy0b6LMPINMDP/Fn9L3h8MKUizY/zxCX5w==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T01:07:13.282Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.78-renovate-ts-jest-29-x-b69a913fe294586e37a4759f9e138e71117a6e47_1664586518084_0.4333451538534967","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.78":{"name":"@balena/jellyfish-assert","version":"1.2.78","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.78","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f82caf498c8bc1a3582dcc3b17b56cdcb1d54590","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.78.tgz","fileCount":9,"integrity":"sha512-hdwGu2jb+mGsKXOkXzKVq2Jh7jOfGqhBH/II0CDvDVxw5ZVNHrkQIfQzcCxwp/CVkkM2/YGCLXNhPhVF2d3fGw==","signatures":[{"sig":"MEQCIBD4829MkJGFkpqEaCptN3NDtDOFwNCH2AdBTIK281wUAiATBL5jR5uAPddybg0MXPvwPija1IEMs2WXCeQuzYnRFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN5OpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFLRAAmQM3szlkpgtTb/QVdYJQ3JESc8LgyYKyrojIfkudm8EZZ1nI\r\nskJNmpyTjAIMxCR9oLajJ9VOlMHx3/f6Z4qEWPZttrp1LuDYO5Bvvq4sAk9D\r\nb0WoZrhEnTqgkEUXJLx5zwAvcTGqzA1VgxZNIUToCAJxdAZa8EanL+PVEobm\r\n1tbzAJf3P0ON3913FImCYXQwckE+5GsYHJh672DncOyATuGJlNogRbHY8nOA\r\nbmTNsfNp0aG7APOQJibpUeoo6bMlaJXjfzESsv6ufalL6NHt81sPzPYFzvV7\r\na+0TMTByC7Vkmr0x6yHtucqQ7pi2ZFh5Qy5EAONVAg+AIxzomElqO3iA4oTl\r\npziJAmdubbGQjvNycMfdBEaQ6g1Qnwwe8sUIhYQHTmSNVAMhyfHAmEKPC5XL\r\nfTMN3adIbhPnpzl3buhLGp12HlLBGCg8IQj7efE8oYuZy0Bm8xbxOjyh0eQO\r\nUoehXxH/WcA+DMKlPk/1gLQjY6vJTFXB/ynZf9BXXJwlbjQmorfIK0f5oSzy\r\n1VcBuLSnwDuCrADh5LWlZNB6TWldeckl+iCzyoPvtSOrJ9eTZsKkVvUuGCBg\r\n6fSYVYPo9/sZe2W+HWw60CTzATNCsnIbtNUwwEspiCWuACCE3MHnuYckcO7L\r\nsZEXTZVe5dJ5ry4OvjX7KvcXeqlTilfXArc=\r\n=rCyz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b69a913fe294586e37a4759f9e138e71117a6e47-18.x/balena-jellyfish-assert-1.2.78.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b69a913fe294586e37a4759f9e138e71117a6e47-18.x/balena-jellyfish-assert-1.2.78.tgz","_integrity":"sha512-hdwGu2jb+mGsKXOkXzKVq2Jh7jOfGqhBH/II0CDvDVxw5ZVNHrkQIfQzcCxwp/CVkkM2/YGCLXNhPhVF2d3fGw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T01:07:13.282Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.3","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.78_1664586664944_0.0017485817431273087","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.79-renovate-typescript-4-x-807f1a1fc4cad5770d7817cc650b3e4377b00fe7":{"name":"@balena/jellyfish-assert","version":"1.2.79-renovate-typescript-4-x-807f1a1fc4cad5770d7817cc650b3e4377b00fe7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.79-renovate-typescript-4-x-807f1a1fc4cad5770d7817cc650b3e4377b00fe7","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e44ce1e9f9fe3c0839166ca806eaa10f593cf46e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.79-renovate-typescript-4-x-807f1a1fc4cad5770d7817cc650b3e4377b00fe7.tgz","fileCount":11,"integrity":"sha512-2Dn3a8chUwJeCF67GtH8UMTDtu7RSMRwVhYNEg/2DIXyPnO8neZh5RqoUVw4J1lSKEOKfZNAPkGGJEDlIWXu+w==","signatures":[{"sig":"MEQCID1Ipc+8ufHLseClLrEehTT10VwqrmfdXGhV87v8yEdyAiBk0vNU1IeUZRMy1Zupvq8oE/BXBd++vXW2KLWO/WsVAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN8MGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCfg/+PZZCGnYzGBkdrDUP2N/+t1Jei3j+GpSP6vwGdL/rq9GxVVas\r\nu/3IutN7vCCvj1NK+0dQ8Eg3wNJTclNn5sebT7t/iTp1GAlfJhs1/x8mxjkh\r\nm4yJZbOPE/ferfRRwaeJZv/7BoJ6IsXWQ23OgQMj9FH+GfmXUw0AC62zIqB+\r\n5exgE0ULzjM1dwwf615MyZQdzMODoUP0y4cHAySn+T8EB8HorbNz2z8t6KeY\r\nJFiVISZPaidSYTtgcNTtwml+i4VtGh91xXNHVAi8pKYTvej3IPJcmtCDhUFT\r\nI74MVMNS0jal7VZYKp+Y7NFSfWg1T6hR0c+5pphRtUFr9F4RGdI+tzTMy0ez\r\nmoZJK8GGcG/Uq1EG7HT/9HluIVVE+VsHTkl+YRwFwhJF66Cak2BuslxXPB+E\r\nbBeiN1I4uDRz1uxkzoq74RUYUV8Mh6HOHBxioBTBsVDbTZRrYoYZ2T5k/+Yq\r\nmutEgCIHCYnYbKpT8GtNTr+CUHEccTI/Hsu3VW5jpuHN4iSpVAwnTzfyiJ7Y\r\nfV3ugOl+V7HmeNvadJPYbdCMmNqTvAGESXpG9JcisHgZ8/fQT1gi7S6gyy68\r\nWN9kfvfPm6XmXs4V4xvXrWX2vj1Fx7fBMkQWGT9itQjOjrfBhsaotruC1kvc\r\n6L5gQPJqYs/FAkqujx47+HhczXHO9OEWLrU=\r\n=ndWq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-807f1a1fc4cad5770d7817cc650b3e4377b00fe7-18.x/balena-jellyfish-assert-1.2.79.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-807f1a1fc4cad5770d7817cc650b3e4377b00fe7-18.x/balena-jellyfish-assert-1.2.79.tgz","_integrity":"sha512-2Dn3a8chUwJeCF67GtH8UMTDtu7RSMRwVhYNEg/2DIXyPnO8neZh5RqoUVw4J1lSKEOKfZNAPkGGJEDlIWXu+w==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T04:31:49.520Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.4","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.79-renovate-typescript-4-x-807f1a1fc4cad5770d7817cc650b3e4377b00fe7_1664598790390_0.1823649362505979","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.79":{"name":"@balena/jellyfish-assert","version":"1.2.79","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.79","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"81b05910549800fe13b8c39d9ab60a990f8b3375","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.79.tgz","fileCount":9,"integrity":"sha512-7hQjBLlVciYu+Hs8P1DUchahSxx7PU/0LWCxocm/TnrpIuO2nEG42N6j6Pn4cFyrkd9u0JfwFdvS7NTpYOIHlQ==","signatures":[{"sig":"MEQCICFWbeeTv7NBA0dQWuasAE8zusZRf10zVoyD2xMqv4gBAiBOIIPWd4WxxrGr8+WuDYGqaX4PoTaW2qIRBPeIf5ntVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN8N4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzHA//bvIzk5StWjhrQLiPqDx2VtUcx6B8F5sy88U0tPxmPmaecDVx\r\nRxyiD+0gCPQlVv6dKhXv9zSFdmRMPgF0nFnrlcOq4LLInUT3rKp+RHoiXqHz\r\nw7hU1ABmEU1qdoDYftW16LrqgYH8yABkNFWMWBUamb74aHveoBatqXkQQkV0\r\nR1FFm6lGSOifqXU7OfnAKYbgSbKTTmoPTI29bp+F0lB6P5jvuYZIyoUeyp6a\r\nEfLJTRURDOUcdXuy1zakxqqlwTtwMo9zXwckb7hm+ot1GUYXWt3CpnFcWX12\r\nwuLefvQJ/FAYg6cKx71tgxy1fFlOZQkgfK7b0OSE0+kZ/7LkL6LPOQhtGSE8\r\nrbMBYw9o5bd6t4o1LBWXf8gI20LWvJbFh6g12ibR75KwbYZRx/sJrGIHZbBv\r\n38zGvHRoG7KJUoW0H6qxZquXK6KDqLudwCh8WJHgCOpYu5xrAsgnjzwOQ29f\r\nPPRX+2fLn8Pwh9Nr45pcKT5yoM4k4USTdFt270i8mdsxhfEYNtPrKWKzjicZ\r\n+jenMNyW/0fUF3koEdk9FMRduHgrkS4O/LgC94ruBRcmFaHxYyCfP2rxviGm\r\nHcgUwdBnubhXaI+elCd1ozWL+ViRskj1norooqqhBBbEkgWsVLhEXazocBun\r\n+skbmVAuIETYOe+zBT8LIz4HEYrLeLxgSgI=\r\n=W6aq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-807f1a1fc4cad5770d7817cc650b3e4377b00fe7-18.x/balena-jellyfish-assert-1.2.79.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-807f1a1fc4cad5770d7817cc650b3e4377b00fe7-18.x/balena-jellyfish-assert-1.2.79.tgz","_integrity":"sha512-7hQjBLlVciYu+Hs8P1DUchahSxx7PU/0LWCxocm/TnrpIuO2nEG42N6j6Pn4cFyrkd9u0JfwFdvS7NTpYOIHlQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T04:31:49.520Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.3","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.4","@types/jest":"^29.0.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.79_1664598903898_0.17567821481677903","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.80-renovate-jest-monorepo-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8":{"name":"@balena/jellyfish-assert","version":"1.2.80-renovate-jest-monorepo-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.80-renovate-jest-monorepo-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b4de4d39f34645d716a7a05179b024f970536ce","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.80-renovate-jest-monorepo-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8.tgz","fileCount":11,"integrity":"sha512-mX/7YkSdshF/2V/mKtrQpDLChdAh5HwXCcz2mbRhPzO35seo/51c0GmUTSL65RdHqRMNNGqZIc4drfWPV0ZhfA==","signatures":[{"sig":"MEQCIG30gJ4SsWA1XDU0eXkGkERovlskHfJ9UWTQusKMKs7cAiBma4hZAoCP2hYOf496TC28Aj5CbSk0ti+ZZgGKA7LqOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN8RdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppdxAAhPcXaDt4NrV4WSaNptDdKojTYVxnS6D8DxCjt3NTQY7OJ0DO\r\nvy9jBVC6THrNznxmMYa3vP1ZX1znDCprvtmjOYjZUJEp/G67plzu4Ky4E9zl\r\n1BUE6X5sjLJmzbrWLUpPUqLxwu+PJ3DmeVZy/tzcK+Qxk17800tzdb2fesQ8\r\npPQYKL3tzG1xYsZmxWU1+pgp3stzbYtiYhGJ8uRR2hvxVc+Mw0sQYlmEgLpv\r\nFIYIUgQ6TO/6txhHwgfpG2EfvJFa1VljxmrNl8pt0rXivO/nQo6u2nyaKdDA\r\nZ4hFB/esO+HmiAcNuMQRR1rMFVCS2P/6zEmEFgS9C0/6lxI4P+DOCh2IDNVr\r\ndkdJxZ6TZniyhSJEjQZncBtTMnt/q+wnj46LlHsGyLkOwOJ8g+N/Q2gaedZl\r\n1pJC7+fQKaOpS0PzD0vGCK9KzDFQE/XMdTg8gfhsCLTCUFVgk4qwH1zfRP+S\r\nckRpSh4sESKRZWrtptT1FqbU5zneFjrQJ0OgOnWIEWv1Dm7fOqFkSpy1EBDk\r\nhMifFDPZm2kwDDtQ6qJ+bf8vBBRcFvZAmHNzq4JSSJH7xQSKZfQoJxsfgWj4\r\nWPVe2m8b/0qcmDC4aFY8w6rpWUa8Dck1AdlYn9tBpadD1slan1GfdJk8kC1M\r\nQUl5Hnmo8jhMHefxhYwLhm60Of5kWKGhhW8=\r\n=VEwR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8-18.x/balena-jellyfish-assert-1.2.80.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8-18.x/balena-jellyfish-assert-1.2.80.tgz","_integrity":"sha512-mX/7YkSdshF/2V/mKtrQpDLChdAh5HwXCcz2mbRhPzO35seo/51c0GmUTSL65RdHqRMNNGqZIc4drfWPV0ZhfA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T04:36:29.839Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.4","@types/jest":"^29.1.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.80-renovate-jest-monorepo-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8_1664599133411_0.8488503121207531","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.80":{"name":"@balena/jellyfish-assert","version":"1.2.80","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.80","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"adc4bbb3b24741cdc2cfb1ce35720699a56e83c7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.80.tgz","fileCount":9,"integrity":"sha512-t6DdsJjUuKzvJ1p43xUqgeVRxIWxoGIz6k06KP9Mde/BUOFWB3hf8S5INHyVKCG3lT01Efe8OSkh/SuaswKUfA==","signatures":[{"sig":"MEUCIQDRt+oYxBjwtFvoB6lub56GHOLSgcJNBMS63f9HUgqZUAIgU4ye55UDdJl+Ufth7iwHpbz1SlvCmSsdjm4ebcpYop4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjN8TRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZDQ/+IuRolm+YWap2/W4l0IamC8GIydbyU19dyQHPHSAcigK1B499\r\nc3E0KQ1hNG+vS8CROcwJ+nyiEUWh21e3LjxuTvWwaMeG4lDQGfKFbk6kdxrI\r\niZZihSeZRso+zD2cjh/UHLeG5ss4y6NOb4Qe5I35p8QZpAfx+zBuE00MoItF\r\n/RwKvmadcT3BMLCTaMIDeI5bzR4CjplJxO/2rxF45WQzwSAeEJr1X8KusJ/3\r\nGFBzfJKWIXOYTRmnrw4X+8uGUaNu5wriKVCkhiXd4FM6nKaqa6QJVrWahTdY\r\nVZJj7K7xJLP8wFNedlVdbQrJhNqOA7QG0/3edMhSrhg+T/M2SibXSi6URPF0\r\n+r6/DzC6oK4F3eXOud7/Lf0/PEcCEslDCgUMaVWwEAzwv/3hakp9DXLM/EHi\r\ny7vvBzhCsKMDtMhJjfCuWbdGC+lbVrZ/CFRaUjCUnB2+tvqJr3U914CXIL6z\r\neNC2WMEh57yqjMWjcfVNsWwa4576rize4xrq6St6ykgsANx4qdj/N3YA2Xc4\r\nDFtAcoxph988Ansnz0Qvm/h+CcsOjti1rzOFQapYqe3E0S4xMmaiFyazSllJ\r\nh1r9yHwuaNPTUrwFXilukXu3syk9my6m0SAeGXnACFUj39xCoEzKa45RPx7d\r\nKopOerbUGP7Vgdg3RQTEagYnhJp01E2MGls=\r\n=dT9C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8-18.x/balena-jellyfish-assert-1.2.80.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8-18.x/balena-jellyfish-assert-1.2.80.tgz","_integrity":"sha512-t6DdsJjUuKzvJ1p43xUqgeVRxIWxoGIz6k06KP9Mde/BUOFWB3hf8S5INHyVKCG3lT01Efe8OSkh/SuaswKUfA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-01T04:36:29.839Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.4","@types/jest":"^29.1.1","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.80_1664599249391_0.9652238476169477","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.81-renovate-jest-monorepo-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0":{"name":"@balena/jellyfish-assert","version":"1.2.81-renovate-jest-monorepo-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.81-renovate-jest-monorepo-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"84736799f063777d85f135b5faef83928f483180","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.81-renovate-jest-monorepo-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0.tgz","fileCount":11,"integrity":"sha512-lV8ji1/Tzdr0GKJ73/SZ0CR2eMqwRKzN1kQZsbQa/d4GcJuAwymKkL1hYB34QyuEoDGRNMVnxp78jYbH7W92Zw==","signatures":[{"sig":"MEQCIEfraY7vVv4z46TNjwk8hblJ6t/ICXBVz5XwzPOUywDGAiATMUAqM6xJzb424nFTJSkLIT15QXMWVXw+q1rFGuFKsw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQOJeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpm3g//dANcM0spowpcCqStEukgQICuntLzABkcQpYO5QcpthFH3RRc\r\nhMWQnwfHIAOaoKb6ySU/hL/xXZ4kPhtZTWO+jefo5ig2MDhD0N0m57kv1qfF\r\n2rS2w8QqHoG+YMMya7tpR4RWKltrHgOBZ3a80zBSU5aVtySvwbo69TLc53Lt\r\nPLXD+ViIU0lKOwWi2s/wWT1UQjNvPYVAd6nYrxtPwWWWEZhRESHr/QKVchLs\r\n0s0+TXKhlDZZxZgJuG+yh+whnzuKGWu8CZHLtx+c4eytw3si7ogpv2FHHtlP\r\nkLrqR5edupw7TBdZH0VakTVygzvwAmGr3HMuvSB3gEOgFz3YKCRhjd05Ei6z\r\nJUPe8Ol+07k5hd1XXFh89C/Qb1HwMxfywgPTcyJ84ovsDx6Qf+igjhd0wmUL\r\n4MB07pmdtHvgrtntKIqrM9vYQK/Sv/1Hg/lWgfE6HC/29WgtzmsDbJPxPpUa\r\nLGDz6VdpVT1O6ZhaFti+2NRlEFdPQUDRVj2CLcq6JmtRdbbK9ZfuXIiiKz8C\r\n2sF61Yj4W+hNqYnu3Vl0qafoNj9+BQntsPoy8BBggUfQPIF+AuGCtEIVo7Ot\r\n5v7/eSXveWTc+CPxOigip0CkpxkUO/MFqp7EMn6JIFlh7IDfEGkYsRNBl1vl\r\nt79UbT+dfV0ivbiHYRwaSkwT5BqqiF0ZUd0=\r\n=4WnQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0-18.x/balena-jellyfish-assert-1.2.81.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0-18.x/balena-jellyfish-assert-1.2.81.tgz","_integrity":"sha512-lV8ji1/Tzdr0GKJ73/SZ0CR2eMqwRKzN1kQZsbQa/d4GcJuAwymKkL1hYB34QyuEoDGRNMVnxp78jYbH7W92Zw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T02:36:08.337Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.81-renovate-jest-monorepo-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0_1665196637765_0.06368672817892262","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.81":{"name":"@balena/jellyfish-assert","version":"1.2.81","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.81","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"03d594221f713c78161458c883496b73554a3ac1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.81.tgz","fileCount":9,"integrity":"sha512-d4F7npYjcl/EbxOV3JwewO9vdR2srIL+fsHZ9poLr9MB6xoKkGU8QF7WKCmcBHhMmNsXUV0rAAc2JGykbEQZlQ==","signatures":[{"sig":"MEUCIQCqpweI/2IIXGvga8bc9mYCHtxBmNM+h/GKZSHDHCSGjgIgIwjA8FyUEapPKmvBWMeE74BzkhQWogE2NOyRQHh9MS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQOLGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzkA/+OOTDkCIVy3GZ3U20qjb653W5tt73VdeDM2Ip97SOSUIBuf3d\r\nciRspsW+hJfbx0NDtt+WctDUYq0roFECSXmwwn2P+nrZFcm59fKSMdgNubIu\r\nZXiRUNEDGig2P9Ku9OfyYNsVO8QTq7kkp6tfKuUn1jKMxWIbpP8Uz+uFUh2s\r\nu1ncHqeuRF3ujEfRj/kDxgT1NGnfFyl6qt34sKgqJuxp0bk/WiyaDIlJ1usy\r\ntmktD64Sk8BBFtWkkCCDUK86pqLOmORdcdHbUHlFkeDXpBsQmGC8OpbM9Z3P\r\ngSJ2R+rUaPO6bdwDLrYoafndu4OiMn1pFBeT/j7mhX3chzR3ThjA1tK5uarH\r\nkjjHA6ygWsdecchwU/EKC+gaRmKIl4Q1VdHRz5ALshn0279/WzoZU93snD3R\r\nOiny2ld4qAWh1VXOquwBSCe8eWyv4d00UlKuJKf1cGOC4kfUDoYi0ydflHsp\r\nz9//1J7yOlFRY0VpBAjmGz6ZIVuVAuev0j1aif38+SxsqVGXHoQ3+dsR3/CU\r\n7e4h/gfLJXVm3fCOE8B8S6KzplB56magBdiAebrIWfiiuyaNqoShl0oiiieo\r\nQd8LgdWQG9t7c0zvaTXHzAb9Hzqho7JBjYp2k9r7v0n6NmJZ1Cqa6BgK/8CR\r\nlB0HnHpdstEbGoay2YJQCQ0Q4vykcRF/Fcw=\r\n=2Mg8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0-18.x/balena-jellyfish-assert-1.2.81.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0-18.x/balena-jellyfish-assert-1.2.81.tgz","_integrity":"sha512-d4F7npYjcl/EbxOV3JwewO9vdR2srIL+fsHZ9poLr9MB6xoKkGU8QF7WKCmcBHhMmNsXUV0rAAc2JGykbEQZlQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T02:36:08.337Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.81_1665196741903_0.2768284698352763","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.82-joshbwlng-prettier-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc":{"name":"@balena/jellyfish-assert","version":"1.2.82-joshbwlng-prettier-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.82-joshbwlng-prettier-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"aaf1be6e7a868b91de5cf793d2939b07a3bd9112","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.82-joshbwlng-prettier-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc.tgz","fileCount":11,"integrity":"sha512-gjXnshT0MKDXQJVyT913t1KkRmMD1dZRGf2nfeSS+Rp8RwPem02WzhMQY3cMbdj+hK9nezqCRBam85Q1o6S58Q==","signatures":[{"sig":"MEUCIFDdUSfltmpWyaGhTTgkBWNeVlp5MHD1EqWvVnmEpjzjAiEAsoYKMxphwo5FyY7nWAp9zH+wvpCSo8t71CynediWua0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQVIjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSwQ/7Br0Z2qB7mkKoJgS/bnl+qMXb4vglh4aGNzYm+UgRg0MQxdaP\r\nRWLi9mW7smlWHJNXGqcxkdTs9jrVY45WhHgi1R8VExG/pRex551Q+gFklor/\r\n8fWoGrV7xAUq8Lw3Q72hqhvVVXJ8WfgVxbfl4xom4xwLOnnPvj+jo0PHlo8j\r\naVUlNxsrzYpVn6uxNLrknN0VChXNYesXS6PMLmoU0NHmNCZ+XMDI86DvjFGc\r\nQdrrfzsfFyBqNsUJprgnYjo5kyIiqhI21UTYn/5CoFdBFywsVB1956H1L/h+\r\nQiMzD+XOH1D3WhNEbRlOl2+2w+HtXq9J//Sbp3wWI8ToLlbVTJE6tgCIMi7S\r\nUojJ1vYGMASPt/upm5I9o2Sk/eb/ejAxU++FiT5NLRK7WdE1Ruq1pT+jxast\r\nKiwiQ8T1Fo8PxEx/Ruhu5n2/lTh7LaBzrj/kU1lbPFaIhrCvRBlu/RuahOzt\r\nxjtokA0ixmAMBwBNaYLdXndPssI+5BvQ3fLpSYQ+RbM9REGnLz25yhZuQsva\r\n02rs1DlvqQks0Z7fh+4prUsjk6GrxZnwmmcQtgIZGrm5tEgKx802NcgSJdY/\r\n533aRffkjRNkuP3G83Ru+iOu81JEfyqrupLZ+SRL3mw5aRN4fb0xXcapclES\r\nXcYoPF88+qrGzYx+v9yRXgfLKLb5nj9+I7w=\r\n=I0Xz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc-18.x/balena-jellyfish-assert-1.2.82.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc-18.x/balena-jellyfish-assert-1.2.82.tgz","_integrity":"sha512-gjXnshT0MKDXQJVyT913t1KkRmMD1dZRGf2nfeSS+Rp8RwPem02WzhMQY3cMbdj+hK9nezqCRBam85Q1o6S58Q==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T10:32:29.283Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.82-joshbwlng-prettier-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc_1665225251674_0.9350334225417012","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.82":{"name":"@balena/jellyfish-assert","version":"1.2.82","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.82","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a87cda3989b91b1ad31ec7e58bc2bdf73a9a85ef","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.82.tgz","fileCount":9,"integrity":"sha512-hyDPAmHRgv4h6tpwnHgEXNMKpO4G8kC9VCzNZaV8VWR7rZbeGb3tCRTUH9/fX937XablN9zBNwA5Hro3QtXEKw==","signatures":[{"sig":"MEQCIDkczR0UixpxP/vB/nsCwx6gHupr2W0iVzFw9p+3ukmKAiBZ82qVddokHd0cPPgg0PBPmDmhGu3lfLwc54YenbavTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQVKMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2sw//YA3w9qQHVm9VbFuYssBO00c0YPsN8/qw8bMfeesyFxg412r4\r\nZ/seL/Xatc3FQbvc42J6T0YA7NbVt9u3eGlW3WmYd9ocghqtXipB+PkZkSB0\r\nP4KACPXHroe3Y/minhUb8a5lKsMvGiDCDUt6217Y+PpTTZXCQONZUpwHZ1Ld\r\nnfbXa5XdHNv6TiUhqSQd8gdKeMvocpCHMyq6hSkz4k2aaVti3Ngi9Ox0IpiN\r\nadhrocSn60qoIv9ciqGhJGeo0crb95ju0je/Q7bG5A0tC86CK3GLPXTt6Knm\r\nd4aZOALY7xqfOyhhNoa+004CZohHnV9dNuk8rfYi5T5NVBGPOPsi/3ybmJKC\r\nqswgpkXiF3WvAEXYqASMkWKq+7Ck6J+QdGD4R4NoqOw74S+Tl6b5lgpOhsJe\r\nZpNphjjfc3wkAGQMPoUknkMFqnC6GCtuWl3u6p9KSZMosJxszjJA1LI+M1Rr\r\nFr8lLwyJqyD0Uvwr+wgm2/6fPM39ooClxUORHAScT2VQGjI2N/p4cXkGdieW\r\n1llAr4x6oqYjexC3c+t6v5L0n8YU5AVT17y4Sg7vSCC7xiF3aWm+lkU6ZOhX\r\nOBO6vu26cSvGhRAWTXgpp4ISRL/HgUCT5aeWV+nuIfDBWmpDOO3aSyN/qYi/\r\nX7u4t8fgMoEAuhfz8DGzv8QrUjO+6vcWoyI=\r\n=qWNY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc-18.x/balena-jellyfish-assert-1.2.82.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc-18.x/balena-jellyfish-assert-1.2.82.tgz","_integrity":"sha512-hyDPAmHRgv4h6tpwnHgEXNMKpO4G8kC9VCzNZaV8VWR7rZbeGb3tCRTUH9/fX937XablN9zBNwA5Hro3QtXEKw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T10:32:29.283Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.82_1665225356123_0.24407858835927065","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.83-joshbwlng-prettierignore-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f":{"name":"@balena/jellyfish-assert","version":"1.2.83-joshbwlng-prettierignore-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.83-joshbwlng-prettierignore-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"815cbcbd1c67346be017b4cec82c4450d8f81033","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.83-joshbwlng-prettierignore-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f.tgz","fileCount":11,"integrity":"sha512-T6okPgKFt+NE3zAcypQnDB+pBDgG/AHCmGtbqg5W0iuj7twRU+JqsBlObrZxhA7+odX5FUhPlKO/BLK6NyDl2g==","signatures":[{"sig":"MEQCIHH7YtzjwyU3c3UeHIW0zFIF2YenOiD/w2Tmk2vdxVO0AiB8shiw1Ft7qHB93m2b/zvv2t18YI/Lk1FBwPCTtOB3zg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQVPwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCgRAAmXYOyJwLrGLkEACoSSfQKQcGiF+f4QY8f07GlckhBze+WzfR\r\nswOzJXIsGGFlq5y+aIgqCnoS9+RhzNPau9B2ANgC/FXELvuI6KZgQjUmaeub\r\nra8oY2RNUrfgS90kiYoJmaJZR0nffhR5JcOR6ZfCMUirT2xpZSjQJwWFh7Sl\r\nRDmunhUSJSleS8RVBA8C4xOjKrKZBrei5E862g1Cwxor6bl1RgGSH77KhxRH\r\nbhdNr2sI4OZZA6XZOL85OAXtueDwAg9Wg5olSzvWgwe+8H1cLDm0ZWoG7fWv\r\nuxSwXoSz1YfZk/JIC9zo2C7ZnpsJM4dIkT2TjRCXXpJSFs1Y+U898lVchf08\r\nD0eKEgTDnj3sUO6y6Dw6r9EEfrMDzp3yH3D87/dGG0GzkrND5/N1WsDxDO8F\r\nXeI2lJ3OZaGc6gaU3jby8gh8tS3e6dcvx/KOxopSWmrfGELaupUPiAoS/oXj\r\naLMgkcD/fY90GegWbMDDkZCybxxZKjzDdPZEUmVTXH3ZgwpIJl8qdYGHw0kP\r\n6YKff+y8y1OAj3IV+zKkRCALaXCZTMXtPyQvp3ob6W2XTcAFhdJX8EwzpmL8\r\nBLhNPg/+W4miudvv+VDeFjNT1Hi25ibkBd7RDymbDCZLRR7Xc4jFf5JtGHxz\r\n+c8gVBtl5capnmg16OCtKFJ3G4cQHnnk+eg=\r\n=mPog\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f-18.x/balena-jellyfish-assert-1.2.83.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f-18.x/balena-jellyfish-assert-1.2.83.tgz","_integrity":"sha512-T6okPgKFt+NE3zAcypQnDB+pBDgG/AHCmGtbqg5W0iuj7twRU+JqsBlObrZxhA7+odX5FUhPlKO/BLK6NyDl2g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T10:40:33.785Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.83-joshbwlng-prettierignore-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f_1665225712173_0.5718639252555708","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.83":{"name":"@balena/jellyfish-assert","version":"1.2.83","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.83","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8c7d872aba3baf68fac84590311f9ffd9a338a1a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.83.tgz","fileCount":9,"integrity":"sha512-UsDeK1KiG14CPgjWFpevxD27zpd+Vhlznm++5WVL4iXj7Ng3VOFNnF/Dml2GoBY/mulW9C+h+V4ynGfGinsCVw==","signatures":[{"sig":"MEQCICWMViYemCAfr0FgIgifUByTQCu6lEpFtHaAnpG8KO+2AiBF3skhEGbC03pwtfvU8gbhbPr7cY/qAxbuWnTNgVtpzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQVROACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrINg/5ASEpBsd5Yn+jOPjpQAKBMOOMtpcw0h+C2oHHJPfS18HCNVJc\r\nMJ3j1OYTAy5aYCFvtkO4ekEnTVHogDtQD6EylMusdfSsZTDbg6kCC6Xqd+YD\r\nPzhVrRcMV1xpnWceeVaKJNFj/uBUW1QnAUmy1Cc0DkXyH2MG9yX1V2shI1+W\r\n1C/II5g+pMNK86483JxovJojDl69fL6nyo8+SdMxWeRmrQ30dtOJykgr9GSm\r\ndq1VpgG403qVWO58WvCI+v6qQXdQUko/v1kwsT1TPgx6VZTS6/howBUqulVF\r\n6yFBZQLIAcJd4F21CnKCwNxp0q2NmSfiIL/518/qk8E+ZBBDqWIkvQoDGiyw\r\nXe3pX3LkkpBkOwvALKLcr9VVzU25WeowezY9n7gG9LFj3kYrM0Rd2hWhoSv6\r\nGiyJtBFHH3iVRsxJW1lTWdJlcSExpoZs5GFgjhpkCydwdrf1sDgE8xHim+2h\r\nE8Y67m9kZQG90OYJ4Ym+tu6tGxvMa6X1E5ZI5ocD5zIH5z/OQnTRmUQUFtrH\r\nsiyayByXw71e0TIq+M0jX305M+S5XXJSXx/d6eOmZgabvyPw+k0taS/JCSpJ\r\nypWzwWBPE9uUB1dknZQlf82bYkF8e8JT5jWRkrTUmTCiGNZ3gCEMt2QCOx6D\r\n8FOWgVgVANE68G5JlDtH3a1/g619ye+RgRU=\r\n=KkzS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f-18.x/balena-jellyfish-assert-1.2.83.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f-18.x/balena-jellyfish-assert-1.2.83.tgz","_integrity":"sha512-UsDeK1KiG14CPgjWFpevxD27zpd+Vhlznm++5WVL4iXj7Ng3VOFNnF/Dml2GoBY/mulW9C+h+V4ynGfGinsCVw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T10:40:33.785Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.{ts,tsx}":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.83_1665225806403_0.3499583173284686","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.84-joshbwlng-update-lint-staged-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68":{"name":"@balena/jellyfish-assert","version":"1.2.84-joshbwlng-update-lint-staged-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.84-joshbwlng-update-lint-staged-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"17cf4cc4ab2334468e2f98287e569ad855e2d445","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.84-joshbwlng-update-lint-staged-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68.tgz","fileCount":11,"integrity":"sha512-GW31RNKQi38TmMqcQXYFyRWnMYXLIHJQRaUADjutUhiF+7ArUydNjK4bBiu/0+Yq+DhurvOkb0trM/kv+Yr13g==","signatures":[{"sig":"MEUCIAxDqMUO8lubh5dCIZJ5W6owue/38N5yXyaFPz4Z+9h3AiEAqTPibIbCDoQfWfDnExOeyFZrkIALXt7ebh1/RtAbqkk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQXjVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCWA//T+pJXmjruzH15ZdzaQvMxVy07JPShiUq947zHk/+dHDB9DdO\r\nlA6lsFjVG3CioAQNxCe9GxPPPhbFx4Ca8YHJiI07Ea4VaHIdl+6gp/JIGTlt\r\niXLMWJvStD1bMY3tkdkvmoUHeehcgSezO+3QXiPtT9DJfQJ7EkZ8Ee+g4BFu\r\nng0D/WJ0Ty9sQv9C3VxqSKZ1E2YpTHHkFp2CHA4gvd5pTBOy/ZO9D8HT59eC\r\n2Nae35oWxlqEv0t67sJcJyLdQoo/oUfQT9hYR9Dj0k3uh7+mcT2EPnfYTwis\r\noMKEiUGrxiHC/rP+Qiz80oRalFIm5s0FHAN+ULSQDhC/sKNBdrCsyM0ThJs5\r\nhYv4IpLwRyA1xybmdle1x66gDha7dtaldNNY3Frtli99mT0aWUIHwotXjUek\r\nFRMgvKCBPNhjARrqbNtMR2bo7zdKXycqV+TFSsHQmUawXE8/wTB5HiqXNrIU\r\nt6INNOGi3ktGzyNYisgr9haXEgJnNXFkZTYtwvkxz5hjxkLkkAvpDbpQ3yTN\r\n2NVtI4f8Y963zribN0wcw1vIJLZLetFA1xT3jayvmKD63teLM6f1J6voyTB8\r\nbdIzmnW749oNN4I6wx/R5A/sCnh3Vp2LT1F6fdr2huOjbyFo2grfMkaejGts\r\nTheHtwU/FmQ5BguUJUUKoHiqBaxqiXgoqJg=\r\n=46f3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68-18.x/balena-jellyfish-assert-1.2.84.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68-18.x/balena-jellyfish-assert-1.2.84.tgz","_integrity":"sha512-GW31RNKQi38TmMqcQXYFyRWnMYXLIHJQRaUADjutUhiF+7ArUydNjK4bBiu/0+Yq+DhurvOkb0trM/kv+Yr13g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T13:17:50.520Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.84-joshbwlng-update-lint-staged-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68_1665235157130_0.05927902493922166","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.84":{"name":"@balena/jellyfish-assert","version":"1.2.84","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.84","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"32e59e8c0f347b3408df6fcf26044b20de271930","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.84.tgz","fileCount":9,"integrity":"sha512-guuJSpGeIXf9F5J5F1kK/QCre//eIv9K1WXc7TZfqtoJL4vwPSquZG76uA2v+XrdVut61imBcPZnN8GJcuySgw==","signatures":[{"sig":"MEUCIGMvG/7IPRbpERl5GzGIOtcrWnmru4IpjajWxemAIMITAiEAwvbqd3M8cX6GW/sKsVxb1mntEJzhIrgXAH/pBlx/zpE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQXlfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7yg/+OmCWjHDre3c0d8sOXb0KDX/CMm5DQ/sEWNICyfEzz9cMvF3/\r\npQwNFx3cXfJdfAR2syiktV78+AO8QgLN5vlMFtqVqecHOBPbimkFHzIKadMy\r\nzR/oT0xrHKwuEdb3p1P8ZCYsTCTbKDt4eOEvtpKiTvJ7mrv2Y6ts7URknsyJ\r\nOaZJywmgNdHj0HMfTlIJaZl2sigYhjmN68q05ZiGvwlMqolk1nRdFFyrGkbH\r\n0MxiXRFsTT4b+JH9jcKOtHLD8Sklr7K4h3MHzdhT7xyRDpBhMnEr93azy+Hi\r\n8esN/aPsxjlEPl/uP1wXkaEDkJSPcY1TtR6CQhZms0Qw7IxYml6JphjeSiGU\r\nm0API53xtn8TC6YP2Nw1s8czM+BUcGu0vHZlpGXDPka+1qdQ3nn9ldStVBd8\r\n4V0+lWZWgJWSRLa+jdH8Kszgdi1lAOdb79s8T4e34lAkzr5hflTIt9aJ1S6X\r\n8n4BckgiAw49dZUJ50De37UFUqggL9tlO7KyPMB/iAOlszRQTXpCP39ON6ps\r\n5Rw2M6tDN3yuxyqZunjDGE0LqlTMUH8v5HHvjYECSoTAmg19j4Fo0lGeR0o9\r\nBnpU3cVt6AAX00THyAUIy0MeiOtMRaXMQ1gUFckMmX242B7af4BGsv5wBxMl\r\nqXbWVh/nT6IiK9Zb/2wGkfRJ+aOX8v2EpmQ=\r\n=u1Tc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68-18.x/balena-jellyfish-assert-1.2.84.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68-18.x/balena-jellyfish-assert-1.2.84.tgz","_integrity":"sha512-guuJSpGeIXf9F5J5F1kK/QCre//eIv9K1WXc7TZfqtoJL4vwPSquZG76uA2v+XrdVut61imBcPZnN8GJcuySgw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-08T13:17:50.520Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.84_1665235295506_0.7319192815321525","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.85-joshbwlng-jest-config-288c94605273ee776862c9b5ae0999050657fa62":{"name":"@balena/jellyfish-assert","version":"1.2.85-joshbwlng-jest-config-288c94605273ee776862c9b5ae0999050657fa62","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.85-joshbwlng-jest-config-288c94605273ee776862c9b5ae0999050657fa62","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"62b526aaa27f1015ada76bb9daaa70ad234010e4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.85-joshbwlng-jest-config-288c94605273ee776862c9b5ae0999050657fa62.tgz","fileCount":11,"integrity":"sha512-4gVMpLDYpGbzzwEq0zvjk3vtFbL7wIflO85rY5mLVEoBoyDeLhs9yaSdssALVyYSmBURLkQGZznqaDOiLT6cDw==","signatures":[{"sig":"MEUCIQDWWsQcNqMqjvDMsLNvsvPXdQluD5it/4vkFaXq4ednrAIgAVkanATGEk0R9fWeR378eruTtS2Nq8G3JmEgUU+G/0E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQuTcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohcQ//SRHWbApxDwCcnyT2/13A5kNpaUD9+E+wP5YNaT2ONdKNMcF6\r\n/2B1FoLfza15aUM0Ro0raLytHn1mYEfcGAlsHtN45BG2/TEASX2la+svxpIF\r\nkbeCSrhb25iGwV6NoeU3vCM1x3Wq3NA1xCq5rUvspkD1wyQqCVSmywlT7S6v\r\nPIbnH9l4gVeljYWnPF6D4L2+X32BivCNmEmPCfxnfjHZvyZAgveXRmL/IFoI\r\nRqYgtCoqPcJNBMqSv1qaS8CO/UfWC+v/Hd2el+g82gz8nOPY8gFuMo/RumTT\r\nzodWNOZERNrbUqrqXMVYqC5wSFhXTuMpEiX1VfA+hZWpWjjR1rlz69OtTn2Y\r\nL9TYb2GdH525a3tOENeAh4MHwlhCE/W/ceIyadcclgWFtvew9fW2LMh7V6vT\r\n2T+Ns2tFTgdRkmazHHiyxALCzIgW+cv6HHzSLvv0II6xAPDc7+yFaDgfXsv5\r\nceQU1ewJ/zzvI+6Nw3KWXmiMLidgOh5vpBuNw05y8Stc9H5xNwOqGBCTkE+W\r\nLLMBwb3wJmO5Q3hWIAZeRDA2X5x7AKIojI3FlZ4RW1OoMTrPj3jUDJabK8Iv\r\ntScQG5I9X23TRSn7v70SLYLy+H4ErgJqnP6RJmFjsnoj1uFd2CZBM9oFgF3x\r\nQM55kaNDBF/NVYmS7xRjGq9vw3GGGG6GPnw=\r\n=h+O8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-288c94605273ee776862c9b5ae0999050657fa62-18.x/balena-jellyfish-assert-1.2.85.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-288c94605273ee776862c9b5ae0999050657fa62-18.x/balena-jellyfish-assert-1.2.85.tgz","_integrity":"sha512-4gVMpLDYpGbzzwEq0zvjk3vtFbL7wIflO85rY5mLVEoBoyDeLhs9yaSdssALVyYSmBURLkQGZznqaDOiLT6cDw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-09T15:11:10.546Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.85-joshbwlng-jest-config-288c94605273ee776862c9b5ae0999050657fa62_1665328348231_0.12382963114611023","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.85":{"name":"@balena/jellyfish-assert","version":"1.2.85","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.85","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d110a1a2daa8fc9e623eb19a6874774a55c29b54","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.85.tgz","fileCount":9,"integrity":"sha512-Q3iocTG71FrzGrpNnWib9hXPHtgo6Ft+eh2sQkdzYXMB8jbxOX1tHCr+/4ICDwbuccipWPvOD6Mh+4bmkDmUYQ==","signatures":[{"sig":"MEUCICMQ6SBZVXgr+cVINBgsvX3kSyB76ESlzFiFycRReFadAiEA6es2mkCu8zUwK1wyhYa15en+Hp2uQkdJ9cke8gAKi1c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQuVOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9Vw//VUCD/Kx+qMp/YOFP6RmazzGugG57SlKvlxftN1OVxuwx0zjc\r\nPD+msgQlvlvpL7LstCTN/778ggc8HbbBw8TSfkGmTZDP3+xfFwvZesIuyZYz\r\nVxdULdkWAdUqFOqlJ5M0trsDsgOgV3ONPaMwXCOxfNsLAyhE0N4p03sBkY5h\r\nfVTj3qtkTfo+TZiZiFpVX5mVkWXShrMJ3/lSjN5+JB4gLC7QTDDYQxfbAgQS\r\n9avO1cWPjpB8TIwfBB1LY9Uvf8wZNqGF/9+Nvc5QqYEIf3mkLgTV5sNlXTM1\r\nMXOy6R7E6arj2pLKQltuwF9iOFKoMWi0yhuA3s7RAaQUY/xmu0CHRs0SE9zQ\r\nRqCKDukn9jzpCLtUbCH/Ch6dNBhPDAvMc5xiqVxRZIP0MBu+cClBqI9C9kNS\r\nd0+5tdTM93jLbY7/dA3WBrZoLOLloIOsqKNh3s5jRYPtO2vTj9pfDGtQIhsR\r\ne+K4uGAAaTdCRfqn8+6H7WxbCF6gCXm/Xy7tbEPGEkEMBXrzpfOHyHmliJe5\r\nlZfGhd8+MXtaBWVQL0TyLLsZixS+7fyRvUkLCXYmMN02bVMnkAqK2ykxGKMx\r\ni5Sz5n4v181V87pHOfCbC2j1fBnBCyAQ3vuKJ3pK7P5zsUPa4c53GFOo7dnR\r\nMg1O393msHeqfF9kjIOikKDaIbmpXv9FUw0=\r\n=ofFm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-288c94605273ee776862c9b5ae0999050657fa62-18.x/balena-jellyfish-assert-1.2.85.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-288c94605273ee776862c9b5ae0999050657fa62-18.x/balena-jellyfish-assert-1.2.85.tgz","_integrity":"sha512-Q3iocTG71FrzGrpNnWib9hXPHtgo6Ft+eh2sQkdzYXMB8jbxOX1tHCr+/4ICDwbuccipWPvOD6Mh+4bmkDmUYQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-09T15:11:10.546Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.15","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.85_1665328462726_0.9357756329584408","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.86-renovate-typedoc-0-x-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1":{"name":"@balena/jellyfish-assert","version":"1.2.86-renovate-typedoc-0-x-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.86-renovate-typedoc-0-x-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9c5fe76b0527ff5b34e2db861c07f7bf2505d174","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.86-renovate-typedoc-0-x-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1.tgz","fileCount":11,"integrity":"sha512-tesFAZFQtYKqEQnzGQW0FNqvIByYxblFesMZM/hwVvgePEi1ZIOqFqZk/ufYHS9q8bxiE6em61E0vWyG8LX0rQ==","signatures":[{"sig":"MEYCIQDf/G05MQsdq8cn2r1oSXTWRIVGG5I+NGoJc8t8E81erAIhAPz2JTd8NxLwuzqy6fLQtOAmVlnfduLEb/4lDJJW54AQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRKRNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQLw/+M42qNk9ADfS8CFxMBA57X5vk5UE/Ky4C9oz6hrKQxxlHdZ3A\r\nqEjZtb0khbaHQUa8NE5gKt2vR0l5nfQCDfDFZKB6G2fyWgMvT18TJPvIYce4\r\njjYDIw2n/4JKbSIPvGozX2SwQPV5o+DHm/OAvBzEdjI6Sy0SGSW3vImAXrxX\r\nQvxE1/nZ9MBAA6selWylg1/y49aGZh9vZST9dctens3hsFXXBJK4yIerOkAp\r\nBxY7O8gFSCnvYqE6nhyiqNNwTFVV4u3nacbrjaHVAGrAWtYxsD8LzZvlI9c1\r\nPiHplmsZspXadTC5OplUxpU79WmUAxGdJLfMmVumVcKClafJcO00u2JQUZar\r\nzDT/xVGt5Aa5pZQe+UudxBPTmaA67WEK3XR2iCiyyFxz/f+hFy0rhWOFd8Ii\r\n1QoESprAQDfSzF8IWbkdU2jCc16lxPeqRBFyKmsjMAxm7bVUh5wkrN0e9dIf\r\nwRNnB+Cy7Jxo+WAbqcNPIErgXZPzy4Hd905DILAPWVdozPsyzXnHp2liY3t8\r\nlBoWkUYYGmK7fNQqdDlWvZkrC6EvtBM3edlUV1A11lthpta+JRLC1c7A1jSG\r\nzGDX3dOLQFXUxNKHfI5TVCC/hDlF8u+y+7TGa4z5S0FbsQkLTZsF0rPhOlEL\r\nfBek2uD91VWBQlMLH5qPPXawX3tKWYMtyI4=\r\n=h3IB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1-18.x/balena-jellyfish-assert-1.2.86.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1-18.x/balena-jellyfish-assert-1.2.86.tgz","_integrity":"sha512-tesFAZFQtYKqEQnzGQW0FNqvIByYxblFesMZM/hwVvgePEi1ZIOqFqZk/ufYHS9q8bxiE6em61E0vWyG8LX0rQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-10T23:00:13.322Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.16","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.86-renovate-typedoc-0-x-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1_1665442893011_0.7727323710614324","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.86":{"name":"@balena/jellyfish-assert","version":"1.2.86","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.86","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e3363c3d9def027677e6d4c6973e0a67dc456719","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.86.tgz","fileCount":9,"integrity":"sha512-kornsFM4+lvJIX17nABDFzlt9oUpR9usj8a6SbHjjEL48rpFbZJEMV3uo6WLUt5dm48C7aYROsKNXnN0z5yojQ==","signatures":[{"sig":"MEUCIGdndt3e/xbIdVNq/IHmL85HYkvhYxBzMWgKEyJl+KmMAiEA7uW+KDhPqPo97ucYDiP+29azioEar/hrQPduOV8V0j8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRKTHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGvw//UPfmIZ2Vqz+Yqyj7QTBdTRwIvvM/VLiTzJTP+rEcnTGsMfOO\r\ni73fjQvxBQDnMOmCYt2MLMOKWytVlQHvMElo7d0VsJ1KPOWErJDtIOI3S5Qj\r\nsj5SNcptRk8R7wInaFJRmAsTRPbTIVJ6tAh6oZ4Z7Cz873WErODhTKDcaxdl\r\nqwR8MlogcHyOq8M8JtkUikRg80zWAON3GszcYZgmmqvAmaRK17+/y9M2wbcM\r\n/Y1I4si3PylB5+3Cl4SGSxu3tXDt77Hn4rZdUvJsCv+ISwOCisZUHfmFMry0\r\nEkeTrsXwfkhGFVp5+hZWajcQB1c3WTuIdxjm5a3nQEqUGbh4bfX9V3jbj2Mm\r\n9RWSV/WK31PbrAb12p1Gbb1B2YHqT24+/q/QUfLkw2vI7nK9LFC0n0DnCdck\r\n+lVVMGR6ZiA8avW5D40YuLS/qI8nJS7DwKBLqwTy6Gu1+hE1XjMgQOlv2VXO\r\npTQIMFm7SuShmOD0wfXdLB0Nt+JAHUoE6gkgeupOTYzDkU5+15bJ+vPDlYP7\r\nsuEpqQ8WT1iLMoE9dx1I4+ruQNnxqKF2phFUfWiECk7DJR/f4aJoMBQ+Dkog\r\noJdwIIHSKvAEQLlbxZJxRAl91cLiLE8bLllByE5Fy5E5UCggrk2zD8bpCzoo\r\nOpWdXdHj+yws2jSFHTlKkONi7OfSpNtD3v8=\r\n=LTBQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1-18.x/balena-jellyfish-assert-1.2.86.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1-18.x/balena-jellyfish-assert-1.2.86.tgz","_integrity":"sha512-kornsFM4+lvJIX17nABDFzlt9oUpR9usj8a6SbHjjEL48rpFbZJEMV3uo6WLUt5dm48C7aYROsKNXnN0z5yojQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-10T23:00:13.322Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.16","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.86_1665443015564_0.14889006108059344","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.87-renovate-jest-monorepo-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26":{"name":"@balena/jellyfish-assert","version":"1.2.87-renovate-jest-monorepo-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.87-renovate-jest-monorepo-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"88d3b90c9af447c59930eb41fdc6b6cead03ae01","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.87-renovate-jest-monorepo-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26.tgz","fileCount":11,"integrity":"sha512-WjUOvFIBlL8CiehC0714V+C7Sgiannqkb/slsaES3qmGkdacydPas+3aUVRqmDZIOUyOsTWzEyPeurspkpxmiQ==","signatures":[{"sig":"MEUCIQDzPzA+TWwwJ8EiMYZEBpMjk7MP4cdyxIfnIsA3HjLX5QIgMloOODj+a1RkO2w9bb4GBsdEzpPGP5x+BZRbzwkEpCc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjShigACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmof6w//YQ9Vwz6KZ8leQpwh5g6zj1mIcKAQnUr8714c7XjmtgZam/CJ\r\ntHrDMMtPiJGZaAfHFJwRaxgy9knIzFTtaG2BmO6eZ6e2YEsG8V5NE7Q0CLk9\r\nHrbazYWO0SyUJsB85v0CtIAtVbmZGxCniDlW9oZat/O9lpGM1EDutf3Lpgui\r\neuNkmHolVWVjmD4bGCigT60QWYj1bcWcHHaH0rI+ZGBMW4ScagAmbub/2XpT\r\nTpMvwE//tD2tanm7GcwGnyJ/vBzH+YJzS4XIhKimvEjmsyYh4UaFbh7I0i5v\r\nl+A/crk0F16JOETBqniC7gGhp0teL9Y8zS6alzUQlR11fn5EU3fgtY6AAHdi\r\nRxCfgdlkbizFc8KsISSHnTPtvgABMPbw6J3V55EArIIixPxGMSdqwtjQgIWf\r\niEErfnef8ysDG+p51VlkiAguRNhQpOTwlXHCOqQQ9QT70Kd3X3IA4IPkUTf6\r\nLkyr+ocq/JOzdDbgE4qUuab+316hDgiOt7bOK8ma5Je+FPCcs+Dia/hpoozA\r\nrfnm5MWcp7KjEL4Cn8ndGcTVMNtptX61/Ayjdn7Re8d4NmmO8AW4U+38xgtZ\r\nTEa5y3r2s8DbGcNnpaocHrBAJmteh11uHLz/7UwOxYFe04GWByDJYlpiO2Qt\r\nD+i6Ak4YnTDxDyERui5Q1d8cxDw0tq9Ef1s=\r\n=8dV0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26-18.x/balena-jellyfish-assert-1.2.87.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26-18.x/balena-jellyfish-assert-1.2.87.tgz","_integrity":"sha512-WjUOvFIBlL8CiehC0714V+C7Sgiannqkb/slsaES3qmGkdacydPas+3aUVRqmDZIOUyOsTWzEyPeurspkpxmiQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-15T02:17:43.202Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.0","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.16","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.87-renovate-jest-monorepo-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26_1665800351952_0.9682748773360437","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.87":{"name":"@balena/jellyfish-assert","version":"1.2.87","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.87","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1f7852d555b2e1dbee25e594d1edd0c59a7bd779","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.87.tgz","fileCount":9,"integrity":"sha512-iNf2fvcBVLn2bWKpfjwMG0qpe+bYFjYDVv3EjmJ9aRKnfxLJiiJbpYZ91wWiISN4obogYdhl/DItT84L22TH5g==","signatures":[{"sig":"MEQCIHT5bNw/fioWi6Lyi72MYcUn991ARNHTta/mr7z0Wl6/AiANkD5JlBcE2eZLCkqc2KiCzsoO91nFU0kh6B9UXO/W7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjShkMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrumQ/8CDzRcdRot6dmGOy9yp2ddxpFbCDrs35LTUHR/e2OyD0q6XDw\r\nDkZb78OslAGQMzpEW+0HpFf/PKC+04bjT271Atc0Wotxt/LBajvCd/eENmiM\r\nQGeadw01z73Awo4hg1SlA10Z4iI+SNhRGt+DlJAJhvhtz8/MupI6HAbNWZjf\r\nzYwpQVUe4Oavy5mJSj/rWQFG88bUCVggnvMxl+a5Up2GBiqjW9BKy1TRDehl\r\ncLldD/Y0+JZKuZ+zRjvyPPPjFTeUaS5UPqU/ZX5jdeWz11sj7fNh4S+iGfXd\r\nrlPJ7irP0n5bmojuxx+WJDjVAf9iQ2DQlq0kAxqVaqhVUisxL1G3CicXAXdT\r\nxsZzYd0IVADZONlY8YNpbXvqVyiv9p1+vmSQFKV5XIXCppwy+oM4X6DIDogE\r\nV/ozYpgAkJLZ/Dm/Zw/VHXbb/5IcSYTw7iim6EfBE+9umox9SP2iHYFd7eKJ\r\nZGGmqOjeMRh0messYSNlH+Mv+h2CJR2vKmOBP4UBnZg6poHpRWrjeZb1r+t5\r\n7qc62WfAP/nV4Fc2cQKm6WSmcNsByL+h57ZlCQwmhyZ9nFo34DFnDFyHn6oI\r\nYgf70euSG+DfOiXFMigN5+eDHkSN9+fNCO76rrx3jFTc/0Zd6seJ9H33KcHe\r\nw0Hdc/RpwmXf7TrymD7t7DQuaxdxM6//fo8=\r\n=mQvm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26-18.x/balena-jellyfish-assert-1.2.87.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26-18.x/balena-jellyfish-assert-1.2.87.tgz","_integrity":"sha512-iNf2fvcBVLn2bWKpfjwMG0qpe+bYFjYDVv3EjmJ9aRKnfxLJiiJbpYZ91wWiISN4obogYdhl/DItT84L22TH5g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-15T02:17:43.202Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.0","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.16","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.87_1665800460554_0.45672034156961794","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.88-renovate-typedoc-0-x-4a78953a08db6d5b642ad22a8467c050a0b4c1f8":{"name":"@balena/jellyfish-assert","version":"1.2.88-renovate-typedoc-0-x-4a78953a08db6d5b642ad22a8467c050a0b4c1f8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.88-renovate-typedoc-0-x-4a78953a08db6d5b642ad22a8467c050a0b4c1f8","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f9e3738045763d000f7e3e975434f300e15008ce","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.88-renovate-typedoc-0-x-4a78953a08db6d5b642ad22a8467c050a0b4c1f8.tgz","fileCount":11,"integrity":"sha512-yvKAtt+pL+jb6COJxHWspMNGj1poKV4Yls8jKpDO0mqkMJO+wHQ9umhCFMXZgOSpdSP6UbgjAwpsDIbQAPWV4g==","signatures":[{"sig":"MEUCIHcn/Re/ovfZEHd89C5eKmzXdKFV8I4BgYLWMO6dCNpQAiEA/MPkUoRHbQtaGGrrZBggz7Wzixx7Gj7H0Xub2ai6xMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTiMkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjnA//TXDWHeT5cgCXKSR7MOIM0TOt9ami4vqh42mlEufGX1GSvx+5\r\nYahH89X38SCcBxKXApYdD0Iy8c2muubi+zs9rdihVfw1ktBhp27gF/ichYAS\r\n77qBG2LGd9hpQ2HsH5vG49/oDpl7rkOo3bSX7rt1Kx64zCzpE2o3fBkeJ0H5\r\neNhg60qe41M42IgXzJNqlatwl+ix5Je29qAanNZwD/nj7st2mUOqEL8eOwH2\r\n2BbGNEFkqkc/36deOIJ/AmtVXEaVSY9JQZO1+LN+os/P01hqr4ZXpb0muiAQ\r\niw703Ysgmv+q74ha6UZ9CA4ghPvJZ7L4rIsNysn+l3q79JYR/XwUlBoYQNKe\r\naMWMXZA4lwsWhXEz1k+tw8Amvn6oleeyF0Ztis/kr1eYdck+W81U27V6auXh\r\nSI/Av7lJAkR8v4JDbjmYo10Ks3E65NiobSxpm+k0OY7CRM6y6yzHJBiDLxZS\r\nVuNqHU/JL/zR68Q22If1oYnMMzx/x/Tws6B3Jiy9gt54WK0OFlYnAhHbnfwt\r\nllLSJAs2Bvr/mRwBLh4e6cLSrlXP0KDYTtmNbTOg0kXXJUrSu+lCWJfuHcLs\r\nOWpi+aEJBlzUuPUlblpjb4NtIG/6yAJkwje1JUPbOKnh0q2rYWEyVEdzXUBF\r\nG3/s2UtqVRQ8b6qemujVgh6XvFBwTC7ucgw=\r\n=FI+J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-4a78953a08db6d5b642ad22a8467c050a0b4c1f8-18.x/balena-jellyfish-assert-1.2.88.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-4a78953a08db6d5b642ad22a8467c050a0b4c1f8-18.x/balena-jellyfish-assert-1.2.88.tgz","_integrity":"sha512-yvKAtt+pL+jb6COJxHWspMNGj1poKV4Yls8jKpDO0mqkMJO+wHQ9umhCFMXZgOSpdSP6UbgjAwpsDIbQAPWV4g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-18T03:52:02.501Z"},"_npmVersion":"8.15.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.17.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.0","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.17","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.88-renovate-typedoc-0-x-4a78953a08db6d5b642ad22a8467c050a0b4c1f8_1666065188713_0.49205949175731756","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.88":{"name":"@balena/jellyfish-assert","version":"1.2.88","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.88","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c5ba0fe78afe4a5294fcb55ca7f6a33ac276e2ee","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.88.tgz","fileCount":9,"integrity":"sha512-DrqUGxJJhk+KS/TitMHgSmBHMBxNHpUPCt/A7mCgAPrvNxSNoNnHHi5fmIeVD3SBos+Y7lZqj9zKRE2j4yGyVQ==","signatures":[{"sig":"MEUCIGPjoKGEGhMZXJSw9b1Dv1Bg+UaJGQcA7v0JVbWf2SWEAiEAs63JdbJN39ar2feWsUT9uMC1tNs4P+13GLHC+g29Bow=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTiOaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGRg//Wvx1IVDC/pd2xg80Q24EmDxdrgI405rqGboWES6lI5N9rsQX\r\nSbGlUT0N3fXa0v6pZC7yOcEvslmhW1YeeKiN5cWK7DRzHBWC1wSsfwFCvHhH\r\nbkZEASGMHp5nqlohvfM9RopjhQhNQ4vfLgs4216gKXYgCnjTDly88F4Dc52G\r\n1fViVlgjdqiIgW5YbgGDetdxkqEI7+lWD6ilrVOS+LrIOMWZW252cW9rBRQT\r\nAB78H2fMoQxGsr8CS19KAsfKyNbvQDf+BB5i5syh+5QrMJW/tDoTwlPqtHz4\r\nKNN2nfgekKcmCfHZLcdS7qQRxcGwhVXD9MVEnkhEmfPy7KcBfAk0Z3e+LQRR\r\nBfDMhl2DOhQbj7TsvPFpUM0MvM9lUYwnhvKQv3ZQNvynJsNe4vN8B56ICZkq\r\nMjW42qO2qmrnlDm4lb6ap7sc2e6XSS5sCcdFrS5BoScbPYylVrsvcwmgij7O\r\nia8ARjujKtWwRgk/gDU9F4myOpHWQIQT0BQqr9TCa6buupOEskkXkFiyVGh+\r\n2y2ZWCoPLrKTGA8sO4Y3PG9tjcSjRnSYTtjGUk4jNnE6ZT3bbQHhPox/6jed\r\nVLhkZRwKeI7Bp9OkIcjyaMfkG9D+6I8+uMdivrUgCp+mW+0Cu7EzD8riHwoX\r\nMQzhzhz3Vi2k9p3KEvildOeuZN8W1sFlx40=\r\n=ZITi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-4a78953a08db6d5b642ad22a8467c050a0b4c1f8-18.x/balena-jellyfish-assert-1.2.88.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-4a78953a08db6d5b642ad22a8467c050a0b4c1f8-18.x/balena-jellyfish-assert-1.2.88.tgz","_integrity":"sha512-DrqUGxJJhk+KS/TitMHgSmBHMBxNHpUPCt/A7mCgAPrvNxSNoNnHHi5fmIeVD3SBos+Y7lZqj9zKRE2j4yGyVQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-18T03:52:02.501Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.0","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.17","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.88_1666065306623_0.35423801795517185","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.89-renovate-simple-git-hooks-2-x-73ce3bb1ce48c71ba14f340b343e021993a558b5":{"name":"@balena/jellyfish-assert","version":"1.2.89-renovate-simple-git-hooks-2-x-73ce3bb1ce48c71ba14f340b343e021993a558b5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.89-renovate-simple-git-hooks-2-x-73ce3bb1ce48c71ba14f340b343e021993a558b5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"19284bfabb021d82dc4a0360fb0b41b4e83f2c54","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.89-renovate-simple-git-hooks-2-x-73ce3bb1ce48c71ba14f340b343e021993a558b5.tgz","fileCount":11,"integrity":"sha512-1/FdDr4xs7+jBo0E+qHG5Rsa3EMAvtTLTrHPzngiL476ubVj/W2JD+gG61nfJ4ZKAy8CV0AeRsG+lJKs9AP4iw==","signatures":[{"sig":"MEUCIQCiQiTkSgkl2GCoKnkcu7Fiyq6OFR9t+vrgPePdp4Wl4wIgF7aaOwb8e+m0OKggMcYUJOFkZkPgH7Wlyi6H0QyFMjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjU0VWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCKA/7B+UnoRTHaoGBg22nEnfr2f6i8FVlVYjhSzHTqlna4w2klvfG\r\nqeyI9EcrJkcF9eqmTmEZU1LJ2g90DGqqY1OyFo8OKh3tT+9AoPgETVLwBAD7\r\nj9YdkgwwYT26/5Q0jejO7vqK226Jx3AoPB2uvtWZmrZRs5JPpDA9uHwilvzv\r\nDTjRRCLulxUIXzHk6e4nG0RwHRCOrG9oOhwu535DTokFMf66xNln3P1NQ3fj\r\nqZOyLXl0ddCvhVlAbGlFotvYk11sMRoFnA0/QGS7102d0vYP2oWFzy6eP8tO\r\n40H8srruDYcTN6am4p1QDEQXF7Nb/OBRE8X8s3fxLKQEYdWmoUXtZpz68cQ7\r\nka7VL5GAqS6KBiNDcRbbetV48zLFD7ULTuFooXUyal2+CR5wBFlEOtfmLxgZ\r\nUxQhASY77jizpXoBfVkicQCN1M05RSyDF7Zmrqsr0i0KEDXT/crWUlh/dOvq\r\n6XvHMo2nIiSL1GAdPi1RRn9NRG2ZRBVbKLOpr67cK4DqG507Bvc+z0Wzh6sZ\r\ntlXJLk5Nj31RqA6CnfmcEseT/RVnxuqBdLRbzGVaIEkePSa9LVNcqM+mnny7\r\n1K5NAe/2pPWJM13xEwa1fZkwzTZBpqqSz9LpJFTGdx//oHPp9hIh/GpZDVel\r\nFoayrbzodeCoQd3K8BmDsPY5AqwkPNAjbFg=\r\n=bD6R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-73ce3bb1ce48c71ba14f340b343e021993a558b5-18.x/balena-jellyfish-assert-1.2.89.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-73ce3bb1ce48c71ba14f340b343e021993a558b5-18.x/balena-jellyfish-assert-1.2.89.tgz","_integrity":"sha512-1/FdDr4xs7+jBo0E+qHG5Rsa3EMAvtTLTrHPzngiL476ubVj/W2JD+gG61nfJ4ZKAy8CV0AeRsG+lJKs9AP4iw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-22T01:19:11.486Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.0","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.17","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.89-renovate-simple-git-hooks-2-x-73ce3bb1ce48c71ba14f340b343e021993a558b5_1666401621944_0.5609843734527831","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.89":{"name":"@balena/jellyfish-assert","version":"1.2.89","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.89","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c99c0368f9a42a16ed150931feafec0c054d4a19","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.89.tgz","fileCount":9,"integrity":"sha512-1QL/e5rmZpp+4uDLsiQRZUR+LYAVTRaChNmhKfL0P8TQtuIL5ahoEgLl/6Fl7zuIBqarpYREj4WghTPiMIB8Xg==","signatures":[{"sig":"MEYCIQDz3u7OEDGdXmHQ0Bwun1FO9dUEeKTzV4xZamYLahpb5wIhAOh5lHnpcOhLHBnsRMk5Piyaq8n2V+Bhz3Yi8SX6gD+z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjU0XHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosLw//QOCSXC5w2mjq6TODRQOiedH4pFIdDtFBToxqGxIiJs8dUWl/\r\n9Q5DbBUO8yHQQd4X74pAIu9wia9tQHDL+6KejKw8J5tiD1iq5wLOXxlf5h9w\r\n3Efec6FC/04v7Scvyju0PAUkcuDqtPe5G2Z5tZr0LSIw4c3CwCSV4vZeps0K\r\nyYNZjRrtKqQJXUmPJPyHAEL6B1+I0XtMNI6nJUG5uRukr6Tn/dhQR4nU2BH0\r\n+L2am+ZxNaMKpaZFbo3kSkxO5G7YmHvNDmtPXSQxmfA2b0DEK1GLKCPk/IKk\r\nHxEqZpX7vWJRbt39Jcs+3HF7BsTI9jyMUnmYJ6lj5cU6Ke6r/j9YVCI9m+ZD\r\nxugsR97k70WeikXneXigPDhT6/HOEvTiEVhM93JzNuwujgx34FANFowf/nZB\r\nWFX3MBfoId+qDIE0TYU6QiBrHtfL4J2T8yIQG0VAjgA8a/EJRd0uIQPxF3VX\r\nDPhvb/4H0ukhtgoyE146XWbU/Emu3lCLRpELLXZ12o4bRO5AkIRnmvL2RiPZ\r\nhXy9vbEuLCWqeGrxqpvOg2rhRnwodtQ1zsGpk7lDzY6H2Me5BBpmjw4qrBK2\r\nufN0OdpFPdLWt5p5/lwmtVy5+AeWk3WNRDa8F0k8Avb6h7v6Hpog/2zsWiuq\r\nUmBxB8V6iqbli75onwA+ZHjhVWxjjuFv0+A=\r\n=PYDV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-73ce3bb1ce48c71ba14f340b343e021993a558b5-18.x/balena-jellyfish-assert-1.2.89.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-73ce3bb1ce48c71ba14f340b343e021993a558b5-18.x/balena-jellyfish-assert-1.2.89.tgz","_integrity":"sha512-1QL/e5rmZpp+4uDLsiQRZUR+LYAVTRaChNmhKfL0P8TQtuIL5ahoEgLl/6Fl7zuIBqarpYREj4WghTPiMIB8Xg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-22T01:19:11.486Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.0","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.17","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.1.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.89_1666401735628_0.42737112054253656","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.90-renovate-jest-monorepo-b226cacc364a031b6bee9139e244d47d50f79759":{"name":"@balena/jellyfish-assert","version":"1.2.90-renovate-jest-monorepo-b226cacc364a031b6bee9139e244d47d50f79759","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.90-renovate-jest-monorepo-b226cacc364a031b6bee9139e244d47d50f79759","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6a2577ad65ace27300c351568129e7d1ded64cab","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.90-renovate-jest-monorepo-b226cacc364a031b6bee9139e244d47d50f79759.tgz","fileCount":11,"integrity":"sha512-LcQAWZfHBU3ABQs6HixizeRFQo2hdv8tHp2aVyElSXXnZS5Gwyvvi6dHPfZeSPuY5NkQ/nc7EEaF7vpOIk8bpw==","signatures":[{"sig":"MEUCIDtAOTUfKt7JerFWwGIWeAfjGoR8emxprjeF9UrUh6HeAiEA263vZIF54dEyg0WFvcAzgI744fMVEPA2QRZCAJeUIps=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjU0aFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8qQ/+LfCzKXfijYAe3RSJKL1OnqI9zNS8RZUOKMqtKxaP7TrfmNqP\r\nZOMhoCTP7codc48dKSHXWL9wBmmHIK6NjvSi2OL9Rv3fXRpw9aT51bDSg88u\r\nuTQ/4YUsiRk+AMK0ymtegmY87kDydpjt5uuBJTYEfohL/MxeQlDNWibJlVyH\r\nfQfkklkDINGBYUQNkLJUfkpGk+RO2mRZzS8FScY3ooKJhyiMK1GfTjuxdu6g\r\nLwItoI41zD3Zp+4YRotMM7arvSSuan9LC+Qvy6cF1DPqDBzfvuRXkPf59qfF\r\nL5sc3GJdG4kbX9Tf3XPL7cPcgOkVpiiuoH+gSUt1vW+r/7D/6/3YwljX2r4w\r\nELYJEKRSL/0PiQxjs1pxvlKFJtvzGboXIbk9z+ss64BD0DjQRFAscBq97fWT\r\n0qnnJEVFGUgmGnIwba/+yf65z4im9Q9Ymwp6dna0q+DuejURxyxxqhrTr5oA\r\nFZMieUurkj5QRvIXlXLQYeZgXtvp5rjbVE/yGyJKXyFrN9jFeCwIOdoZhLfp\r\nzDIE9aQAfZ3huqRPzRwQTAdkkiYaz51HPj1SV4SZKpFa2XYr9b9SfLvc3PPl\r\nq04/1i6vZHhzLdMPHxXC2vJUaisn5mpwLI4cVU4oUegz6UmJG0Ox/RKvjPv2\r\nXqYYb0I+rhq2tabO/0N4+5U/AlhsV7EDARs=\r\n=Mm8p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b226cacc364a031b6bee9139e244d47d50f79759-18.x/balena-jellyfish-assert-1.2.90.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b226cacc364a031b6bee9139e244d47d50f79759-18.x/balena-jellyfish-assert-1.2.90.tgz","_integrity":"sha512-LcQAWZfHBU3ABQs6HixizeRFQo2hdv8tHp2aVyElSXXnZS5Gwyvvi6dHPfZeSPuY5NkQ/nc7EEaF7vpOIk8bpw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-22T01:24:06.684Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.17","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.90-renovate-jest-monorepo-b226cacc364a031b6bee9139e244d47d50f79759_1666401925613_0.08132767903280547","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.90":{"name":"@balena/jellyfish-assert","version":"1.2.90","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.90","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9137dc7e9b0b2aef82fc78567572f7e07a14033b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.90.tgz","fileCount":9,"integrity":"sha512-Ws3TKd7St26O6RZVpAc6nbveEbBF4zNpmuqqOcEUp4WTpCZBuqr+NDxKd/AkaYDOUyXy+BAtY4kbk4NTGTlfYA==","signatures":[{"sig":"MEUCIBj5THz9VphYAvg4Qg+ew1G9MlHxMWjpIPNdhlq9J9z2AiEA633WsBZ1AXVorMgnh58kaN2oR4cmzaXuFDapuOKxlO8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjU0b3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqpiA/+MoR1bdN0ol1+fHN7VqxYpyN21LBIY+WG5s4MSpG18aFSILG+\r\n0P8c8fonOhe+96wZvE2tu9/WMEvA8kmYcObU1Tvtzh/H4yuvtAHbIVs3BbSp\r\nLVt9JeODgEn1pYo+kQOfL/XrL4N2unS4zJ6IDsIzdE05fVZucnyUqXxph5hx\r\nRqazRsXZxq7JpZIe1PVtFT+fcOwYqt80kih3KqmEUQFJSOUKh8U9112Dis1G\r\nwOa94bEzdQPE9w/xqQlHaghBdJcz+igvI0o2M8TTChCLJdnfIDLIBVS8Aof+\r\nELkYa1Z5ev0jDsuONFBv34u+H6q5SISw55tlhVO0seEdpJHgtKQ3tBcM9/51\r\n+alWxGKBUus4dpBAND9HEnh++pc/e55wFGwE2H/kDsP4+ENfDkjoByT7OEJX\r\nm+G4P+vHNwU9K+vjsat4bFoKbF10V+APXEIMxEhrK0uIPP5B9he68wLYWFpQ\r\nXcAxPRsggZobBDKSTS60QMDlDQujjAsfsEN6CwyVetkP7YpBh+SC6JnPvmWP\r\nsNyf0a9vXTa1KhJNw3SIVmwAuAPJr+QpOy6MALF8/QNVX68BPwOSqlBpRsWF\r\nLtZGGxO4zcSCfWEnuKCLdr6U+CBLftA7pDKZbvYq2Mqer6fBOh8sHw4oWYxZ\r\nM8tiptkjJsrO8TmRQt7oPcYv8C+l8C9WfdI=\r\n=OW0c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-b226cacc364a031b6bee9139e244d47d50f79759-18.x/balena-jellyfish-assert-1.2.90.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-b226cacc364a031b6bee9139e244d47d50f79759-18.x/balena-jellyfish-assert-1.2.90.tgz","_integrity":"sha512-Ws3TKd7St26O6RZVpAc6nbveEbBF4zNpmuqqOcEUp4WTpCZBuqr+NDxKd/AkaYDOUyXy+BAtY4kbk4NTGTlfYA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-22T01:24:06.684Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.17","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.90_1666402039606_0.16630303160788373","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.91-renovate-typedoc-0-x-6371582ad3b2165015dee947f189b9586cf364d5":{"name":"@balena/jellyfish-assert","version":"1.2.91-renovate-typedoc-0-x-6371582ad3b2165015dee947f189b9586cf364d5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.91-renovate-typedoc-0-x-6371582ad3b2165015dee947f189b9586cf364d5","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f2aa82c45038312ff4f2a01b22e31e3d372a13ab","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.91-renovate-typedoc-0-x-6371582ad3b2165015dee947f189b9586cf364d5.tgz","fileCount":11,"integrity":"sha512-cqjf9EQWHeV9UOTlQYe1Ycow4hNDF3qHfcHp8Tro9PY4rm7FTU6lsffAP2+OcIIu0c3RsJ6k+pbalH/f0uVVAg==","signatures":[{"sig":"MEYCIQCtY27vrC9fbXcTzAsSPiJgq5zTuShen5PGNSBdbtCGBgIhAKQ+70eLkibZOd6tVfBCbFJw93SdMIBL59aIYggzFXkv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVcZhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+0w/9G9lRWFEacMLIN+mRwE7o462zX6eCTqzQdLbZtugS9eu+Va4u\r\nx41tFl/6sKTipuHpLlynqtDI0Kidp9BNcAbbJKa3iiRxgMcf3uFa42yPs2Vh\r\nhWGTM2dpJtVC/VLoiUwdv6GMuAZLJMcB8v7fT1oEFxCWx9hDBlduPzqhHdg3\r\n9DdD1kkBLVF60aEvnJulxuukXs2420ymwUjy1GAufgBHmp/0Kn+fRoGLpW1s\r\n8GqvfHpz9NawbrGtyeFJFHBeKS6GSgYjWWfCW9NFV1U0Uh9xPh+S4jVBgtgX\r\nJz89dZFGr/lKbkIAU8EVwwHmg3KpZjZOFcHfv0P8L/pjDi1f1qt5DCFmy3fN\r\niJ+iYQyaX9JptWlH87dYoTVovFnnTniSLmI+nvllLVfEQpLdE7920qhrdFq8\r\n8gh5S45fWWupnoipFDc41KbryckU88Rq3LbAl6lMq4aDeQK3ZlaV8f0b5KL9\r\nWMsx4Ru+PnOsMdnHgGRZf+E3y/bblbovCqCqgmLaKe8XNOxozUKyPrhIubPr\r\nOb6UzV0O5ioRD0S++aCXoDkRmM2HHaV5ydT+Dv7RG8xT/rDgHsZryZosHL89\r\nvDP25C8j5TwrFI99hmbBLX03ozcVCaOZHjznTqZMV6FdkWIck0HvUsb9mEz1\r\nePOxitadvPoVVLSaIkTWSVr4zofNaXmGodM=\r\n=SGOL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-6371582ad3b2165015dee947f189b9586cf364d5-18.x/balena-jellyfish-assert-1.2.91.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\n[![Publish Documentation](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml/badge.svg)](https://github.com/product-os/jellyfish-assert/actions/workflows/publish-docs.yml)\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-6371582ad3b2165015dee947f189b9586cf364d5-18.x/balena-jellyfish-assert-1.2.91.tgz","_integrity":"sha512-cqjf9EQWHeV9UOTlQYe1Ycow4hNDF3qHfcHp8Tro9PY4rm7FTU6lsffAP2+OcIIu0c3RsJ6k+pbalH/f0uVVAg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-23T22:54:09.642Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.18","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.91-renovate-typedoc-0-x-6371582ad3b2165015dee947f189b9586cf364d5_1666565729092_0.13305960017597274","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.91":{"name":"@balena/jellyfish-assert","version":"1.2.91","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.91","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"9466d398f1be10ca90e6f7a022df4ba45859c7ef","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.91.tgz","fileCount":9,"integrity":"sha512-u85l1m2b33jV0CIJdfMPzSUs0tzmcaTahmDKcOcmY3MgCWClVwQ57SaJTrTT6Stqg1Hcjhs4WoG1/vOUWWJK4g==","signatures":[{"sig":"MEYCIQD0NWzNXqsXoKpNKq/N7ov2KNhkG1verTrOwEgbK0isygIhAPBU6OfE9XxykIGEjWvEZV3fUVX4ov+aOCVFiSsxL/5G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVcbQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouhA//TLwPSIPwEF49/IZxUgdFMs0BWRggtyewN+c36aKLKlJ0jiH1\r\nNqHKAW8L23VxjmY2gD9/s5tlIizzZya2pKdZD85Q4Kdtzk33P8J6aRQu/iFN\r\nGWnmsZ2b8aAHW2zDGU8CTu1+xTQmVB1UjA2L7CLmwx88BRhwV6A8+C+mGkUV\r\nUruLHFGFeQoxTB4FodMTxTfDWpQpyen+5Xqgs0D0dJjGF6LevFEE0D8a+qH8\r\nlRoiKq4hNwyfkRqsNin7oaMmrJdTqkS49gdEJbs5Dtj+XVmWWpKpOSmPf9mA\r\nR91IeKcwu0ZRBXP3IU0zOV6VOTtQ1AQWVln81ZXZjvA7fcjUKT84eSURzp7i\r\noKtLOUx9XeRghuf7ITUgKy91WJH1WUiXtiyd3pe4f0xGEjSw3ZZTIX1d1Yy1\r\nIv2cLmz8S7d6K4Y5vgAhSC4VxUvL0Hk7juBbdl5URk8V9pe1HXccVx1FBR99\r\nHQ4kT8XfL5/66mam3reqLlosSbUtC4UuEJcM/FqzLEw/9NgQjiIBmiZB29Qh\r\nMcbD5ljO5OS51Nz1P0rLTaBudrcXXZon6aUqAk5TYzviiaI0aADognn5fNVp\r\ndIoUOQKBCHwAka+f+Pa8/6Qmj4CC8NDopx27xTJc/zhDodO1764BBBsXF7KR\r\nkY68VfCjBTzWqg+VtrayS7vn4Jnano3Gxr8=\r\n=0Bna\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-6371582ad3b2165015dee947f189b9586cf364d5-18.x/balena-jellyfish-assert-1.2.91.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-6371582ad3b2165015dee947f189b9586cf364d5-18.x/balena-jellyfish-assert-1.2.91.tgz","_integrity":"sha512-u85l1m2b33jV0CIJdfMPzSUs0tzmcaTahmDKcOcmY3MgCWClVwQ57SaJTrTT6Stqg1Hcjhs4WoG1/vOUWWJK4g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-23T22:54:09.642Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.18","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.91_1666565840708_0.04753358152101028","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.92-joshbwlng-readme-1bfb041ec797f9c9eae3eb19b9434db197499296":{"name":"@balena/jellyfish-assert","version":"1.2.92-joshbwlng-readme-1bfb041ec797f9c9eae3eb19b9434db197499296","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.92-joshbwlng-readme-1bfb041ec797f9c9eae3eb19b9434db197499296","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2f96e83490098f78a52fbf3f41c26a4d7a702645","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.92-joshbwlng-readme-1bfb041ec797f9c9eae3eb19b9434db197499296.tgz","fileCount":11,"integrity":"sha512-N91n8IEPlnfJHgleoQwIx3xr6oYPPqJ5p6QLWMZ+e3SV2GMpoOYsz+XwGYlc1M7sjYbYvNpx5nFncyk0jRlLcA==","signatures":[{"sig":"MEYCIQDZKYRfTheEwgrDzEakWqBtU6xq17W004tEslTpx6hdGgIhANofJ6z2lwjSjhEub7dRqQMS02xs0w4/8Hb7PEq8aEXg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19837,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVfHbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHVxAAkX82+HknjbNNgr56SR70o9y0gsto6nChfOz+KC/mKeX6ClVa\r\nG1psbazKNYN5OIYELMUJK+qQ2R4+wz0LIP1FQQZOm4UqT9wrTkvBxvqa05JV\r\nN9T66k/31KVNQtZaq7sCO2bJr1iTYC/K/BHa96D22NqaFmNs0ekde+65jbtx\r\nNCH4zLo0c2Wj+WSqnrzcDbpfp8XFaiowItb4tIEUt0/XMl1egO+mz8gVBVd6\r\n2r2kBrJ6lHyVXjcGXQgiOb3wETQNvLT6fXqesuacFIK+lPGY9/nQpfj5gmdv\r\nYeebFeIDYoUWSKtj8ISFOpYFYmojnRMp2vk8MD37TRMq/f/YqxE7l0XhGoxA\r\nXcCtoEY7ElNPNdSqEsCw5MZ8kwfjaGIG7V7ursZJ7NTcWyxShi+ui9FrWPwI\r\nkz7vwg7NeB94eT3t0ScinXQ4vC/llHd9g4rGaZgNguqM48IPV2XVqLQ1WN8m\r\naEhAGeNwkhB94Kkfb5zGZ01JAKCtSBL71nVGMBu8hK4+APKsPePZqyvIrLDa\r\nDlXq/7eMmzA+7lPXyBzigTtgVSZdSzl1xFIU/uuCNEVlLH+CZ24b6k33QK3g\r\nqdlRqoBvdnv7/zM7iDpiSMwW6IbsbGP5jyqb5E17zpvokhJhnHIjq0F68qWf\r\n6AvPDrysVg9o/mYB0uYsX7PvDc7AnDTB3YI=\r\n=AKux\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-1bfb041ec797f9c9eae3eb19b9434db197499296-18.x/balena-jellyfish-assert-1.2.92.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-1bfb041ec797f9c9eae3eb19b9434db197499296-18.x/balena-jellyfish-assert-1.2.92.tgz","_integrity":"sha512-N91n8IEPlnfJHgleoQwIx3xr6oYPPqJ5p6QLWMZ+e3SV2GMpoOYsz+XwGYlc1M7sjYbYvNpx5nFncyk0jRlLcA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-24T01:59:47.945Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.18","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.92-joshbwlng-readme-1bfb041ec797f9c9eae3eb19b9434db197499296_1666576859328_0.25992081201110406","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.92":{"name":"@balena/jellyfish-assert","version":"1.2.92","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.92","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"646fb8b28446fd1d3c6337b3467844b784d74499","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.92.tgz","fileCount":9,"integrity":"sha512-sDKMxd7EdVgYJgPrgYtLCSA+ulRnCKj1yiPEm8skkZ38TE3yAiQ6OdBLPmqv+pBCQ/qRS3ypQSuHNTYTslpGoA==","signatures":[{"sig":"MEUCIQDbfs921f+zIAHYlzirMEoK1ZOW02uVrMmq0ZZQOSqNFgIgWS/iIZT0dR1CvtxOEtlo7fm4s/TMwnzdu5K7YymSNE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVfJaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrphQ//Zz8tLL8t6ESveaFQUJrOhln16T2tg2szncYXYheaOUOE/wv6\r\nPHMAfYC+XVh6ecRr7Hlbf+zF9mTE1PYOFJPM67MjACdsAcvtbQQfA9/NG2PX\r\nmsakRIQ0d84ZsTfwh1ANKDq4aF4AqZlVVwIUn4c3F5PV9RH4ezcsfAMNbjQi\r\nEqsPKeQ4/rJH055eoQDXZpP7DW5/OgwVZTXvQzhcwqhSEhHrta0Sc5MikpRj\r\n1O4xuTSxNaPIR/48eBiZ+a8y7dPG3RBCi5340TpfV21IV6fVFWMT3xm5xqA5\r\nNKuy1szrzPywRqFZRqGwE2c3Mjd4DgUeoHitrODUjUIWzLLNxmNDrzmBcxrq\r\nFCwyH3RXocBJQnEuiD+5TzgF1/rjeg/1lBarfPlEgN83qjKKqv+i5Sd3+qUB\r\n/s8fWxmIiU1f4IlLc7q+6TdIK20KsjEUWW/zP5du6B/hKW1rjtpcx2yWxccG\r\nCutPbIr9pVG25Yejr09HTZ+5YR6l7S8Ca343hM2Q7GQQ+Zzrf+/gKVbLwEZd\r\nRPeVL7CltFybQu8rcABwDTM1pfZa35Usqe5M9oM63it/lPs24Es5VFA3tPTa\r\n29BA+tcKZ8eFM2QlLTmdE50w0MuKDK/GERDgUfto6WJ+k2YhAunfkc+h/3I+\r\nRmjaCywIvNiI8JUTpo8BhMF+lIBldUeJihM=\r\n=lZzC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-1bfb041ec797f9c9eae3eb19b9434db197499296-18.x/balena-jellyfish-assert-1.2.92.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-1bfb041ec797f9c9eae3eb19b9434db197499296-18.x/balena-jellyfish-assert-1.2.92.tgz","_integrity":"sha512-sDKMxd7EdVgYJgPrgYtLCSA+ulRnCKj1yiPEm8skkZ38TE3yAiQ6OdBLPmqv+pBCQ/qRS3ypQSuHNTYTslpGoA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-24T01:59:47.945Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.18","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.92_1666576986012_0.2947713409650379","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.93-renovate-typedoc-0-x-3030024e89cfd784a20ac0012624b3610fb25e7e-1":{"name":"@balena/jellyfish-assert","version":"1.2.93-renovate-typedoc-0-x-3030024e89cfd784a20ac0012624b3610fb25e7e-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.93-renovate-typedoc-0-x-3030024e89cfd784a20ac0012624b3610fb25e7e-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2197d5556ca43521643d7d7129a8f2b7c825cb57","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.93-renovate-typedoc-0-x-3030024e89cfd784a20ac0012624b3610fb25e7e-1.tgz","fileCount":11,"integrity":"sha512-XgZUUpCAOwX976RcjFFlqQS3T9V3EMCRMRdDyZypIot3MMvYjQrgHATNn5YARLdoDCG+tPV9SKd5zrzYNb1RCw==","signatures":[{"sig":"MEUCIA4PokC9ZBncR+xMrRrg4znYHrkDcMwgN3o976yp22UiAiEAhT6cUwVphoMlAmk4SzUfLRgTH/fqQSdyE/2RK+VziWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW1/aACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonGg/7B9rTSOS5ViW3NBINc4PPxhhNn7Q0Y2KDWagsdDHW2qG1HkWp\r\nmYISbjmvWcpJC2U1W1rtWeDt3g7ww9KT+5x5fMfoGzB8ZIYF3mUDFNUPoukx\r\nj+WU/RCu9muejQXmFAya5SjUSaQFTyOoy9+j9nqb/7PGyAv80xNUTd0ImJHS\r\nQ+2ruzN/b7nlZyLiz6yayeFBif87J86VptqA+PwcX581kq6Zg9brfWlOL9cJ\r\nNoYP/fwKhxvK3rSy/LpeO0hmxrUP9xIvHrcP+9H1GkhXOtPW+73nPEWOiAje\r\nkRT/BxLgNej84b/uKowBWbsmpPYLyUUdd/s0Gwa4YCH+YZ++cU7fDsaHuRno\r\nWWr09ynrpHu9wk5cAQsykYASmHdDQIvqnQHxf8ryKaqEieMJTK+ZfTrioN2/\r\nhx7cnZPCPcIsvCwbSBEYuyA5N3HZcJZky9dik8gpJoGOzpipOVgL303Yb9lq\r\n+6RauOz3B5AjnxE7HxjrbGO+NkIv07wB8ShuTbzAjcZuMT36DAhLm8tL0581\r\npEJ7oiXH6KLu9imldg9o5M1P4s+S914iu+XiFR1pcQ1zy3arX1I8yPfkXJ3c\r\naMFXIV/rglOPY1/Iao4bphG6q3ROEodBrC2UPPbCoxnFZQ2vHJn3W4D6247x\r\nV1Ne883P0Yivk2O+rwrRTO1rOx88/iNPLwQ=\r\n=cZaL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-3030024e89cfd784a20ac0012624b3610fb25e7e-18.x/balena-jellyfish-assert-1.2.93.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-3030024e89cfd784a20ac0012624b3610fb25e7e-18.x/balena-jellyfish-assert-1.2.93.tgz","_integrity":"sha512-XgZUUpCAOwX976RcjFFlqQS3T9V3EMCRMRdDyZypIot3MMvYjQrgHATNn5YARLdoDCG+tPV9SKd5zrzYNb1RCw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-28T04:50:20.282Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.19","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.93-renovate-typedoc-0-x-3030024e89cfd784a20ac0012624b3610fb25e7e-1_1666932697979_0.00495890843363167","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.93":{"name":"@balena/jellyfish-assert","version":"1.2.93","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.93","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e570254bc29c2953120e0be9905192d317d1b19d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.93.tgz","fileCount":9,"integrity":"sha512-NTCJq9XBDISjAG0IXJ+CNcRVWGMOHX1i7OciNzY3Tlfly5kLvQX266lvSe0+Ifwb7hTcLsFDVKgah9VYCnMMmg==","signatures":[{"sig":"MEUCIQDHzdYAZWaOK9Lxe6+DfT3I2sOP2bqWaNGSntaB6aNy9wIgWEt1xhijhhVZuCxDoNw0xdxdeqGz2Qb3CiviadNkt1U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW2BFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppuA//ftp95PMIhvL1IlriWgyiMorKxZ3xnr7LbwiFuhvpehQ6NVPR\r\nh5f0UGd5iQKRR1tDdUVsfvwvsEVCs7enFj4lg6svGxR3NMzWZsZ+GesmD2PL\r\n6bCG2BsEW526lyfVHIkF+7DK/VQk7XH7U9wMgx79w9C5fDbVQPYjcGJ1SDHx\r\npc8jhyfITKWIH47l80O81VXEbk/k+XjrIwi5cvnFO8nydMDlcOzFZUbKuOhu\r\nQp2N+n/0cwsYaxewFam7OwDHTd6rzZpeRicLqVlFPHffIqK0EMiFa/Tio6Q9\r\njGdPX7WWUHNhZMtNRj9dMnzgRiU9o5pRW2ltXMJkIGbJ5tTTQOUKsLvVQb1i\r\nDOVAXAuBCYp80zVMf4j+vJKYTyPgTz4G/8xxQV+ptCS/iot2sVROPRKDMEYB\r\nZdvC6ZiwPU7MbqEK9AWGtkXzP6AnUSRtjj8YjbqetV3ER0BC5LxLODIDS7GQ\r\njBCaYhX7bFNMArnPFqF6LNsbLhtIwtluZnMpmtcusIA5MIDdgbGzhgVczMHJ\r\nW0dyHdMKoCl+myNYBiMqh7otPD7Q2YofpAx6jWIgmXMLqm+K579jQM6m8AO8\r\nTm8RV85jQf6NiTctSiMbjeYlkKgezno/9/BVU3og2Z6cXrOMTp3i+nlvYOvH\r\nzOHFoso5FEC7NB4uapUrCg+vozA+eN3oIuA=\r\n=A0wI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-3030024e89cfd784a20ac0012624b3610fb25e7e-18.x/balena-jellyfish-assert-1.2.93.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-3030024e89cfd784a20ac0012624b3610fb25e7e-18.x/balena-jellyfish-assert-1.2.93.tgz","_integrity":"sha512-NTCJq9XBDISjAG0IXJ+CNcRVWGMOHX1i7OciNzY3Tlfly5kLvQX266lvSe0+Ifwb7hTcLsFDVKgah9VYCnMMmg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-28T04:50:20.282Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.19","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.93_1666932804762_0.7095009058488799","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.94-renovate-jest-monorepo-93a6c15b3b3265e44e84cabd94e1f242b75ac112-1":{"name":"@balena/jellyfish-assert","version":"1.2.94-renovate-jest-monorepo-93a6c15b3b3265e44e84cabd94e1f242b75ac112-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.94-renovate-jest-monorepo-93a6c15b3b3265e44e84cabd94e1f242b75ac112-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"19a7cf36a6f1ca1ad04dbb2ba974791256652c32","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.94-renovate-jest-monorepo-93a6c15b3b3265e44e84cabd94e1f242b75ac112-1.tgz","fileCount":11,"integrity":"sha512-dMRjWAyvjHd5aMmIkIthEAUKfrw5CTmC7LeH64Va/q977bb7sqlR7PrlMuVprWDNaQgBoP2Bh4QEVgf9z3zRuA==","signatures":[{"sig":"MEUCIQCktDo1SwF+1JbEnHMQe0KBLvqM0qQu/+723ps9ooN9RQIgR+NspdL3Xt7+fZqT2+j78aIwNafkWMhCed2FUyeS/8U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXHXhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqa0Q/+PBatcLm4WopBjIqfhUGMGP7eok1eXoyTQqhCu3W3NNCbcG1R\r\nENK3VykS7sekd1gcYc/7VL89QJhw/Iinf2Lsx/lX+bG7lwdzYq9LwBepAYFl\r\nqY7/yPrHJgtmyCMzCxbT5k1drFl1NNt9yR1Q96qlGqvoRAMOQh/B2uscuYqA\r\nL0Y/LdV/JShd1HZMYxZYK8hf7l2vaV2hcmLYJj2em7/yZZD/E/qIrhF9M9/C\r\n+iFdTH1IQXCOXRl17w+3XDaMNSA9cD2K+/ZghmTj1zyh5yJGsZC12vfgW9Ig\r\nOPtvLIH6ZzfmqDQtg7hfIBG+q+oDGoP4rAnDYWTnWSySDoIKyjJpQpes0svx\r\nE6tDhjT8Cnag0PSSGtg9EtAW84aR5JR7sS6hnfDfcdUlwnGqZVGczdaw/wiX\r\ngle2vDoILNIkHpsEHEJOlhzWVINIEvJOBzOxpiOJ1r4AxBUtuh2+18B2eHZM\r\nL4vbnMVUj+10BO8Hy3VPlXboiHMW6GsuzWX4rgNuoORylQ6tdqcCdoPNgpRx\r\nb3e1tEcxRcxAHUJ3pd7jPHhZ00S1FIS8OEo0+eIjup9Tgpe24Quj4ODJT6Xa\r\nhmQE15CvtzaOrZzm7tZYC89x520GJAFh7ogsAe6J9irFv0Zew+lQihk3WKIV\r\noy9z43WoHF6jSfUBmtn99l2VhfbNNyHWIAY=\r\n=r11b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-93a6c15b3b3265e44e84cabd94e1f242b75ac112-18.x/balena-jellyfish-assert-1.2.94.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-93a6c15b3b3265e44e84cabd94e1f242b75ac112-18.x/balena-jellyfish-assert-1.2.94.tgz","_integrity":"sha512-dMRjWAyvjHd5aMmIkIthEAUKfrw5CTmC7LeH64Va/q977bb7sqlR7PrlMuVprWDNaQgBoP2Bh4QEVgf9z3zRuA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-29T00:36:22.951Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.19","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.94-renovate-jest-monorepo-93a6c15b3b3265e44e84cabd94e1f242b75ac112-1_1667003873073_0.2217251627077168","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.94":{"name":"@balena/jellyfish-assert","version":"1.2.94","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.94","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3cdedc3310da1e1ade88c5ee19da085b731f0681","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.94.tgz","fileCount":9,"integrity":"sha512-1ADJSXGlyoba7P4ocKJBiiGDSE5Xj6sjeoKRgjlOXuWOQ0QZKmnOQI01sG4Gy4SHjQDhWIpdX5yb0JqT49E1pA==","signatures":[{"sig":"MEYCIQDu/xqPsKofYjXcXQYK81L9FYmCxChE7R9taBNkSKmPdAIhAP+1BIEmm40TvsbD6g4wIw69wJWrclgi0tDuImSnhYzD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXHZcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmreyQ//e5M1W1kGbZGOTGAGjrfaIkRPnWcB4KG1b4JtL1jwu5mEdhCT\r\nUXrJ/tVnhL5lKBHx1mcE7PaOyVPnTBlCowtVLLD9jcW2O2AmtqMCbiQLS8wv\r\nkHsKLBBzGYJ1BrNrVslc6+HVQhsrBeEIehGBS/4ruz/43gg1OzmxDLFqU7ei\r\nbLLVv5wh+2X8ZsmTPjITaFTbvo9Ze2ePE/eObmBrFDbXnn9jqJ82KWQnzF2s\r\nxXYfOyb2+yRADcUvMotU/ebO+fQ9t/RvnvzHgVNY/CnBGPGRdxVnQ4RAVgXp\r\nBeDuHCgahX10DetqknMFo+IorvohoscvMa3wW48/Z5PJyCb7FvBLJFHrbqkU\r\nbKJDe7BOs1APeRbGIVAGUD5puQi86J9kGpZijYEIzDPTLyiWLIX3OcxxiYsU\r\nu2q563ezwXWg5C4p4Sqgk8vPXK9MBR0xdJV87Tol9G+pxuUcH+rfrqIiwkTA\r\n7cX9jYfniHOdimiUa7HlwgD0cucYMEL397G0aFTQeFgNvqzYevayN171LQoz\r\nepi1/0ddZ8cIbcaHjGChqmxIqi0MmNR/KlHrg+zqH9716kjDkrLiznglSax5\r\nwGAUOPUves93a3FasUNzqAof9QFfK6iXDeXwP1UDbT4DljKGrNG2sPb7YB6A\r\nI7X3S+a9VzaQryM+qMUuugfZu4DYtxIK/fE=\r\n=QLcx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-93a6c15b3b3265e44e84cabd94e1f242b75ac112-18.x/balena-jellyfish-assert-1.2.94.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-93a6c15b3b3265e44e84cabd94e1f242b75ac112-18.x/balena-jellyfish-assert-1.2.94.tgz","_integrity":"sha512-1ADJSXGlyoba7P4ocKJBiiGDSE5Xj6sjeoKRgjlOXuWOQ0QZKmnOQI01sG4Gy4SHjQDhWIpdX5yb0JqT49E1pA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-10-29T00:36:22.951Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.19","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.94_1667003995910_0.7616191533667784","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.95-renovate-typedoc-0-x-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-1":{"name":"@balena/jellyfish-assert","version":"1.2.95-renovate-typedoc-0-x-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.95-renovate-typedoc-0-x-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a202262ac018003ccff9e8a69fafc38bc2566bae","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.95-renovate-typedoc-0-x-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-1.tgz","fileCount":11,"integrity":"sha512-aCsxce3Ve/7ybLyM+opcZMmIZ4FJL+7YtR5lpFgQhgJM90U70hE+LLEWIEU8G99/LIyQEJj530CLqMYjYAtq3Q==","signatures":[{"sig":"MEUCIQDcI1tSe7SP2zkaXfaDffHoG7aaD8NYux099jvgwzAeTgIgLMSJiM9anks6Hrg1olp0saIcSl5Jb4dOzSSfTVxNvIk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY06DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVfxAAhF244sqccGgdrX7wPJp7HVrVLriR0QkEF7NKeosCD93cXZ3N\r\nugw0XGW8TtzR4K+Tr25spRLgDBXvL52cbDJqgyCDeki02GlxGG3KqUmceQp+\r\nJAk7U3cBQ5yC6XGFmM6cJaN6V3RLBgy6arFYwsJoor4PPfI/ADSWCfBicD4V\r\nBsFcGr4JvKne3x+E8mEFsIubuqQrc3dcW4GwfwWaZngLxmTN0adSDeBqdTqe\r\nkmp9YRQUMWngMbcozQ2UNvgfKzWG4bv6Mdts7t3K5XoBJoo5/k6p/L/h3aP/\r\n3w6qhHT6gpaPhgA899IeJ5YGKu8+1idpsO4FrSvg2eFzeGXtlic0AWcfacDY\r\n84tczQcLHQgBxKzFqoN5uyZx6bnwAHN1wxfxMy/e0xTBekvb5loZZqHPXHWC\r\np8OYPxoPKealaw7Uj/DZPKt2iUGeYrHTdq7FYrynXytpHwgRCRcU+XntTW4X\r\nkpnArSQezySKDlY3vDXNizsdoMmH8Sz5mJKBuu+neh/cTtBW9ClF1Jpi1Vnp\r\nFiCYEj+dc5cfMpMMUm52ctnmSxgdej1bTrspJceQvVL/vQopJSA6L8QoKdhC\r\nwYlIWfvTKVqxJ9Pp7FQrGRLtv/oZJmtZzIoR3Xzhu1ES4MJnHCq0HGqJoirP\r\nLMoRmIBUD9Nsr4n5zpfTlnBcJPZxdovmYSo=\r\n=LpPn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-18.x/balena-jellyfish-assert-1.2.95.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-18.x/balena-jellyfish-assert-1.2.95.tgz","_integrity":"sha512-aCsxce3Ve/7ybLyM+opcZMmIZ4FJL+7YtR5lpFgQhgJM90U70hE+LLEWIEU8G99/LIyQEJj530CLqMYjYAtq3Q==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-03T05:14:25.928Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.95-renovate-typedoc-0-x-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-1_1667452547649_0.3054094604152431","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.95":{"name":"@balena/jellyfish-assert","version":"1.2.95","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.95","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a19bedaa280d69b3fa3f653540d5937261e0c92d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.95.tgz","fileCount":9,"integrity":"sha512-ujm3ZSiNTOfzrnp/Zs1HKckXfj8rOD7c1jvF7wnLSBDCjal9zvpi0iKz80TiTIQmQJivvxA+E7C7TNXd/ArGAg==","signatures":[{"sig":"MEYCIQCq1JznX1pBpRE1brsbEfD9DQ0coEfFBFZ2liyzMhgySwIhAKkXjtchZJoA7f0hpXeB9WxGlJ216BT95P0lxqAwBVwO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY074ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5zg//SB4ANoBUnzaBj9nU7XukOpb2SoewCsDxaGHYdTuPD8HD29fW\r\nt+VfAAY0NT69mwqASRuz6RMu1DcFleuZfTSAO4IfKTPZttskx5oiWLN7oPQU\r\n89db3FljMQm4sRJgMMTmYFIZU54vXB22abLPG80SaQmEYjgKBi75ISLAntYw\r\nLX8Tk81Dt1wHbWqMlFn5xNn3iJ27zveYq1Qu/dkoMx3ibdmP5d+HHCJ9vRCr\r\nNJCnd+7+FQxQWb/F1ZqnRhBjansYm6JU3NzCeX8RmMea3TPJJIJIb1YXcPGx\r\naO9gu8T1Q+DueZvcku8xsOtCFxc1OFYox31uvnfgqFMMeLSHlhy38ip28N4n\r\n0ND6nPxdeUGG3MwzyZ8256uiBug8MxuCYs/iV7fyr0UwYPzHvPIgmaY2lz0e\r\n/maD0oFlzYmNJhduveeywr1P5JysuEFCMaXx93++63/ZQ/b62eN+iblGQwes\r\nZtf451PvErKBB2I5LQO0lWIXeHXyqjIkGyLkjdjyOEZ07f+u6FMrJDUnDI5c\r\nl0n/QAjTknouKPtC0RLuoG9kuNU452WQXSjr+ZJHzADGyPXvdxq9BOcn9BXE\r\nV/mdGaSeVR03ZCYlY+acnYzCEhtTv1yohjJq90NWP0kKPaPuih8I6OPYXQYD\r\nBk3Q05TEJ4hIImiTJDWgLEpmvUtpHNKm7NM=\r\n=dmCP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-18.x/balena-jellyfish-assert-1.2.95.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-18.x/balena-jellyfish-assert-1.2.95.tgz","_integrity":"sha512-ujm3ZSiNTOfzrnp/Zs1HKckXfj8rOD7c1jvF7wnLSBDCjal9zvpi0iKz80TiTIQmQJivvxA+E7C7TNXd/ArGAg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-03T05:14:25.928Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.0","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.95_1667452664200_0.44186349769774846","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.96-renovate-jest-monorepo-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-1":{"name":"@balena/jellyfish-assert","version":"1.2.96-renovate-jest-monorepo-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.96-renovate-jest-monorepo-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2a2011d31073e14ab2505b08fb8111e3eecae13b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.96-renovate-jest-monorepo-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-1.tgz","fileCount":11,"integrity":"sha512-mL65xWFGTSTs7N7gGarrAeE4DDe0uy56yGtJWCYugCPOGd8MWTdRh9YnMI4ldW2WMeIo72x7p+Ta8dSy/GhbRQ==","signatures":[{"sig":"MEUCIQDynI+qOh4D48Bs36gFZqlb9eUsocqUlQV7oR46aThtRAIgaMMvk/skIfLM477aV8jjmR2+gsBL/0l8xuCHIGeVljk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZcRNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSgQ//VUbd1PQkrACfAYn0TnUOj+We12BiBVvrUV714JTyLdzSd0Tw\r\nKgCux1+i7JVeRkvnuf+h7ATTsa5qDYLFlse05PaO43ePHqSyeYK4vGN5WMB4\r\nZMqJwhwOQzVRYC2pekTCxLAP3uDZjhnHPBxIdOp/W3dC5nirrv5mzQagq8e4\r\nAec+vdy1sks8Ju+fugH4KV7Kshw+AfNnWBHkFf+UQYq4Vnj7WhTUTINqM0my\r\nHf/kX8jQdObNNZP7yfAJxPl0cB2VaqWjZvpS6k8bagfNEXnAgehEGAdUtB76\r\ny/sruojm2EYkcbNwM3qkhuHoJFxxSxCHdWoHzl3WTDHLs2IZdUpNo+tzttDM\r\nYDAd8F/1CjYv9//meWc7cPTMNriP1VM1Mc95bNha00W6bY1J+9h30Jd3Asu8\r\nT/aTIjsNKtCXitfTQggElugQHxCiqUQ9r8u2CbIJe3t6Hnd1xURSYlxFp150\r\nzdlJ+p0KNgnJcmc51raAcq1RjGA+bRWke+sji+1rbxareW0aD4CjiAb+0ci1\r\nDSqak5Jw3lUua9/JtFugMzFM1ptt1dasQnsSNAPf/UKrak6RBiZylTMK7VII\r\nD3YJf6LsL8jocaNB+F7wt4BBN4hqZsVEPk5tOk1LHbe4yoNq1OToIi7FYPsU\r\nW+ZpGlKC+RwdlRLbL7v/tnc4LcoKzRGdXg4=\r\n=MSwI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-18.x/balena-jellyfish-assert-1.2.96.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-18.x/balena-jellyfish-assert-1.2.96.tgz","_integrity":"sha512-mL65xWFGTSTs7N7gGarrAeE4DDe0uy56yGtJWCYugCPOGd8MWTdRh9YnMI4ldW2WMeIo72x7p+Ta8dSy/GhbRQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-05T02:01:35.922Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.96-renovate-jest-monorepo-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-1_1667613772981_0.5901211345748933","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.96":{"name":"@balena/jellyfish-assert","version":"1.2.96","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.96","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d2bee29871f454a75567c62ed92ded30f32f5bbb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.96.tgz","fileCount":9,"integrity":"sha512-Z3Ox5YDW72T23acCkrAKn/suAb2xH6v+rpmcJ/EpK49poz+YoHnKMsZ8EemAoG7UEPsxKvavCVigftA7FwtJ9g==","signatures":[{"sig":"MEYCIQDBnJ/IyzC7fw7Wu77YdOFygVuoxpS29snv+f9gX4RVdgIhAL9Xy5h0tzY884fmnmGT03O1mH5fQ60wSR/3wceeIBB8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZcTcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo16A/9GpqgGaWqzmBhGxJw/qt6yTmRwT1RvZoETC0oSfMEiJr0h/lA\r\n7qmUUq38/XOfwOiC5AbfIgfTH9wQzEGI8g2ltdN2xKnbknSmbIkjAWIF7/vi\r\n3ljFLcGDG786/eAkSQOxg5zU+6asHwTE4727KtrYe6k2/En884acAH792mH+\r\nutCnVtWbE40UPTDBvVRpBmNNfYBx2wL4rSvYXEZjphOPKp1/d/1GzMOb7wRp\r\nrG9p6KgG+np7738Oocp0lO7dQaWmkM/QFTGcS5kyRxj84Fgys7/0SAMaRMxB\r\n34ZjvPNvq3FnufZq2YkrALFt5uYsoxI0a3pLj5E58wj4DeDkeoHaYbfhrdap\r\nsP4mNlwb8J8t6yiSRV0H/CmbixYaKoB5h3GphQ7RAGbJ4sKVfR1fZykD9ZUu\r\na7WVa1JJNMmD0dbjpUv4bxyN9bzXQ+oSJWp+l2Jg29tig3YHk+CgGP8E/iLc\r\nsnp8mIi0CjPZgzWqA2vdOvVI+D/NurayOdFQmImG59/zYf06T0I+WQQt93bP\r\ngBdQ/pAN6oeXTHc4NzG6Py9UM3Eqo0puZoUPDnrTWzRMniL9RJ4PeCxQTAEP\r\niOPxPrv39fD5rDdQAM5daEfSueob6cV0N3UwaMtqFWMJAeLg9m50w8XRMeRZ\r\nzfvRnGoCfzYhssZNMdX6+JwlfdJsVr19dCo=\r\n=nhkI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-18.x/balena-jellyfish-assert-1.2.96.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-18.x/balena-jellyfish-assert-1.2.96.tgz","_integrity":"sha512-Z3Ox5YDW72T23acCkrAKn/suAb2xH6v+rpmcJ/EpK49poz+YoHnKMsZ8EemAoG7UEPsxKvavCVigftA7FwtJ9g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-05T02:01:35.922Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.186","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.96_1667613916451_0.6632320701719896","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.97-renovate-lodash-4-x-bce4dd76b3983b222c70b89e36481a5e6f360bae-1":{"name":"@balena/jellyfish-assert","version":"1.2.97-renovate-lodash-4-x-bce4dd76b3983b222c70b89e36481a5e6f360bae-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.97-renovate-lodash-4-x-bce4dd76b3983b222c70b89e36481a5e6f360bae-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2623205fe7540fed2e31155069285ff0e50a712b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.97-renovate-lodash-4-x-bce4dd76b3983b222c70b89e36481a5e6f360bae-1.tgz","fileCount":11,"integrity":"sha512-e8p7vzXRym0rAAqq6yv8Eq0pBKN5UEaW5ZIFA5qHESRz5Zs1ATzP4+CRuMogktKVOWipZEGDCOfJnOqjjie1sw==","signatures":[{"sig":"MEYCIQCqAQIcA/KtlR3lOkmceh4avxN3fDKbHXxrE5Z5zAI4fgIhAMs1rCtLorGt/LSWx9Bp0val330BSBmVxAyqBSuxZdFi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZcVaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+oQ//Yr1pwu9DChgpDS/oyQrdP95i7MMVTefcxaelOKrOzaPjt7Z8\r\n6vzK7cEw4x0q6lmT35GCHeRmK6p/IpYL0WDYIiq8Ng4mRsAiXOBBRUepcvY8\r\nTrGqV0Ck0hSC92XdH+SlRN67f3wt8eNUw9G/VAQOGVbkhKE4Q/RoKgfV5hrd\r\n8b0QT7+JVcY2YV3maqwqd/MFNDxVDpiiAER19RcW2eR8LAYa8pyFprCSXSlz\r\n1rSoZWeAGXD/ZzCOECjq4n7tL3bsuq12Bjx8F5cC9it1AfYhX4F3MoeAiTZy\r\nkNrzLyPL/ZUhrTJvH8A+VU5JvJYLzu9n0lg31NwC7wHx6m0S0spp1GreZj4h\r\ngXpU9TAfh86BblAA/TqCJXgNyOYCulHRTfZ7DeEKIJLXk8lF2DY3Xfh9qtqB\r\nhoIP8QXDRoq60vnRuZZWiirC60oKU66esaPr8wZ4GAyIFqyo91cGiRzFKRYO\r\nZrEuZlcnKVNKbE+1uAf562buPZv3jpWSmONWBpLnEckLOq5PqMguSigoCWFV\r\ntW7TJ8Il1tr/e5v1IjzplZ3mHDQZ2GxUWrh/7xQjnSlF7hfI0zWSpNcDbg54\r\nxglSyN0Z/aVx++w0DVVqJ0gReD/5M+bGyC3fxZ+28MtBVg7t3fSDhWQhcyrh\r\njdqXeCEeysLw36Fg9u8nElstkUBUPx1Akb4=\r\n=WPcy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-bce4dd76b3983b222c70b89e36481a5e6f360bae-18.x/balena-jellyfish-assert-1.2.97.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-bce4dd76b3983b222c70b89e36481a5e6f360bae-18.x/balena-jellyfish-assert-1.2.97.tgz","_integrity":"sha512-e8p7vzXRym0rAAqq6yv8Eq0pBKN5UEaW5ZIFA5qHESRz5Zs1ATzP4+CRuMogktKVOWipZEGDCOfJnOqjjie1sw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-05T02:06:09.409Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.97-renovate-lodash-4-x-bce4dd76b3983b222c70b89e36481a5e6f360bae-1_1667614042081_0.08125058032965526","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.97":{"name":"@balena/jellyfish-assert","version":"1.2.97","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.97","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7d7cdcd466103f91735fae4cbde0ad91ec5a0aa1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.97.tgz","fileCount":9,"integrity":"sha512-+ObWyNqN4xFvG3VNEBnb42kTNy2r+amRWTMzmIVaXMjDZuhYP5VknzjUQ2/8zIYZ2vNh3ccUuIulFUsxjV8qsQ==","signatures":[{"sig":"MEUCIQDVHuwci3kGI8mN/0IbkZqCBW/oqms99t1YGTayUkHlmwIgRT1zvN2FtuQ9iPVABBzqfJdRr+d9HNTaVmJF0vXGIiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZcXkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLhg//RRRpQMMWcDINth712xmKiXTBbJG69zFAjCUEiEYlKbZBf9NG\r\ngd3iw0YPWRRYZnxg+e/huCWaQuHsNfoE055uB1eyOwcDcZB4GiB3aqmt/B6R\r\ndUWX+ye0Y0bi1DPY1t5r5p0xFqkKqdxbEmpd9K9GIvVLCPXV04d2rX4YbYr9\r\nrz9QAlPjYs9J73llQtRSVSqZxzqH3SxJmQdgyZeqrP/LRxraS8ypA40+A7a4\r\nN3FP2BLXovOvC+fmQ+rU7ojPtIM8yZpxmvucnCzwq9Us4wUcn71qBblpWoqL\r\nf/ZL7btjmT+XZ6FEejuaq51g2/kU73Auc6cyqeEPU4BEVOiKf/Kr9T6vlK7+\r\n6Chk0Iy4JfBlByUA84hrBI+xyTWbPPLce/fm37emEv/SsKbt0r0U4OMwoiIk\r\nj715BlVm1BSf0G01cluYtDJlln9/Ptneb89AytX7JEa7iKfwGumw3MMuKRzm\r\nhJoHc9mwG/e7avJqo8IixJELr8XYl9/6R57gY+0fGZult+ypTJFXywko12P7\r\niolR/LYdfLkz2RW213pE7UEx7d8+FMPx10P6OoRI/jxo0qpRTOFFHrA6U+Hf\r\n1JSrjsfhUzV+RpDPDZZ2lJPMz4jc9irIE9dZUfMCXuV/PUJXqJlbF22BqEyD\r\nm9RGRS4ZJHvtk3RTeag3PZvwXqB8rRc4gJE=\r\n=XcnE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/tmp/npm-bce4dd76b3983b222c70b89e36481a5e6f360bae-18.x/balena-jellyfish-assert-1.2.97.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/tmp/npm-bce4dd76b3983b222c70b89e36481a5e6f360bae-18.x/balena-jellyfish-assert-1.2.97.tgz","_integrity":"sha512-+ObWyNqN4xFvG3VNEBnb42kTNy2r+amRWTMzmIVaXMjDZuhYP5VknzjUQ2/8zIYZ2vNh3ccUuIulFUsxjV8qsQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-05T02:06:09.409Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.0","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.97_1667614179862_0.0855868061165217","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.98-renovate-balena-lint-6-x-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-1":{"name":"@balena/jellyfish-assert","version":"1.2.98-renovate-balena-lint-6-x-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.98-renovate-balena-lint-6-x-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"405e51cb3b5a1abf327ffd4cd88b838920996c5b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.98-renovate-balena-lint-6-x-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-1.tgz","fileCount":11,"integrity":"sha512-PClCwQiV56E2gPM0iY3biVSMwLkF9sC5Hopb/6h6ubQ1C7gETvNHdOEo4ZnHQwX3J4UH9tF9swkTYH18V36/7A==","signatures":[{"sig":"MEUCIQCE4Yc1pTe+xNvMdeoa5nUd1in9dmPGaUpARFKX60aswwIgFWrvR5eQDHygdFq1lr0edW2ZK3btJLMJf6ZLtRPgLfA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaSfzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpenA//XjVO+l3N2cX4W7Lc+jOhIF0Ebvb3shcJTMo0w+3uLYmAvrih\r\nIY3H7YUCqydH2LRFZv65M94iWS88OoD2z5n18DpF7fuj+grhPxceM+KBvg+c\r\nAvEac1Hzfo2kANqBdbwpWfFB3y9opdbvfVlqNQTfqY8xX2P+GA5DZX/cpu/3\r\n0IAeoQ48tAnKjLd+8uNAS9C92c3hVzpzTBj+O53o6Usq1DGGltYOYouTU5Qp\r\nmXpLf2hx4K6QvW/9/8eFjPzBSbTC37R6DFXUejF2bUyeCrn01Mpyil45ONhZ\r\n/c9xgO8R9xevPxzSP0zu9Bz4U+jd5o5LZU5xZpg0IN7V8RfLEYv0gRMUpADj\r\nrCCWneGxQl4LizOmcPJJKqYF1JremLpKzwnMYOZMwxoialxQinq0ywZfsiy1\r\npuWERqiTCpIB/Z/jf7XABDAwh+4zCq4HDcZRXdFtlz7lc+ZTf7ZNa8ZGxxsM\r\nF1QMnVx+GtITop43mE8i+B0FvSsynES3jHC6brIP36W6a/bRmEgonZ8KRavO\r\nwLjrbViaI97OSXEmAu6xzjQPQp2UND+sK1qA079sNG43e39zQvkcT86RgqoC\r\nm7UnPSchTVgZ95IqubJH6cuccN6BJjSTG/vdLFM0tOjzE+e1DLLAqg8ZUHSy\r\nfoxkU3FAHPdncr9w8htPsP5erH0HvyxxUQo=\r\n=Sa3q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-18.x/balena-jellyfish-assert-1.2.98.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-18.x/balena-jellyfish-assert-1.2.98.tgz","_integrity":"sha512-PClCwQiV56E2gPM0iY3biVSMwLkF9sC5Hopb/6h6ubQ1C7gETvNHdOEo4ZnHQwX3J4UH9tF9swkTYH18V36/7A==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-07T15:40:12.147Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.98-renovate-balena-lint-6-x-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-1_1667835891476_0.6398027462030311","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.98":{"name":"@balena/jellyfish-assert","version":"1.2.98","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.98","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"20f36d81f4fc8d1d7c66a35e95bb309ce77c232a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.98.tgz","fileCount":9,"integrity":"sha512-quDmBj/a4T5J0gkm0LSXMcrJXrcEkFJ3eKYHsfICI/69k+ZVPIWI+KCntmXxlTxCmkpxs8ZPZWcgAzR9aooCpg==","signatures":[{"sig":"MEQCIFA2dzrQTPvAknf2kzxGnd7fT3llvE3NBvHLnGLBq1Z6AiA29mBkgOJrfEbY62PwX/mY/uK/+A11lxwTBo6P5CmkVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaSh5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4ug/+KKeTL+hcIpWwKS3GS4l8ikFpQZa0cYpZkJP//VY7nxGW7ZVl\r\nmoKNR1PvXFcvBu+NWwQadHdJEOeQag/6MGE9rxLKW6X48cBffCZfYk+S6gnD\r\nvWRl9J8Xmwrau/4NuS5HtfW/yxThPA1k3SMV11oSIwhQWyi07d0D+8GhOyvt\r\nl+IEeoSrnOPRivp52KS598Sa77sHLIyqrWvAd0KfuZHq05mzybEuG9v6QLdG\r\nbKX+ThaHpVOzcDgZiThEnttwBF6IDEatV8LNtgld5irX3I8/Wx+OrNh0+9CM\r\nXs9jNVghEk2lerOkDMQtHLXcZrjtQW5NXUugUTg0su6a5kNr6+4kJ9OnNlX4\r\nUpzcRoBbvbdWUVnQe5PDs5UvOaq61cGKHbTgrOmn2zH1hF88fUdCekO7xgQ/\r\nQ0QoJpgR0aKsE7aAJJPfma7p7D6VgnxPlCXPadml5+19OJlx6yy1F0cpgbJr\r\n4Gk7hkQtKCnW2YOgdgDIWzMVJzO5ge/LLi4lnodNN1KVyOt0VdPNz9QuzyhY\r\nyo2p+pKne2dlPtmtOzNg1wfDaRTS5+YhnClghhFObvQpIIqB8EyY1RzckJ0v\r\n0KFvcYzhW4wMf/FY0Y5X8ZdCQUj0vk7D8hkX8/ApjRnEbfEyLTlvmFSSreC7\r\nI280R9GPtmN4ap+AXECR1LONVTd/nrRO/AE=\r\n=zAg6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-18.x/balena-jellyfish-assert-1.2.98.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-18.x/balena-jellyfish-assert-1.2.98.tgz","_integrity":"sha512-quDmBj/a4T5J0gkm0LSXMcrJXrcEkFJ3eKYHsfICI/69k+ZVPIWI+KCntmXxlTxCmkpxs8ZPZWcgAzR9aooCpg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-07T15:40:12.147Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.2","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.98_1667836025445_0.42230980865123335","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.99-renovate-jest-monorepo-9162c58730aaf38d35fbfa51110cf398a388b7f8-1":{"name":"@balena/jellyfish-assert","version":"1.2.99-renovate-jest-monorepo-9162c58730aaf38d35fbfa51110cf398a388b7f8-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.99-renovate-jest-monorepo-9162c58730aaf38d35fbfa51110cf398a388b7f8-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c2863257db37ecb5f9849a790900e4fc3b10cce9","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.99-renovate-jest-monorepo-9162c58730aaf38d35fbfa51110cf398a388b7f8-1.tgz","fileCount":11,"integrity":"sha512-NGzNdhpj/412F1y+QKOjI6UycMYo4UBl7HjbQBku7mUSBaN4ztvBeoG7kubBfb9ACHDFD7R9JK7w0TBMRSapHg==","signatures":[{"sig":"MEQCICSOwCzyVeKggMlDHuptXa9aIWV6cCRwueQllD0sRnOBAiAXbMdqeSz+KAuTMFuksatqyyUlZkPy/XYljfeSgQLHRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbwSzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSVg//TypHEdKhevGIF1DBz//etD/+M9Sfg9aZ+Sf4dXNB6uW73+y4\r\nHuf/dFABSYBJfBejWek1k/07lJTrGMpUu+En+v7AjkFz7lr/2jUxYCSqB/Qi\r\n1hsIw7PUTY3ZPsFzZ+bMSihNSDOxOxHcPynWo6ixEVFyY0k0Obj+qZ/M8Tlv\r\nB8vC5AWfpT639URTSbRZwCdUMRI9zWmAgu7GDpjSXCj2190fuisZGwlO0AEM\r\nj3xQXeOyj4ePyTP7s30QfXXM3VPOUuhJKmDQ/xHs/P2PqlUDVyJkRKMnvffA\r\nU+2tgyvvBHxeRPrjN771/P2yiuYyUyD2rRObUA2AVdXQUnTkACpIih77tUXz\r\nDjmRhpbynLROoBun0uzLDI/4CxkxPgTUghPhjtky5i3X1Sqr3vvED0Czl2at\r\nP86DAHThSfn6F7sl8t5YcxUZ9WQ3V0Hkz/jkqKkPjtvLtPVn7gBUhx1e+h8Z\r\nITVsTuFoXhcKPhSx5bVlsOq80azevFeuCAnUuc5WmmaqidpENuRCL7BbEhRx\r\n/kwYe6jvDUlfxUCtqUb9SQTdmYILZrIBr1KDSQcPVQq1uJ4ShT9FxshSKBeL\r\nJmgc7HERYqu/jW+BreaOHfmpgZ3ZQXegY6KTmpDikb9OF4Aswe7Vv5YP7TBg\r\nhE8HxIGf5vixv7QZsDT9LQEjh6CUBgCjpf0=\r\n=62lc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-9162c58730aaf38d35fbfa51110cf398a388b7f8-18.x/balena-jellyfish-assert-1.2.99.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-9162c58730aaf38d35fbfa51110cf398a388b7f8-18.x/balena-jellyfish-assert-1.2.99.tgz","_integrity":"sha512-NGzNdhpj/412F1y+QKOjI6UycMYo4UBl7HjbQBku7mUSBaN4ztvBeoG7kubBfb9ACHDFD7R9JK7w0TBMRSapHg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-12T02:26:44.932Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.99-renovate-jest-monorepo-9162c58730aaf38d35fbfa51110cf398a388b7f8-1_1668220083618_0.23012439307807098","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.99":{"name":"@balena/jellyfish-assert","version":"1.2.99","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.99","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f4e51db3adc43c680000e39e19c710a250702cc8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.99.tgz","fileCount":9,"integrity":"sha512-QeBNDygMECw1K3/lRmvox67skPU+WKkouySO/1wdVNyq/bi9hyp/2TINuTeHCSxEDTGpUtyNQCaprgvKDpxMlA==","signatures":[{"sig":"MEUCIQDFJ0SCBzyVoEHv7VnWjmQOfCXaP+QXy+quhlH0iPLpuQIgMmsM9w7UnRtlTyb54JOFVnBirT0Tja5fDrYWaq8DA9E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbwUyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcgA/+KxIysc//pOIrK+aVTHl4R8DLwAqjvYoxLNqpd90o/sgdgAbt\r\ngvi/qmyP3DLiWQWkIXkRCKtLeMO+cX91oDmvkVg5zX3D09a1kXN2j1VceMBJ\r\ngzsO0rraknCgmlBnGpNmhpSBw8wRWPDP8ffn1LVvhs384MLgvzVA2mhJjbDg\r\nLTNZth29uvcC8ez4cqaj4DE53O5EqyORqrpRbOFFTC9KYHwK3vjuJsbP18Mw\r\nwd9wyDvUm1nDCEFZKNr4msYt46LsTV6yYAQ27iCsoZb0B9zzbkqhJ5Xakz6p\r\n+oJ2H4fyqdaxO7FQ//qNtIDy/QZCXnsXyl0Tf7396YAvDQw5cUN9EYvqoM4B\r\n+50SbrxX1KG3bPhgXm8lNViGEJPaDgB+VRk5XSDsvrpSyk7L9snNPA+5mLQ2\r\nSsNqT0CSpffD4sBupg+Zb/z1LHsIrB0z6TBqsCWT6rPUDXqKsg9HzD6WGZbJ\r\nidmuSPwvltzHD6/CZ/uNSO94TAheW+kHitLLQIZL5YGTMkJ7lw0BRPHCgk27\r\nJ3RNi1kOZ08591v+7HXvs6tsqcyIHKNda3MuK06HrrAQcQBVCojuuT4kfE2U\r\ncz8myVob4OfBjQgMNj6IRJz6A7uHcS2AdnbxKPHic7aFOfNdZeo8aB8iuniv\r\nEzDaTjiYNhQ9Nv2+RaAJjPGcxigkoKIfRbE=\r\n=rGZd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-9162c58730aaf38d35fbfa51110cf398a388b7f8-18.x/balena-jellyfish-assert-1.2.99.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-9162c58730aaf38d35fbfa51110cf398a388b7f8-18.x/balena-jellyfish-assert-1.2.99.tgz","_integrity":"sha512-QeBNDygMECw1K3/lRmvox67skPU+WKkouySO/1wdVNyq/bi9hyp/2TINuTeHCSxEDTGpUtyNQCaprgvKDpxMlA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-12T02:26:44.932Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.99_1668220210613_0.46651408916597714","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.100-renovate-typedoc-0-x-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-1":{"name":"@balena/jellyfish-assert","version":"1.2.100-renovate-typedoc-0-x-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.100-renovate-typedoc-0-x-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a0a1a1cb40c9732a4566d514cedb1b629f8d9631","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.100-renovate-typedoc-0-x-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-1.tgz","fileCount":11,"integrity":"sha512-n9B3e9Z00oWHonxyaKmXmVcQdbrk8YiKzZx7AoOeMVXe3cGejyK+xOl4AHmi0YeANrZ1doXSLPMVdtC5VZgA3Q==","signatures":[{"sig":"MEUCIQD3gfNjzbLxgF7/oLtns2hYmE+fBVva5lgVcmdnAvagwQIgfeD9Z5u9o2CvRbx0I+OleOFMTASz8X5a+kqNfqrHaMo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcaYUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSCw/9FaWdQtsAn8XHDd3qNgXwMoVcQqhK4wDCA1NOlB93aoncSWTm\r\niVbd+8X6+EPmTERinTwDkvXUpoW8oKMDjAizEhd4Th67QFpGQvs6yy2/8CRE\r\nlBxfenx08EVYio3VNRRTll6n779rJEPe2AMDMdApCi5ETL5g8sTFTn8qOnPn\r\nT1vhz0IKHwWkn4fzBoOOFi5N5I0+h7ZJ/vHW2+Oejf/Xp5rFUPcLcsvmJxmp\r\nRvTIYJqh21V/tixkGUSmklDC+SwCknwEfopzTMc1nHF3vzdqnp8a1AoQDEzB\r\nOPFBkextv1EOaSvsYj3teDrXa8qeU4z2FIoiCQF0EB0xtOpssbKQa7+pUa3U\r\nukGHhE8NcrS4GC/25W2brxxEA9Y16TO4qBFfryBrMtVkF4QWcMj9yRa3dj88\r\nx/nLnslzeKG+zfdStgpPPEMOCpL3+UczTQ6zk1W0gyYgZkQ6yFXhXjJ4eyNU\r\nbh5L/w86YEISM7AAMFrqH63kiTaWrQgsBosO0Vwj4aQMrcbpUSHCrfdSrPL1\r\numJcU62Ggt2UR4ulX/L5JC+zC8iTVW4XdeHCJxXi5Wj84ep5NZpeKu6F89Zz\r\nGyBLbATbV4gvAio5eXMcdGIp3Hi7Q/Jg7uaiRsNN/797pBrRpxEGcrjPjus5\r\nnO7uLLbAxhCmObSyzSYbTNrSIOzc4hjvVWY=\r\n=Lj2O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-18.x/balena-jellyfish-assert-1.2.100.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-18.x/balena-jellyfish-assert-1.2.100.tgz","_integrity":"sha512-n9B3e9Z00oWHonxyaKmXmVcQdbrk8YiKzZx7AoOeMVXe3cGejyK+xOl4AHmi0YeANrZ1doXSLPMVdtC5VZgA3Q==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-14T02:19:50.293Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.100-renovate-typedoc-0-x-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-1_1668392468662_0.9146932607185505","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.100":{"name":"@balena/jellyfish-assert","version":"1.2.100","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.100","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"72ed1f261dd247ac9223da10d6cc64d1a6f8444d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.100.tgz","fileCount":9,"integrity":"sha512-LC/KSfyvEC0p+n/ABSQnBA6PrlBMG9sLFgr6ZySA1jxOL9gAzH8uHXotHOT6GARiYsYlhUlLOnZCreXpSZQoAg==","signatures":[{"sig":"MEYCIQDhtXpoEx91PSCkUXuRcmN05UtFOwB44ITlDvNtPjQC8AIhAP4LPI43yHatElSZ0jgxB2gmqrJwfTPpYDKScl5Xar61","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcaaeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzNRAAkkPnCFd0nBlmIiKT6Tlf1LOivRpuiCXjoGb1o8dDS/97bsxa\r\nfXa57gOJuVs06eoyEwuR/639hM3O5pJCayuzF8YpvlAKnKGozX9r1tH/wTu0\r\nOY2nBCEJUYQx/MliQWAasSBfM2Fuo4TYOgAQ46tjmUitod2DExZFL+vWlcd6\r\neWRyu1E6McorJm5B2mVDTZIGc1eCV2nr9oolAqx2pUqlJCl6bgq64upeOTXS\r\nTQrvlhWOG3+KPf5YIg8069PeudPT0lyzxUsKnQbMca/fgTOTNNygOTpSy7Yt\r\nrripRJDiIVebXkhXrBlhCarnal4supHNpn6SsBvpUwjDNuZE7m2UrtV4f8sy\r\noxBy4YIAyBlBKUkgp9WXGGTd4MYQDuIxMNugyax063U6kWKKDkO5OIT/29wi\r\naj/wYEuBz50yIFQikhx65LtrjjnZKVet8TJK+HcRPIjn7jV1idkpg1KEU9FN\r\nA5KLoWRx1v7/Q/narM7oV63+tMYGYdpsgmR0Ur9l13tiwQFKte1KiofFAMr4\r\nSDkpjCX6WauYSR01kaK6/8WW2B5YAuzEuRhZ2ELzXyMzG05iQC9TZMS1f5zL\r\niFXBD8Xc7jgtegzE84+p9TJY4wPypEuSHy2bQwqM1ij8uyq0yp+8lkinq0cX\r\ngS7K7Q3GBaA7YmVhDfHQXSdZn1OPbFI8Ed4=\r\n=79rH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-18.x/balena-jellyfish-assert-1.2.100.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-18.x/balena-jellyfish-assert-1.2.100.tgz","_integrity":"sha512-LC/KSfyvEC0p+n/ABSQnBA6PrlBMG9sLFgr6ZySA1jxOL9gAzH8uHXotHOT6GARiYsYlhUlLOnZCreXpSZQoAg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-14T02:19:50.293Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.2","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.100_1668392606249_0.8480472895078797","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.101-renovate-jest-monorepo-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-1":{"name":"@balena/jellyfish-assert","version":"1.2.101-renovate-jest-monorepo-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.101-renovate-jest-monorepo-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"d3c42368fb140cd0ffee1966bb48ec251e6b8f28","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.101-renovate-jest-monorepo-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-1.tgz","fileCount":11,"integrity":"sha512-d1HC3GLOZoSLh1qHMxlsWsza9lZDT63gngQUfPr0NR7ZBisig5EFnLfzJ2CmSCxKwRNDBKlQsnfTf6wgUICaUg==","signatures":[{"sig":"MEUCIHSDvyQ8vsEFD4P8dmWVyImDb6pYx+XI4luB40AxmKKxAiEAuX3ScHRpbXASwobe9P0GBRwHKW7HcOnRABvm/hVJK64=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeCV9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLdQ/8DFy2DrWFQ6jskvtP4GOHchOQjhle77hVFg5iyi5SCO9JLwto\r\nchmP4XAYhuOEu8UquFx4wQxXNfRpajwclwNbEWqV396jBJvO8xQKGlPhfZAs\r\nKthSfzDB4wuny+Yk5LfgnTSsWX+grNmerLW5OIEnvaxFfHFUrbb1JM5n9ijQ\r\nFd5tSXYDAi+fVOUqLZEcBVcmYc3b9ffXtSawbQhjfQcxd4w2G5GniGM2djDe\r\n/X4v693X/DAPC8l1V4zt50xGannQjvNSbuuRcqr4r3zUB8TmRrzO+7OdI4te\r\nQE16pqu8tT/C/LzUQKYz8Gujs/UEgMhb08HPbL8FQrYi+iVBUXcdGrhyQazX\r\neTsddg+OJ+oSzCsPTLK87kNoax7kICnTNXC52vp2SQy0y6i5eyysboosp/5L\r\nbaXiniH1vIHTzwVoRGtyDiQak9A7GpxnyIpLsCaK4r7EktFzu1zknRXRgcBD\r\nkVDtCK8csYYLx/DU5Mjl84T07ypp7TeFISUH8yyCy+TKKZQPwPu2ovjLO9OW\r\nmzFtZGDQitvnpSRy5r3dBbvWfEcvNeCt2VW0S+x/TYl0gwT2qdAbvfsbUEyZ\r\nQDWGpR50uFEiwgBekUI51xx4RHA9D9jv75Re8VNhBezNJrroiGTfkbL7tA/X\r\nwYVszU3dtlF2cs8kdj4s5BuKbEHGuqsCoZs=\r\n=pexM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-18.x/balena-jellyfish-assert-1.2.101.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-18.x/balena-jellyfish-assert-1.2.101.tgz","_integrity":"sha512-d1HC3GLOZoSLh1qHMxlsWsza9lZDT63gngQUfPr0NR7ZBisig5EFnLfzJ2CmSCxKwRNDBKlQsnfTf6wgUICaUg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-19T00:37:02.368Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.101-renovate-jest-monorepo-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-1_1668818301023_0.6658579547930519","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.101":{"name":"@balena/jellyfish-assert","version":"1.2.101","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.101","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"668cb56734f4c02adc3af991d31dc585ef0681f0","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.101.tgz","fileCount":9,"integrity":"sha512-vjHoNzJhoOsCr61vcDQJRbVTDPwKVQJQ/SdL/bMLo7VKXi2Zx1eXiCuSmg3+bxxSYMZhOHY4E01oJbViFYJfeA==","signatures":[{"sig":"MEYCIQD2vGrwIq0QTL1sqlR6nCJ3TcLQ5kwqHHlitVUxva+wDwIhALjkHmEJkJpX546qC+/jlWsOqdWOuq5grRwJFtH8ExcS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeCYAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCnw/9EILariDO9lRA1gKOGxCLvqyh2R0JcghmVaAcpJTA2/xaXzZF\r\n22bhxPjqLf8jyf3s+OOYUc+duDcfQt2Czwpuyi5kSK5T8MnGpZZL+EwVUKOA\r\nnrvMddDdT284A46buD4570hJMoQ0as+6qd6REMoIz2RU2pTd2u49VyaEgzBn\r\nhUvbFZ2szCrA4WEKys5PkK1ILI4zBzYrXpBJcN0tWeMT0jg80eb8dP59sGwp\r\n8Uv+8+ZE+jsVYBj4U02x/pNqYYL0/gvteTkxsxrRsJdh065OtBaPYdpPKcSt\r\nf4UBv6oig6M+xG4I7t0xSTG6fmcxY20Yqkaw5vu8IOb+4wWq6Wpo2GBWXoCP\r\nSObMDoFzyR3xJH74UDU4RyX2xVYDU0WK0BYHYy/cY4t8tNjSkfr0eqSHHJsk\r\nTkXNDVc3o03/dAtkUnwK7G8z8sd/S940TfjqEk/nGIgWGd2oBo6zklDJi7rr\r\nMBjCGamVCdTs0VA5YKOjsY4FOkWQV23CMsPiSZ1SOo8jpzUexspckKCqCP+4\r\nHfRBuYeomTFzCFGZYJisH8a1cW3F4zESo2GsFEijaHEmYisKQDyTkAY/64El\r\nvfZBdfS5szaiIAm50kbUUZVtCQnaPEnQO+2vtBUBFFODVxybAwclBTn3jgPF\r\ntJtSCPoVyYJGXPmOHh/NX6L1ZElXJdaVexg=\r\n=+K3r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-18.x/balena-jellyfish-assert-1.2.101.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-18.x/balena-jellyfish-assert-1.2.101.tgz","_integrity":"sha512-vjHoNzJhoOsCr61vcDQJRbVTDPwKVQJQ/SdL/bMLo7VKXi2Zx1eXiCuSmg3+bxxSYMZhOHY4E01oJbViFYJfeA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-19T00:37:02.368Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.188","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.101_1668818432696_0.5732493123847191","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.102-renovate-lodash-4-x-0422658a5fda650d6066a83304c8fe1f35cb231f-1":{"name":"@balena/jellyfish-assert","version":"1.2.102-renovate-lodash-4-x-0422658a5fda650d6066a83304c8fe1f35cb231f-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.102-renovate-lodash-4-x-0422658a5fda650d6066a83304c8fe1f35cb231f-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b3ee137778e779c48b9d4ca8c156efe583726003","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.102-renovate-lodash-4-x-0422658a5fda650d6066a83304c8fe1f35cb231f-1.tgz","fileCount":11,"integrity":"sha512-ErZ2YZXSJSxpIyP2VFzb+VlnohdrHb8pe/S546esNMWDce/SWxNcYDKto/aO9bk0T6Z/4U4zRvHHoGIZ5OiIlA==","signatures":[{"sig":"MEUCIQC79VfgNUuzsu4/lfgEVBUZ5LUjmFy38veaNhdxlngkzgIgdJZbuYvaaL9W/pCBTuolO9YcNDtA4CwvQjZkCgp8pMY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeCa1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr59g//RzPOsrVI74eRcWoo2VE6JskWcuZ5GTvZkM+umafwj+TBBCHt\r\nyMfal3KwtBxWDtGZiVW87rJ136KueAbG50utBLt5+3MPt8L6ex/vXMKzCyo3\r\nJV6armoq6vABe4Q4rydKPLTlqTAuVV1UGr6qOyF3j4m9Zzg6UBono53w4rrr\r\nj3WGkqVxPvzixfu2l8zthkquEbmNwPVql+GiUujTY/AYigVNfsksDbhP5l6J\r\n94qehfAoFqJe4FoEUm3tIb6xAKXF8Ck7Cd+DeDPzlXS/7UOvPWZp7JcXUVvx\r\nYi9y8vT/N5/iiZko0MZ3prCAEiZuf6UKZ9Tp5/g6sOBV1ubkcVPY84OIwZ+I\r\ncDo/tsUOikogLszBrmRqSgr1b6CtfdGP4i74c88dKnzP5sFWULHNHaPfq/3X\r\nL6IqMeKccEoSft10aQ2EQn5vaI6yaWfSk6jRevYjPzJnsyDRr3DDUkAYQt0p\r\n75OWXy7kSjIpMy0XRzZMFoWksYOwYvwLP/398IbCpEeSNbgG3EdCo26YntKc\r\nxkfgMsVd8btvOm04YA3s2t4Gh89pmypfFqbYUjOLhdAL1VKfUZtf8AXA+mYv\r\nZpyTRM/8+JvTIM2IMWgg0FlrPKRF986z5abUsg2VOW/hwXH/tg3DMGhgkJ+U\r\nFh0EydQDYH8JBpjXxlI4nJBMAZIOqzVdo/4=\r\n=X2kh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-0422658a5fda650d6066a83304c8fe1f35cb231f-18.x/balena-jellyfish-assert-1.2.102.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-0422658a5fda650d6066a83304c8fe1f35cb231f-18.x/balena-jellyfish-assert-1.2.102.tgz","_integrity":"sha512-ErZ2YZXSJSxpIyP2VFzb+VlnohdrHb8pe/S546esNMWDce/SWxNcYDKto/aO9bk0T6Z/4U4zRvHHoGIZ5OiIlA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-19T00:42:11.443Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.189","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.102-renovate-lodash-4-x-0422658a5fda650d6066a83304c8fe1f35cb231f-1_1668818613249_0.6380071041024515","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.102":{"name":"@balena/jellyfish-assert","version":"1.2.102","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.102","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"c1b318470fad7855b002969b5e01a44fbbb207f4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.102.tgz","fileCount":9,"integrity":"sha512-eEtwvc20S2ulxJiTK1hQtm15KHQKgh8k8nK9lOyJCDiMJ/+lDLE2BT4QovaNEDbyYXbKV0D1MdXQf0SqvRQELw==","signatures":[{"sig":"MEUCIQD09x7SC+7WD8ZlQysWiDCmoIwaaIDMQdq57nxurveFQwIgNRNmJno55eN1silQA6Jf0EBCWNW68laVJnol86/V29o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeCczACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOFQ//atWSfM0SQKmtP3/bVqZl4DOeUbG9mZVlFEUVl5kVwmCgSIiA\r\nIA/Em5/kZGeE4LIwpjJIp32woyJEolrUrK3qn3W2VkPBAVaLVKpKlfBCk4s2\r\nGSZOJ1CPMAcssyvsAcq5dKfpe43cCMCq0QqphOZA3TEeCtKV2slbTadoL2/X\r\ngU3Cu1cIbcjYi0qC8S1gs6BOVvo3E8Ws0Yz5DUjJ+67SwNc5xCuRj/CJTYs0\r\nR/niqFB+/x+6ca9LQD5YyusyDndhOZZVn58inBZkkPtFEBdHHu4UJpw5w8rF\r\nzYQfAlCaAiVCjuL++7DWh2mD4deutMZ7WcTZNsuG+UTFBbY+SoxeUfENBEgm\r\nyj8HmFuIWTbCcwe0gmlG3/1F5vFI2vILXC/oNGTJT3Q9eTheI/Ht136a5tpu\r\n6x0bvyqMcm8UDlgwWg8UoZ1XIQtwOH5J6TgMihpN7WUQKCXgsyQnRJ3gkONm\r\nKoFf1JO02/KFGC73k1vCk28bbu9PqT6ys6pxMNi6DnLU93F+wLLghhDrvRC/\r\ngHw228lQLkIZwWR6+nYOXftcQND73tHONUEMdBn5YU/kwxH3a9WKfei/IVwR\r\nFSjIhtk6VjX/npdoyYPbtFO9mTYH8/Sa5lI1uPZTcuN0CWH0zWedWKuRpTTO\r\npfQc7UyejYUPBXehlRAPY32OKQyPLUgIFm4=\r\n=QDdQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-0422658a5fda650d6066a83304c8fe1f35cb231f-18.x/balena-jellyfish-assert-1.2.102.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-0422658a5fda650d6066a83304c8fe1f35cb231f-18.x/balena-jellyfish-assert-1.2.102.tgz","_integrity":"sha512-eEtwvc20S2ulxJiTK1hQtm15KHQKgh8k8nK9lOyJCDiMJ/+lDLE2BT4QovaNEDbyYXbKV0D1MdXQf0SqvRQELw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-19T00:42:11.443Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.189","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.102_1668818739122_0.283819269169578","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.103-renovate-typescript-4-x-9bace4217f0d49a94e32dd424925681249b1be28-1":{"name":"@balena/jellyfish-assert","version":"1.2.103-renovate-typescript-4-x-9bace4217f0d49a94e32dd424925681249b1be28-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.103-renovate-typescript-4-x-9bace4217f0d49a94e32dd424925681249b1be28-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ef95dc34017c3ad93c152f8bc7d70c59c9a31c4c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.103-renovate-typescript-4-x-9bace4217f0d49a94e32dd424925681249b1be28-1.tgz","fileCount":11,"integrity":"sha512-6Vpbydh4CjOow6kxUOcoGNBjkPUbq4r3LQtFeSL7txt8dyxXcg6GP4IyEISMEZ4t4GRL/SgrJSWKEDUXnio8SQ==","signatures":[{"sig":"MEUCIGFqRAByyV3b9lgupAu8ngRF2C7QorqJiGyIPY4K1uNKAiEA1zavM0hhmFxe047jMsCJwAzNzCAmaz2q9/jWM1jvEz0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeE6AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOzRAAiEvENJ/y3qcEEG4YijtxyDptGl3LGj54PDaUgSeZqFcL9gOG\r\naJCddGWWsKBZBA4aH7dQONAjXpCLINhpaKoYfmoFQZ1US/2oNS4yA+29S/3a\r\np5HkO4rV/NnpP+clcOuaMjA4yFhFrjAr5cVA7rG85mQaPiGmyhFJPdKuuRzc\r\nEYYEFlHuDNuD26izm3zzeSY1j9rVOejZgCUHcdgHms+Hs/r91GbjDhmq1GUv\r\n09tPRRNKE17Ypr7z1qPoce6gXbIt5nuhe/zPtmF6YZrXvdFePEguiBUSWALp\r\nl2YTujgb1yioZu7zowlBhhljwQgiXZOkh1K3EX2Q59dsDVzurfcegdsFalo1\r\n7SXJbRI8cbxL/X90GLxBgexww43b1wLCqd1EXlYaOSm+PMD2IVCnTqQvaJ04\r\nwcU6ZKzYuPN9v48VEJIpGRD/yfJHyWD/d5Q73lL8hoDhIXEUNUCl/YEPzeF0\r\nBFzDdq8PHB0r5OMaeIuBwbQH5lpqHciBShaFeA1oVo+hjVIOX0A1JSXWvP4F\r\nXnmmhCoAb/bMiX/JusIaVChGonirKRn24/zNKdUTrW50RFl5/tBlN2psSuxH\r\nLvYFJh+gvY/OtundbvClwHJ1QdaP2aYM/vgpdiduQ7OR/x6LjNfChSL0Usrs\r\nSVM9ArTAMLTKIjgC5OyzI5fZqwKIZ5Q9bDI=\r\n=fC5I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-9bace4217f0d49a94e32dd424925681249b1be28-18.x/balena-jellyfish-assert-1.2.103.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-9bace4217f0d49a94e32dd424925681249b1be28-18.x/balena-jellyfish-assert-1.2.103.tgz","_integrity":"sha512-6Vpbydh4CjOow6kxUOcoGNBjkPUbq4r3LQtFeSL7txt8dyxXcg6GP4IyEISMEZ4t4GRL/SgrJSWKEDUXnio8SQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-19T03:32:04.716Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.189","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.103-renovate-typescript-4-x-9bace4217f0d49a94e32dd424925681249b1be28-1_1668828800578_0.10129090058312595","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.103":{"name":"@balena/jellyfish-assert","version":"1.2.103","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.103","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7c7acb6c4c599e12ccce8e5db13d8edc44c54074","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.103.tgz","fileCount":9,"integrity":"sha512-5IgeYbUTUzLqUa0OvnTLCDPaCIByCFr69++44HKVHoT5nOGkUk3RBtfqEt8w76lE0TutDi0X3k9XKxQ8VwJgRQ==","signatures":[{"sig":"MEUCIGkHhacEBCpc2GRC1K4dZCHpu1qzdnFdOuKhK31ClclrAiEAhmz6ZYXCEVbOaZbfT1QwqvtfeamavV9SlE+CGz3ah3A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeE8JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIRQ//crvaP2obGRbLr8OY8CVPnLNoPSWsnrf6TINjWEAdS7OweGOO\r\nVzhnFIQ/NAOVC/PUvA0K8LpP+sTiW79m5HqImH2dhMZ+cAmZTaHW/BzBx6Pf\r\nR/ri423aouE6nUhTntUpT0CO50a9wsUe2/8eqaBAjaZ+thLJ0PQbVvIsuCqN\r\nKJ9gHQlCjj4YLnU6X6ecbIFn13VYlrDuxQIb2QVbwRPvJczpkX/SxnlrOX7M\r\ns2Chs9XcTt/Pn7FH6UyA3Nq5Z8C644z3hyb6xPBtwV+KrgEqOLj4CaYBxY3t\r\nWEt7uc2S4I8El4UsHIEy0qME4YrEcmEjmE4wc0ZZGuYdvm3KyDQK3PX5odAV\r\nZhXrn0lqLSKOdiBzSDZy9AHjX28VtnJFWQKYz7SrrDczhjpM+Ah6B6oiLG5i\r\nWMOzBqz8yEdNKX8mSkoGzGjJM0IKqhuPv2912PUwrP9djwoBwJH+3HKWwzkm\r\npP2ijG9+81XaCX18kFL0iabQXWLEOAl+SS8jv3RUWhYzwp0FjcmQQ2DNypBx\r\nVbx3S0VwNycl21ENsa38AhhE6s6CpvgYj8//x6G0VrBqJBkDGLovTnnIoP96\r\nyAOYnlKZ6kEjZZsjuXfMPcfY/8XPIkCZ+HeJuTn4RxB+Tb1u2SQ7Dznpjxzn\r\nt5pOk4zltrkPuATX8dtTzB8RVCQV95d+YgY=\r\n=5oj7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-9bace4217f0d49a94e32dd424925681249b1be28-18.x/balena-jellyfish-assert-1.2.103.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-9bace4217f0d49a94e32dd424925681249b1be28-18.x/balena-jellyfish-assert-1.2.103.tgz","_integrity":"sha512-5IgeYbUTUzLqUa0OvnTLCDPaCIByCFr69++44HKVHoT5nOGkUk3RBtfqEt8w76lE0TutDi0X3k9XKxQ8VwJgRQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-19T03:32:04.716Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.189","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.103_1668828936756_0.10213108652033043","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.104-build-renovate-lodash-4-x-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-1":{"name":"@balena/jellyfish-assert","version":"1.2.104-build-renovate-lodash-4-x-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.104-build-renovate-lodash-4-x-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7d60db994392c4ac1de19b2a5d219594274a86fa","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.104-build-renovate-lodash-4-x-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-1.tgz","fileCount":11,"integrity":"sha512-3okjWtHRs0FKUVFskVKLRaPpVGO6/HMtKr3bJxF9Oo/c0fMT7oHsSAP73CHhfZ2y4ZY2xV0ObZtitI0yCrpb0Q==","signatures":[{"sig":"MEQCICzevOHQC5DgIdsnkuMoU/Lxkm+wDY4rKkRBlg2wVmMMAiBRnca6NJkIJqVPxciGT/pR/rvDi8SLpGnLN2nVSTaMAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgW6NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqo6w/+JR6yYj3O+aIv9tVM6cfY8qgxcgCglMWMy2ojdtR1Ozi3Abm+\r\neSfzCV6XiRSxoDrhVkWtdtVZQ4gy99a7L/gPMbeqndP6lcup/ioFf5U3o2+f\r\nqHV2JwBOM7NdECRfiqfeu7av9ntZ4/ABvdYIF5jMffxLbGH/tpun9qbcJ4uJ\r\nzq6lWkMiFvq9hb21HSzEGVx5nOarh9FXVL+uik6T2GikMRVnmMEPfiY3Xuh+\r\nhl7CUIJdFLicemp9tnNi3Gs+/qz8sso1VpqwEXtIpz3Rtn6AAWVpLZV+sa6J\r\nl4YcIufF6CYsfkdtO0MtsUTgvRMFLz4bZsq51c4pBGar70yp3jar0XjkcWFx\r\nx4Kh8eXlIzw7dXsDvV71z9AHLoSyFkvuhoc7UqPcEJwnH/AhLHljLr9kDhmf\r\nQxNVQH9Bc0OpKqCmJDU33HsYStFCbhfLAEfQYcmZ6epUq7aufQMGX+tXb+0w\r\nNBf9sRLlsFLFnEALwMG6q9nbJjHyATZBWtLAKdfYYcsP2weoIIgHMmekqSzD\r\nJsQZlApPE68ZvzTBEUERyPgjnizXY2/qWLpHkx1DkRfFs49IwHsRbyyaYbt0\r\n54IBnKZm/duTZ6y8Y6jurWBmX3m2qVXsF0yMNEnIflCIaNmEZh9ylNHMpVHG\r\npSM2WH+TBpU58KcGtj70vyW7FwNUnbnffu8=\r\n=phae\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-18.x/balena-jellyfish-assert-1.2.104.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-18.x/balena-jellyfish-assert-1.2.104.tgz","_integrity":"sha512-3okjWtHRs0FKUVFskVKLRaPpVGO6/HMtKr3bJxF9Oo/c0fMT7oHsSAP73CHhfZ2y4ZY2xV0ObZtitI0yCrpb0Q==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-26T01:39:09.845Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.104-build-renovate-lodash-4-x-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-1_1669426829627_0.11306153997903934","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.104":{"name":"@balena/jellyfish-assert","version":"1.2.104","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.104","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"25ab437a0bcd6110690f248d9ae35ca757474ca4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.104.tgz","fileCount":9,"integrity":"sha512-XtUAvb3whYitQgLUt56d3jGHkyXrTtFyiaXDA06YjpePo5Y6pNBeUiiR6fP4DLXxjM0K3IZ2vpNwU6YlXXtbjQ==","signatures":[{"sig":"MEYCIQCYN7Cs8qtOcFNpaqTn/a4nuUXTL8FY06wL4GImTjAuZQIhAP5lxGa8ACYEUcHGfxwdB6HEkyKmBoaXHO/EBEGhPxCn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgW8TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFBhAAhmmHDSKdz3iPCIMpelhqwj1EsDE3xm3dpOXt1RdHrYw6bmZz\r\nPX+1XNHgiszcl0CpG/F+g6n+HkOy/WV/T92/7cPTw5cLoyryk/XY4lDxJ8qW\r\nNesP80QXPWmfl1pnxPKPgVClAsHP/5Q3i48BLBYztI1lWLj/iWDg5cAaCDIl\r\nVWn36hSIcd93F1Mrkdq9az35oNzUywkCKpk2yA0tqqEq0Uqd8booGvLcYvjB\r\nt7DDyzwKZ7fIvWheRMAZlucdnP2GJReUqeSKTogLvct7foifJ0lKEy0u1Ugc\r\nJLiLP0mnM+a/lyXA4WwRHa/KTJF4T9Juiyd5+2zllfakejY8ZWDghl07gL5c\r\nFgoPnEJcFy+L+V7mSWbJkdhUZ+g60CLY2fypihxwhnaYQ944b294P+Z7CP2+\r\nm62BAePbytYt0ZLLXy79gzGQnAE09XzAdoSicldRuDy3CKfFXBKsoWVWlNTH\r\nXLzz0Hb2TNRi0sT/aot83Gdmn+0K2lutd5RQY/aecdKbmJ/P5Q1HYUrCRmeb\r\nhLXDF4oDtholbjmpCRHm5819sXEd5boFtkaZkjKHctuLIu9jFYHqBfyg8s1j\r\n1Zkew1pO/0TrubBeCt5uK34O3Vblgxc+nvzWx9XR07t7GQv4gjgqeTUyFYAe\r\nzHT6VCz64C1YXUsA8DZspRVrCShQTufZmrg=\r\n=WXU2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-18.x/balena-jellyfish-assert-1.2.104.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-18.x/balena-jellyfish-assert-1.2.104.tgz","_integrity":"sha512-XtUAvb3whYitQgLUt56d3jGHkyXrTtFyiaXDA06YjpePo5Y6pNBeUiiR6fP4DLXxjM0K3IZ2vpNwU6YlXXtbjQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-26T01:39:09.845Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.3","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.104_1669426963599_0.6184065614748537","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.105-build-renovate-lint-staged-13-x-c501972341c59fec4de9760da79f8c336eb5c041-1":{"name":"@balena/jellyfish-assert","version":"1.2.105-build-renovate-lint-staged-13-x-c501972341c59fec4de9760da79f8c336eb5c041-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.105-build-renovate-lint-staged-13-x-c501972341c59fec4de9760da79f8c336eb5c041-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"36c77f9116d6bee88968de74fd1e30b877f8f3ed","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.105-build-renovate-lint-staged-13-x-c501972341c59fec4de9760da79f8c336eb5c041-1.tgz","fileCount":11,"integrity":"sha512-dLSskb3w1/mZtm06JQC7BsI5M2izsPD5xR/Wbn0Yg3JBaIBsI3s8KGG+yocFNMrrsloaoRHcxv/H02r6VzE08w==","signatures":[{"sig":"MEUCICfdLXPUg3bPjtYYka51+WG6APDinNgnHs8PhrleiVmFAiEA2g+II41560lJ0fGe8r+Hi8RVqNqPAVM/u+zHF63MNQA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgW+tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+Cw//bnfULqfqALIs0y8/6t5C3d9wWsgsJIfMQ/PMUf3MzjqptVhO\r\n+tBHZ7oKVeLlRwwDfC5T00Tvi18sjIEGggbRdFnRuk1FBoJs5bn8XH4gvmyy\r\nSFw8joaPIEZuP5l+VmpiDv6bcCcVBihG9YS+H0rCVKblHyQoM+sJpzGr6PTK\r\nIw380SK13NySrXiph+jAagPRBal4HGrRvMeaEzoA9U3mRaEQGgwjx1rPaXGE\r\nqzGXKv4ACaEhXPvnT2q6e+5+ed8V3O1mnllkaZN+hd12bTU0MawJBr+sAwXD\r\nwQ3Lc/u5hF7/4pJhELW6hVjqni0FS0D6qu8Drg/GNhjWfZZmAjqlvrxzFEOI\r\n4t6XKyFehMZBoIIqI7vInjaxKdocD4JOCnscNLeB6yYz4q6h5wGv51ZBOHYn\r\noZJJiIDq9vUi985tQq5nXzTs9vlPpOF8HbNf82GHLbFS79ppRwbBzhKbdFnW\r\n5JmvgaVjavp2PVY1h8W6fjN1PZ0++EGHUViwPern4KSGKlJxIDpLqhHMxYGh\r\nVVT5ZFwJssg6K3TL3jygcmxXUz/8DbCuiamFg7VIYB0HOfpNmwPXWw+Msjh6\r\n5EiyJVv7C155R6qcwX5H2+WHKdI+WC3WIxdQAFEBnPTG8dzi0aY2LKKw0jLu\r\nlj0mtbeVEH/L7Db2bdKeJU44zPpMrcXZnzc=\r\n=qfdM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-c501972341c59fec4de9760da79f8c336eb5c041-18.x/balena-jellyfish-assert-1.2.105.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-c501972341c59fec4de9760da79f8c336eb5c041-18.x/balena-jellyfish-assert-1.2.105.tgz","_integrity":"sha512-dLSskb3w1/mZtm06JQC7BsI5M2izsPD5xR/Wbn0Yg3JBaIBsI3s8KGG+yocFNMrrsloaoRHcxv/H02r6VzE08w==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-26T01:44:06.031Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.105-build-renovate-lint-staged-13-x-c501972341c59fec4de9760da79f8c336eb5c041-1_1669427117240_0.9875588055137798","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.105":{"name":"@balena/jellyfish-assert","version":"1.2.105","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.105","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"1946e3afd66f286fe0e61638eb96eeeaaae9b191","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.105.tgz","fileCount":9,"integrity":"sha512-2QlH7FSq134EVU2KmQ/ZIqv+EuQBBAMheFaNqPsMGKuNZ0Gnx2PkdrFw8gMHaHPNsjkwN6s209R9nEzkmpiNSg==","signatures":[{"sig":"MEQCICgaZ6lg/QayNvVj1vC8EiXUTLUkG8wklVP5NuVbYZ+VAiBrNqtLW7w2sSfa6pNbr+LCAwDzQlnQ7f6yueMw+uI5tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgXBBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyLQ/8Cb8ltHrb+WO/8m2WIG7KbchSK+KbEsAg+sJyxA0CPrv5w5yT\r\nBLWpTnHiHfljhEVINyqx5C3owqVXT8lA4xy7wTjvTOce1sCO/jtyAOQGWZKd\r\n/yKLi3m5pbEVK8HYOf9k+qv9YLDD0+SU2jaltmfL5m4kTs4HzxjEXFe5sfcB\r\nfYG4x0+2N3vZkwXHAqcnuijGjM4WGU4Q8JYpk6RilaWKH9NPX+kQ3anJG+0j\r\nUlAJAeZHM9cR1rHHyNGfxhqrBJaYv5uBcp6yH4bCLM2TQ9QdHGz5IBfXvTSc\r\nEhPfaBk4at5hxwcOtLsiG11vrxR20QA75ulEYsr2G4eCaEKmCHijG8pv3+Kn\r\nEMC+V1rtayWhZPg6ihlZf9JD774Eca+GiNt+nDeXwnjmD3bXUi/LEzW1rKZ3\r\nPhCcXQX3+9+9hiQ2cVc0C84WjHdcu8MEYcDrYCUqBGu85kxZ3241d3s6/427\r\nQSpPO5ZAhe+bKpC4JUpceXozijzY+/CPpJhQ0ADclYASSzS55jaPFDldbOl0\r\nu1uBvZCuuRI43J7RIYZ0FhFdbLMAaiswTd3QztBu4L7WV9kaKqeNP5c1W5NB\r\nQoWDFTYnfCznvDr+lpudD//IFOU2MWPdfJXpPUGvlI6ZYNmfNh8qF/B8U+sz\r\nDGEh4XeIGUUW8LmxkBLwz9tGfJtUcVjclL8=\r\n=CAdS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-c501972341c59fec4de9760da79f8c336eb5c041-18.x/balena-jellyfish-assert-1.2.105.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-c501972341c59fec4de9760da79f8c336eb5c041-18.x/balena-jellyfish-assert-1.2.105.tgz","_integrity":"sha512-2QlH7FSq134EVU2KmQ/ZIqv+EuQBBAMheFaNqPsMGKuNZ0Gnx2PkdrFw8gMHaHPNsjkwN6s209R9nEzkmpiNSg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-26T01:44:06.031Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.7.1","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.105_1669427265621_0.14110632891432462","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.106-build-renovate-prettier-2-x-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-1":{"name":"@balena/jellyfish-assert","version":"1.2.106-build-renovate-prettier-2-x-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.106-build-renovate-prettier-2-x-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-1","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"4363ee5a86199daa4c09077a674d807ef19c3cad","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.106-build-renovate-prettier-2-x-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-1.tgz","fileCount":11,"integrity":"sha512-ebe3JPGwibEiREMZgK7S9Wvm7wfuvcGC0qMUrBoQD/Z12bQYRqLyobaAPUrndl67z3xe/wGlzQWu2jb3E2aDEw==","signatures":[{"sig":"MEUCIQDVvIcjUVRHah5XPehWD4JtWnVY0YmuBiNUIYIiocdC8wIgHKC2ZUibuZZQsOdfmlKbUx5yPK0wRpZAoh2bQuiu+xM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgZWXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6kg//aLlDBrCV6WJy9Yde2WaVKc+yEsX6KSwIZ9UYirsIxEMfS+xb\r\nLLawKXpYkMMlmtnL0VFDeiuRit6rCSUOFwGf9xxnR6Q8e7ir2S6ZFWKsgPRV\r\nAri3Z/MoDVdk1JUYiI8zWcVn3k5MWdYW+r4lsAoEAzIJOC8GW+dLXNN79WLU\r\nMvac6Nqjhq3681onZ5p0X2ZWcth6LEBuOb0zf0yex7Nbce3Wey0XTcXxxjRX\r\nV9V/LCPd4XpTI251E1JI48wXcsYRXkbeeN8hF8PcEwvi/dqJXt2j9lx5/Kxd\r\n/ksff9exB03GjXazymVfsrtiUkh8q+d0pJ49HnfGArpJRomyUoqjCwG3EIs/\r\noq7DjDwjoPG9ST1Gh5eZ8+Rrc0OQvtxh2V4XfGm2rgZFjOvftOdsC/kUpJUo\r\nAvg55LEW78mfIZDDX6uq7BTJSew61F3aRd7VOdexBoTxvN+x558JSQ6yTy2z\r\n9jC1BjsEZOm5OzdHciQXz1vSmbQj6qnOveL5KRe4OqlJsTHa4znaL+K2hwIG\r\nXLw3AC+NVO494ULHsx6JDQTcB9S4Ja4M65H9cDH+2uIGAkknH3l3Bx6rW8dl\r\nFAspqhLBv8BPNwX7emcVk/pLt07XpohgI5Hn+AN/b0wkNhGhlKQEDfOQE5cn\r\nPu1yQ7Gfb3ERw6cPQxu8Q3e6RsgBq7T+Dwo=\r\n=KNh7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-18.x/balena-jellyfish-assert-1.2.106.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-18.x/balena-jellyfish-assert-1.2.106.tgz","_integrity":"sha512-ebe3JPGwibEiREMZgK7S9Wvm7wfuvcGC0qMUrBoQD/Z12bQYRqLyobaAPUrndl67z3xe/wGlzQWu2jb3E2aDEw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-26T04:25:36.468Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.106-build-renovate-prettier-2-x-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-1_1669436823735_0.6018685300322413","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.106":{"name":"@balena/jellyfish-assert","version":"1.2.106","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.106","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"669086d856203443198ea7563d9aeb28a505cd73","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.106.tgz","fileCount":9,"integrity":"sha512-q6cQfxH75z3LKaDoVwfFdJ0wVPLzGgZ8+Th/Eg6r1sOhNldeEf4su8opaeOH3kfRkmS8vA8Kj3ULwcFp9iQEjg==","signatures":[{"sig":"MEQCIFt/eSsZksT51RTSqDenFI3qHl54+0fcSNmdzyk/9yXSAiBcQU/35eAYMbRnEEI4qM8CtGxb/OvEv72TZUQLoNxFOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgZYqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqswBAAmC+yoDjQX9wDnEOW0MEENUa0Ql/cEzXKy21YH70rWgCSm10O\r\nQ5H3RkjQ7ZeK/clqaL8CeZZ1Od3GXD9AfxnLhCUl8G7kN1YsaouXF2qLkdKe\r\nHKrA9atHceJMZB2fIZ4SXwlvHTxO3INtWr673Scp+vw5cpiYDMVNMo+fu79v\r\nBmauaRKkO0HkjamHL/XcIaOBLt+qj/G1O6KekL/m28ZpExtQe5zQeCBFnWlq\r\nFIuCr6OouUaCVGvD5BW7ozUbBYSUCVKyF7QN7KOigLFCcL3tWItjFoxhZOtv\r\nU7CNTZK2Uhrh8CDiR6ijOgl7C8zZnLh9nTTtqQKjAt37d5UiyB4WtX3BOsu6\r\nIbifdJrZuKWDP7FJRhcyQSbeGAQfJVRehgZHrxeIsu7js9hkthdM3z4zST8u\r\nYAmVFbMClH3oYfrP5PKSLrxtI+rW8PxtD/PB8ABIN6grJP3WWIYhe105Tiec\r\n2cBIfT0Tzhody5YKAa0a8OpkSu+n/zIY0B4FI4s2LMBqgt6La8BzSND25kW6\r\nu17SOHZ4lrbQ1U5be4xAykrHs0+8y+ZmZhU71c4AWZs8fm6C7fjyEqmjBsfv\r\ng0CAD/8KuaTLycWHGcmiLVEVVGAEVThoO+yW0gPk9VZ8a9hqMESzNLFnFB0T\r\nl3OR6qcFqUYmgnKN5IKwMBPI1dgMJkipow8=\r\n=RYpW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-18.x/balena-jellyfish-assert-1.2.106.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-18.x/balena-jellyfish-assert-1.2.106.tgz","_integrity":"sha512-q6cQfxH75z3LKaDoVwfFdJ0wVPLzGgZ8+Th/Eg6r1sOhNldeEf4su8opaeOH3kfRkmS8vA8Kj3ULwcFp9iQEjg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-11-26T04:25:36.468Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.106_1669436970095_0.6099007565324805","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.107-build-joshbwlng-renovate-87b8c7f436b79064a3bd296cb74e9169b5e921bd-1":{"name":"@balena/jellyfish-assert","version":"1.2.107-build-joshbwlng-renovate-87b8c7f436b79064a3bd296cb74e9169b5e921bd-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.107-build-joshbwlng-renovate-87b8c7f436b79064a3bd296cb74e9169b5e921bd-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2704c7b414bbee6b5efb4441c203e0409a2f440c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.107-build-joshbwlng-renovate-87b8c7f436b79064a3bd296cb74e9169b5e921bd-1.tgz","fileCount":11,"integrity":"sha512-rxMk3/MvNE3W9/6IJV2TjhKjqPx4Is5f+Bad8Ta7jpN6h4qpKiPIqjfJR5hDVXw8oRqCstQ1d7RfMTOCIT/rPQ==","signatures":[{"sig":"MEUCIQDwoLTaZ+Nz9neQB3rtoPu/4n5cyG8bJa48RRg7Dho+/QIgBSsxSFYaGPj+9Wdo+mgk5vg0HE/kuHOwuJyElghaOkA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl8XHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUCQ/8Cgy4nofxJ5JVPEP70nsJR+MvRTcP8jNstZc7wMOIIk0Mc2Nw\r\nfbNtEMLvz31/5Ibk9gRo6GBM1zDwqnL1Eodg2ZEufsJ31Dzw3iQYzE6aoPkb\r\nVP5pKwM0bhYN+KUIIf4HPr241rIBMdQLamle5afL/Q4nHnt99zi82gyBXlqN\r\nJK1K+UGKoAEQBAX62WjikbYb1Wt1IDaVDM4P1O6hFDJsBiv9iitjFIGvKckc\r\nbPef17uS5Ta9EiY/lvQvvHOp9B4XdnjJxCbiaiuyQxl0zwZtA8xN0fMTozWi\r\nm1slWsPXRil/BiPJve2zkRlXMjASreDH/gAKlQU3IITw7u9kk1A+ECaJWb43\r\nC/G8aDx60K326MHY+tRsbHXGJhJyCKTNNozhdUFkTBtwtBSHWe8X8T8yb+RD\r\n7av0hVr4JV17XQZBLI4s3aVGLsiXazRMXy4GFoiPzlr0Pdo5HNb/qfJwS4VS\r\nKvO3LrZX4zmTNHvogZyID0QiNfcpGkpzbVZ1dF4xp+JI8m6X4K4iqE8V/EWl\r\njER/F1DRCb6hYSIUEnxsJB6SJzuTgtgDPb60G+2/C5/thP6AATTnK6Y9hY9X\r\nm8Tj97+AUnct12LBhOGjryxvbTK/Ve1y3fsPidRwts4YhCoP1ICfMnnWcmlj\r\ndUELKVPn917BXi0AuBuget3RwoWrjRAFU98=\r\n=CgNH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-87b8c7f436b79064a3bd296cb74e9169b5e921bd-18.x/balena-jellyfish-assert-1.2.107.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-87b8c7f436b79064a3bd296cb74e9169b5e921bd-18.x/balena-jellyfish-assert-1.2.107.tgz","_integrity":"sha512-rxMk3/MvNE3W9/6IJV2TjhKjqPx4Is5f+Bad8Ta7jpN6h4qpKiPIqjfJR5hDVXw8oRqCstQ1d7RfMTOCIT/rPQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-13T00:21:22.204Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.107-build-joshbwlng-renovate-87b8c7f436b79064a3bd296cb74e9169b5e921bd-1_1670890951499_0.01843718299107966","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.2.107":{"name":"@balena/jellyfish-assert","version":"1.2.107","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.2.107","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"97bbd4c1769f345a16b2b114a0f2e135c75e9626","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.2.107.tgz","fileCount":9,"integrity":"sha512-Evdeg4a5wg4HSzJ3bliID07EfkaFKwWTk6KlBXtieGs/K4A5u2EZTIsekm4uA0v6epPnBNoZmkEc7R+AtLGV+g==","signatures":[{"sig":"MEUCIAp9WPTqVyu7eAbXPbHDcEzS+1cP+bvbHIQz60cU8P0kAiEAr+ShuoozJjhSC7IUnXShBtyn3kfyRtO09yTptXUHP1k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl8Z2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFDg/6As64nVLhLzceASRWG41bveXOwtj6jKtr/03m08yBW8Y8Fp1z\r\nc+K3WkLdmInxbEAxSs/YyDRSi++ECebFKPp6RhHvaDevKBnASJZxVyUg1MnU\r\n+lxN6+Xqvsdlv9rwAvtpdvVI1K2r8XB0w1nNtpw09amKrBAjwvp8vsmXTN2J\r\n6cNT+EBJyL9kyrb/mGey9IksxzUNy1lL2fJb435yTLH8WVoHZxhNcT/O3M2F\r\nqtu73eu3B6GPFXqAbgmWwYQbb24BTseUDlvhVsvViG5BuCTe/KI8Hj0IiF7D\r\npUr8qP6Z6DHbpYNsXTxudEPZ3bBBw4mlDjBlK0fdn6bAuZrTAwg0mZqVr6mv\r\nLrbB3FPbSytDLcE40oHF3zEJrFu/6H9E2eAA2maVF5A9gEudgO1mas+/Goz2\r\nGhFcPWGKRNTgzTDGdiGecnQD8T79U9U55MwERaQSQMmCBpXOGASCvx7y4JPC\r\nBOplsbvAHLAnrcAnfQ/pegGr3dzvKbuVs/6CkozTNCRZQ0d3BMOuYwYoddwu\r\n2pUQyTtovSKrHKCZ3B3t08k50Eoe8z33tg5rbNEy5rArN2VHAAmC65NJ4+kN\r\nF36AB7kCHfjFqDlKhMCY9dI9f1IZZyGlEuuNZTbWsbfc/Y4gD2fx1Qni4roz\r\newdounoLP+OT7heb8IRdqAM2yExXzJJI3zY=\r\n=jIss\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-87b8c7f436b79064a3bd296cb74e9169b5e921bd-18.x/balena-jellyfish-assert-1.2.107.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-87b8c7f436b79064a3bd296cb74e9169b5e921bd-18.x/balena-jellyfish-assert-1.2.107.tgz","_integrity":"sha512-Evdeg4a5wg4HSzJ3bliID07EfkaFKwWTk6KlBXtieGs/K4A5u2EZTIsekm4uA0v6epPnBNoZmkEc7R+AtLGV+g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-13T00:21:22.204Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.2.107_1670891126230_0.5381562653829934","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.3.0-build-renovate-node-18-x-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-1":{"name":"@balena/jellyfish-assert","version":"1.3.0-build-renovate-node-18-x-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.3.0-build-renovate-node-18-x-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e647952074cba68321ff8bba01caa9c6e18ac3f3","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.3.0-build-renovate-node-18-x-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-1.tgz","fileCount":11,"integrity":"sha512-8mjSNUW4HI5Kqpkpj2gO01OGZO59SeR/CtAQbHCIXPXOg2VDO9CqB0X2Dt772b6dLGAK9LOugVPNYBLtyHln7A==","signatures":[{"sig":"MEQCIBY1giTdU18N3SWAncLLAS7FyU/6JHTE43Rzvb1dabh4AiB02f3La+MP9KYHNNecxUyBT6u4lC/hhxCChzzZ56pw0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl+uoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqezw/+OTf9mFsy8Cvo2ljmEUCr84YlPb1cSVGHLMrU11WIn3cZahsV\r\nQkmw45r6tUjZJrWm00mtpCV46A3v42dcGPKGWEWI8q3rDoUsGC4pZFwKxoUl\r\nU5llhYSTtohrC7UXXCEl54643lbA+7O5QhouKrn6VcxSxhM4yJi36QxH2rkh\r\ncJb4nfoD/TJ5LUavMh4zgkJu/c4qRGTT8HYP06CZxZ9V1ZOcHoiy3gMzt+Vu\r\nVk/berP7StIyXWnfASqYnRFPkWtTRDckz8dqUjcUJIrrACWlA033jgi8bUCf\r\n3UqZUfSvZNpt7eXnoEL2j8aV9kdvBHlMu+aggVOH68x3xDX8Bbq5V6jmosyX\r\ngZAkQ++rkAbiQTMsRW6NJtPaxiMJDe5RGj8E5zh05bUmYKZBR7xXWwkXkFY3\r\noZjUOknxFo+EIcgTDhhDp3AIqxO684P0Gpc521y2Dyg+IdW7jnA6NGo+QKVY\r\ne7Nxxtu10AxIZqhkqN8soClDLyx+DXabn/r5tOTiGqQBPsbJJwnn68QGpmyP\r\nbJstQPgQJSzJhJKesGLArSfJZxuN5AHR8nakzPqjZ/7G0zQ1XhjzAUSnsbKZ\r\n0K4fSzKv3ej2hvz7g81caynLgjoWHTTybrO0W2vi9xTo6s+03ro9yNy8oFhb\r\n4Lcgn4qfvwXGwLjRX5Qv1t1lVd93s5CyoX0=\r\n=3y3T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-18.x/balena-jellyfish-assert-1.3.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-18.x/balena-jellyfish-assert-1.3.0.tgz","_integrity":"sha512-8mjSNUW4HI5Kqpkpj2gO01OGZO59SeR/CtAQbHCIXPXOg2VDO9CqB0X2Dt772b6dLGAK9LOugVPNYBLtyHln7A==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-13T03:02:56.414Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.3.0-build-renovate-node-18-x-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-1_1670900648418_0.2530713828508766","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.3.0-build-renovate-node-16-x-799da0eae63543c106b510bd13bf7337af27b3f1-1":{"name":"@balena/jellyfish-assert","version":"1.3.0-build-renovate-node-16-x-799da0eae63543c106b510bd13bf7337af27b3f1-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.3.0-build-renovate-node-16-x-799da0eae63543c106b510bd13bf7337af27b3f1-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"79c1981a2e8c215a8c172e58e066872a70562471","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.3.0-build-renovate-node-16-x-799da0eae63543c106b510bd13bf7337af27b3f1-1.tgz","fileCount":11,"integrity":"sha512-+9HfdfD4ZPLO32cWmTGIQTGUMeQhDCnFu+ocJWyiOAnvMHrIi0c/WZN28eKz9cKTukgCWTpJtMYRBcllXcDR0Q==","signatures":[{"sig":"MEYCIQCB/PcaxIDN8uarnVgvUxUjOAp51U2EJY9cRsQkNASp3gIhAOfBvJ9oIvFV9hT2wlagbaFObhTRQdhr54JDnbSaI+/g","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl+uvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmornA//Wfz9tTtrNOgB/ta4796NHIUcUknBCFEAm6sXjPgYmmPbmwXk\r\nXenh2EKiER6GpFS/34rYKCANZJShgWenpmegGRUo2rdf/2sMYL0XRt/ONZaw\r\nm/78BQqlJxn7FwSPzG0q/TTchBCP0RIDfKrR+STKBB7+jYsU1rO2Is2+iwNO\r\n8xmbJxYTg9l6+7P5U12/gDGN0MdomRA/QnjF9vYlx+/JIbTmybSJdEfPXTDD\r\nSwHKzfnQk0Ya3kWvVCA9bNX9gUN8AQ2zwNV2rxH64qtMrR7EDMiUYiHaoiHJ\r\nYrAm3Jyw414bvEoQZG9ziNJGExl96pZer4zGYvLzIl4fYOzVV3UUVnsNLWXn\r\n1jcMyrVGM/X68mNEwktBpRtqW3mKKImGMms6xXmuigCjuPsH/EtM/wk205zr\r\ntof2ztyz/cNcmvYbPHb2qvWRn8vTy1J6XkZbaxzcHkqVl+pTcyat+Ou737XE\r\nrMk6v/l2TsqgSi4xsunET8lJOcNML7rXoNpks5hzx8hDMN7otWZuqrYZzDgO\r\nJDFy6ZPBhFQiGDNQLF0J1M9586ZSSHApD5k/fz1ftz0CSWG65Xs7bFg0e5a2\r\n/9PJ4vpLL+5NLwGejlUHW8GaKc44F0g3VtT0oOdGBAnVWpZiOrrrvI4LFxPR\r\nmO4lS1kNcfcX5An+lLwUuwuBjVUW+MmffXo=\r\n=mAMr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-799da0eae63543c106b510bd13bf7337af27b3f1-18.x/balena-jellyfish-assert-1.3.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-799da0eae63543c106b510bd13bf7337af27b3f1-18.x/balena-jellyfish-assert-1.3.0.tgz","_integrity":"sha512-+9HfdfD4ZPLO32cWmTGIQTGUMeQhDCnFu+ocJWyiOAnvMHrIi0c/WZN28eKz9cKTukgCWTpJtMYRBcllXcDR0Q==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-13T03:02:48.493Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.3.0-build-renovate-node-16-x-799da0eae63543c106b510bd13bf7337af27b3f1-1_1670900655110_0.8947157064271647","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.3.0":{"name":"@balena/jellyfish-assert","version":"1.3.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.3.0","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"59aa41927c569d6c8b9a1b7e60e0a6c246aca954","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.3.0.tgz","fileCount":9,"integrity":"sha512-c7w8Vy8LYKPFPgnQhDecg6qSqEBwL9zReHPEeNFWKWGHFqGGMjbM85J0KUob/Tkbuy5PCx4MjUfDoztjaOP4Ug==","signatures":[{"sig":"MEUCIQCmj9Pi+u9EYcWmZHIgkgod9iy+9sGcq0Q2Vhp/QE1+NgIgCFmY7a21olsmnFL8ARADOMnJMbvEv0wo5vrRY/3R4RQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjl+1bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHGQ//eeX1g3WK3FzJNbMjQOwzKtazFXLXsGKtpiobiKVLIaM4S4Fn\r\nsu4JZg2AaBeX2cEEbNH3+pZtJU7MEUfsCTjuAB+LIFIvT1nYNzWNbJFB/JWR\r\nqwdUlZDa/iQolAOR+cP0L+8pvF0MHQ96/pXimZKLFdxuqfQU0Gv+qiFjHwKr\r\n4PHAtQT97YCwpwnHjp4o2FaJf2ufXq3jdUUcuE09tfe/lerJjLxI0aK1zlrs\r\n2CzGLkMen++QKZqsxRRhEiYX5lImSKUXMXRgXYwK+8+JFR5H2J2L/ioPNrcx\r\nzzV3hV3CKc8kLxHfJTbjqL67V4QWxpu3yI3bkD4GPM8GVm+zm4AL1gnaFQZ6\r\nX1LulpqeZJ5w9uDLJoH8HRTQ/KARE3UPheQoZtCru71EoDktE/EXmFXl7toP\r\nI718yopuBVZFB2I7BhDzxBBNCfPjUjLW+aqhwBjFbLDIAYFoxjw+dhYJ1knK\r\nAvp33Nu5WPPxwGqw0pi7eJp8XaySxbYx+u2WM+6TEydx+B8JfUfmLtUnVVpA\r\nR/HPNS7OrwECOp52prttmutvdSQA/iI0BVfA6G1jf7W6wU50Ef38ZpgYpQLG\r\nipXA0Lj3mQH5Ux2BzOxhU+zcggccWj4o2dQZS2pADkBxQ7cLmHHjexYNqIxx\r\nTXAOJKRASnKF2AeZL7qnNiPgtNzQLNFPRlc=\r\n=2lMM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-18.x/balena-jellyfish-assert-1.3.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-18.x/balena-jellyfish-assert-1.3.0.tgz","_integrity":"sha512-c7w8Vy8LYKPFPgnQhDecg6qSqEBwL9zReHPEeNFWKWGHFqGGMjbM85J0KUob/Tkbuy5PCx4MjUfDoztjaOP4Ug==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-13T03:02:56.414Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.3.0_1670901083511_0.9130640540932522","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.4.0-build-renovate-pin-dependencies-e5b45dff435a835c3d140a804cd9485649e7db03-1":{"name":"@balena/jellyfish-assert","version":"1.4.0-build-renovate-pin-dependencies-e5b45dff435a835c3d140a804cd9485649e7db03-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.4.0-build-renovate-pin-dependencies-e5b45dff435a835c3d140a804cd9485649e7db03-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"2caf1ae9c3f31618444417c647e444deb6a451b8","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.4.0-build-renovate-pin-dependencies-e5b45dff435a835c3d140a804cd9485649e7db03-1.tgz","fileCount":11,"integrity":"sha512-6QyHrKz1iPehE20wx30ka0pHO0vYNgzk1LQi5cCuDL9OVWz8buko0ebCEYdTQzrb8iiLcttXPPuPh3CD0jxb9Q==","signatures":[{"sig":"MEUCIFLqCITmzQnHnt57Lsr0wSzsZsBW+uyofVVk0KBU3KnyAiEApZCcMeBVFjT8UGfz02d1nmNZJTeKwVXH6f5GnhvHcHI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmJ6iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpjgg/9ETLBw/gXHL9z8xHnthy47piZhigWClcPs++e+sMdnTTn6e6A\r\n7Pp/cZSZT9V2lTUR1WZP+HJMo6Eu1Vgv32g70L9C5DPuLakhG/2wfA7Fx2VQ\r\njsB6KNZO/z68hotP32hAmTHjVyckMiwPOpang6TtbuyxzVzM+t07lkvUKm27\r\nU0KPnvUNTENmOj4sA/bNAK1aM3jBIjAZaTK+MVd08YkeK/eITsdgSrUaVaak\r\nzARLcxK1Uug2DbL499ih+TKBkMCszCHHOvTMTSX+k/jfZhJA0efKG4oDiuRm\r\nPPvKZtCTTDck5X+QyBnpr8zjw6o2zax9g6VgcyGagczjY9j5aGLJj0tz0N4B\r\n0KOAPWXjOVmr3s5ZZFRcobaaPYB6tKXd4pwH+abkg1BQvwa6McbO1lrVO57x\r\nQGNTUjvJRI/bauGlhM1r8GvLGh2IErlaY9/tJpzyOLd4kfVARxpHsekO0roO\r\nAxLNCdj2YjVskUSr2K4htisqIpD+Aos5aH6XDAPj9Y8Ko3d/MTXNUXRqS9GX\r\nVe2xp+rZQlRplwYVofGgf05BINoi7dPvrMUshNHxnETfjQAEhm0tam+AtN7y\r\nIxkR21vSM/HHYP2kUD8mb6Pomp63tIlJeEj/oFTOB9pZtJkFgNelEMOzZJAf\r\nWyjExFKveeev1XgNozt8w0Xwe8CV42d5JkQ=\r\n=/IEB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-e5b45dff435a835c3d140a804cd9485649e7db03-18.x/balena-jellyfish-assert-1.4.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-e5b45dff435a835c3d140a804cd9485649e7db03-18.x/balena-jellyfish-assert-1.4.0.tgz","_integrity":"sha512-6QyHrKz1iPehE20wx30ka0pHO0vYNgzk1LQi5cCuDL9OVWz8buko0ebCEYdTQzrb8iiLcttXPPuPh3CD0jxb9Q==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-13T15:46:37.158Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.4.0-build-renovate-pin-dependencies-e5b45dff435a835c3d140a804cd9485649e7db03-1_1670946466788_0.6835999845325125","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.4.0":{"name":"@balena/jellyfish-assert","version":"1.4.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.4.0","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f8f2736cc6bdf5086412a13ccfd97bb220ea74c6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.4.0.tgz","fileCount":9,"integrity":"sha512-wwMpROFLfuLQLMVX2GVjqX/BsRMogXnd+9sFyPECmjUE8aYRgVwG2kU4WoZfcj9A4phzaUBP3ckLdLvJs7/f/w==","signatures":[{"sig":"MEUCIEXlL0Rz9VKLgd6jsP6roTa37brwXkuL0ZvCZPdZs/WwAiEAnTwDZvxg2cuPeT2joW8KaTNhSLpVxN55LbkZprOq+24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmRhfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/zQ/+MFagUfkWvqWD5rirScNR7kMKA1fQG7gnSlXSCGWyzuh3zPyj\r\n0jCYFbVBbuCJ7v/YjvWHlPRTgoLrRW8JOyZs6FvIMtj7nlacO9YpCKSBatSg\r\nvDoU8NiAlQp7QMVve0mUu2i/NBhFR9bY/xkqjNiki4FKWEkmJSbjCw1SFLQL\r\ntLY1T66L8rwtMwJuOvmLykAIQT+8VF3KOVV2fAzwo/b7nz9GNIaq3A9gzcbd\r\nPoNAxTZKrhvonSkGbQ50aoPEXfxZ702MN9LFstLcKF+SAwt24h9UQJkJu05k\r\njwmSCjTllHMAXwH3zvpEUZLupWu/w39+W+ysu1QIRTDkFkSXj9XgIkJdr3Z5\r\nPHfh+n6zifPENg6b0x9Iz/B3gkFE8kgeJvibjKe7/4YrfFgg/oxL6rVlT2Dx\r\n4Xl/MKlZqOLYxdpmbeBFuXtcAkQt0u2sw05BSlS6Elw4NAP2+WyPEbI2fISY\r\nUOZFGM30qt//MaLGO++0wAGFa9XIMN50DqmjsEzksn0u59lZH7OyC+JY1F3O\r\n4aZJo3aQCglgZq7r6bN8/TjsV+DzMMs4K7TeDLjjqKy5MOrgdZPK+/YvWilu\r\nyUXorPG68kwW4taNlUbTv077QKc9RJmoRmO8brPxDqJVLGCCefG/T3PsaueJ\r\nKnI9TeNOPRhdfp2Tb6cJ03BDVafZLhBfjJM=\r\n=USic\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-e5b45dff435a835c3d140a804cd9485649e7db03-18.x/balena-jellyfish-assert-1.4.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-e5b45dff435a835c3d140a804cd9485649e7db03-18.x/balena-jellyfish-assert-1.4.0.tgz","_integrity":"sha512-wwMpROFLfuLQLMVX2GVjqX/BsRMogXnd+9sFyPECmjUE8aYRgVwG2kU4WoZfcj9A4phzaUBP3ckLdLvJs7/f/w==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-13T15:46:37.158Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.4.0_1670977631733_0.7103772034501763","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.5.0-build-renovate-github-codeql-action-digest-a0d6f4593f5673adcdf481373156fccad55fcdc7-1":{"name":"@balena/jellyfish-assert","version":"1.5.0-build-renovate-github-codeql-action-digest-a0d6f4593f5673adcdf481373156fccad55fcdc7-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.5.0-build-renovate-github-codeql-action-digest-a0d6f4593f5673adcdf481373156fccad55fcdc7-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"564af6ce353d80c96340ebdc6fa4058ffcf64776","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.5.0-build-renovate-github-codeql-action-digest-a0d6f4593f5673adcdf481373156fccad55fcdc7-1.tgz","fileCount":11,"integrity":"sha512-3CUTEbZUCeskV18Ew53oavuxle418gqXNsB2sB0/YTH42WUCX1CzIHccqDUQsFiJM+CdCn4x/pJdWCjGsovWeA==","signatures":[{"sig":"MEQCICa7YYgReLhULnPUMQLB0gSJlU7Fl4rfw9kll3Krvi8WAiB1LmlNFgJQO4Or6PAWW/vzo5DVqJU0t4PJyrk+YjqkUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmeJNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJ0w/9GEawF7TnJCWi7ziego0a03BLdy9UBBX1OR+XOkhyvCWo0STq\r\nH6XkXY8K/gl+aTOaeZTcb1Jk4Uqe3+wd+s78rxr7nWcxfLH2DY+hXxn/m7Xt\r\nBvgyxZESkBrE8EtdGOaS7s7e5lw0XDEGhjE72E+o9ydH2a3FtuEHomyQx6dS\r\nP1Q/SvVJlH8LKxXzglQr8hFLEQky5q2adeA1owAEye3sdtaUgbi4OUpf9Zhu\r\nbjtGu5aJgLR8AAt/AJJxncTWrUudSbkL2yuIWmRZNvSYXnqgFeVZlUhJO43t\r\nADJZF/RIGatuiFQD/TGSDlRMt3sZ7TAt1+n6OgiAoej2Wfqwav0WCxSvtQ4K\r\n+Fj94Sbu4ajw+dN+DNilOKm8HIk6/IJvxI3j0z3EbLxiRDI/YL5ouK1kQ/z/\r\nhW9cii1aPDgu3aSFZhVf3EQBeODUx+5WNCSGqkAE16/rHYsyz4UvrxOhd5tX\r\nF3lIAEO5Emc1MJpETFcfw2+v9xLpED/Fvp/HSSC4bYo/ta6sQtuFkuW100Fv\r\naJxfZeHwXKf88rGzwhjxBTT6A6tTHkbTAMp+STmM6rM4dYV2Zi20h6/5vqPj\r\nVpS46hizEXLMm8BvRGPsnTWXfT8iLae72yFGr8TcBtNzyS9Xnv9fGTvSM+lW\r\nwhCZmRz5Ck7k1T3hObW0gCIxM15phV0a6Es=\r\n=dQx2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-a0d6f4593f5673adcdf481373156fccad55fcdc7-18.x/balena-jellyfish-assert-1.5.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-a0d6f4593f5673adcdf481373156fccad55fcdc7-18.x/balena-jellyfish-assert-1.5.0.tgz","_integrity":"sha512-3CUTEbZUCeskV18Ew53oavuxle418gqXNsB2sB0/YTH42WUCX1CzIHccqDUQsFiJM+CdCn4x/pJdWCjGsovWeA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2022-12-14T14:47:27.008Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.5.0-build-renovate-github-codeql-action-digest-a0d6f4593f5673adcdf481373156fccad55fcdc7-1_1671029324893_0.4959609062325194","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.5.1-build-joshbwlng-editorconfig-db25d7742f29c05d0060b57a8450c68b7568ffe2-1":{"name":"@balena/jellyfish-assert","version":"1.5.1-build-joshbwlng-editorconfig-db25d7742f29c05d0060b57a8450c68b7568ffe2-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.5.1-build-joshbwlng-editorconfig-db25d7742f29c05d0060b57a8450c68b7568ffe2-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"65d4006688be5ae7be6b25347203c96b12398abf","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.5.1-build-joshbwlng-editorconfig-db25d7742f29c05d0060b57a8450c68b7568ffe2-1.tgz","fileCount":11,"integrity":"sha512-Mwep15s9nvbFZF3jR6FRZCRWrqtb6I/ed96kVa+8nDFxMmOonlKitbQj7JmiFNxDDOqEL89rkqhjFW6I9J3eiA==","signatures":[{"sig":"MEQCICopN1FO+S763DNdmQH4gAzy42n0pbijS6B06LQfD6tJAiAjhCYdMfrKTlulM9AIW+cQjxjXwjWRNLz4PMo1qSwCUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsVC3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHvRAAkh9AmPeRVN1z4Gh5+AvXfWvgWi97rZ1DQMMErsU8QFIs7qLr\r\nmrUtbjQ3v8An3y/46qRcyRCPcNuDqjEGFjyrgl3GvaSK0iLIbree/uvi33uQ\r\nDQEAdXI62pQImoN3WxsUFHhat4S9yFf304s0MqlxLOvBkHCZMchc7vrRIVyk\r\npFruRHjmR1KeSbmOMxbRyyzSs0AD/jJ25eoyxdnoUUXxzKHSKGtjI22BXsDl\r\n1xrtI+TipbiFOl0z4w2/Ml2/FKrDOW2nkQTQivyWfoGW9/NyBNapOpc7yTxr\r\nDlFC/H6Djfa1QezpvmktW2bOL/s8mCYS1LwwIoe25gXn+Mf4IBBiQtadbQzb\r\no0q9SVADJcTC/5C6SdM0t/yiw8fNugglRQ8xxJ8t+68MT24TGf+zDk7TYw/P\r\nBKH5VcV/6mWL+jh1eGaEXTVpqJZGsN/nHvyTVNSI+bEGlBqPuxTQf5cVLNUj\r\nCBrXTXdqW4DnvO4hq6xySzwmwf1dtn3vYxVdD0C8g5bIC4E4iSkXs527NT6U\r\nMZrys8qWSQPCy0E4zLX7FDAoX/7Rqjgt94rdU3FqYIOzNMEpzCnfjSfNQu1U\r\nHhfSpKQ6flLmbEEnaQQPf2G/VdLUgsnWQ6sBEJcuNg4p/trqa6PQLvNVTm5/\r\n+ld8E9904mxRnF3bts6MRW4EDOoakXohwvo=\r\n=oaZL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-db25d7742f29c05d0060b57a8450c68b7568ffe2-18.x/balena-jellyfish-assert-1.5.1.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-db25d7742f29c05d0060b57a8450c68b7568ffe2-18.x/balena-jellyfish-assert-1.5.1.tgz","_integrity":"sha512-Mwep15s9nvbFZF3jR6FRZCRWrqtb6I/ed96kVa+8nDFxMmOonlKitbQj7JmiFNxDDOqEL89rkqhjFW6I9J3eiA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-01T09:19:15.325Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.5.1-build-joshbwlng-editorconfig-db25d7742f29c05d0060b57a8450c68b7568ffe2-1_1672564919393_0.9437491835775143","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.5.1":{"name":"@balena/jellyfish-assert","version":"1.5.1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.5.1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"77e88cd156f8716089962501f4c24477c2e4c41b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.5.1.tgz","fileCount":9,"integrity":"sha512-9F0z/QE8tA7TWqucowCxB6ysTZHuzluuYkwN9ces4XWSTrRWYMTgS71nqFX86DW2nbDkGf40hJOWQO3XLrW4sQ==","signatures":[{"sig":"MEYCIQCc5KP0mjiIxvcetFNyu1KRAKhULNxF4Y4iOVbgo0eWkQIhAIzqVKqIHWrsq7pfyHnPPxsrnnO6RFoRGmpm+AMcRllX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsVFMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8GQ//YXrGaLwPSVCxOkqvaYZz1kPCaxeUNn0uQOXRyl2sz50L6Bya\r\ngEHSw4winTqPtPAHWOxo5LR1tLkgzTEHrdHqE576CVpCl5yUOQ0u8M6zWLFZ\r\ngwXFyVtLUnjuGH2LMDKBbigqsQ1Tarnof20VYfQIZEWTx3Ufwwq8olcFYozG\r\n7n7aZqzunTeDNBHpDqt9mmCjPCQuPIMiC/aVxYC5TwepMC3wwmaFkADCqa2k\r\nN9PLm9FfEyNzTs/oa7irkvOfB4NQ4w43Jf7gQiQ1Ot2YpzD1db3rrdFP/gM0\r\ncK4T6TklU7Rd0TDDfb2nS0jMBUL7f1xcHvFZ5T0xXmchK0FuCz155xvaPsWF\r\nI+D8DntFq5QOzNS8GTyOoVH6JADI3i5ZmH6lApjaSCx55YsrRFyEieTLSiLH\r\nQRViNC27Qc87gkYR2AeWisWY7KhtAaTfNAkznfvWtGdDsm10soec4NBEjhCG\r\nN+QDCqXt9u3PKdMAEWjmQDUpz5xVT08qxkO1LnTKLdqrotuCBGxpQCJaso41\r\nEaoa03iWs5ZbzChpzZ1ndsncgkoo2UyS0mXmlRy2gz8S2Rm8mm6S4ePOljjR\r\nVVJMvnNtOJovPzb7/+35549sciSi/6OeoJ6h0rGatNwz02cI7aUqFWijkfRV\r\nq46iI7t62B8mrjMLLR044AB7+kjhzVeJJ1I=\r\n=6J5c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-db25d7742f29c05d0060b57a8450c68b7568ffe2-18.x/balena-jellyfish-assert-1.5.1.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-db25d7742f29c05d0060b57a8450c68b7568ffe2-18.x/balena-jellyfish-assert-1.5.1.tgz","_integrity":"sha512-9F0z/QE8tA7TWqucowCxB6ysTZHuzluuYkwN9ces4XWSTrRWYMTgS71nqFX86DW2nbDkGf40hJOWQO3XLrW4sQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-01T09:19:15.325Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.5.1_1672565068662_0.7295293592460665","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.6.0-build-renovate-actions-checkout-digest-b2a39ca833041c07da455403099e63b40cdc71c0-1":{"name":"@balena/jellyfish-assert","version":"1.6.0-build-renovate-actions-checkout-digest-b2a39ca833041c07da455403099e63b40cdc71c0-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.6.0-build-renovate-actions-checkout-digest-b2a39ca833041c07da455403099e63b40cdc71c0-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a66950554ef9b5e64aae40572458ca74441aeb1c","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.6.0-build-renovate-actions-checkout-digest-b2a39ca833041c07da455403099e63b40cdc71c0-1.tgz","fileCount":11,"integrity":"sha512-lsdpICI8p4rS0pUDtskaQeOosdCP/XWZ1OqtrAwyogXXrW8+/Tm5r14U2MBpQZ1+nK3bixGGIhpZ8bvxOs1EqA==","signatures":[{"sig":"MEUCIQD8x8ROnEc4P7dlPucEa8jgKzCq8bTURPDt5lOdI5qzVAIgLOcb31o1SpZBgaJwvDuG6ZP1vJmfNsNiZ5HUe+jezmg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtuNzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopfA/+K4nCihogw1AJ8GwMF4Iz/5l9y7Wd4KhBA3K8hyk/2l3A32tt\r\nAAJoFAZfHMJnIhecdvl1POS38eo0iBMULQs/IZO7OiUQ2NQ3RxwQcRyKqkGL\r\nEwaBokgaxKLdCtOWtsX5vakIlAsIm9JBiQkNYXfhrSeDr/wa4o2pkDPxj5NO\r\noBffppfS3F3Yazc70jNnWg+wSDOhEslYgyXdBU/2e7YJDemy60hxHjeBlrCL\r\nMfoVOYRBgTmmKzIECAnJOlTXtOjHQ+eyO9ub6zluYXA3Lhs+gZegL0NlFqG6\r\n+wdC/EPhyyD9s6zs4wwA90hCYLpvYFJbHhL5VBxKyawJZbwjgqsRf7HIC/9T\r\npdYMrXZrgel7uMLTnN/THB82Iv4/kQr/VGo3bbEP+2T5BaTNVJLrEUfPFqxl\r\nu3/Di2fMKr0QxJk9B/2WbG7a9/A81tHcReLxp56zaIjYaFT6gVhF8NtCvOFK\r\neGPKZe27zW1z8d8benpit5nQYdTakTFp7d/1MvjOl1nUmFQ/bOV06LXO5cU8\r\nBqav0l4TCd/SJKediFYFbHXmIXUUsPhYDT0MT0x2ApVAu6m7LKHFExhc6UUA\r\nejvGsmJ2gaSCSCBgrrNbfLM7z8p2Xj3cqkuAtXFBcS+3pb0rDkU8mm4Nf5+3\r\nfDvqV3O77Y3S2c9yjp2CMJbhMAr3sk4ia10=\r\n=YNeH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-b2a39ca833041c07da455403099e63b40cdc71c0-18.x/balena-jellyfish-assert-1.6.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-b2a39ca833041c07da455403099e63b40cdc71c0-18.x/balena-jellyfish-assert-1.6.0.tgz","_integrity":"sha512-lsdpICI8p4rS0pUDtskaQeOosdCP/XWZ1OqtrAwyogXXrW8+/Tm5r14U2MBpQZ1+nK3bixGGIhpZ8bvxOs1EqA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-05T14:48:09.823Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.6.0-build-renovate-actions-checkout-digest-b2a39ca833041c07da455403099e63b40cdc71c0-1_1672930163113_0.6479343304099114","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.6.0":{"name":"@balena/jellyfish-assert","version":"1.6.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.6.0","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ef43141d3e597976ad73a4619db7fd9e64a97efd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.6.0.tgz","fileCount":9,"integrity":"sha512-XJTVj261FHmdjys/12b2azQefGfz8XICCrPp8nfb87GhZIq7q80OEEsN3uHQi5os6J9LwFTQT9HS5L9RVtcM2g==","signatures":[{"sig":"MEUCIAS7LrDDUKTBYO4t+98MBGA3MVtv88dj1aca0nkLLJV+AiEA73Lbn3wwpTZ5IZzHRtIEdoADz1/PguMZr/U4jCMooag=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtuWdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHow//YoGTvxnGDKlFAVALDk8N3Em4IRyo7ibthtZzv/9ISdEyyQX0\r\nweu/MLbSaAMo5VHgmiWbIEXjpRgyOOjZYTm3oym9UG+JFKKyelb1Rx/bIkY7\r\nh9eSTwFh6YMnZ5Vctof2RNdvpvkpIOXbOw69dhqPSQZ2dOY5F2YF7/XiKolY\r\nO+mo4ptr+kPJLblzAX6D6UfLFA1i07zsb/vgAw0futSnA8u4lRW8ObJ0jfiK\r\ng2qeD8ip32aj6cgG5fVWVdzc2UTIrMl1pwWP87yRzhh4mGPzwkWH5og+MVI2\r\nBESqnU4JPs3C323YNDuWt3pbAfPDXVurj/H2oz2UbuomLiQDXGv/ix8dkgIC\r\nRB1NrlX/nXkcEqmYAEulqJb05nN6w/6UmXxedLLxjZuqlICQlIkbjSvm1Zlb\r\ng2VpVRCSRZRb7Fl+I3qqMPMxHBE0/OQxQFJad1fCZ+ZJbof3OeFT8IVC8qxf\r\n6XeoBVjwK+MCzOapR8RrDAOZuaxGqiqks0GKSvjAKu73YURVloaU3edqmMY7\r\nKwd5rmTtZkBJxvj5Tu40ZUCeC5Bwm/yzibWPfYx6DNo3/72dbibNty6PdrSt\r\nfJYIR3Jzdn/gmPeFss+juUUK/wL2tnCl91tdqjE1IgDKpBeo2bKdHTvHEib6\r\n3E5vJ2e+5nhxG0aaD3lq6SeARoDcdNQr4bQ=\r\n=hh7C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-b2a39ca833041c07da455403099e63b40cdc71c0-18.x/balena-jellyfish-assert-1.6.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-b2a39ca833041c07da455403099e63b40cdc71c0-18.x/balena-jellyfish-assert-1.6.0.tgz","_integrity":"sha512-XJTVj261FHmdjys/12b2azQefGfz8XICCrPp8nfb87GhZIq7q80OEEsN3uHQi5os6J9LwFTQT9HS5L9RVtcM2g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-05T14:48:09.823Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.6.0_1672930717543_0.013724008116347663","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.7.0-build-renovate-node-18-x-1c49ee13ce8307889baec8eb7da3ee1e4592f361-1":{"name":"@balena/jellyfish-assert","version":"1.7.0-build-renovate-node-18-x-1c49ee13ce8307889baec8eb7da3ee1e4592f361-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.7.0-build-renovate-node-18-x-1c49ee13ce8307889baec8eb7da3ee1e4592f361-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e63931a7bbfdcfe527347afbc82c214b4f50fe5d","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.7.0-build-renovate-node-18-x-1c49ee13ce8307889baec8eb7da3ee1e4592f361-1.tgz","fileCount":11,"integrity":"sha512-aQc2sAXYjfrgYTRvaLxCzmes+G+BWz5OmOhFMh9qEpZPEeEP1v8VlqiDfABZ8O6BhYZBaea9pYU+5j/lu/0SPQ==","signatures":[{"sig":"MEQCIGV0cuRF7mSm+6fWuvji00xiYOUKmfkGYRbX5e4xSx84AiAVLNboL1OczQaQ7ycuwFM0myOtswhRWCarnohqLHQnWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt3R3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosbRAAl6qB2ADppFzXR8eCMSj2KwVS5yc+QllKeP7rVMdyRGDEEUws\r\n/or2z0B6zofUzIt4YNhgaicsvCWnGmh5/qRC2arJ7IvkdVvaZGELUNo2759S\r\np1hXLfXsgg0EtMTtayjL6WOXQ7r0NxvXqT0sfrLHNvIqnFQqqLhj8TqIGMR8\r\nCNDmSw0UFpgIE8hWtSx0LBlqvNS1oAInCms9TO06UzzWPpjXGEXJ5gMYK9iL\r\n84iIPCyFSIECFObO/adE4aMjhkMHs+xggZm7qkat1hX4B/dMjwnSrr2yAG0V\r\nVFyCM6KXHpprj8hVrmnDQYunypJmasmpeG6IQmgwtbgdHAjK9BFNT4qhjuvs\r\nb7vxfNeqk+r+kASIHPoO0KcNnB0xKvpVy0Y8VkRIJdzUU7TNrrjTQojha8H4\r\nWHuLGtURPNAJSG9LsP3wbsEqtqfONNAacbmkR0WCga9sbTFix+4vecHLbAAy\r\npZmiUid5axgwTVhyAssbwqaW5PYm+lQz4XusSsbnfZLjXKNDMU8TWxV6y4/n\r\nJqZH7No813ZGrsVPkrhLQex4HxXe9Er/QFezTDYZvuGSJCdxQm8cGpOQQmeK\r\n1IFB4x7DTWIGI7nNjEEcI71po2kOPNP1IgekXTmdN3SVDPlXKMAHgfOgKAt+\r\nTDl1opHV8XqP86/HkWQD1anle8zbi8N6o0E=\r\n=7fF3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-1c49ee13ce8307889baec8eb7da3ee1e4592f361-18.x/balena-jellyfish-assert-1.7.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-1c49ee13ce8307889baec8eb7da3ee1e4592f361-18.x/balena-jellyfish-assert-1.7.0.tgz","_integrity":"sha512-aQc2sAXYjfrgYTRvaLxCzmes+G+BWz5OmOhFMh9qEpZPEeEP1v8VlqiDfABZ8O6BhYZBaea9pYU+5j/lu/0SPQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-06T01:06:38.017Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.7.0-build-renovate-node-18-x-1c49ee13ce8307889baec8eb7da3ee1e4592f361-1_1672967287530_0.985616775476561","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.7.0":{"name":"@balena/jellyfish-assert","version":"1.7.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.7.0","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8a3e96f7afbf48c56f705e7c8e35a89278a7262a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.7.0.tgz","fileCount":9,"integrity":"sha512-DmBjf7N1c/Aqh7u6U5OGhlZ53yvkads/ntvQ0cG+rGlttBmS8U/dprp9cwk94VZgpkivVsKqS4ZtLGl+QQMKgg==","signatures":[{"sig":"MEQCIG5pIyVq1tptPOjlw5Ry0S4FwrUnl8ccGHqAEfnTt8MUAiBVdhhTZ4eQ9EJqViEAD8l/Gv28U7QqexLTm3DOoGJpwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt4PsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotOBAAibOLJda3CwE4CwqVPP5lEW4I7LQgq7KLOVzf8MuQy19Mid08\r\nn3je1yE4ljVHXzYuYJE8iGfawhXA8wZr23XR6N75nnvdTUbMVogqptRerHip\r\nVklA1GYOazR1bbVig1D3YOQ86Pa77qVVRHCCeCP5tKnJ1OFKoFUY6v6eK9Wy\r\n7GmLgt4AyWLGbLnqywhHvQtA9IO2QtlMyvNxXZN6fTaLGjAY9XIAHrAk6QYK\r\nNUJq2sLWA3gcSLEcOyWuFe10AD1GLQn+IDv4kE8g2rlDF5k3qh20ge9m8R6W\r\nVptb1TVPtI+WpYMrz0RZGiUuM2Ij9ivsRdgoC+vxkKYZAYMfXXncDnlztU9K\r\nRBWVXSkskVi9fJ8raRr7jOsXiWzMO6c8pi+OxigNxK6VLr68ST+G0NswfUHq\r\nRXtIqB7YNmZHganGc4ty0DKGwEAIDD1JjUVod9uyKphBuKSh4WyX/BRsTcR0\r\nv1FuCre73DZIyo5lpSXxqqqri5kzRfTd1NeMwTB8BMb9a1941e9XiV2y69vK\r\ntiwpBc6tgMz23wBHCCtYXijhMEsTACKRZ/UzPS4UzD6lWnviwWjkiFkKNQDT\r\npQk4jeV/itAdwfHpjffBBzYyKvyCOUFXZs7/fSEt30Nuk+cvL1V9Wa6Gh/6R\r\nhkOxdYTCSVJkUoUIJcMRwLMq9bSrhm+8ao4=\r\n=70+W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-1c49ee13ce8307889baec8eb7da3ee1e4592f361-18.x/balena-jellyfish-assert-1.7.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-1c49ee13ce8307889baec8eb7da3ee1e4592f361-18.x/balena-jellyfish-assert-1.7.0.tgz","_integrity":"sha512-DmBjf7N1c/Aqh7u6U5OGhlZ53yvkads/ntvQ0cG+rGlttBmS8U/dprp9cwk94VZgpkivVsKqS4ZtLGl+QQMKgg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-06T01:06:38.017Z"},"_npmVersion":"8.19.2","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.18.1","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.7.0_1672971244738_0.1418971520006238","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.8.0-build-renovate-github-codeql-action-digest-a77fb5b0e655e7cb45af3fb90767de499b35b865-1":{"name":"@balena/jellyfish-assert","version":"1.8.0-build-renovate-github-codeql-action-digest-a77fb5b0e655e7cb45af3fb90767de499b35b865-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.8.0-build-renovate-github-codeql-action-digest-a77fb5b0e655e7cb45af3fb90767de499b35b865-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e29346dea30f55b3f54025eba3ca03efea379cbd","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.8.0-build-renovate-github-codeql-action-digest-a77fb5b0e655e7cb45af3fb90767de499b35b865-1.tgz","fileCount":11,"integrity":"sha512-P6m41mlRKwNdPFnKMX1MH0lu4tbcz0QqoXccmC3TY04PXrLQ7N8+wEaf4rn/QspeTM0CrLQkjzxbrjLaZp6+IQ==","signatures":[{"sig":"MEUCIGW8uRqKhRO9TpB1mFOu9C+PXLRV6EVMQkRRryJubViHAiEAxPlNOfch1EDrmTb5bDJ+Xs4HFRwCJP/KrlHxb7Os5Kk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjv+X3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGrg/9FW7Owj0hmjlzrznW4eKGaaz08q9+tKNtYvyNfbJEY151yf7X\r\nCM+mA+ExnInWPr1ntNe36ccET91JOlWP0fzVor1UwuanXmkvs2kysmXVYSil\r\n+9sWTZ/xi0HNyRZun/nUIbY8umadED/wgBBtMW/96bOTfNCuMND5zTzJ/PdT\r\n2ljKwbObpvpLSaXmf8NxMZoB/ItNwGW/EaUq7prnSYiyt8R2Ic0k8FPPtqMW\r\nzh25s3WIK9Vx63saB5OnLZHRmlrVIpPMNG/owl71cpBI0j9QN/7r6BeP7cvI\r\nHJBAmebfm/uEvmrE+UhZmiRz2tg8zOAkY2MMtkDAuDY0YNHMjX8LxCZRl9xX\r\nnLPZdM3vWn4/2SY3IZhkvcemjTfahVSL6+dl40GVnN5sBEJK+gsK1OlDu319\r\n71agzj/1ozebE/tK0wwl9Mz8EC1m8LJbkTd20BqubDRSfARDIgy4Ty8RohtR\r\nkPrj/A61N7Za5kWBzLFGFcHEhfP8lInwjBgrjrnBZK5dJvu8SI9MxgB0E8df\r\nAtTJfaLAJF8Vvyd3W2t8CDcoPb9oi5hKThhxx6xXTUFxUKJtagUR2xcWG3e4\r\nwDV8RycH3EGHUiZp88pl+WvW2Gwtv82wNrsoZp0Ebn3n7s18Y+IeBoflzZEY\r\noYVNPyXaFlpj0FT5KUH8sEdAmEK2h5FR0js=\r\n=4JQY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-a77fb5b0e655e7cb45af3fb90767de499b35b865-18.x/balena-jellyfish-assert-1.8.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-a77fb5b0e655e7cb45af3fb90767de499b35b865-18.x/balena-jellyfish-assert-1.8.0.tgz","_integrity":"sha512-P6m41mlRKwNdPFnKMX1MH0lu4tbcz0QqoXccmC3TY04PXrLQ7N8+wEaf4rn/QspeTM0CrLQkjzxbrjLaZp6+IQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-12T10:48:23.940Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.8.0-build-renovate-github-codeql-action-digest-a77fb5b0e655e7cb45af3fb90767de499b35b865-1_1673520631412_0.1617749435008622","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.7.1-build-renovate-rimraf-4-x-8f97f4820787f88b3fa640797412487a5a5d6f17-1":{"name":"@balena/jellyfish-assert","version":"1.7.1-build-renovate-rimraf-4-x-8f97f4820787f88b3fa640797412487a5a5d6f17-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.7.1-build-renovate-rimraf-4-x-8f97f4820787f88b3fa640797412487a5a5d6f17-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"6e54361eb521ca55bec98ffc842040ee14371a4e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.7.1-build-renovate-rimraf-4-x-8f97f4820787f88b3fa640797412487a5a5d6f17-1.tgz","fileCount":11,"integrity":"sha512-ffxy8RtBaUbWCTYcjzAfPiNczviat6Sc4gUl3n/hiRJwhmP8sdIMR4VMJlDuZS13+qrHic4/ymy2DxEygoQHLg==","signatures":[{"sig":"MEUCIHvu50bU4qXApJoq9Qr5/HAo+Zrl5juZZ9Vx56yElFttAiEAgeDtsSd6Qq4ONNjmbLo7M5t1X2w9rUY0Zd6r7FSVCNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwK9IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp95Q//fcIFcerNZaC1i29CHAyvzp+HtpJa18prT1Yg9lp+2KwuuPVO\r\nIunU/3Dop1NjeuenYN/4xl5U9KypsZiRpLQaGsjAGwpjcZid5V1mHI0KwebP\r\nmqCTfHPJvGKRVushzWO/KLrcJ97GTpkcTiWEiSFmkKzhObliR4bGtge2TmSz\r\nVHj9X3/7zm0s+45ck0RlfIQq1YK48HzE0LgKtqzmOERKKwhkAkceNE4gnsnY\r\nEJfq6n0hf7DkaVB7jOq1wqEPUIFIx01djLZHhjRkvdS+56DcSBj6Oj0baV4c\r\niO/rMIDI8ErFk7WZiRZ2f4XBv1JTqTBxhTA3WI/4rwp5Zw4VJnX0hkTsV7wO\r\nn+JW5heRRUeSw9vg94N0A34cP4o2D5IEFrGVaoiNVCeUXGaMnuKcLxd6/+Uc\r\nQNsMBwHPR73l5UZyO0IqAOZLINx1gb3U+VXEa2ju+7FejZMk+lmLPsPnVben\r\nho9WzZObcWcTBR+ZmSFIkCnctEEGYJoe4Z5bJJwUUHxwWdONJ6tJH1pZ/efu\r\n5pwKmQPwc6AWopF8LU8Q/9eWKWtJbeHrtQbi6MWwm5mcVZC6uhFziM8rIsgd\r\nof2MaVV+6kfP7PCPtT9XNdXWHHvKn/SUHtVmmXmEUayr3x1wAUwtsg5A/B02\r\nE6EdTPqK6oIE/uluk/hF57Nq93kqpKkGGlI=\r\n=1rN/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/npm-8f97f4820787f88b3fa640797412487a5a5d6f17-18.x/balena-jellyfish-assert-1.7.1.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/npm-8f97f4820787f88b3fa640797412487a5a5d6f17-18.x/balena-jellyfish-assert-1.7.1.tgz","_integrity":"sha512-ffxy8RtBaUbWCTYcjzAfPiNczviat6Sc4gUl3n/hiRJwhmP8sdIMR4VMJlDuZS13+qrHic4/ymy2DxEygoQHLg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-13T01:08:01.263Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.7.1-build-renovate-rimraf-4-x-8f97f4820787f88b3fa640797412487a5a5d6f17-1_1673572168025_0.45323667503390386","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.8.0-build-renovate-github-codeql-action-digest-2fe389a060597231a91e6b2d49a99afe6030770b-1":{"name":"@balena/jellyfish-assert","version":"1.8.0-build-renovate-github-codeql-action-digest-2fe389a060597231a91e6b2d49a99afe6030770b-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.8.0-build-renovate-github-codeql-action-digest-2fe389a060597231a91e6b2d49a99afe6030770b-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"b21ef5a0c6761c49acfed6a2a7b6ac4473d1b92e","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.8.0-build-renovate-github-codeql-action-digest-2fe389a060597231a91e6b2d49a99afe6030770b-1.tgz","fileCount":11,"integrity":"sha512-NDUSzKqVZWaNlJrgX30DsOkIDJir7EPC/nIy+rXe0mDz2uI2ITL/Ue4pSc/owfjEAM/NhmkgHadJV1HK3Hlpbw==","signatures":[{"sig":"MEYCIQDwwNI2w5ytEDdFr9oxbMvhC22yW+wkF6EOyn81GSB/EQIhALcXj50nWZbvCG8ZaPEoKIb8WreVorbGZInUfjO1jZhV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyD9iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4Tg//a4pbGL4Mwj+bo5qP22go7Ll+plFn/Yhft0Mkjwh5Nyidw9SJ\r\nSrqpSK24cBVz5ILxB/wJ2XGRakVGFIfK8WJWeai/CwRa98EvX0e4vWznOCL4\r\nlwKi1wyrUrhljJ8HwUUquqMwe61tUhrd4kjHkOlx9yMQFZ++oBSCzt7vXVUg\r\n31syR2DK3V7h+XkW59w8ucBQ6zF6VICejr0R9Rzbz802beFbbDBzLYBgbvnt\r\nPKaqBF6yxSwwS+q5vWOP7kr014wlNGN25raeViXdpIAgacPW3QXwrDm/q5tz\r\nJv3fjAji+1j6FqeSn83fXVDi9rLJcusdQPI79P5ae36JHuqXRqA8uRnRTiTA\r\nBx+jhHprSs5ZsmMODeA3jXM8AzhXjME3tIpO9pToNTANmu2cpqzC/HFfrkbz\r\nvicfqWyzRXiySP5fRUu2vh2YPFuBuq5l21T3yEAfE4rW4QTdXGwtL/uEzJs8\r\n8kUwMspmk6ZMoIZwvLLfXu+ecG2gx/bUe4Sw9H5XflFUKEu/Y7s7k0atcc9w\r\nxTynrrpRSzH+cBAzMHcPRsrPU+/BdVy/Nq7xJ7i2Wf6OW4VjlcF8PNTqEoB2\r\nbGl3KC+rb0Y1VwBE5Ok8c4EYzkWbHct1iSpT89t9egavJAwSaoNV3p9muopI\r\nqgiE3rHO6hPjFJ+6HW2JxxChNu4q8dWI2gs=\r\n=KxKx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.8.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.8.0.tgz","_integrity":"sha512-NDUSzKqVZWaNlJrgX30DsOkIDJir7EPC/nIy+rXe0mDz2uI2ITL/Ue4pSc/owfjEAM/NhmkgHadJV1HK3Hlpbw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-18T18:47:56.026Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.8.0-build-renovate-github-codeql-action-digest-2fe389a060597231a91e6b2d49a99afe6030770b-1_1674067810559_0.23572142797059792","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.8.0":{"name":"@balena/jellyfish-assert","version":"1.8.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.8.0","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e5ea92299bf49fd34b9c9b6b953167ec1d9eebb2","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.8.0.tgz","fileCount":9,"integrity":"sha512-FvKZlkyZ6YIQhUNCLDdHu0/y5ODam1XScwOKT+OWGe4syGwC/jzLQRKET0csCNJiyy2KIk1vsUZTh1ki0IFWAQ==","signatures":[{"sig":"MEQCICjMg9wmQEuJZTCw5FJ8z0DxtdESkz+jmesBW/ypmvs+AiAsVbXF8tJq2PoMGA+E9ntstNaDwY8tVAnku4Q/i0+D6Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyE0AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/pA//a6gOr+qDJ96gRijLal2tIu40dggiVag25n6SNnroWDcpiKAO\r\notlpvGveW2PyCs/XBKr6zLYdaTIMoyohcUqKOwCv3hdnoKqHPumJSQ2Al1C5\r\nr9kdZ0BthpfqVGLxySfy6uWxw6i7uptgpx5g9ftd3rNq167l9AVb4TDh2flT\r\nzPntDtBSXKdNcQtVgneflu4YQtNtwzW/M7jooZyZbHlAEMihH7kIWa6LAUe0\r\nhEB0IYjZhMOy/9icF7tfxcCD8xY26YmVbx6HuVskdW3eAiUbvCYe1bKL63wi\r\nT7pK6KkZrYmRDsZG7ImGd7kj8k/cpU1wA+NWloCApgJFgPJ8jiq0IgUJjA8u\r\nFwqe3/i6YND/1m0/n5w6NcIHfp1Ma6tx6mFNSmdbyJaHzQY0sbx+WY7U8YEk\r\naytCsBrGI0gMsHwjSs2lRp0P8OrlYQLekJq+alzEHtPYYGXUzqUWllJ+eLJj\r\nLT9ExKqEy1KZG2jJ7OXoH9CGu+AZPctlTYo8+nLDLwD2sgscRfq6lj0DPVHn\r\nvt3C9l4BJI00hxnqQy/6oqjnDGBuHSXQwzotdsDrkWDrKBSKrwPkdtrILOIz\r\n7FtEokhStvJ+UBqXFcSyLun5fWJQ7ehUjgImkyOV0Hi0WM0VHQeU5oyHMSVL\r\nDtvhVpsQvRo5vk4K5UhBCtyOW2vpQf6FO6Y=\r\n=RLW/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.8.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.8.0.tgz","_integrity":"sha512-FvKZlkyZ6YIQhUNCLDdHu0/y5ODam1XScwOKT+OWGe4syGwC/jzLQRKET0csCNJiyy2KIk1vsUZTh1ki0IFWAQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-18T18:47:56.026Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^3.0.2","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.8.0_1674071296590_0.36427457845849087","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.8.0-build-renovate-rimraf-4-x-d0f6b271560d65452ccab6250c833549d98775c2-1":{"name":"@balena/jellyfish-assert","version":"1.8.0-build-renovate-rimraf-4-x-d0f6b271560d65452ccab6250c833549d98775c2-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.8.0-build-renovate-rimraf-4-x-d0f6b271560d65452ccab6250c833549d98775c2-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ea76812ff618e8bf9f8199fce73ac0bc0ae94cbc","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.8.0-build-renovate-rimraf-4-x-d0f6b271560d65452ccab6250c833549d98775c2-1.tgz","fileCount":11,"integrity":"sha512-AQY0U30qByxm+drwhzK2VXf1MPAGIbO9Oy+kRwAFgH3eB9ISwLmUw42kUTTqBxU07o/mZ6SuL36MO/dTqvDMoA==","signatures":[{"sig":"MEUCICNEcmofMu1yz3uxEjv3Q/qqvOjGuV7E1/p/GYYJ9x2OAiEA6UcOHSWhl5PEpGUKYseT3eyZx9/MEPppU8v4tso5G98=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyE1XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNOhAApNPfffUWGkoh7d6Z0/NeJoH5ZRiUpu2xywZqDbPsQLkw9A68\r\n4z0TRSfp/ePrA9ot9Tux/ptU18Ihw7ImgTZc6FgfcaR1ORPt4oZlP9T7AalS\r\n6Ubtx6NsRYwfv8hzvJD/3VxYL+imIydvk6uGf3d+h+9exl7/l/2PFM78HrAy\r\nlBCWjuHQ2YODqkmS+15+3SOFDiBmOIKAaPvoX4Rb4jIqouc0mWdsO2zU9F4h\r\nypp3OB6iJ63ZYgAzFM2slx5pPFVco37Z9t5xY7LxKH2AyYdMxDtdCx4abxiM\r\nxiM0mu1ppO6wwaOnf6NynA2pek0Kad/gD3VafEVxSaSMUSMV8k1/ZTgRItvt\r\nM7zvZgiLGUfV5tsFMZlRvKuexSGfGElKU+mNkvO9dnUpJ19qBZHFD6sFOwT/\r\nxQKZu0pGjgdMUJOK3tdtnoeW/SLRejzxEetgXDjT+7UmdxudZMGoLqEa5WsE\r\nmh1I5uapHmNuLIeBXydd8AKqQwtMduewu10bd+cw52Up6XB4kGIHXsLERpbf\r\nGVHR9O0O5/0Yhu96fPvH/1buohJGil5hxtFM6O1N4hdPHPWmijl5zXODQtIi\r\nHW5U6Ym58C7WYLgOLKITKaHRbk6v3ZcvFtlNNhQAQGdjK1dPEd7EnfAKdvCp\r\n0yPw/4Do1yQjmm2ze3bEkGvORSwIQqCQSho=\r\n=Bj3+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.8.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.8.0.tgz","_integrity":"sha512-AQY0U30qByxm+drwhzK2VXf1MPAGIbO9Oy+kRwAFgH3eB9ISwLmUw42kUTTqBxU07o/mZ6SuL36MO/dTqvDMoA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-18T19:48:15.033Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.8.0-build-renovate-rimraf-4-x-d0f6b271560d65452ccab6250c833549d98775c2-1_1674071383729_0.43025517293186555","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.8.1-build-renovate-rimraf-4-x-846146efdbed4a42674b414b419377ac0d533580-1":{"name":"@balena/jellyfish-assert","version":"1.8.1-build-renovate-rimraf-4-x-846146efdbed4a42674b414b419377ac0d533580-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.8.1-build-renovate-rimraf-4-x-846146efdbed4a42674b414b419377ac0d533580-1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"7d12dc724f028e9b1c78ef528014f15baf28e1e4","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.8.1-build-renovate-rimraf-4-x-846146efdbed4a42674b414b419377ac0d533580-1.tgz","fileCount":11,"integrity":"sha512-W7qfHrVtgC8ttUx3PGpoO186icRwMQkPrp+JkpdjURkIA3SPPw8RpfAwcKAk+bldpDaGiyqPxPLbccaRXud4HQ==","signatures":[{"sig":"MEUCIQDRaR+5cCKUqFURVT9eNsFOVlv71UA1lzR/8L17RzHQdAIgTrDt4qRCF+mjIMO0sRgH6lro74ktkOna+9Qvn1ag418=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyFtvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVIA//YzyiOr7wp/GKt8H0ht1tmvMMNNEOPuYQLwuGFrbzmb4UgLmD\r\nMZCvmGcali9kIskDTn+z271PiqmEdrSbnPKacyjA3M38NdA4HA7Vc4dg+U04\r\nkEO4GJYt51hmVY7mLJ7LEhf3zqmdjHvEMBiyolfDk3q/+gjZa4AKgDXHm5UL\r\niLbzxzO4Hz2suoGxaw2j5JTx6ptV3rg+zlt/lB+AiBHRRhO7HrHTv4KdtjoF\r\nOJow8YYPW0OO8X4XMx97+wZLN1xjjzxIBv+sJc9GtQnn9UfwJayE8+8OQQyR\r\nj/QS0ezKt9MUIpVg9kpmhxnqqj/UWaQ8U4aMFkzWgtTUKjaY+StLa4sYT1t6\r\ngl/b4eXRK/afoNxTSQfGpRys6WopPJdV1QvVtVZJpBjrK5K4+QMqBSSB7qQh\r\nf/RQFPa/TZLW2lraHyS4iX8XLhlhXCGiOmfJ+UGeP2Rzt0BqCZJd6YbMkXOg\r\nYJm0EFIUUfWCfcgmEKLwT003/Sqatnsh46QrLlu+wshXTuieE13yH09+TV3S\r\nxtQBxZHHRgD1vfJVrKBTjSP2nK0CznnfS6YNtlwOE6iUqhQZDzrjHRc1tbwI\r\nsZqF9RdsAQzzTYsWZU2y8yOApmhzf00ATJVoY2HFbY6olOmVnn+fM2yQpSMW\r\nS2DYMfx67ZNN0MmTVBKfMOUSs31O6yLzboY=\r\n=cOzQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.8.1.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.8.1.tgz","_integrity":"sha512-W7qfHrVtgC8ttUx3PGpoO186icRwMQkPrp+JkpdjURkIA3SPPw8RpfAwcKAk+bldpDaGiyqPxPLbccaRXud4HQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-18T20:48:38.560Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.8.1-build-renovate-rimraf-4-x-846146efdbed4a42674b414b419377ac0d533580-1_1674074990948_0.6207369428974101","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.8.1":{"name":"@balena/jellyfish-assert","version":"1.8.1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.8.1","maintainers":[{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"73e408779f95c2370257475167a3633b33084b61","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.8.1.tgz","fileCount":9,"integrity":"sha512-/aTdoMljplO1BQqrO8y93+Je1MwGX1KsIq4NOW/fYTp+f5PIsbKWoywLgALs1JfzcOJG2Fry6U6j0e17avdNrg==","signatures":[{"sig":"MEUCIQDLy9INUaatPZrM4JquHkyz4N4W/OqvF07Bn8B2pjqN7gIgWFxvA2l0A12mWHwSv6nWV34bOeVArmZfoUcVJdzW9ZI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyGluACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrqrw/+PxRKUUb9f2tlYIc76cQ4Bq19fG3+tVBiReqIOcpjYSrNMDkB\r\nIWk6/IM7ruYuZM6i4NHuqg8RNALmhuBOB/YI+s+/cRTojh+56+JzX6tA9T5y\r\n/Y2CJbmld0eiGFGYnYRnEkDqxdx6R2Askuwe+z+QaXte/sgdVcsVVKHRKNyu\r\nAM1CtlMgeUs9HCmUnp2Xz8v6E0vYRq9qKSpU3n5afudJic/F1+XOtzrpcveF\r\n1YTYYwTx8FGu2TpVukACvGTlEBOF9vi3+O9dt52fcBWZDJgZH2Alqh3UobLc\r\nsCvyXa6yLgccSQgSeEewepKly40BXVb9eDrXFo7b8EAuRcCNPByjsMo2Bcb2\r\nkqKBUbdywjmBEsBGHYvp2Tv8QzgPQijUiQ2jpchNbbEXEnnKZuwneStDDN51\r\nSFt0LzNKBtmaaL4LNmegnKU78VQiltXUx/1aZPqoKeF08Ou5UYhNTZIb/qOL\r\niKKCBGrYrXHRHqWAIEhF2pHQIOkirHmtL+AQvbz0RWZsVPllNX5hWYWMUo+R\r\ntVelt/VD8U2pTVidPoSVBEnnHpJUp9vYGD7ZPGVkBE/i5et8ScwVN3nGjrys\r\n9oIfGjWetXcAIx4zhzwuaZDOPjg9ul1VjRQcsHcF9OM9kxC+/oLxYyxmW7X9\r\nu5vQvu0gZm4xBHy8lSNfSS1zPdiTBoZRO6Y=\r\n=HH8H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.8.1.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.8.1.tgz","_integrity":"sha512-/aTdoMljplO1BQqrO8y93+Je1MwGX1KsIq4NOW/fYTp+f5PIsbKWoywLgALs1JfzcOJG2Fry6U6j0e17avdNrg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-18T20:48:38.560Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.8.1_1674078574385_0.4273506127658353","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.9.0-build-renovate-github-codeql-action-digest-e83869e990c4d9eb2b3bd4559b9f600372541009-1":{"name":"@balena/jellyfish-assert","version":"1.9.0-build-renovate-github-codeql-action-digest-e83869e990c4d9eb2b3bd4559b9f600372541009-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.9.0-build-renovate-github-codeql-action-digest-e83869e990c4d9eb2b3bd4559b9f600372541009-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"a1a194a98b152e33993ad62cfd62484ba09772a7","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.9.0-build-renovate-github-codeql-action-digest-e83869e990c4d9eb2b3bd4559b9f600372541009-1.tgz","fileCount":11,"integrity":"sha512-EtLUpHPNfKeiFTF/bK6yfY7EzKriLyqb+u7CLt/3TEMixiUT89TU10AZZaGQr1DCMnzNE3m5pxS8dhG5K0tc9Q==","signatures":[{"sig":"MEYCIQDD/rKe0TuD4EUY8EfG5fk0Fn109kFXLX3oCPX4qNXBuAIhANLzaYNgaxYpBDYBrMY2BVukA6aJe8vUlYWlopIhPjbo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0q+PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdiA//dU6y9GNe5qoXUp3q+kR/8NP92k6RU7G9t5shMIwFX2PLsJjC\r\nxVUYVbED4abykCe8Ubg0l9BepvdIEznAvAYFRXE29qE2UaAFGr2wKryrJ1yQ\r\nU2ji4B8wiaZAuMIR7J/Et9aE+C0dCMpfDvwHwfUI8Romyk9K1Bh20e12Avjg\r\nrzliWLnKeW3Kv2cMGtfqiJ5HCjdCrtmTkDr9k8ZFfRaMH4NJPjDq0PeLmkjJ\r\naF+94AkCmQBpCZB41ZlLCcFzebfDawn6tsfDQqTmTlh1dZnRprVrg8N+KqVa\r\npGIw6u0EM/Hbu6Ktw0D0LaxCBbk7Oz/e70SvsSlgOUwxh7qy5NShY77BUYK8\r\nIceyI/j47PINaoysHvtQo9iOrag8j6oKIlw3HJEkxzfcgaIbBF1znII2qsTY\r\nKDAcnwC6krFZhnKXktKgSK3OMwzCdkmeR3Yt26oXhnQfJ5jzcVQFcY4gE/xq\r\nK7FoHydSm62HWaqjZmbRNIl8bTSexa/zbDi1nYGz1CS1Dn90NMi9+iodKsp9\r\ngVBgSyeoiVczLEnBieSfufStF4TyfMxSBuue/0PRTIXJYsOSveOKA2+j2FxR\r\nqyGdBkZnIZcwY6UESynny848ALAAxWkNm9P8kj+faw9hrsg9ll0YCUuRvCy2\r\nR7i97vIDo9FdtHd7N9ax2qETh+bNKhBE5nE=\r\n=khVW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.9.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.9.0.tgz","_integrity":"sha512-EtLUpHPNfKeiFTF/bK6yfY7EzKriLyqb+u7CLt/3TEMixiUT89TU10AZZaGQr1DCMnzNE3m5pxS8dhG5K0tc9Q==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-26T16:50:06.695Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.9.0-build-renovate-github-codeql-action-digest-e83869e990c4d9eb2b3bd4559b9f600372541009-1_1674751886840_0.293140692934202","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.9.0":{"name":"@balena/jellyfish-assert","version":"1.9.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.9.0","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e7c8c32332900881d66d7c3238f74c77807c0496","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.9.0.tgz","fileCount":9,"integrity":"sha512-JOjuD60WUpg9pBR3hkvTki4ZVyXB6wDf+0txGiY74GbJiSpS63uqHjQ8dB/9pb2520UY6i2dd15o0LwJRP6tjQ==","signatures":[{"sig":"MEUCIAEYNN15HSi/FRuLuHLVPHD1hqmCfVMrQUxmJNOP1DLRAiEA7j8MvRcs/Z0qYarKE5Q4mTGBAGqz9JKJITmtxeFS5tk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0rzTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8cA/9FMbWp/+KvLquO8rJR+QJ0bQYgnyCreB/Lui/Qr2o7ydE02Wp\r\nmn7UEU0Jl4E/yFHoWcg7mwJIIs1ny8ZbONi/p31GBJ325GwYhFjqYpMvSd8g\r\nzS8VvUPKEbK9rnlYVIXKBh75P6gS4SbHntj7CgcOoicIXoTxHGhnYLcEyqSC\r\nX9tspyuBwgRTvQTLUbaS51pzUkamDlrrcKZOsjKMDVgxvObhqrHJUy0vwL7q\r\nemxYztlZrilpPzWe8L+1yCkeYY5hgGFv1KL8PMWdaMjEJ80sKvwK/Mmm3mYs\r\nsrWvGOgdfeo2bWYYqPm4DKFN81s6069G1BFMr1+yWc3Q7qJ/h75FQU+XruUG\r\nSukWp1H/P5Z9XQ5ngBe246v3FjqShRQA4TlJVb3NFfsi6dQMO5rWxLxBSI03\r\nIYIE/gA327HoJiJ09lvGP5tyL+i8KHZgPGj7r0k/de06l5e6jBwOlz0kswsS\r\n/ND/Z301bDESiHdiYcXy3qytOXOMujkMiqmKBPS1YMSgZDAFXLPX1fpGnJc+\r\n1DhFIB3yhO9YpXC3vRnqFCiDyjPz8pzcX2KzKEggEK6o0gIF99r/7nX68ThE\r\naZsUUrevrmypUM23N0+yHIwu6SGNiBPTj45ITWDUX0jckD8gfqd2JWIMfA7S\r\n8pxvkJkF3FP7ilSCFDrLDjjkgYXI+/DMY54=\r\n=l8xi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.9.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.9.0.tgz","_integrity":"sha512-JOjuD60WUpg9pBR3hkvTki4ZVyXB6wDf+0txGiY74GbJiSpS63uqHjQ8dB/9pb2520UY6i2dd15o0LwJRP6tjQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-26T16:50:06.695Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.9.0_1674755283744_0.6303671955969439","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.10.0-build-renovate-github-codeql-action-digest-da4a65f9c2e6ee0689ac1f38710f19d22d9a3cf4-1":{"name":"@balena/jellyfish-assert","version":"1.10.0-build-renovate-github-codeql-action-digest-da4a65f9c2e6ee0689ac1f38710f19d22d9a3cf4-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.10.0-build-renovate-github-codeql-action-digest-da4a65f9c2e6ee0689ac1f38710f19d22d9a3cf4-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3cd5c7b51980e290d72d686d5f8c4d1495408947","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.10.0-build-renovate-github-codeql-action-digest-da4a65f9c2e6ee0689ac1f38710f19d22d9a3cf4-1.tgz","fileCount":11,"integrity":"sha512-pBy6hnhWiMiTYKDfDIFO1jGBxSV6G5Gv23TvQ9dJvjun83rdizfrm2XJM7k15Ufty/QjGLyQu4YJFk9OrBPRmQ==","signatures":[{"sig":"MEYCIQDa9yjDTS8cFMShl2aM7HgXpWR39Y41XEWl+8FtiQMFGQIhAPPAoT54aI68mBYYqxbCV2kPK3eg11pkWfyid1HhNReX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0534ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLHQ//eNM6O9cBl9gehHgOJsgL74s/UZv5wkJ7gVThhW/xBpy3VwAl\r\nGqPIptzysH7yL+enY+T9LC1/aaWM/AnZktKM+MIikK2fi8yt8JSYap1mV3Na\r\nHB6Z/Ju/n1kRuHNHzbByCx1StFwv/PqnnMM/+XaVbGazOzdBVyPhaQhnawZE\r\nQBz2Mw5sm5A+XBa58i3M6nYH8rWit0vxtfD8qVK7reEJ5hJDabGtZafUaJ06\r\nSrpocCx3bgZ/2BWbIC+u7hLFl2xjW1tyQ3e4Ch7AeJOSpsYfC7ZFjU3l5m5s\r\nFovE5u2yMMUnCXjUaD+GYTRRlYnEeQ0ThNcmnHBxvg56hUr4jGuHnNZgTRr9\r\nqlWRUuOHjVjlWPXtSK4BjMHBFpoLc7Lc/don1eGD6wwe5bGzRqwNW0GJGoox\r\nicUWhCeVhwbQVB7/mP4C5ahfPwDlNubVRtipGpm3rs5y3Y8PnDXo0V/Rd506\r\nRONMM0UxkREYaL5vhsnXmzOwfx9eCIlFHjVa7788a1k7e9MeQR7pgFOp2rnB\r\nxF+TXgtgZ+skXCcE+spYI8x21724Y7vVY87UU5YsyPyWZdfBmOpMvcoss8TC\r\n7hGC2+stzKFvhQcxE50D275ScB0sYUZ5wyygAQhZ52q97lcs6SmQ/lFCcZQQ\r\n0kqFAP9qIYKAoPlKJ/02e148wLuNLAO+7wo=\r\n=gfxz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.10.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.10.0.tgz","_integrity":"sha512-pBy6hnhWiMiTYKDfDIFO1jGBxSV6G5Gv23TvQ9dJvjun83rdizfrm2XJM7k15Ufty/QjGLyQu4YJFk9OrBPRmQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-27T09:47:29.669Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.10.0-build-renovate-github-codeql-action-digest-da4a65f9c2e6ee0689ac1f38710f19d22d9a3cf4-1_1674812920094_0.7110006099934421","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.10.0":{"name":"@balena/jellyfish-assert","version":"1.10.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.10.0","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ce5913d68a8dc2fd15c0cdcc7921069172a076be","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.10.0.tgz","fileCount":9,"integrity":"sha512-xTO0rOGijj8yNgpbCHSq7rgjSqfPeb1UQPVa/ig6ojxdOLoyPxH+CBgB1YhTJblLDvjo3t46/mROvlZ0Xb5SEQ==","signatures":[{"sig":"MEUCIQDvVDkeJ5S1p/LkWVBfPsiAdCh8ENazPyubQtf8CZ+ivAIgYbzwvf6d1yaaVE0SvHYhkO3DbbiFkLz60XL4GRGERWs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj06wRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKXBAAiF6Askz+5p0sXlJE6qhBmDHuZVaRbRSQreY0FYO/hdNMqkVZ\r\nLuyhDEyeDTZSjwVIUiNvQf+yL9WFfxISM1mVMrsgXy1c4lk5VqorCdEVJ8Pa\r\nQofyf8P/VrRqSWkGOtG5K5HbHswylcwnSt7L6dD108QtzFIaCoxbBqf8rLxk\r\nlmZo93Qa1hi7NDWBKnlnJubkW+KxhbQ9GyqSdoEjTEiGrj+iOzUc4ymHkYLR\r\nIxqFzZ99Oc6O2Or6z55dRLfZFWzwFZC/cykYUOpTckGS4htPNa4gQX0cdNvf\r\n21jJcSPVxlS+oTlm4FstuRuB7JukQwRydhIWCtpScnPsDZEqMGUYqxCKvQGk\r\nIKIFN3EL/PfFhJjM3qnTs9EfStme9fTBfu/+S7zDFr1fiYZlOKfuWbKydHuO\r\naA3e9kN3lCcAKF+PJMteKAQmbIkV98ABQjQceVPojnARcwwM31tQTtGn6mSS\r\nTegsue0lcYC3PSTWnZctuI8nZMXe9yI7KDA3tbnZVeVtK4gFO4Al4cK96Dc+\r\nWdF61Sd7c0Ws6y3onwU+Z1CZE2hwMJap2qfUTdL8mDVwMaMvtMB5A+gYtQim\r\na0aMALiHdU/PU4UxvvrNharfboWBmNBPslQdqcVsbElss0++BMn+cLSLEzx4\r\nM/iqrHZ8iC04LRNmlNnMq1eUxxj2if621Z4=\r\n=g/Sa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.10.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.10.0.tgz","_integrity":"sha512-xTO0rOGijj8yNgpbCHSq7rgjSqfPeb1UQPVa/ig6ojxdOLoyPxH+CBgB1YhTJblLDvjo3t46/mROvlZ0Xb5SEQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-01-27T09:47:29.669Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.10.0_1674816529182_0.40853024227388124","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.0-build-renovate-node-18-x-d1034dd0816649f983bb58bc4887cdd580c3854f-1":{"name":"@balena/jellyfish-assert","version":"1.11.0-build-renovate-node-18-x-d1034dd0816649f983bb58bc4887cdd580c3854f-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.0-build-renovate-node-18-x-d1034dd0816649f983bb58bc4887cdd580c3854f-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"27339e2a429fe5e448184f55729ce79d1e6f66d6","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.0-build-renovate-node-18-x-d1034dd0816649f983bb58bc4887cdd580c3854f-1.tgz","fileCount":11,"integrity":"sha512-5F7MXSLfMkOTOowSrC7PE5CO5OhtXHHEgQSq6yxYQDtJptlrW6CCLVzVJm1gzHl6Huncxhu+C+EjGzicXKtJfQ==","signatures":[{"sig":"MEUCIQCtzUAp2MH6ypHHdwadETfR3jtw4D+OKH1AO9QKOQnuSwIgAXPrehx5pEpMdadPGSgNbj1Lo/Up8Uc9Zp1INnHU9Cs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3BPjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDPQ//V0481+FjyvsQfm/rBzPNgqFIA932BiwScHmNAH5rHRk5As9x\r\n9dWgp3w0iN6Q+YtPXr5ApP6sSxLXVBJzqY51KCMK9Fkmc/TmidcoAb8xHYqb\r\nthri5upD8nDZFuIAkm1ziobWuhjE7oUC0At4BIkKSPNWBIEl/RK+w43sfeEw\r\nGtHfAlTPBPZC1wRtoUa6VWw1QlPZLdO0E2tJK3jcXCc+n6Dl561Pjv7WcHKH\r\nda7fiEU6ozrLaaeAIkYMttJbzn3rAYDryMwDl3Wu7NMhK63/scV7le77o+eH\r\nb2PPB87m9IHNow/DtbpxWgL71q8y4n5238zYGOjDdvTHnV6eg+Zk2Bn85w+v\r\nu4SeW2Rfnql9vQzqQF1DXoKheizcscvf4GkYwGZTBIkSbfJ9sqa3lImiJdAo\r\nFsbzAWuCBNjpeHL5VXEawOIVzp9DOd5rLQdICjeFka0N5LMbv34xS9+PRigU\r\nkKx8RIeVZH5P+xBk7expJF38Imea9XNLNQsV3amNleyUCIa23wlFonuWPi1b\r\nQgIDd9K/uu8dc/klCk5NnTfb5rJnW9imsNvqZED1HQaZCKaynM0wIrr8AegC\r\nWqR2XGwzzCXFlAdQTSCuqGlqnrFpfCd8YhYWFdCFHc7qum0bjvAyX3dmOQxH\r\nK//EgzEIeFNP8Ij/BcMZGf5w2XeWX2uwJ9I=\r\n=RBEj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.0.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.0.tgz","_integrity":"sha512-5F7MXSLfMkOTOowSrC7PE5CO5OhtXHHEgQSq6yxYQDtJptlrW6CCLVzVJm1gzHl6Huncxhu+C+EjGzicXKtJfQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-02-02T19:47:43.773Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.0-build-renovate-node-18-x-d1034dd0816649f983bb58bc4887cdd580c3854f-1_1675367394851_0.4478567766110997","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.0":{"name":"@balena/jellyfish-assert","version":"1.11.0","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.0","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"09fe2a65d675e854ca862f64abf3376caf6c0701","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.0.tgz","fileCount":9,"integrity":"sha512-PwoXn1UvzCWfFHewrPpfzn3YX8i6rl0yjAT/82D7TGrCn5mDHr5If9cQnzw1iP/v/TutHrn7ztD9sZCj+a8Lhw==","signatures":[{"sig":"MEQCIF7D41wyq1TitlEanTcjXtUYtwKW8Xwb982zvIUnTkZAAiBOary9L31HbYISMwumrMlD7/5kBBvHFV4OlT6WCgZOdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3CGEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdABAAmUJB4CaVYfhRqrLDy9IpbMWLDiFgk2zRgJQT3/QLnEKiipq5\r\n4Uf6OS7VFzUvLJOYdwmBuxxQNfgS3UAt3zRYoJaFLZtXJxqeD72KXsAqIywr\r\naMUMLiMwJjKTzEFADqb3tElwkKGfihxP37d4IeAiuXJXpMe68X+HNkLzhuos\r\nBSYMWiTUr8u1xW9ZF0vuABTA2vmDqbmw9UKUB7YE42pSgFwjW0oFtnCpa6KM\r\nfm1CaSzeuIqa6X3q/I5rSmfeKZqKmLzEebh9BmzDvEWUOeEzOGqSH0Cpnsn4\r\niq6tKoR8jQNd/faE72ni2RbOouJOmUu/M06RXog7fMQ4s0RFg7Tfz3VD/ALq\r\nPtaJOSrkWMsEOaykvQTYnzSmUhWHiYSRyj7rynnPzytAHVyuYqoLPSBhYLx/\r\nUj5n4I0MSG5Fc9V6GnpHThmIhirMs/ZIUc6AmrSVUyu808xn3CcQfD8Aqspp\r\nbiqQ8bZioccxcNU7CU7dlzHv67OX9BK0hE8QPL9KsGQUr9eb7zaJOaFO0JvV\r\nM9fhIvr5kgGnN766F+JxFAiYAepIxcXslz9Mqft/iiQDAI8wp9aMNvsDaonm\r\niB6NfHulIT2ayJvVgQ4V8OjsFbJc3LJO72NFNvCh4uVaVej0Gm1pHLTxUaDO\r\ntl1XzpwkC7PsIB3fOykEtbH9Zx1Z9n5Vb6w=\r\n=ReTe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.0.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.0.tgz","_integrity":"sha512-PwoXn1UvzCWfFHewrPpfzn3YX8i6rl0yjAT/82D7TGrCn5mDHr5If9cQnzw1iP/v/TutHrn7ztD9sZCj+a8Lhw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-02-02T19:47:43.773Z"},"_npmVersion":"8.19.3","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"16.19.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","@types/lodash":"^4.14.190","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.0_1675370884027_0.024337104521966912","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.1-build-joshbwlng-bump-deps-e27663a139106cc5a9cd7b9d5185c970ada16edb-1":{"name":"@balena/jellyfish-assert","version":"1.11.1-build-joshbwlng-bump-deps-e27663a139106cc5a9cd7b9d5185c970ada16edb-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.1-build-joshbwlng-bump-deps-e27663a139106cc5a9cd7b9d5185c970ada16edb-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8fc6fbb27b8e4e9d5398367896fddd0e1afd37ab","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.1-build-joshbwlng-bump-deps-e27663a139106cc5a9cd7b9d5185c970ada16edb-1.tgz","fileCount":11,"integrity":"sha512-qCicM9jvNzvLf3tlIwNLV1LcbI8fOb/onm5hUmuIbK28GS7urCV9nK2QYmbxbrROnsDE4fpPibh7jbsIXIXh7g==","signatures":[{"sig":"MEQCIAMZ73VaLHwYajrGEOs9GHDamLHeIJ7M6xeZelJV06EZAiBuBjmPx9N5Ku/Iv6pnrzqS/ELLkbysLuapXFblf4pYBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJ6VpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQPQ//cbY2MQxjO/3d34nA5PZ2vQVAvkB1AOwk1Lqjda84ce6+xyXC\r\nHMYvaQckOxIb9iiPkKcZulFTpz2KwzNG7+eR8NNHgTBKumrT8jhbDeBorIqr\r\nw0tShfsMVGFLm3TUR7WldztvfgnAszztg88nqnHKBiB2Hqa8BesgLd2+/2AM\r\nDLlG/uMJbfa8eGXTrqpmwPVSkvFXsjCRSrUk8LcfGlKpoPBYicjX4k+BqT8p\r\n7NylXCmKN6DpV2zaoVSdNX4xf3Bec5HKrXN0joLw5yzRujoKkNyPFaDOLKLf\r\nsgL9a+Sj4mEX0FeDjvvxcS4X7Pz25kH7TrK5SuBwfJrcBs/bXVrd/qz0a//X\r\n6HmFoDHcnwIjeIKvYZN8mdI2dmQNfiDdxG3egVQTBWxJibP88zCIE2N5+7Fd\r\nu/z5A+Y0QGzyNz9YdKcZXrVat2XogTV6H+nZSmED419dkVYyfLrIfY7wFE7p\r\nfaBZeqFYI9o2OLxnSFeD7ur5IBIu2KbMoO8Vnc6Tbvj8HYJ4sQAmD0VKz2Bo\r\n7sfmxp8uNVFKnHsai0nyRInqwuINHkK66U6X6wrSRghJT5UMkxICkGkc2XC6\r\npYmafDST61hYXqsU/fDvs4f9Rz74yEE6etkINrOkRuFkN1/4lbufD4vohl4l\r\nZF9/oB3cPhSojErAwESAbbHP5FQUYbD6lRQ=\r\n=PKxB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.1.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.1.tgz","_integrity":"sha512-qCicM9jvNzvLf3tlIwNLV1LcbI8fOb/onm5hUmuIbK28GS7urCV9nK2QYmbxbrROnsDE4fpPibh7jbsIXIXh7g==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-04-01T03:28:52.788Z"},"_npmVersion":"9.5.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.15.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","typedoc":"^0.23.28","prettier":"^2.8.7","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","@types/lodash":"^4.14.192","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.1-build-joshbwlng-bump-deps-e27663a139106cc5a9cd7b9d5185c970ada16edb-1_1680319849780_0.038581932135608454","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.1-build-joshbwlng-remove-lodash-271c93a3b09c3498f70cae30e0b80bbd30174066-1":{"name":"@balena/jellyfish-assert","version":"1.11.1-build-joshbwlng-remove-lodash-271c93a3b09c3498f70cae30e0b80bbd30174066-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.1-build-joshbwlng-remove-lodash-271c93a3b09c3498f70cae30e0b80bbd30174066-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"8ba6cee1f07118c6bfccbc282a3de64cc69ea3cb","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.1-build-joshbwlng-remove-lodash-271c93a3b09c3498f70cae30e0b80bbd30174066-1.tgz","fileCount":11,"integrity":"sha512-bEotvPiY/nJHkOEsD1WV5GXXYcsqtzzwcU6bv4WjOUdCckwckbYi++ZMBpTAVVPW/HXPc5/JwRiZI/qlhUQYjg==","signatures":[{"sig":"MEQCIDMJsj/QBUcGllotdbVfcD8uCauLBpnHW5TkebsVO/qWAiA0jCSBRQQc/STdP4aekAbJzy5gY/QJ0raxgEQzSojCnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJ6YmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqclg//WezPwmgaY79VFW2r4wek3oAjVwmIQrgWGnjA3Z/duW4rJAdS\r\nwVjdK2WgSK0HxxoNnt3nc5I2yVfvOJn+OcxOKC2S/Xq1+2owCLyGPZsWNiJN\r\n/m4onEu+8oPlT2txz4/cFsTHYqMkZwup5hi+/Owilf/Y1n1R9PPRaoV7ScaM\r\np0+rEVMsUO6Msz7xUVZk2u+shDUy+6yIEHD03igq8dr6B/Binten0K8jx61T\r\nzMioWpDHoaRfExgnozVZWAKRAIA8qJ378Fb74Bd6zsK1Ej8ya6FYzlmQIkVn\r\niionzt6TVz9+g4FHapx0MnbASlAXqvVRlG6ytC12w6gfDIAy2rptFJUCb/rZ\r\nDtK8qXky+TRwc4BTfY/b213mzIDgpeQrytfvpqVjkLhi0gavzhwDbe9bQn4s\r\nuzaERwpJw/JXD5lCxLfkLdTtsTHj/GenGYd5oMc9AeVPcGCwLBmKkfsF7rxF\r\n1LAm8UefPbVFg2rpup+GE2+HjuLFviZSLFCtSH9fJEgpWqRR7ruZ0+V40VnJ\r\nDMkq6FTEGDYzzE/2y2eT+6IPebLT8NoTGrVCAGcfXzt1ZtnDX3K+Yg/6f1iE\r\nJLbSkJJBaJWCGwzlSiw15sLIQK6XKIqsd+ivYUO0yCbJwJP/ZNIo/c82+hag\r\nBrHTg2TTD/h8SJVi1udO0iMulxg66+PSadU=\r\n=GZ5O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.1.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.1.tgz","_integrity":"sha512-bEotvPiY/nJHkOEsD1WV5GXXYcsqtzzwcU6bv4WjOUdCckwckbYi++ZMBpTAVVPW/HXPc5/JwRiZI/qlhUQYjg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-04-01T03:32:12.090Z"},"_npmVersion":"9.5.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.3.1","rimraf":"^4.0.0","deplint":"^1.1.3","ts-jest":"^29.0.3","typedoc":"^0.23.21","prettier":"^2.8.0","typescript":"^4.9.3","@types/jest":"^29.2.3","lint-staged":"^13.0.4","@balena/lint":"^6.2.1","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.1-build-joshbwlng-remove-lodash-271c93a3b09c3498f70cae30e0b80bbd30174066-1_1680320037929_0.8644089617640442","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.1":{"name":"@balena/jellyfish-assert","version":"1.11.1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b8412fde67be42f0091f73aaa69e43c858c157a","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.1.tgz","fileCount":9,"integrity":"sha512-0fr9pRwbqyLSgtIFmMv7o6e9juw9CYDsOrhrGLVG8M8xB+ggb4LwcP8s54Uu8qFpOUsuy1O3ZfNHCELMmmQ9DA==","signatures":[{"sig":"MEUCIBL8tABsKxV6eLI16JqhykyYHUL81uEwKWg+NFndjQZ9AiEAuyWRr10tk2InPPtTpX9YZcKKmxSNU11n+YgeNghPLGc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJ6ZTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrhkg//fTmwiurEFlYt5UY/+ShZPeONB1UUJ0T3L4aXdYK+n2HnMZgA\r\n49sRgs11RNmoBFyCvVZNbcaed2XNsbiiU1i7gZ8epzVNvJJ1Qs+wqNGM8sgU\r\nNEYpXrZ2LG9aYbvAYih9EN5e3lGTiBsfCoXiOvbFXKj/+qpFcpUC/GiNAXot\r\nL7HtFFEjRTN1/z4mDrbxs1N0VmNxS/weheckpEP4StbvA6RX54UDXA3ztc1J\r\neipDqMGWxPYdAk6hkyJiL/Hcl78015m0N5GzP9RvvZrY3ASQJdjA46GBF8eY\r\nrMaB7DNY3tmh2wNUYWWyJYq1u1wqpEKdk9MQP4rmwlEHYHjHd2VhuXU0pDDF\r\n60syzMvWFB3YVZfwL+XJqbFOAN96LgxJ6mEHAFqeofHzhxk33HG7wKgjhJvk\r\n7u1q5/DT1fxMG46xhxsZdjNYPu73eUdYkBNLlqE/ul9DB2AKBk/Xh9OyZOns\r\n0pt8T721Bt/nTyh7ghMVBuyjNHHCu6pna5kq0hSjV32LQCos5Zazqs3GpjGx\r\nLWJX6QKw05UssX0Vsrkdb1N6pMerpguxe4wxn9g1d1aNv1k0vVJkxOpKGW4u\r\nvi3+ahYVo3JWxg3kUM2X0PlcNnEu85lgPtvrJ0QEEVJoD5JH8TiKzkgk/OJd\r\noinsiMp1B7un5pJBSeuz3IfCnoGXlNDNHc4=\r\n=IOdB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.1.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.1.tgz","_integrity":"sha512-0fr9pRwbqyLSgtIFmMv7o6e9juw9CYDsOrhrGLVG8M8xB+ggb4LwcP8s54Uu8qFpOUsuy1O3ZfNHCELMmmQ9DA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-04-01T03:28:52.788Z"},"_npmVersion":"9.5.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.15.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","typedoc":"^0.23.28","prettier":"^2.8.7","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","@types/lodash":"^4.14.192","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.1_1680320083495_0.8547904794010328","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.2-build-joshbwlng-remove-lodash-5d0d5fcd994d77617cbbc15b5d19f0c1a41a1389-1":{"name":"@balena/jellyfish-assert","version":"1.11.2-build-joshbwlng-remove-lodash-5d0d5fcd994d77617cbbc15b5d19f0c1a41a1389-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.2-build-joshbwlng-remove-lodash-5d0d5fcd994d77617cbbc15b5d19f0c1a41a1389-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"5b9dfbc7fa53f90c9c77721097bd2c65592f263b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.2-build-joshbwlng-remove-lodash-5d0d5fcd994d77617cbbc15b5d19f0c1a41a1389-1.tgz","fileCount":11,"integrity":"sha512-o1hSXMrZ8JMWRPoVg2aLULJrwbkwA3KjZRAWoZLlFb36tIsvmSzYZcs1rsSXXHqe1tn4SVVYvurff3LSQUZWDg==","signatures":[{"sig":"MEQCIGYHYm+UFnQu577sMUu7SyCpUwxBhRpT4uIKlCUO4v/MAiActLteb0maL4ROdHc4E45BPkZCTsvlKqVWQOUQLypXtg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJ6bhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNAQ/+PwgDAs+RYKGCcmBz9Fpf8XfkfNy1ih0yPf0ompBQrkTXPnk7\r\nqvthi3za0jQ6C24rDDEDtY3QPtnPNPOYXIlWZQottIka2j0/5WZFQ5dLNT9b\r\ntJR6dxVyr/HpdyweVfO0BUmfg/HmWf1cjeEwVrR4vnwGbeA/o3EVq8aKVVll\r\nQYFAG/wikXaMIR9MX6Lo7rGCvo6wXAE+4M/FY3sohphq1aML7JcmUKMqbGAS\r\ncwg6X0qld65sRODLrRmGa1NEAM4cCPNwL/G9vOHR1x3w/4R4+Ht/aK+paf1K\r\ndK9bQmdfXorUtJXfFSfDFi15vGfyKYD6GjnvCKjH/ciZUn2jWe6KTYGHECV5\r\nXpOhW9Y57VEkqcXlHvlVHRX39xVN6Cu0rapSP5stH9Jke8zv3A+oPfbI2XIp\r\n+rKEIqvK1OZ8HqagWk4oFSo+meF9Mbtecwd/1WtZkrRkPyxYXHoyfizaAcZl\r\nIW/D64gpSMzZ0Q82k25tYswUcL4J8ANk0RTwPoLd3iEwOFoF0WrAyov2u73x\r\nwAHZ1+m7diE8+CTld8YRucIEInlc78832zAatUoTRkv9DHrCBDdS/zj2SVDf\r\ng/RvUasnShTN1zlJiEmOd5sjfjHca9qiO3A1nZ3c6sry+pd0k3jTZ7cTRYT5\r\nSyqCHJneDM/Voob20Xzfnxqq+7Pc/JGlOWI=\r\n=qxqb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.2.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n\n# Documentation\n\nVisit the website for complete documentation: https://product-os.github.io/jellyfish-assert\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.2.tgz","_integrity":"sha512-o1hSXMrZ8JMWRPoVg2aLULJrwbkwA3KjZRAWoZLlFb36tIsvmSzYZcs1rsSXXHqe1tn4SVVYvurff3LSQUZWDg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-04-01T03:35:31.007Z"},"_npmVersion":"9.5.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","typedoc":"^0.23.28","prettier":"^2.8.7","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.2-build-joshbwlng-remove-lodash-5d0d5fcd994d77617cbbc15b5d19f0c1a41a1389-1_1680320225449_0.19787438026743587","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.2":{"name":"@balena/jellyfish-assert","version":"1.11.2","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.2","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"54590b899b15aa122b488a664f658e5c447bdd89","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.2.tgz","fileCount":9,"integrity":"sha512-gZ6ZDSqCkQ0ZIzzuGJOxF0jHRglcauofidOxzKyHAS7EfVT4gisHsg4zAqaZWxM5h1mm/x2AUB5tBFby8hDSxQ==","signatures":[{"sig":"MEUCIQD2eJJq5DDkIJldbKrVR9Qb/owWF/yC+Q33z/Hcni8l1gIgRYHGe60uXPnD+dxXRjVCkoZY/gvspxaMkMBYcGVP8q8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJ6dbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaBhAAlSNmyfGN4VRih1aXTrwBy7d364B21RbitRa2S2sZt8FHjSMM\r\nNyeHw2rLD2A5Dr9tzHayAJ9RaeuUWO/8dMYO6IqUDFoFub4WfY7kWlmgCVJ7\r\nUkbotwUwE+FZptMYfWFn0cLfXNysVBUGZx9GxfX8Dzer0m8UG5WV0AxzlZh2\r\nP68Fsw913Ln1GWGbga4KNOIHAzeYsbkyULxbaLQhAdLsf/j6CLTOB+h21r/8\r\n/wRKJEA/YwPTpxCDeQXz8olnsxZ+VelwnDZH+ph4ajv+i+uFBwSnJ6u1g5wF\r\nLO+ql9iFaFhJibK0XHHYQFWPGyHh8y71uUPEyx9rIblVxY9pjG4nonrsbY/K\r\nQlSBBpLG2Wp1vbtVqM5gydx1FXuG/pC3AcA2dnB7pStlxMVP9rwQ+Wsi+2Ms\r\nj52pCGFJEHsQfcpj44fj62NHbcb65vF752z5qykR3d2p2XrWa0MPcTiNQwXf\r\nwqiLunGPi/Jp7Q2AHHRUrv+fF0AmuC8CjE5RQ+RD5BFFxirD0uhdtEYq1tbf\r\nSjRGc3kVjP/8weMQPXmEO4JuETsH8qw+P3NtuNbkVdYttNKJO8eSFgeZGu7I\r\n8FVrV4A5QetG/3h3WHtTR3t1Yv95m/99vugDReAsAizdj7+wgdvGuC06iKFl\r\nNMZuM5eFS7VyJNxdRUz8f3HgezAnbxXkbuk=\r\n=iYld\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.2.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"doc":"typedoc lib/ && touch docs/.nojekyll","lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.2.tgz","_integrity":"sha512-gZ6ZDSqCkQ0ZIzzuGJOxF0jHRglcauofidOxzKyHAS7EfVT4gisHsg4zAqaZWxM5h1mm/x2AUB5tBFby8hDSxQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-04-01T03:35:31.007Z"},"_npmVersion":"9.5.0","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","typedoc":"^0.23.28","prettier":"^2.8.7","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.2_1680320347743_0.8401098196073435","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.3-build-joshbwlng-remove-typedoc-b36f433c8e6ea09bd1f6a98953d10d5b86c7d6c6-1":{"name":"@balena/jellyfish-assert","version":"1.11.3-build-joshbwlng-remove-typedoc-b36f433c8e6ea09bd1f6a98953d10d5b86c7d6c6-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.3-build-joshbwlng-remove-typedoc-b36f433c8e6ea09bd1f6a98953d10d5b86c7d6c6-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"0cc8966df0bcfe97db14e697211d14d4ee86be85","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.3-build-joshbwlng-remove-typedoc-b36f433c8e6ea09bd1f6a98953d10d5b86c7d6c6-1.tgz","fileCount":11,"integrity":"sha512-lQ4S+2pJHXE9uw40qWa1pas/isE4NLtgRt4bhZVx+siMNGNfQi7AZgVqFxhWYSzcJUYpyZXDtY5R/pZI8Tmpew==","signatures":[{"sig":"MEYCIQDB9IS4QGm2YrCkYMD+/T6P4ldN76pvHs7/ECXI21Qw4QIhAIX219gQoojQdnVf+q2gSPqCANnS8mUAnQUbTXzZYp//","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19283},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.3.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.3.tgz","_integrity":"sha512-lQ4S+2pJHXE9uw40qWa1pas/isE4NLtgRt4bhZVx+siMNGNfQi7AZgVqFxhWYSzcJUYpyZXDtY5R/pZI8Tmpew==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T07:42:08.641Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^2.8.7","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.3-build-joshbwlng-remove-typedoc-b36f433c8e6ea09bd1f6a98953d10d5b86c7d6c6-1_1693122244974_0.9197826252743344","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.3":{"name":"@balena/jellyfish-assert","version":"1.11.3","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.3","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"ea0cf52b3df6f736073b8623e4c3aef23328e6f5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.3.tgz","fileCount":9,"integrity":"sha512-JjMzSVG4eAyHUNwemscqIFv2u/3HJtgWRwcm6z91YBQCFG7NCajAvyP4mrUo5Xphf8e61ejXrh86sDkHCSm2Yw==","signatures":[{"sig":"MEUCIQC02QxE5pt4A2Ay1A/5KLipBJp6fDR02RTBbBU1Jsd/HwIgcgR0LFDDu1z/775ArnFR8TEz9/n4o3wPX4+dDybe9OA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19209},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.3.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.3.tgz","_integrity":"sha512-JjMzSVG4eAyHUNwemscqIFv2u/3HJtgWRwcm6z91YBQCFG7NCajAvyP4mrUo5Xphf8e61ejXrh86sDkHCSm2Yw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T07:42:08.641Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^2.8.7","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.3_1693122391857_0.19848498520333724","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.4-build-joshbwlng-update-prettier-e24291822acb0e6daac1bb95e6a0d94128e120fe-1":{"name":"@balena/jellyfish-assert","version":"1.11.4-build-joshbwlng-update-prettier-e24291822acb0e6daac1bb95e6a0d94128e120fe-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.4-build-joshbwlng-update-prettier-e24291822acb0e6daac1bb95e6a0d94128e120fe-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"40a9574112e6e80345c081d86940b275c152831b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.4-build-joshbwlng-update-prettier-e24291822acb0e6daac1bb95e6a0d94128e120fe-1.tgz","fileCount":11,"integrity":"sha512-5YuF3GZU2fBofOWoIVpSXv9uGZVHTKIqURGRcwRN/B7oyj9Wv33viWu8i+pgD4mT/2cWp+E0PXieoABV5Xu5QQ==","signatures":[{"sig":"MEUCIQD+lhGQdp5jkYRkhNRtzg4JepjEsfyr7QVKMQ1QSPtJ1AIgfbzISxGpCuiN2SNZ6yxiFXGgrYNMHIJ4mWsUE5Gw47U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19284},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.4.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.4.tgz","_integrity":"sha512-5YuF3GZU2fBofOWoIVpSXv9uGZVHTKIqURGRcwRN/B7oyj9Wv33viWu8i+pgD4mT/2cWp+E0PXieoABV5Xu5QQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:07:56.774Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.4-build-joshbwlng-update-prettier-e24291822acb0e6daac1bb95e6a0d94128e120fe-1_1693123763750_0.7371153429130155","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.4":{"name":"@balena/jellyfish-assert","version":"1.11.4","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.4","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"da649abdc999ac929d9f9f93d6c89479e9c2b753","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.4.tgz","fileCount":9,"integrity":"sha512-BqxwGYtAqOmfD2DS9wJAx5O7Cgg/oiILHTQGZe3wZS846Cxwbf/UhWB1bhS3CwcQLdRyyPOCGkBdV0L+Nd9F2A==","signatures":[{"sig":"MEQCIHWB1mTWK8uaCi6OH8jLjZGSmC4q9N+Cgr5oWyZuX9cjAiA6XqfKefeapX+j8NSF/Pa2zoHO97cjojnr2Nd0MHhHzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19209},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.4.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.4.tgz","_integrity":"sha512-BqxwGYtAqOmfD2DS9wJAx5O7Cgg/oiILHTQGZe3wZS846Cxwbf/UhWB1bhS3CwcQLdRyyPOCGkBdV0L+Nd9F2A==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:07:56.774Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^4.4.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.4_1693123912115_0.6737711672301105","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.5-build-joshbwlng-update-rimraf-8819e1d390728db1e2b3fd968a89a3c9174814f8-1":{"name":"@balena/jellyfish-assert","version":"1.11.5-build-joshbwlng-update-rimraf-8819e1d390728db1e2b3fd968a89a3c9174814f8-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.5-build-joshbwlng-update-rimraf-8819e1d390728db1e2b3fd968a89a3c9174814f8-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"92b9fe172f2d8943f8828b0f535de516b4bad063","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.5-build-joshbwlng-update-rimraf-8819e1d390728db1e2b3fd968a89a3c9174814f8-1.tgz","fileCount":11,"integrity":"sha512-6cXKqn0H1AuUkfVZchC/X8aggK0688ZCQ+cOtMCxOY0xtRXeXRbchKg0dZ5Nqf+07FY+865GePFlt7s7ilnsGQ==","signatures":[{"sig":"MEYCIQDp/u1aDCQSIlEq2YfJuRVNtOjHiRcFiYmb2kdDkAYrMQIhAKhbSmWPlXNZjMBEPqEANiJuEgZLUeDF9rjf2juQj5t4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19282},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.5.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.5.tgz","_integrity":"sha512-6cXKqn0H1AuUkfVZchC/X8aggK0688ZCQ+cOtMCxOY0xtRXeXRbchKg0dZ5Nqf+07FY+865GePFlt7s7ilnsGQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:12:46.291Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.5-build-joshbwlng-update-rimraf-8819e1d390728db1e2b3fd968a89a3c9174814f8-1_1693124083879_0.49046478819908734","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.5":{"name":"@balena/jellyfish-assert","version":"1.11.5","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.5","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"f58a089a8897635dc5364af39c7ff2496a2dcf0b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.5.tgz","fileCount":9,"integrity":"sha512-pxgA0gnd/Go52/sJZRQfut6V1oN1IXVwpLCzWwg5oehCiZzO2ePj1ZpZLX4TBplERmEnRSe28bozxj9ebg91YA==","signatures":[{"sig":"MEQCIHO+hPbBFRWSKwXqrkIyy4mW2bjsJZ37Oh8Mz5Hm1wAfAiBDkrh3zmGco3PyhIx0H/2lD9IxHXtvBEmAVwa1pklWkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19209},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.5.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.5.tgz","_integrity":"sha512-pxgA0gnd/Go52/sJZRQfut6V1oN1IXVwpLCzWwg5oehCiZzO2ePj1ZpZLX4TBplERmEnRSe28bozxj9ebg91YA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:12:46.291Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.8.1"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.5_1693124216684_0.13301095843568178","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.6-build-joshbwlng-update-simple-git-hooks-8a513ca322247ae1b6011d50fa0c74135aa933b2-1":{"name":"@balena/jellyfish-assert","version":"1.11.6-build-joshbwlng-update-simple-git-hooks-8a513ca322247ae1b6011d50fa0c74135aa933b2-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.6-build-joshbwlng-update-simple-git-hooks-8a513ca322247ae1b6011d50fa0c74135aa933b2-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"27806bec3ce1f13fff0aa139d24b32cd2b056860","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.6-build-joshbwlng-update-simple-git-hooks-8a513ca322247ae1b6011d50fa0c74135aa933b2-1.tgz","fileCount":11,"integrity":"sha512-0oy5zb1dGPjxU3CL87KS2JoKdak2+VUQapVyPUGTaeAIbc/KHOsQTgGB8TowCcr8t6TP5ZIaEZ2aJ1SYhYZPLQ==","signatures":[{"sig":"MEYCIQC8kAFLQU6tu3t5HF/Gz86T4RsuD8SySmsSOgEbJu0drwIhAMQxwLZLBsPg+oiAMA5THo23E26KKdF8qoGYAfJ9OvNk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19292},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.6.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.6.tgz","_integrity":"sha512-0oy5zb1dGPjxU3CL87KS2JoKdak2+VUQapVyPUGTaeAIbc/KHOsQTgGB8TowCcr8t6TP5ZIaEZ2aJ1SYhYZPLQ==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:20:39.770Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.9.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.6-build-joshbwlng-update-simple-git-hooks-8a513ca322247ae1b6011d50fa0c74135aa933b2-1_1693124557242_0.6596037875802307","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.6":{"name":"@balena/jellyfish-assert","version":"1.11.6","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.6","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"208b0f4e3ad189056a9909d96f28f25f5ec15659","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.6.tgz","fileCount":9,"integrity":"sha512-1T8OPvFK6LdWZVlq7g2I+wciGoGnshCddVaglbYJSSf9aSpyROLpv7ieH/KJrxYP9ylcWS6DjIWsIkTFPwRmqA==","signatures":[{"sig":"MEQCIB4K3dViIjE9KEkxplcb/DM5PZwPOFPmnB8/JuSlfa+dAiAfyuIVgnB3wmbah4NP+QU1sY4ZxZ8/j3DivM11se6tgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19209},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.6.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.6.tgz","_integrity":"sha512-1T8OPvFK6LdWZVlq7g2I+wciGoGnshCddVaglbYJSSf9aSpyROLpv7ieH/KJrxYP9ylcWS6DjIWsIkTFPwRmqA==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:20:39.770Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^13.2.0","@balena/lint":"^6.2.2","simple-git-hooks":"^2.9.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.6_1693124699831_0.7297719079632665","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.7-build-joshbwlng-update-lint-staged-963f11c52c93fccf03b785d461b3fb8f49ae9fe2-1":{"name":"@balena/jellyfish-assert","version":"1.11.7-build-joshbwlng-update-lint-staged-963f11c52c93fccf03b785d461b3fb8f49ae9fe2-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.7-build-joshbwlng-update-lint-staged-963f11c52c93fccf03b785d461b3fb8f49ae9fe2-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"66bc025960b310b59b6aefe89976b363ac3e8cf5","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.7-build-joshbwlng-update-lint-staged-963f11c52c93fccf03b785d461b3fb8f49ae9fe2-1.tgz","fileCount":11,"integrity":"sha512-1daz/WGrXHpd7J18WDuMIJddFhnchc19EdZKQIyufDcGsQnarMadVRffCqkMIOAMCBIrLZyO5BGCW5sHNDT99w==","signatures":[{"sig":"MEQCIG60mwQj8HLvQcmsSLo+FpVS23wA2HUDE8l3EyISH8gtAiBo4Qy7OtiUzAAzRl4WmgQbVnisJVP9V+raaTiPYXxN6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19287},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.7.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.7.tgz","_integrity":"sha512-1daz/WGrXHpd7J18WDuMIJddFhnchc19EdZKQIyufDcGsQnarMadVRffCqkMIOAMCBIrLZyO5BGCW5sHNDT99w==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:26:19.433Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.5.0","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^14.0.1","@balena/lint":"^6.2.2","simple-git-hooks":"^2.9.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.7-build-joshbwlng-update-lint-staged-963f11c52c93fccf03b785d461b3fb8f49ae9fe2-1_1693124868937_0.42784267943477783","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.7":{"name":"@balena/jellyfish-assert","version":"1.11.7","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.7","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"e3c07e9720fb82b4c62c5153fc8bc17dcab17e92","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.7.tgz","fileCount":9,"integrity":"sha512-IgpFjY97PlpKeCfLkMDcwr92pG45qJ9nSk0VJ/pMUOZ6A0IzPjK1cyvwS1smbOSvWxAGykR7xlQmDnGx8f7MBw==","signatures":[{"sig":"MEQCIEnN6FRjEEOG+H82G+yVFAAgQGfMGLdbLF6Te/yESx/CAiArGca55ZtQIvDg0JUzyyskzRTi02niN+2whWkAYiVBWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19209},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.7.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.7.tgz","_integrity":"sha512-IgpFjY97PlpKeCfLkMDcwr92pG45qJ9nSk0VJ/pMUOZ6A0IzPjK1cyvwS1smbOSvWxAGykR7xlQmDnGx8f7MBw==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T08:26:19.433Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.0.5","prettier":"^3.0.2","typescript":"^5.0.3","@types/jest":"^29.5.0","lint-staged":"^14.0.1","@balena/lint":"^6.2.2","simple-git-hooks":"^2.9.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.7_1693124995474_0.7475924786753083","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.8-build-joshbwlng-update-typescript-6fbe423a287e3305ef7e57388fb6c6f088685962-1":{"name":"@balena/jellyfish-assert","version":"1.11.8-build-joshbwlng-update-typescript-6fbe423a287e3305ef7e57388fb6c6f088685962-1","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.8-build-joshbwlng-update-typescript-6fbe423a287e3305ef7e57388fb6c6f088685962-1","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"91a0467c0663f8bdb96969ce188deb44f11c177b","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.8-build-joshbwlng-update-typescript-6fbe423a287e3305ef7e57388fb6c6f088685962-1.tgz","fileCount":11,"integrity":"sha512-4Je4doKw6Qu2z0XM7VQ0kcA2eyV+9Ab67A9Ronh5u0Q6MP6tXXC+oARZ3b2vkHweTiAwTQcITiZeSytgdc5BHg==","signatures":[{"sig":"MEUCIGr5T61vB3Bv8aDm/5SH32RFNjRbtNDN1grqwsN7VVmwAiEA0eR+f8IrOzs/yhtt6xJxFWv9RpXR0sk7kSlRv/W+WT4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19286},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.8.tgz","types":"build/index.d.ts","readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.8.tgz","_integrity":"sha512-4Je4doKw6Qu2z0XM7VQ0kcA2eyV+9Ab67A9Ronh5u0Q6MP6tXXC+oARZ3b2vkHweTiAwTQcITiZeSytgdc5BHg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T09:29:18.290Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.1.1","prettier":"^3.0.2","typescript":"^5.2.2","@types/jest":"^29.5.4","lint-staged":"^14.0.1","@balena/lint":"^7.0.2","simple-git-hooks":"^2.9.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.8-build-joshbwlng-update-typescript-6fbe423a287e3305ef7e57388fb6c6f088685962-1_1693128660025_0.1831413356323015","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."},"1.11.8":{"name":"@balena/jellyfish-assert","version":"1.11.8","author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","_id":"@balena/jellyfish-assert@1.11.8","maintainers":[{"name":"dfunckt","email":"akiskesoglou@gmail.com"},{"name":"page","email":"page@balena.io"},{"name":"balena.io","email":"accounts+npm@balena.io"}],"homepage":"https://github.com/product-os/jellyfish-assert#readme","bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"dist":{"shasum":"3f1b007362afc8745d4a3ef845e228118ba8e7c1","tarball":"https://registry.npmjs.org/@balena/jellyfish-assert/-/jellyfish-assert-1.11.8.tgz","fileCount":9,"integrity":"sha512-255GbH13ajKrDGJSU8h4/USOIoPo0t1BMeR+Qn0H2/5chhJWgD7d/yzc64mzS5fWFCvyYvP3ALlcvit2TVL/jg==","signatures":[{"sig":"MEQCID9XKzQIcCAqQslg7hLCroTrc6qIaq5w1pGg3KB3y9CnAiBxlPebh6i0bdtV7n4Ny2+q2UTMF0BFMDPpRh5sEbhJOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19209},"main":"build/index.js","_from":"file:/home/runner/work/_temp/balena-jellyfish-assert-1.11.8.tgz","types":"build/index.d.ts","deplint":{"files":["lib/**/*.{ts}"],"modules":["lib"]},"engines":{"node":">=16.0.0"},"scripts":{"lint":"balena-lint lib test && deplint && prettier --check **/*.json **/*.yml","test":"npm run lint && npm run test:unit","build":"npm run clean && tsc -p tsconfig.build.json","clean":"rimraf build","prepack":"npm run build","lint:fix":"balena-lint --fix lib test && prettier -w **/*.json **/*.yml","test:unit":"jest"},"_npmUser":{"name":"balena.io","email":"accounts+npm@balena.io"},"_resolved":"/home/runner/work/_temp/balena-jellyfish-assert-1.11.8.tgz","_integrity":"sha512-255GbH13ajKrDGJSU8h4/USOIoPo0t1BMeR+Qn0H2/5chhJWgD7d/yzc64mzS5fWFCvyYvP3ALlcvit2TVL/jg==","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"versionist":{"publishedAt":"2023-08-27T09:29:18.290Z"},"_npmVersion":"9.6.7","description":"Assert library for Jellyfish","directories":{"lib":"lib"},"lint-staged":{"*.ts":["balena-lint --fix"],"*.{json,yml}":["prettier -w"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","rimraf":"^5.0.1","deplint":"^1.1.3","ts-jest":"^29.1.1","prettier":"^3.0.2","typescript":"^5.2.2","@types/jest":"^29.5.4","lint-staged":"^14.0.1","@balena/lint":"^7.0.2","simple-git-hooks":"^2.9.0"},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/jellyfish-assert_1.11.8_1693128802455_0.5509810319006845","host":"s3://npm-registry-packages"},"deprecated":"Deprecated: no longer maintained. The GitHub repository has been archived and no further releases will be published."}},"time":{"created":"2020-07-01T04:48:20.212Z","modified":"2026-01-29T10:46:31.061Z","0.0.2-copy-over-code-a03318b8f2b1e5ae1c618e38d5129e81fff35774":"2020-07-01T04:48:20.545Z","0.0.2":"2020-07-01T09:05:27.848Z","0.0.3-improve-description-a7bd24e03fb63beaa28200318857e99c3f812515":"2020-07-02T07:41:24.403Z","0.0.3":"2020-07-02T07:44:40.524Z","0.0.4-add-dependabot-442eeebcdb944ed8d89a9f94b6cdc3e2fe46c677":"2020-07-07T06:55:42.381Z","0.0.4":"2020-07-07T07:07:01.358Z","0.0.4-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3d1d06084476223daa05defdf2fc83fb2615c09a":"2020-07-07T07:54:48.254Z","0.0.4-dependabot-npm-and-yarn-ava-3-10-0-1c78cd76501ce830ba456749fa074f16bfd5e0e0":"2020-07-07T07:55:10.740Z","0.0.4-dependabot-npm-and-yarn-eslint-7-4-0-2f527f21881390519b0238efc9975c41126c63aa":"2020-07-07T07:55:21.124Z","0.0.5-dependabot-npm-and-yarn-eslint-7-4-0-86b6410eceb4d5515de2b9f957e94123bf21a24a":"2020-07-08T00:22:16.933Z","0.0.5":"2020-07-08T00:25:28.068Z","0.0.6-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-ee809b99302f079c8d5c6acbbd09468c07604ade":"2020-07-08T00:30:18.901Z","0.0.6-dependabot-npm-and-yarn-ava-3-10-1-9ca547d18c98d7211a40f1b8d7bb01f65f3da639":"2020-07-08T00:30:42.292Z","0.0.6":"2020-07-08T00:36:35.502Z","0.0.7-dependabot-npm-and-yarn-eslint-plugin-jsdoc-28-6-1-3de40b982a32d1be88d5a1bc1946b72de23f9014":"2020-07-08T00:38:59.402Z","0.0.7":"2020-07-08T00:46:46.090Z","0.0.8-dependabot-npm-and-yarn-lodash-4-17-16-52023f10c4e9453070f2bc5c67cf723adb43d68f":"2020-07-08T12:07:50.905Z","0.0.8-dependabot-npm-and-yarn-lodash-4-17-17-58fa0663bd88f7c48ec8afb7567badf8c041fe76":"2020-07-08T12:19:38.150Z","0.0.8":"2020-07-08T23:19:10.344Z","0.0.8-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-af521b01034d9a94969fb954997f634b3d0f00fd":"2020-07-08T23:20:27.038Z","0.0.9-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-0-d746e3b7bf12973d80a13a37527a1fb867fa490d":"2020-07-08T23:23:37.566Z","0.0.9":"2020-07-08T23:26:19.611Z","0.0.10-dependabot-npm-and-yarn-lodash-4-17-19-58e0dc7c03bec14034cf85437b2ebfb5c263740d":"2020-07-09T12:06:32.975Z","0.0.10-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-2-f0813f4cb6c3cc4b328973e826d243b648579cfc":"2020-07-09T12:07:30.583Z","0.0.10":"2020-07-10T04:34:33.238Z","0.0.11-dependabot-npm-and-yarn-lodash-4-17-19-0c282300207ac5327d6d22d16949f84ae94692ea":"2020-07-10T04:37:35.225Z","0.0.11":"2020-07-10T04:41:20.872Z","0.0.12-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-1-3-6374551098fe8f70fa92b80a5cf9a45a0e73c89f":"2020-07-10T12:06:09.428Z","0.0.12":"2020-07-11T15:10:48.696Z","0.0.13-dependabot-npm-and-yarn-eslint-plugin-jsdoc-29-2-0-c25cf4c69fbd5b1147f1f7dc0ac597840ce5e29d":"2020-07-13T12:06:34.695Z","0.0.13":"2020-07-13T23:23:06.364Z","0.0.14-switch-dependabot-1023b7b078fa891b9192b7a8ab61446ea236b9ef":"2020-07-20T02:37:14.713Z","0.0.14":"2020-07-20T02:45:38.895Z","0.0.15-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-0-82534279282d61a817a7f40785074fed58894ff3":"2020-07-20T02:49:20.181Z","0.0.14-dependabot-npm-and-yarn-eslint-7-5-0-8213ce26b1fcd569a2bc2fc0d318dbcbaa923cde":"2020-07-20T02:50:13.982Z","0.0.15":"2020-07-20T02:57:14.847Z","0.0.16-dependabot-npm-and-yarn-eslint-7-5-0-d86ec0df058a7f40b2b791fb9866a3ffbed50370":"2020-07-20T03:01:31.094Z","0.0.16":"2020-07-20T03:06:13.109Z","0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-1-7d1048a67b21d327f3fdae472ee026d6e78aecb0":"2020-07-20T14:48:33.372Z","0.0.17-dependabot-npm-and-yarn-eslint-plugin-jsdoc-30-0-3-b8bcbb747b458f68b8b00018a17a01a9c4d3827c":"2020-07-20T21:39:09.784Z","0.0.17":"2020-07-21T00:21:10.138Z","0.0.18-switch-to-renovate-d9e78ff75c8b25b1e50895954cf2a26c3c24d718":"2020-07-21T07:16:30.584Z","0.0.18":"2020-07-21T07:19:42.437Z","0.0.19-renovate-non-major-b7ac7c7f2f6607be11d5f3a8922f2c3b5fb630f7":"2020-07-21T07:22:07.717Z","0.0.19-update-ci-configs-25186f5f9f1135161a6f876303e62ce32adffa0d":"2020-07-22T08:41:03.732Z","0.0.19":"2020-07-22T08:45:45.882Z","0.0.20-renovate-non-major-b36a96b2cd6a27fa663ca090437ea9e2c79b41fa":"2020-07-27T12:25:52.827Z","0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-aca1b928b95b7c41a0b53f5e1777724ef014665c":"2020-07-28T12:51:00.698Z","0.0.20-Add-a-colon-to-renovate-patch-commit-prefix-2a7936f75c8b293923f349ba343b8e2efe97d641":"2020-07-28T23:38:46.444Z","0.0.20":"2020-07-28T23:43:37.893Z","0.0.21-renovate-non-major-35f0c9e1c913f6b294d5a397dc30baa40745ff97":"2020-07-31T03:25:09.711Z","0.0.21-renovate-non-major-1ef1022a33582f2f8bfab3d75a90816677356f64":"2020-07-31T23:50:19.227Z","0.0.21-renovate-non-major-135518854536127ef4ef571716b10bef65a57478":"2020-08-03T07:41:09.037Z","0.0.21-renovate-non-major-2f4f6712f6ddc34075413a27e8832793078993fc":"2020-08-04T14:09:05.011Z","0.0.21-renovate-non-major-a3a54738bd4334c8359b6c03e78451aa5f04f5d9":"2020-08-05T01:20:37.326Z","0.0.21-increase-linting-f59046cf261b940897e1d2f106e9853d98d4edf9":"2020-08-05T04:41:41.608Z","0.0.21":"2020-08-05T04:45:56.413Z","0.0.22-renovate-non-major-cbd593a72a85d44a786b38389a3be9dcfa72ad44":"2020-08-12T09:00:15.919Z","0.0.22-renovate-non-major-6f2c12256c80c7888748e72abaef8f63dc26d386":"2020-08-13T09:01:34.480Z","0.0.22":"2020-08-13T16:24:00.718Z","0.0.23-renovate-non-major-9d9650859625aed29bf84e1328a4e8c82c0522a4":"2020-08-13T17:19:48.254Z","0.0.23":"2020-08-13T23:41:01.121Z","0.0.24-renovate-non-major-daf771436e3b69284ad64a3279b5afbff142d5b8":"2020-08-14T21:55:43.153Z","0.0.24":"2020-08-15T00:13:58.351Z","0.0.25-renovate-non-major-7506a39713970787107376e2f042ad1673920326":"2020-08-16T03:35:56.867Z","0.0.25":"2020-08-16T03:39:29.961Z","0.0.26-renovate-non-major-ecdd4fd93646958a619544b0bb66d7ebf8f959e3":"2020-08-17T16:45:16.756Z","0.0.26":"2020-08-17T16:47:56.040Z","0.0.27-remove-dev-major-af50e21df74d99d1690023eaa4f3d004e2915608":"2020-08-18T02:42:58.947Z","0.0.27":"2020-08-18T02:46:05.582Z","0.0.28-renovate-non-major-5338d10106963539b915b238e1c67e8300f62bc1":"2020-08-23T19:50:23.708Z","0.0.28":"2020-08-23T19:53:39.253Z","1.0.0-typescript-9e668f189c6b87de81bf60ad2ee0a10ebbc83f22":"2020-08-25T06:08:12.011Z","1.0.0-typescript-8731c1c10bdf01432123868e840b79dbb3d02ad1":"2020-08-25T06:29:15.977Z","1.0.0-typescript-fd54a636b9f4f4493e63af9c222bc640218a732e":"2020-08-25T06:59:44.200Z","1.0.0-typescript-1ae3102524fd030a00d890ada8e35c2f858a3a99":"2020-08-25T07:06:04.268Z","1.0.0-typescript-84423295038cea97da67c538c53d9326a198f91d":"2020-08-25T07:15:00.118Z","1.0.0-typescript-1508b1bd451dbdc19b951705b8b9d31a20a37731":"2020-08-25T07:49:55.395Z","1.0.0-typescript-d40491f20ae68628a7c424c5bc2bd544c8fe42c6":"2020-08-25T09:38:16.967Z","1.0.0-typescript-44de77127d3b90f700347cad5786f1e388c25135":"2020-08-25T10:42:09.698Z","1.0.0-typescript-865b4b433c16afb78314217099a09c07eb6d3557":"2020-08-25T10:50:49.739Z","1.0.0-typescript-82ffb481fb36edfd7d00397c3e04b530c1589682":"2020-08-25T14:14:09.493Z","1.0.0-typescript-5917a9ac1c861908f0b48ff3709e303f031d4f2d":"2020-08-25T14:30:18.538Z","0.0.29-renovate-non-major-4a7e798927880bd7575e065bcfd93bbc02a4878d":"2020-08-26T00:47:40.562Z","1.0.0":"2020-08-26T01:35:36.257Z","1.0.1-renovate-non-major-fa2723a207df82a9293bbc8f71aba901255a7100":"2020-08-26T01:38:54.452Z","1.0.1":"2020-08-26T01:56:16.154Z","1.0.2-renovate-non-major-a1edd2fc4e6ff8627dcddaaabe845ceb3af2b1ce":"2020-08-26T07:07:43.885Z","1.0.2":"2020-08-26T23:07:41.449Z","1.0.3-renovate-non-major-289544a55730a091f1a92e4df034e74a323a2648":"2020-08-29T01:46:26.348Z","1.0.3":"2020-08-29T01:49:30.433Z","1.0.4-add-makefile-e9704012fae10d55da976e634d2a2e04567bf75b":"2020-08-31T01:01:06.241Z","1.0.4":"2020-08-31T01:07:16.424Z","1.0.5-set-commit-body-0018e9048f32a0080ef2fb96889c07182f78b380":"2020-08-31T06:07:45.631Z","1.0.5":"2020-08-31T06:11:29.455Z","1.0.6-renovate-non-major-5bd9fef53a211aa030060ffcfeaba409f0562654":"2020-09-01T00:33:53.254Z","1.0.6":"2020-09-01T00:38:08.027Z","1.0.7-renovate-non-major-b17bf02572f98fec20495fd2728a76289ab0cf1c":"2020-09-02T15:56:35.910Z","1.0.7":"2020-09-03T00:15:47.149Z","1.0.8-renovate-non-major-84237d01bb50a1ac28143df607177fb637a4c39f":"2020-09-03T08:18:46.260Z","1.0.8":"2020-09-03T09:04:49.193Z","1.0.9-renovate-non-major-be642d67183566dd0c665b9b6cc9fa0ec301f27f":"2020-09-05T02:36:31.919Z","1.0.9":"2020-09-05T02:39:56.453Z","1.0.10-remove-node10-tests-3b3c471c57a8d011a2a872564b3eea2dfba4c16a":"2020-09-06T10:13:23.797Z","1.0.10":"2020-09-06T10:16:57.102Z","1.0.11-renovate-non-major-456eab7ed17c718631108d257efe00d0c837d815":"2020-09-09T00:27:56.174Z","1.0.11":"2020-09-09T00:30:49.674Z","1.0.12-renovate-non-major-a8c767a5604d5de3a9ea0f1b9dae7f6edeef343a":"2020-09-16T13:31:42.511Z","1.0.12":"2020-09-16T13:34:23.890Z","1.0.13-renovate-non-major-90e9559ebedfb4df35653ceb948ffc4d1737de74":"2020-09-16T15:56:11.023Z","1.0.13":"2020-09-16T15:59:37.168Z","1.0.14-renovate-non-major-71958f4037cabda121e21c537311851fbc4ef7a1":"2020-09-18T20:08:46.795Z","1.0.14":"2020-09-18T20:11:45.987Z","1.0.15-renovate-non-major-16598016ae9222098908b26c74710f83e928b519":"2020-09-20T10:57:37.125Z","1.0.15":"2020-09-20T11:00:50.293Z","1.0.16-renovate-non-major-fd0605d19fa2689478326bfc7829ef350b270580":"2020-09-21T03:52:54.493Z","1.0.16-renovate-non-major-6a979032e7c0f78c63051a51a40c97517246b0e4":"2020-09-29T10:49:04.617Z","1.0.16-renovate-non-major-2c2dfb5a2bcfc6cc5e05fa360f08f4bb63f3f097":"2020-10-05T10:45:06.087Z","1.0.16-renovate-non-major-d4716b524368298d01c6893d48a3fbc160cf24b3":"2020-10-06T13:02:24.615Z","1.0.16-renovate-non-major-9fd1b9ee3d37b1c7a0891db5027e5b47777ff2e7":"2020-10-07T17:12:02.084Z","1.0.16-renovate-non-major-8611b11c462a16509daaae43a851c466f62a9c66":"2020-10-11T04:39:28.263Z","1.0.16-renovate-non-major-da8582ffcdfdd6d7eb10283e3daf3d6f957c014a":"2020-10-11T18:33:18.882Z","1.0.16-renovate-non-major-d5aa765d828f3a0c4279340c13d554ad1c0a6449":"2020-10-16T13:00:29.565Z","1.0.16-renovate-non-major-e3aea53b7cb92e914a72d2bd87fb07ccacb6f2fe":"2020-10-17T07:17:23.954Z","1.0.16-renovate-non-major-0d85dbf28e473ea1d3530733ba48dab76b330b0a":"2020-10-19T14:50:13.363Z","1.0.16-renovate-non-major-a9d1ad35045714c0a4df22819fe3d9bba0aeba8f":"2020-10-20T07:32:11.250Z","1.0.16-renovate-non-major-5cdc350ea3f8aaa0765a3f829a0c6cc97c3ddc7d":"2020-10-23T02:28:52.617Z","1.0.16-renovate-non-major-505a4008538d34253474715802cc778a7ffdab93":"2020-10-23T09:46:13.425Z","1.0.16-renovate-non-major-73c3930f1fbff4a42b4dab2b489ecae85d0e978c":"2020-10-23T16:52:39.586Z","1.0.16-renovate-non-major-76eb3699ab8933744af21fdd3b5562aef4040c59":"2020-10-26T18:07:16.101Z","1.0.16-renovate-non-major-a09fadb4b74f75f2860973152c679e6a237e1611":"2020-10-26T21:42:39.166Z","1.0.16-renovate-non-major-d553ddc92c1e4d16f6b27140f6ada2bb7886ccbf":"2020-10-26T23:44:20.749Z","1.0.16-update-readme-8c84cae2ac55d17b145b67aec34e360a047c71f8":"2020-10-28T09:06:47.914Z","1.0.16":"2020-10-28T09:10:53.189Z","1.0.17-renovate-pruneStaleBranches-4774369016220221427e0c65b071991151ce4041":"2020-10-28T12:45:20.042Z","1.0.17":"2020-10-28T12:48:17.533Z","1.0.18-renovate-non-major-a04bd5770d57913e5a14904e2f7136ce42266119":"2020-10-28T19:32:52.672Z","1.0.18":"2020-10-28T19:36:01.001Z","1.0.19-renovate-non-major-ad2bce0fdc84d4f5ec199a0d19283bdaa34f6686":"2020-10-30T09:51:31.198Z","1.0.19":"2020-10-30T09:56:05.539Z","1.0.20-renovate-non-major-3e184e494cb8f3f1d69829823db89d7d2882044b":"2020-10-31T13:37:58.304Z","1.0.20":"2020-10-31T13:41:53.488Z","1.0.21-renovate-non-major-0f6a69657da4d03ce529c2711a9f8c7c71615de7":"2020-11-02T14:34:44.305Z","1.0.21":"2020-11-02T14:37:48.753Z","1.0.22-renovate-non-major-db1b1a26241ca81f312514280b582c6e6966d50d":"2020-11-04T06:38:16.598Z","1.0.22":"2020-11-04T06:41:37.840Z","1.0.23-renovate-non-major-8cf5c8d347809b4ad5f3c99f1bd06e1161824a08":"2020-11-06T06:33:51.177Z","1.0.23":"2020-11-06T06:36:43.118Z","1.0.24-npm-engine-strict-90a78113b33b792c0ef3eb4aa4818aa7dfd39fc9":"2020-11-08T07:32:01.010Z","1.0.25-renovate-non-major-792da8935ab5bbdee7d6b1ce7521ae4de0710640":"2020-11-08T15:11:40.244Z","1.0.26-renovate-non-major-7b6054e023d23c1fd132e28329e90c103d967c47":"2020-11-10T01:03:06.532Z","1.0.27-ci-use-node-14-1952a8ce42daa43ea507f70c88ba66f04e81453a":"2020-11-11T07:22:37.976Z","1.0.28-renovate-non-major-52149c969be2c51c0799ccae0b551e6d97848be6":"2020-11-19T22:05:27.348Z","1.0.28":"2020-11-19T22:08:37.663Z","1.0.29-renovate-non-major-c5390996ce036be36f056fd98cfdef2c9d09a1dd":"2020-11-20T13:00:20.540Z","1.0.29":"2020-11-20T13:03:41.393Z","1.0.30-renovate-non-major-ff3a654c2be1ccc5a82a6fe239f88cb177cc52cd":"2020-11-24T05:19:56.056Z","1.0.30":"2020-11-24T05:24:03.103Z","1.0.31-renovate-non-major-cccc949b954d1286deecccca96d209153c73b44c":"2020-12-01T19:54:38.851Z","1.0.31":"2020-12-01T19:57:47.352Z","1.0.32-renovate-non-major-72b827d1a7133c8b02afaaa957af8cac5e1c6b0b":"2020-12-04T17:22:18.833Z","1.0.32":"2020-12-04T17:26:06.196Z","1.0.33-renovate-non-major-efcc1a204a6feebbea94a555d1728572b3681d41":"2020-12-07T08:39:46.045Z","1.0.33-dependabot-npm-and-yarn-highlight-js-10-4-1-1bd181566cabf65368c94c68575c40976e04bf3b":"2020-12-07T08:45:57.715Z","1.0.33":"2020-12-07T16:42:19.230Z","1.0.34-renovate-non-major-374d39286ae3c80e529261f64697a255b29f4228":"2020-12-08T06:13:40.784Z","1.0.34-dependabot-npm-and-yarn-highlight-js-10-4-1-2fa70ceec08bd1c5ee603d25367b851ccac068eb":"2020-12-08T07:23:30.374Z","1.0.34":"2020-12-08T10:32:15.637Z","1.0.35-renovate-non-major-f2209575f8045820c922e72da4a7ee3cdef044db":"2020-12-08T21:15:46.267Z","1.0.35":"2020-12-08T21:19:33.841Z","1.0.36-renovate-non-major-b327e25122b0f9fa8dc77653b8af82629039f5d0":"2020-12-10T22:50:48.965Z","1.0.36":"2020-12-10T22:54:35.415Z","1.0.37-renovate-non-major-a20e1e1d5c32827eda7dfa4cd7bcf0f2105b591e":"2020-12-11T22:09:43.062Z","1.0.37":"2020-12-11T22:12:39.575Z","1.0.38-renovate-ignore-node-427979f0bafe66158c8e12eb6acdba4aa8a6b21a":"2020-12-12T08:07:50.471Z","1.0.38":"2020-12-12T08:12:26.499Z","1.0.39-dependabot-npm-and-yarn-highlight-js-10-4-1-eee547b5e50e4d01f48d272f8b69b18eb04e385b":"2020-12-12T14:12:14.124Z","1.0.39":"2020-12-12T14:19:23.386Z","1.0.40-renovate-non-major-96f050e2980c53aa2d7cd715919b88ed62835779":"2020-12-13T18:22:12.551Z","1.0.40":"2020-12-13T18:25:09.380Z","1.0.41-renovate-non-major-cc778438c4fcd1103640a0bbfd688f9f022017b9":"2020-12-27T01:25:09.717Z","1.0.41":"2020-12-27T01:31:03.651Z","1.0.42-dependabot-npm-and-yarn-node-notifier-8-0-1-7ffa086841c01e7801961b05a3849fbb5818d63d":"2020-12-28T00:40:37.470Z","1.0.42":"2020-12-28T01:17:25.348Z","1.0.43-renovate-non-major-66223827d788ffee6b9987edb09ec9d400922bca":"2020-12-28T19:03:14.852Z","1.0.43-renovate-non-major-9df9c0280ac7adff01078e2243d058c5cdaef20a":"2020-12-29T05:01:54.831Z","1.0.43-renovate-non-major-8a6206ba76d48b92ae50b3af92182a11ac960e31":"2020-12-29T18:42:46.091Z","1.0.43-renovate-non-major-852df75591c82b6b1c4859104a28d5e42207c934":"2020-12-29T20:28:56.649Z","1.0.43-renovate-non-major-f13650b49f6b51dca8771cd1193a661cd67274d7":"2020-12-30T00:53:15.767Z","1.0.43-renovate-non-major-3cbc7ef74fb799ed438a524256c4d9eea62f7e26":"2020-12-30T05:26:21.325Z","1.0.43":"2020-12-30T05:29:21.870Z","1.0.44-renovate-non-major-d7e05333c1df364fb8a58117b9179e8e6fd3def7":"2020-12-30T18:32:21.120Z","1.0.44":"2020-12-30T18:36:05.766Z","1.0.45-renovate-non-major-f0e3060ba6b83c370d061a7a86a6036e33d1ef3c":"2021-01-01T02:11:46.922Z","1.0.45-renovate-non-major-fc68427626115f141ca01ab3b4c059607cd64245":"2021-01-01T07:41:22.793Z","1.0.45-renovate-non-major-723414a03b46759e51b7c0c09434e0a713ec9a76":"2021-01-01T19:21:39.819Z","1.0.45-renovate-non-major-f6e20ad7fb6699e82db9bed4aa1f0802471d0bcd":"2021-01-04T19:56:09.865Z","1.0.45-renovate-non-major-6b27891aa0a6136125494bd5c77ee7e4536b6add":"2021-01-05T00:53:17.192Z","1.0.45-renovate-non-major-c800c63970d7462c493618b5a571f567ff6eb294":"2021-01-06T05:32:08.982Z","1.0.45-renovate-non-major-50f60cdc6beabe082906429ad85d3ed3504516ee":"2021-01-07T01:55:45.319Z","1.0.45":"2021-01-07T01:58:57.244Z","1.0.45-renovate-non-major-7e3a6e750fbef95a62cf1272beb2f8c86d04e6d1":"2021-01-07T02:01:46.890Z","1.0.46-renovate-non-major-0494c5d39d888deda25faf903686d62ef31a1f41":"2021-01-07T02:06:19.389Z","1.0.46":"2021-01-07T02:09:14.510Z","1.0.47-renovate-non-major-f0ea4a71bc968ef772882110d2309af059b2ea81":"2021-01-07T09:57:08.187Z","1.0.47":"2021-01-07T10:00:27.306Z","1.0.48-renovate-non-major-828cfce5b8f6e05777a816be3f550b84aa61da46":"2021-01-09T21:55:30.062Z","1.0.48":"2021-01-09T21:58:36.331Z","1.0.49-use-company-token-a0f4cda65a9400ee1fbc5efd4b336257506eca63":"2021-01-11T07:36:11.098Z","1.0.49":"2021-01-11T07:39:23.680Z","1.0.50-renovate-non-major-41aecff4d40e55a440807a4abec166db781fb69d":"2021-01-16T00:01:09.581Z","1.0.50":"2021-01-16T00:04:21.823Z","1.0.51-renovate-non-major-88e767913cd972fc7f641f8c59dff64f4591f6b8":"2021-01-16T19:27:08.890Z","1.0.51-renovate-non-major-81caa6de4546a2c16a4fd400ea56b6cb82b49045":"2021-01-17T03:27:41.319Z","1.0.51-renovate-non-major-255eb85589973392fecf9da1bfafd488fcd67674":"2021-01-18T01:03:01.335Z","1.0.51":"2021-01-18T01:06:01.213Z","1.0.52-whitesource-configure-a1ff86daa0ac9a3c0767f07d94080eaada19dad7":"2021-01-29T05:12:25.961Z","1.0.52":"2021-01-29T05:16:29.580Z","1.0.53-bump-deplint-df2c903ce737a3c2ab3efcad711390b8396b8f30":"2021-02-02T00:31:31.642Z","1.0.53":"2021-02-02T00:37:00.824Z","1.0.54-add-jellycheck-96d52e42281fae80878f2d0085738c0e0e6d1fc5":"2021-02-03T04:10:17.848Z","1.0.54":"2021-02-03T04:13:14.107Z","1.0.55-renovate-npm-version-cf6b69cf8c94d8e11e5966a0a59f2a1f8cd8f9e6":"2021-02-05T04:43:19.672Z","1.0.55":"2021-02-05T04:46:52.600Z","1.0.56-use-shared-renovate-config-ae269559a0e16d6c37150e7615bb849daafc32b0":"2021-02-06T09:56:25.026Z","1.0.56":"2021-02-06T09:59:42.723Z","1.0.57-renovate-husky-5-x-922c536fc01b877dc6d12a932c5fc479aedb4a02":"2021-02-08T21:01:45.747Z","1.0.57-bump-balena-lint-34821c6322e753ff7a94c48f57b0f7b96eb4ad4d":"2021-02-09T00:24:30.113Z","1.0.57":"2021-02-09T00:27:31.200Z","1.0.58-renovate-husky-5-x-a762f3f845223588ddfe60c4507ebfedb487faaf":"2021-02-09T00:30:37.754Z","1.0.58-renovate-husky-5-x-bfa9f34b02d86d59cbe1721b20a163aae59a57c0":"2021-02-15T07:22:29.310Z","1.0.58":"2021-02-15T07:36:37.791Z","1.0.59-add-changelog-yml-ee7453ea9ded27e516f794b873b1f50eb7a2ac9e":"2021-02-20T08:51:32.609Z","1.0.59":"2021-02-20T08:55:43.936Z","1.0.60-renovate-non-major-adfe80f123c1b960520539d7f865248c6c4f89a8":"2021-02-24T04:39:08.492Z","1.0.60-renovate-non-major-81fd75cfdd25e6c41e04f49a45a266f79bad247e":"2021-02-26T10:22:17.238Z","1.0.60":"2021-02-26T10:25:27.215Z","1.0.61-renovate-non-major-4cde0b67ac02116f839b7bd2bb8cb566e02e21ba":"2021-03-01T03:00:32.878Z","1.0.61":"2021-03-01T03:04:09.853Z","1.0.62-renovate-non-major-d4d2ad7949fd035d63310819d2edbb7075e05071":"2021-03-02T03:59:39.370Z","1.0.62":"2021-03-02T04:03:19.351Z","1.0.63-renovate-non-major-c9b58ade47bf29a1449bba4acb3437962de2c90d":"2021-03-04T08:32:50.345Z","1.0.63-renovate-non-major-aa02f79e2deaa056660589abc0564ab6139f3830":"2021-03-04T23:07:14.715Z","1.0.63-renovate-non-major-39df8db44e6c794010dd51e962efee0b34266e16":"2021-03-06T17:59:51.790Z","1.0.63-renovate-non-major-3e5583d60af9df651d109c67290a4e912f441429":"2021-03-11T23:47:38.780Z","1.0.63":"2021-03-11T23:51:52.925Z","1.0.64-renovate-non-major-76886c11f4ca2ce98593dc8f14d06faa58f9aee6":"2021-03-14T04:12:28.932Z","1.0.64-renovate-non-major-ae6305a475f4e3b3bf123c0b3418addbf16bfaf3":"2021-03-14T21:53:43.071Z","1.0.64-renovate-non-major-6fa6c7218bdac2d06f80c2bbda410848e5162b0b":"2021-03-17T15:55:51.832Z","1.0.64-renovate-non-major-6010042b8cef53d1069d34f1f18d8d087b8f7bf9":"2021-03-17T18:29:13.448Z","1.0.64-renovate-non-major-28261ccd4b36a85c4205c8b5c2c8121b15f71f60":"2021-03-18T00:53:52.972Z","1.0.64":"2021-03-18T00:57:19.946Z","1.0.65-renovate-non-major-366e2b646af240186fcbdc261ddd783209e2507e":"2021-03-21T20:45:38.217Z","1.0.65":"2021-03-21T20:48:42.071Z","1.0.66-renovate-non-major-772ef1566d4d88036fbd7f7c7446cd0c3dfdd65d":"2021-03-22T03:24:29.889Z","1.0.66":"2021-03-22T03:27:44.748Z","1.0.67-fix-assertexpression-6ed7fb80039152c745ed34426889a6c154ba378d":"2021-03-22T09:35:15.192Z","1.0.67":"2021-03-22T09:38:55.277Z","1.0.68-setup-docs-ac060d9e052a43dd20c0e71b5de17cefd030c445":"2021-03-25T00:58:52.172Z","1.0.68":"2021-03-25T01:02:46.168Z","1.0.69-use-simple-git-hooks-808793cd2db91eaf9ceaa76accf405a7836c1609":"2021-03-25T03:27:03.402Z","1.0.69":"2021-03-25T03:32:44.516Z","1.0.70-renovate-non-major-bdbaff7a248e651a07a6ccf9be0ef3a33ae449b4":"2021-03-25T06:26:59.263Z","1.0.70":"2021-03-25T06:30:13.258Z","1.1.0-loose-assertexpression-4d23a378452270dd8a45b249427cb39042ca73ba":"2021-03-25T06:39:35.614Z","1.1.0":"2021-03-25T06:42:53.179Z","1.1.1-renovate-non-major-4fdf947bce04a77ee1baed4927031c55a5637a78":"2021-03-25T18:34:15.895Z","1.1.1":"2021-03-25T18:37:51.463Z","1.1.2-split-tsconfig-71382256f6de5c0fcde76ce08049bf5346de7dd9":"2021-03-31T00:02:59.465Z","1.1.2":"2021-03-31T00:06:40.286Z","1.1.2-dependabot-npm-and-yarn-y18n-4-0-1-34bca0d32e9d34acb4936dbf768f5d929b86eb1b":"2021-03-31T00:10:08.125Z","1.1.3-dependabot-npm-and-yarn-y18n-4-0-1-6691865372ef5b68632f9f03c7efa57299af9559":"2021-03-31T06:39:04.103Z","1.1.3":"2021-03-31T06:46:53.625Z","1.1.4-renovate-non-major-82c9a26054a6268e4ec3d97f55bc276bdcd590ba":"2021-04-02T21:17:17.337Z","1.1.4":"2021-04-02T21:20:34.664Z","1.1.5-renovate-non-major-b75ef3b60c9d6c177ae51dbc8598401b8ba3a949":"2021-04-03T21:20:45.309Z","1.1.5":"2021-04-03T21:23:55.406Z","1.1.6-renovate-non-major-924feafac2847365a6a0adfadad47dce704608b3":"2021-04-07T20:30:51.431Z","1.1.6":"2021-04-07T20:34:04.011Z","1.1.7-renovate-non-major-a2deb3a8577ccea4cf87d8363bc9eb132047f105":"2021-04-15T16:56:20.471Z","1.1.7":"2021-04-15T17:00:27.961Z","1.1.8-renovate-non-major-def43f948942a6742e4fac5e785034bba2b41bfe":"2021-04-23T04:52:20.777Z","1.1.8":"2021-04-23T04:57:13.850Z","1.1.9-renovate-non-major-b322e7ec180dc38459e9bf09b1cad308d5b9382b":"2021-04-24T14:07:59.599Z","1.1.9":"2021-04-24T14:11:50.147Z","1.1.10-renovate-non-major-1d08f86365534d9b1c1046f0e22373558297830b":"2021-04-26T23:54:33.701Z","1.1.10":"2021-04-26T23:57:50.552Z","1.1.11-renovate-non-major-5dccf5796e89a554fc89560cf0d161567303f1e6":"2021-05-03T10:17:11.823Z","1.1.11":"2021-05-03T10:20:52.438Z","1.1.12-renovate-non-major-5b8663adff2eb5e4774dea9d05ad6362bf63b7d2":"2021-05-05T15:35:03.557Z","1.1.12":"2021-05-05T15:39:42.164Z","1.1.13-renovate-catch-uncommitted-2-x-00f9c2a3fa7145949ead60e6c55cb87301805cfc":"2021-05-05T21:24:17.342Z","1.1.13":"2021-05-05T22:58:55.388Z","1.1.14-renovate-lint-staged-11-x-1b32a9385c86336b19f2c2254e77ce6a019d57a7":"2021-05-07T17:54:31.280Z","1.1.14":"2021-05-08T00:00:27.952Z","1.1.14-dependabot-npm-and-yarn-hosted-git-info-2-8-9-20898f9749f54ca43ae9ef19753d0b2a08253c2e":"2021-05-08T00:11:33.482Z","1.1.15-dependabot-npm-and-yarn-hosted-git-info-2-8-9-d9cb99617c936668e14c7060c3e6da2c1dbb5e95":"2021-05-08T03:11:03.272Z","1.1.15":"2021-05-08T03:15:49.066Z","1.1.16-renovate-non-major-0f55d4d2e92a97aa9fbc200408a5ab1d4cbc279c":"2021-05-11T08:06:58.798Z","1.1.16":"2021-05-11T08:11:16.833Z","1.1.17-renovate-non-major-6cfdae2231b54c9f63d03cddd7033d953b05211e":"2021-05-12T08:28:15.600Z","1.1.17":"2021-05-12T08:32:32.090Z","1.1.18-use-jellyfish-config-09734a9fbd1eb7f32808a25ebf7a59e2848359c0":"2021-05-21T06:10:52.666Z","1.1.18":"2021-05-21T07:18:26.978Z","1.1.19-use-external-workflow-action-4a8d4beb8331af7652b2504270ead09c154ad0d7":"2021-05-21T08:03:47.448Z","1.1.19":"2021-05-21T08:06:34.495Z","1.1.20-revert-workflow-change-e4017e7c7c50353beafa2f1a4f596c33703bd858":"2021-05-21T08:31:28.649Z","1.1.20":"2021-05-21T08:34:49.162Z","1.1.21-renovate-internal-non-major-bc81fe76bc5d1d4db63708a590f9311228be4933":"2021-05-21T10:27:58.121Z","1.1.21":"2021-05-21T10:30:52.480Z","1.1.22-renovate-external-non-major-5c46833ed480ce46b6082939e7a03f69421bf833":"2021-05-22T00:25:47.283Z","1.1.22":"2021-05-22T00:29:16.786Z","1.1.23-renovate-internal-non-major-9c36a018d4ada346aa442202c81deea4e6deea69":"2021-05-23T05:20:09.633Z","1.1.23":"2021-05-23T05:23:26.245Z","1.1.24-renovate-internal-patch-82f45226f9943693dae357c2ae52e4b20929b2da":"2021-05-24T02:48:29.382Z","1.1.24":"2021-05-24T02:52:25.478Z","1.1.25-renovate-balena-lint-6-x-918677ba9f5d4ef91e16fd235b114cf7ef03aa1d":"2021-05-24T04:28:11.032Z","1.1.25-renovate-internal-patch-bbc2de6fda2cbbf0a817f0dd41ebf018cc2f8cb5":"2021-05-24T04:28:55.279Z","1.1.25":"2021-05-24T04:31:40.694Z","1.1.26-renovate-balena-lint-6-x-f0e314d0948616f02c26aedac78a8b6eb8222161":"2021-05-24T12:18:09.143Z","1.1.26":"2021-05-24T23:57:45.046Z","1.1.27-renovate-internal-patch-a4008824b49101d7ee9d4d469c4bee93d5b16505":"2021-05-25T00:15:18.669Z","1.1.27":"2021-05-25T00:30:54.990Z","1.1.28-renovate-balena-jellyfish-config-1-x-5dc4132be08eaca81c9d00d4917c70224ec4d8ad":"2021-05-26T09:01:58.548Z","1.1.28-repo-sync-jellyfish-config-default-f921a3a10297f1e777cddbfc86fb88d5f30582a7":"2021-05-26T09:11:51.562Z","1.1.28-renovate-balena-jellyfish-config-1-x-fab7dfda2d0aa18ee15bfea11692d5f5d4deb2a3":"2021-05-26T10:12:11.938Z","1.1.28-repo-sync-jellyfish-config-default-60432323953d26f13420564422cd25175195cf71":"2021-05-27T01:19:08.664Z","1.1.28-renovate-balena-jellyfish-config-1-x-91397bf1fec162cf128abbb5a947f66f98856990":"2021-05-27T02:30:35.091Z","1.1.28":"2021-05-27T02:36:34.326Z","1.1.29-repo-sync-jellyfish-config-default-b956c2d68f2f4c9516d5ecad3181caa85340f6d2":"2021-05-27T03:22:51.680Z","1.1.29-renovate-internal-patch-0db1b278b3d2048ea58e628e662c3595f8aa3a16":"2021-05-27T03:58:11.858Z","1.1.29":"2021-05-27T04:01:13.295Z","1.1.30-renovate-internal-patch-283711f577dc1c7725939632e4251ab95363bb39":"2021-05-27T04:59:58.978Z","1.1.30":"2021-05-27T05:03:04.178Z","1.1.31-repo-sync-jellyfish-config-default-0dc5c137466a1d9d6f62bc0069647a49ba43d5f6":"2021-05-27T06:49:09.941Z","1.1.31":"2021-05-27T08:29:28.959Z","1.1.32-renovate-internal-patch-c2eee78d60dd2c7042d27864bee83f75ca9cfd07":"2021-05-27T08:37:50.487Z","1.1.32":"2021-05-27T08:46:25.352Z","1.1.33-renovate-internal-patch-0af777732a7c58feb452fa642080e39e03f617af":"2021-05-27T09:56:50.095Z","1.1.33":"2021-05-27T10:00:41.936Z","1.1.34-renovate-external-non-major-6f416acb77da94f527e0e69e9d90402b35d4a3c8":"2021-05-29T00:38:09.821Z","1.1.34-renovate-major-external-major-7308647240f536819409ef6696d403af4d02865f":"2021-05-29T00:39:24.225Z","1.1.34":"2021-05-29T00:41:38.512Z","1.1.35-renovate-major-external-major-a8566842fc951bc1e90108337b50f2de0b1306b7":"2021-05-29T00:48:10.008Z","1.1.35":"2021-05-29T03:01:58.589Z","1.1.36-renovate-external-non-major-5c4702f375838ceab6f6c4b2fff5a8acbea69c93":"2021-05-29T12:59:36.753Z","1.1.36":"2021-05-29T13:02:38.393Z","1.1.37-renovate-external-non-major-47ffd87ff350ceb45ec12659d40083cce40b95ca":"2021-05-29T19:40:23.564Z","1.1.37":"2021-05-29T19:44:23.567Z","1.1.38-renovate-internal-patch-f8ddfd33a45fc33332c38286ffdd39c6844886bd":"2021-05-31T03:23:56.334Z","1.1.38":"2021-05-31T03:28:19.119Z","1.1.39-renovate-internal-patch-fcc5469b974f9c62941689b595884356d7b3e978":"2021-05-31T21:17:44.727Z","1.1.39":"2021-05-31T21:23:37.417Z","1.1.40-remove-catch-uncommitted-21478bf1ac2a4d1388f3cb0af9ac796ee9654d28":"2021-06-02T07:23:48.267Z","1.1.40":"2021-06-02T07:27:05.417Z","1.1.41-improve-lint-staged-4b92b741972c22c5f7edbaa5e178dfb4c4239293":"2021-06-03T23:12:14.942Z","1.1.41":"2021-06-03T23:15:30.448Z","1.1.42-renovate-external-non-major-cf11f73e748736754faf55aaeeb03aef08ec4031":"2021-06-05T08:23:45.641Z","1.1.42":"2021-06-05T08:30:20.017Z","1.1.43-renovate-external-non-major-7e0387d7cb0d112c5c40885959203a93a66ed307":"2021-06-06T17:36:12.635Z","1.1.43":"2021-06-06T17:39:43.303Z","1.1.44-renovate-internal-patch-0299f9354148dcabdad7260eb6d83eb85f9b60b5":"2021-06-08T02:59:55.644Z","1.1.44":"2021-06-08T03:03:48.936Z","1.1.45-renovate-balena-jellyfish-config-1-x-23982b1b36989d783db9e089a18a1d4bb758b911":"2021-06-08T04:23:58.930Z","1.1.45":"2021-06-08T04:28:16.276Z","1.1.46-repo-sync-jellyfish-config-default-3848a02ab67e15a13a09022ade5321c0ce2f4af8":"2021-06-11T05:02:12.949Z","1.1.46-renovate-internal-patch-384339ee1df345d3f2beb9d90a42405ea2191b62":"2021-06-11T05:15:56.066Z","1.1.46":"2021-06-11T05:19:28.061Z","1.1.47-repo-sync-jellyfish-config-default-d8f0d4af045798b7e65086c6bfd710abb318b258":"2021-06-14T23:47:18.677Z","1.1.47-repo-sync-jellyfish-config-default-f4c824e1fd3b8dbc1ed223b26f5cbdfdbf25df38":"2021-06-14T23:57:23.728Z","1.1.47":"2021-06-15T00:04:43.051Z","1.1.48-renovate-internal-patch-0ef9f9ca6bc7bfe53664b1f167cf0b92857067f3":"2021-06-15T01:40:03.006Z","1.1.48":"2021-06-15T01:43:30.391Z","1.1.49-bump-typescript-a30de3f5410d5efde33c8f273b95a68e1e544926":"2021-06-19T09:12:17.512Z","1.1.49":"2021-06-19T09:15:28.515Z","1.1.50-renovate-internal-patch-f1b64d8ab1a1ccad6234ddd52bf0591c5e83a1a4":"2021-06-22T07:16:19.391Z","1.1.50":"2021-06-22T07:20:14.323Z","1.1.51-bump-jest-7fadb1caa5f399cc919672eb63dbbe5b4a77ab94":"2021-06-23T23:07:51.804Z","1.1.51":"2021-06-23T23:11:36.556Z","1.1.52-bump-simple-git-hooks-fdd39fe1059755bd329ca3b861fac2c0bb0eb82c":"2021-06-29T06:48:11.823Z","1.1.53-renovate-external-non-major-5d5fc132fb4ed2be6cc9e2b848f6b46aeb98d489":"2021-06-29T06:58:01.886Z","1.1.54-repo-sync-jellyfish-config-default-91518999c7821ffa6f81b8c3ec467c2a36e44fb1":"2021-06-29T10:03:21.261Z","1.1.54-renovate-internal-patch-26b309d6489768cc0f2d392a38b4f5ab3e5585a8":"2021-06-29T10:06:16.716Z","1.1.54":"2021-06-29T10:09:55.147Z","1.1.55-repo-sync-jellyfish-config-default-5e2f2841851d983dd23a2b6f01bbe86b5e59f160":"2021-06-30T01:18:37.829Z","1.1.55":"2021-06-30T01:22:15.644Z","1.1.56-renovate-balena-jellyfish-config-1-x-dfbbcd47bc803374c805813c7aee57cd82bde361":"2021-07-02T06:39:41.066Z","1.1.56":"2021-07-02T06:42:40.044Z","1.1.57-renovate-internal-patch-28e8908eea2763f88ab0affc9c162ac82074f667":"2021-07-02T23:12:53.692Z","1.1.57":"2021-07-02T23:16:14.689Z","1.1.58-renovate-external-non-major-c9d08c42007f5f3e17dc8ec07217bc307d29465d":"2021-07-03T01:05:53.302Z","1.1.58":"2021-07-03T01:09:27.573Z","1.1.59-renovate-internal-patch-c39533a7553518b5beefe35f1de99eef946bbced":"2021-07-03T01:40:15.304Z","1.1.59":"2021-07-03T01:43:28.811Z","1.1.60-renovate-internal-patch-178b1985dee94a4605d507d9be426b314ad1caa3":"2021-07-05T01:15:02.979Z","1.1.60":"2021-07-05T01:18:55.176Z","1.1.61-renovate-internal-patch-f8f431fd68504c30c7bbca870088c764b5b4e400":"2021-07-10T00:13:58.097Z","1.1.61-renovate-external-non-major-427d28e8db2d2d6e121ecbdcd22fd5e141b40415":"2021-07-10T00:22:57.217Z","1.1.61":"2021-07-10T00:23:44.787Z","1.1.62-renovate-external-non-major-ffb8084f3a0fb88005d0426ff533d364e89bab76":"2021-07-10T00:27:07.498Z","1.1.62":"2021-07-10T00:35:48.717Z","1.1.63-renovate-external-non-major-9d846f52101298e0939e99bd4336ed54ed1a24e3":"2021-07-10T23:59:22.916Z","1.1.63":"2021-07-11T00:03:10.475Z","1.1.64-renovate-internal-patch-33b42156f3576eea964ed2338578f998c63c138a":"2021-07-14T04:14:43.461Z","1.1.64":"2021-07-14T04:18:13.420Z","1.1.65-remove-whitesource-f813814831066972729371b093648416fb4f8df6":"2021-07-16T23:42:00.502Z","1.1.65":"2021-07-16T23:45:24.679Z","1.1.66-renovate-external-non-major-bf8103451778565a6c860fca0477c05e9492efbb":"2021-07-17T01:20:32.445Z","1.1.66":"2021-07-17T01:23:55.327Z","1.1.67-h32-unify-script-names-4240c484ab6c2663dc718641781905e6d6f017fa":"2021-08-04T09:45:11.287Z","1.1.67":"2021-08-04T22:42:48.908Z","1.1.68-repo-sync-jellyfish-config-default-a886a4d71df6fd5517a568d25d2f61aba889e2fa":"2021-10-04T05:12:25.549Z","1.1.68-repo-sync-jellyfish-config-default-ef7adef4ddfb6c0c6ff3382f37ef6793700457f3":"2021-10-05T00:23:31.571Z","1.1.68":"2021-10-05T00:29:04.192Z","1.1.69":"2021-11-10T04:22:31.366Z","1.1.70-renovate-balena-jellyfish-config-1-x-6a81e94800d464b2e7300ed821d9c856c3dc1ebd":"2021-11-10T23:14:26.888Z","1.1.70":"2021-11-10T23:17:16.182Z","1.1.71-renovate-internal-patch-7b784b424dcb1f9302efdbdc9d6b4c9fdd3e0e72":"2021-11-10T23:20:57.236Z","1.1.71":"2021-11-11T00:39:53.392Z","1.1.72-renovate-major-external-major-26480455470ba3a2d4ce9db1451fd3341cbef6ce":"2021-11-13T00:07:41.841Z","1.1.72":"2021-11-13T04:09:54.211Z","1.1.73-renovate-external-non-major-1b88793309532f6d9183d881f21fd915a3f71e12":"2021-11-13T04:14:36.368Z","1.1.73-renovate-external-non-major-52203b7881d0700c7ee2e87648f3e81b7c96bb42":"2021-11-13T04:33:54.534Z","1.1.73":"2021-11-13T04:37:07.785Z","1.1.74-renovate-major-external-major-3ff12001c982a4f617cbac150c1264c380683185":"2021-11-14T12:45:21.238Z","1.1.74":"2021-11-14T12:48:14.860Z","1.1.75-renovate-external-non-major-ea5e0850ccc1e0b73f53506ece678724efdbc9f9":"2021-11-14T22:45:06.759Z","1.1.75":"2021-11-14T22:48:29.335Z","1.1.76-joshbwlng-set-license-df16eefbca2a402b9cf33957828e70646b5f6362":"2021-11-15T03:17:11.383Z","1.1.76":"2021-11-15T03:23:10.805Z","1.1.77-renovate-internal-patch-c7b6f454e28a0c3f4b47e6058c69be5ea9a2d7c6":"2021-11-15T06:13:38.428Z","1.1.77":"2021-11-15T06:17:09.091Z","1.1.78-renovate-internal-patch-10b62e71fa90f7583afbb13006a915908bdbe3e8":"2021-11-16T00:44:51.044Z","1.1.78":"2021-11-16T00:47:46.149Z","1.1.79-repo-sync-jellyfish-config-default-ec97496913e7bbdc753c7bab243a49b4b3ce7b1b":"2021-11-16T01:58:52.182Z","1.1.79-renovate-internal-patch-91791303d2b3f4fdbb601044eb77becc967f195e":"2021-11-16T03:05:05.117Z","1.1.79":"2021-11-16T03:07:51.297Z","1.1.80-repo-sync-jellyfish-config-default-b8fa54e818b4d9c305a6c1047f4c3bcc123a53b2":"2021-11-16T03:55:43.093Z","1.1.80":"2021-11-16T03:58:45.562Z","1.1.81-renovate-external-non-major-0bf671ff8fb0705703c6679a20f6ece7ad7e0f1d":"2021-11-20T00:35:26.700Z","1.1.81-renovate-balena-jellycheck-1-x-5b8d7a7ad45e81d0ad924f0bbac17b8b631fbac8":"2021-11-20T02:22:37.425Z","1.1.81":"2021-11-20T05:24:26.768Z","1.1.82-renovate-external-non-major-e4504f295ccf75d619674f3c49b65af2f4e93a17":"2021-11-20T05:28:14.018Z","1.1.82-joshbwlng-remove-license-headers-e97087c25360a39ecb5702e0906c5fd981e10bae":"2021-11-20T07:17:17.669Z","1.1.82":"2021-11-20T07:20:30.674Z","1.1.83-renovate-external-non-major-11cecd42df124cf6496f346c2c218a4220441f59":"2021-11-20T07:24:12.368Z","1.1.83-joshbwlng-bump-deps-f48b349d5c7d7fc67ebc23bf80168c42fa980f66":"2021-11-21T14:38:36.899Z","1.1.83":"2021-11-21T14:42:10.237Z","1.1.84-renovate-external-non-major-0f8cb2971fe5a78197af91ec27235a38e68e3899":"2021-11-21T14:45:57.233Z","1.1.84-renovate-internal-patch-9daee6c74e80663549d71ed6779e1ded05eb94fd":"2021-11-21T18:02:21.390Z","1.1.84-renovate-external-non-major-e62b320eb4807eba88bcbb3adaed103b155e7899":"2021-11-21T18:03:28.486Z","1.1.84-renovate-external-non-major-268bf4ab1aa9e7c87f1ee313c628901dd11993cd":"2021-11-21T18:07:12.108Z","1.1.84-renovate-internal-patch-752e28d17bc646a743cc0268d7aba50d4ae7cf11":"2021-11-21T23:19:50.950Z","1.1.84":"2021-11-21T23:23:00.939Z","1.1.85-renovate-external-non-major-8c384248d8b45d9151c672174cab8b7dd207f871":"2021-11-21T23:24:55.230Z","1.1.85-joshbwlng-bump-lint-staged-afc94a4968147472705c998a0110b9fb0f446a80":"2021-11-22T01:02:52.344Z","1.1.85":"2021-11-22T01:06:01.458Z","1.1.86-renovate-external-non-major-3999c34a872ebeae040d67251862276d66ff40c3":"2021-11-22T01:09:42.686Z","1.1.86-renovate-internal-patch-d39c4a58405537f1b04e18a5507bc7373ab3a5c8":"2021-11-22T05:00:33.437Z","1.1.86-renovate-external-non-major-425c46d3139dd3275c4def52b95b6e47e82112df":"2021-11-22T05:06:10.816Z","1.1.86-renovate-external-non-major-4cc65264fbabf78559185f1a92194c3f9f1ad527":"2021-11-22T09:35:20.425Z","1.1.86-renovate-internal-patch-8a30f0d1533509f747b67cd2754f9d4d6b65b9da":"2021-11-23T03:34:15.739Z","1.1.86-renovate-typescript-4-x-2cef594edd2608f8e6b4814e7a9adb6866f4f151":"2021-11-23T03:34:28.633Z","1.1.86":"2021-11-23T03:37:22.936Z","1.1.86-renovate-external-non-major-df20c27ef5e33ac3c541236e323b9f8f48815c8f":"2021-11-23T03:39:01.068Z","1.1.87-renovate-external-non-major-0d7e88405c279e8869c93562609a362a1830a170":"2021-11-23T03:41:53.465Z","1.1.87-renovate-typescript-4-x-24e5d37cff04836799755a47d36adc90bba01725":"2021-11-23T03:42:13.394Z","1.1.87":"2021-11-23T03:44:51.335Z","1.1.88-renovate-typescript-4-x-820e73a4cc1ec37f0e48f711e5e20a44a1157613":"2021-11-23T03:48:52.159Z","1.1.88-repo-sync-jellyfish-config-default-83f2992afc598b90fc41155938a5abe7ebff9266":"2021-11-24T03:10:40.691Z","1.1.88-renovate-internal-patch-208a0c7fe0c0b3894f8b468c457a7edcdf441b3f":"2021-11-24T03:44:46.608Z","1.1.88":"2021-11-24T03:48:32.700Z","1.1.89-renovate-typescript-4-x-6e209ad1198d37bff1fe854159fa48724de4748d":"2021-11-24T03:50:34.953Z","1.1.89-repo-sync-jellyfish-config-default-037b22f6c0e0d639b6c28617d68ff4cb7adb9240":"2021-11-24T05:56:27.336Z","1.1.89":"2021-11-24T06:00:24.974Z","1.1.90-renovate-typescript-4-x-67361919e1291287639bc0a831779b93f3c76bae":"2021-11-24T06:05:07.028Z","1.1.90-renovate-internal-patch-175a18ecd257cc53d468fd9c4d95204feb621bae":"2021-11-24T12:53:33.748Z","1.1.90":"2021-11-24T12:56:56.987Z","1.1.91-renovate-typescript-4-x-7443178d876cc1fe294f2cafbf830478ae0629c2":"2021-11-24T13:01:57.057Z","1.1.91-joshbwlng-remove-jellycheck-3f27fc7050bd2943f1d40993457b6a6f29cbb11e":"2021-11-25T01:12:16.932Z","1.1.91":"2021-11-25T01:21:56.012Z","1.1.92-joshbwlng-update-renovate-fa73b541d868e63ed4c456186761824c75df50b7":"2021-11-25T03:47:25.339Z","1.1.92":"2021-11-25T03:55:28.849Z","1.1.93-joshbwlng-update-repo-yml-2d1d91892cdfba211a0fded48c0388f2d2b43506":"2021-11-25T04:05:35.850Z","1.1.93":"2021-11-25T04:08:58.789Z","1.1.94-renovate-internal-patch-6a411b042002e091177872e920db95710ff7bb39":"2021-11-25T07:45:09.495Z","1.1.94-renovate-typescript-4-x-0aa089c6b85bdab0c16a92290678489cce7f8157":"2021-11-25T07:45:27.557Z","1.1.94":"2021-11-25T07:48:54.430Z","1.1.95-renovate-typescript-4-x-09a61176c0ae6b209c346fd2364ff480865c5ccd":"2021-11-25T07:50:33.460Z","1.1.95":"2021-11-26T01:05:26.913Z","1.1.96-renovate-balena-jellyfish-config-2-x-a541035936ae7019dd9d9d78e9f8511c0ea0c4f8":"2021-11-26T10:03:20.216Z","1.1.96-renovate-balena-lint-6-x-51712f0513df67405ef250e8cd26cfeca29d9940":"2021-11-26T15:54:40.761Z","1.1.96":"2021-11-26T15:58:06.857Z","1.1.97-renovate-balena-jellyfish-config-2-x-c4eecfc5dba4c4bfc7c33bf1c2ecbc752e72702f":"2021-11-26T16:00:42.610Z","1.1.97-renovate-external-non-major-da4690be512d360e3698bc73f462559f3c7784b0":"2021-11-27T00:59:09.999Z","1.1.97-renovate-balena-jellyfish-config-2-x-ddc18f7923c3f10d923cfac81a195f4cf58c7aeb":"2021-11-27T00:59:14.644Z","1.1.97":"2021-11-27T01:02:32.779Z","1.1.97-renovate-balena-jellyfish-config-2-x-256da7b841a62effaefe0cfd25cf3cba3f027db7":"2021-11-27T01:04:24.051Z","1.1.98-renovate-balena-jellyfish-config-2-x-92a96fe93c4b48a1fdade1dabd158646f55bc8c3":"2021-11-27T01:06:06.768Z","1.1.98":"2021-11-27T14:41:31.269Z","1.1.99-renovate-internal-patch-ba7ecd58dbf41e1b6d9a60c7c2f14d465e325733":"2021-11-29T04:47:53.860Z","1.1.99":"2021-11-29T04:51:24.137Z","1.1.100-renovate-external-non-major-b46e2516bc80db2c226d49b4d487788c3655a02d":"2021-12-04T00:48:56.411Z","1.1.100":"2021-12-04T00:52:06.307Z","1.1.101-renovate-external-non-major-fb04b9c1623e39ef0ee84d26073a963aabe5af74":"2021-12-05T12:33:20.668Z","1.1.101":"2021-12-05T12:37:03.544Z","1.1.102-renovate-typescript-4-x-7038537f1e222a5be445b5fd7f4a686afbd740b9":"2021-12-10T00:06:57.231Z","1.1.102-renovate-external-non-major-3bb0ecc16f0332f2d978816d93e7cff16edc93cf":"2021-12-11T00:26:40.913Z","1.1.102":"2021-12-11T00:29:47.043Z","1.1.103-joshbwlng-drop-depcheck-e04bf5d8aa1960d17922729f7f5fb18f2fd181dc":"2021-12-14T01:31:40.039Z","1.1.103":"2021-12-14T01:35:08.245Z","1.2.0-reexport-60ffe5ef07bef1febe1747abec901c5e68e325ba":"2021-12-16T18:18:17.803Z","1.2.0":"2021-12-16T18:21:35.110Z","1.2.1-renovate-external-non-major-1adfa5ae918ae8c433773bb0e15887d7171cc388":"2021-12-18T00:39:50.117Z","1.2.1":"2021-12-18T00:43:05.391Z","1.2.2-renovate-external-non-major-f4cb7980b7d1b9cef2def96a945400e71e5eadd5":"2021-12-18T11:15:43.606Z","1.2.2":"2021-12-18T11:21:04.363Z","1.2.3-renovate-external-non-major-70f1d919e5f4d6fc9d91225db7a8a260a0e38dda":"2021-12-25T01:45:52.847Z","1.2.3":"2021-12-25T01:50:40.686Z","1.2.4-renovate-external-non-major-2a0c425d48b2be5ce728e05c69e6bb2d994955ac":"2022-01-01T01:42:41.295Z","1.2.4":"2022-01-01T01:45:20.679Z","1.2.5-renovate-external-non-major-485f472873359a13de470cf6e115fbfa1b1d2272":"2022-01-02T22:45:02.931Z","1.2.5":"2022-01-02T22:48:30.715Z","1.2.6-renovate-external-non-major-f691e3d2e3e902fc6b7b063309108d268202380c":"2022-01-08T00:32:20.730Z","1.2.6":"2022-01-08T00:35:41.231Z","1.2.7-renovate-external-non-major-a75fbd9afdac4feaf4968c9f66f5db1ad7cdae8f":"2022-01-15T00:48:21.492Z","1.2.7":"2022-01-15T00:52:53.757Z","1.2.8-renovate-typedoc-0-x-a099916454b962c03694b10650028f7b4486139e":"2022-01-19T04:58:52.941Z","1.2.8":"2022-01-19T05:02:26.663Z","1.2.9-renovate-external-non-major-b06dce1be284f26f69b238b2f482f5fbba9465fc":"2022-01-22T01:32:09.310Z","1.2.9":"2022-01-22T01:36:16.674Z","1.2.10-renovate-external-non-major-16aebb34d20563d5fd55b3f73877d28003fbbe03":"2022-01-23T12:12:26.386Z","1.2.10":"2022-01-23T12:15:42.051Z","1.2.11-renovate-external-non-major-e3ee9ca45dd9475bef534cad8d04f87612866063":"2022-01-23T17:06:27.945Z","1.2.11":"2022-01-23T17:09:39.616Z","1.2.12-renovate-external-non-major-bc0c8aab3fba3fbf71473845dc18ec1ea72983cc":"2022-01-29T00:38:59.226Z","1.2.12":"2022-01-29T00:43:00.032Z","1.2.13-renovate-external-non-major-61dd11504b31db6c892e5ba87bc6a75225163363":"2022-02-05T10:38:16.632Z","1.2.13":"2022-02-05T10:41:38.208Z","1.2.14-renovate-external-non-major-bff559aa828e51862b8c3e74e4062de566529cd8":"2022-02-13T19:36:54.277Z","1.2.14":"2022-02-13T19:40:42.812Z","1.2.15-renovate-typedoc-0-x-24fa5d2a6dcac70ecac32d2a38ba8c1d9f058ce9":"2022-02-20T05:44:34.786Z","1.2.15":"2022-02-20T06:38:29.875Z","1.2.16-renovate-external-non-major-63b5a0ba88f79ffa4304c0f83ec3424b66dc8767":"2022-02-26T01:56:43.302Z","1.2.16":"2022-02-26T01:59:44.074Z","1.2.17-renovate-external-non-major-85ad3db18f2c931cee3758040b5cee7edbc334b5":"2022-03-05T13:04:00.350Z","1.2.17-joshbwlng-bump-lint-staged-99fcda94fe3370289e2b97e9cbc5380aa853bee2":"2022-03-05T15:11:11.108Z","1.2.17":"2022-03-05T15:15:08.391Z","1.2.18-renovate-external-non-major-360fbe21af4edbeeb7a49b61ffd92f88ffb88ddf":"2022-03-05T15:20:20.354Z","1.2.18-renovate-typescript-4-x-c114c11569a1ca2e3175d725b4b6462b2cf44cd4":"2022-03-06T02:23:10.106Z","1.2.18-renovate-typedoc-0-x-70e180dc9db679b157e7daf5cc66c33dd72a6cb2":"2022-03-07T02:34:15.561Z","1.2.18-renovate-typescript-4-x-597c2d99826673671f6b91eca1c4afb04742caf4":"2022-03-07T02:45:45.596Z","1.2.18":"2022-03-07T02:49:53.628Z","1.2.19-renovate-internal-patch-17fd2f3e05ad23a8404841dec5d72338c396acb1":"2022-03-16T13:39:02.169Z","1.2.19-renovate-external-non-major-817fb21408175a53f218fdaa544c25668e7e5e0d":"2022-03-19T03:36:43.249Z","1.2.19":"2022-03-19T03:40:37.486Z","1.2.20-joshbwlng-update-repo-yml-5b62793656e6d2cf342ca238fc0613ed4fa78947":"2022-03-22T03:57:32.661Z","1.2.20":"2022-03-22T04:00:51.313Z","1.2.21-renovate-typescript-4-x-205086746b5816c9465d2fc8e91ee0e093da2add":"2022-03-25T00:38:03.703Z","1.2.21":"2022-03-25T23:06:43.907Z","1.2.22-renovate-external-non-major-abbdd8ac71522a3458a4222600c11f034b2f7bb3":"2022-04-02T01:06:45.504Z","1.2.22":"2022-04-02T01:10:08.236Z","1.2.23-renovate-typedoc-0-x-643cef2bee5233bcde82daf7847600a1dde5905f":"2022-04-07T04:39:07.074Z","1.2.23":"2022-04-07T04:42:44.805Z","1.2.24-renovate-typedoc-0-x-652aff5181e2adf0031b6a5c626d09faedc41908":"2022-04-11T14:45:46.423Z","1.2.24":"2022-04-12T00:10:49.412Z","1.2.25-repo-sync-jellyfish-config-default-2b7198cad26635dab89a1d1c11bcc59868dc09b3":"2022-04-15T03:03:00.459Z","1.2.25":"2022-04-15T03:07:37.453Z","1.2.26-renovate-external-non-major-86397b922e6159a11485c4bb9464e88b42d5c44d":"2022-04-23T00:07:59.319Z","1.2.26":"2022-04-23T00:11:20.781Z","1.2.27-renovate-major-external-major-cb5c5f0bc21b8d9fd53713bbd95db297ff2f363f":"2022-04-30T02:22:28.077Z","1.2.27-renovate-typescript-4-x-e6ca731f2215230008956535cf96faffc656ee49":"2022-05-02T04:28:11.119Z","1.2.27":"2022-05-02T04:32:24.234Z","1.2.28-renovate-major-external-major-0d0c6c519dda4f10a1b2e1c86d8c8c130632756b":"2022-05-02T05:30:44.675Z","1.2.28-renovate-major-external-major-9c32122ab5266b8a80a39f644e76420b15d8d5df":"2022-05-03T12:08:11.603Z","1.2.28-renovate-major-external-major-ff0c23032791836e5e45aff4acefdfa37d42b112":"2022-05-03T23:38:41.573Z","1.2.28":"2022-05-04T00:43:28.241Z","1.2.29-renovate-external-non-major-2726d962996b1a6aa9470d7c9b5f51887fdb3949":"2022-05-07T01:44:23.816Z","1.2.29":"2022-05-07T01:48:19.801Z","1.2.30-renovate-external-non-major-188b4bfdb29f64348ce14f8f833e002bfb80489f":"2022-05-14T02:38:22.945Z","1.2.30-renovate-typescript-4-x-3565366daee8319e7be5ad779dc9fbfd22827d89":"2022-05-24T19:58:40.302Z","1.2.30-renovate-external-non-major-2ea5c5f05df813798559de2e5bcb7f5b852e73df":"2022-05-28T01:09:54.057Z","1.2.30":"2022-05-28T01:17:36.134Z","1.2.31-renovate-typescript-4-x-1f6330e80ce9e4ed6ae851f0256e687df3efeb1f":"2022-05-28T01:22:11.824Z","1.2.31-renovate-typedoc-0-x-c62adb4e428902e48a465d1c927f0173d75df325":"2022-05-30T18:03:20.349Z","1.2.31-renovate-typescript-4-x-6224aafddd6c2910ec61b3d709d5267c484cf220":"2022-05-31T01:41:17.770Z","1.2.31":"2022-05-31T02:00:03.564Z","1.2.32-renovate-typedoc-0-x-506cdaf7e99b8965ba0275163e989f1f74f05d4c":"2022-06-01T04:59:44.184Z","1.2.32":"2022-06-01T08:00:29.129Z","1.2.33-renovate-typescript-4-x-f6a055365e94998203e9db2d497cf0f5743561ec":"2022-06-03T21:49:26.326Z","1.2.33":"2022-06-04T00:50:03.530Z","1.2.34-renovate-major-external-major-c3f563a37ec45c5329037cc704cfbe7388069715":"2022-06-05T11:54:27.645Z","1.2.34":"2022-06-06T04:43:34.142Z","1.2.35-renovate-typescript-4-x-4c8cadf61e797c7e04adefb9fb9b3405cd8bcd46":"2022-06-17T20:14:12.015Z","1.2.35":"2022-06-19T03:38:21.094Z","1.2.36-joshbwlng-bump-deps-7f9e51aabd14dd454652d1595287789bb0273bfd":"2022-06-19T04:03:41.484Z","1.2.36":"2022-06-19T04:07:09.209Z","1.2.37-joshbwlng-drop-jellyfish-config-9435312665179533013437d76f1d4a0c5cfdc5d0":"2022-06-19T07:31:29.365Z","1.2.37":"2022-06-19T07:39:21.722Z","1.2.38-joshbwlng-drop-makefile-f289a75c2a7a529a3b268f90ade27f49718d0741":"2022-06-19T07:44:25.696Z","1.2.38":"2022-06-19T07:49:06.434Z","1.2.39-renovate-typedoc-0-x-e82e13d514d4aeb6e7edfbc606119173989385df":"2022-06-25T02:34:09.917Z","1.2.39-renovate-external-zero-minor-3a62710a673549dc0bee3f5f890ae35c4c87fffa":"2022-06-26T21:31:06.002Z","1.2.39":"2022-06-26T23:17:00.768Z","1.2.40-renovate-external-zero-minor-4862f9b71842d5c296a3dfa8715c8676c1a43c00":"2022-06-26T23:27:41.444Z","1.2.40":"2022-06-27T23:34:31.211Z","1.2.41-renovate-typedoc-0-x-bdbb8b1ef805f1e39e05b9ee78cd123dc4bef2c8":"2022-06-28T13:43:27.169Z","1.2.41-renovate-typedoc-0-x-1a087fe4c73ac1c7dba3a30506408f52bfd4b3a1":"2022-07-01T21:50:28.130Z","1.2.41":"2022-07-01T23:47:52.027Z","1.2.42-renovate-typedoc-0-x-d5819f9522b304fed5d6275b441d6ab37a29fc44":"2022-07-02T04:46:51.362Z","1.2.42-renovate-typedoc-0-x-73d9625f6c8e8400cf707bafdf3e8359e554b71a":"2022-07-02T18:26:00.218Z","1.2.42":"2022-07-03T02:37:51.987Z","1.2.43-renovate-typedoc-0-x-63621aa66717614fdb495a02359c988aac52e594":"2022-07-08T01:59:56.089Z","1.2.43":"2022-07-08T02:03:10.589Z","1.2.44-renovate-typedoc-0-x-8dd36d6fefaf52f192fca1c60230b41c61162acb":"2022-07-09T23:25:27.032Z","1.2.44":"2022-07-09T23:29:26.208Z","1.2.45-renovate-typedoc-0-x-b70368a3a930a03c401a1db8cbd25f6e82d67d6a":"2022-07-18T00:23:16.759Z","1.2.45":"2022-07-18T00:26:21.824Z","1.2.46-renovate-typedoc-0-x-12732e47904cf8febb296eafa6cc38d84eff79b2":"2022-07-24T21:04:27.242Z","1.2.46":"2022-07-24T21:08:14.207Z","1.2.47-renovate-jest-monorepo-fae11c7f5a2a27e36c4628c39309cb2f1c989587":"2022-07-31T10:43:48.004Z","1.2.47-renovate-lint-staged-13-x-09202a1e9aef008da5d4a4d23a4998c0640c320d":"2022-07-31T12:45:58.542Z","1.2.47":"2022-07-31T12:49:31.135Z","1.2.48-renovate-ts-jest-28-x-8cf428a91cae9db04e7375c64d8729dfad7691e2":"2022-07-31T12:58:03.813Z","1.2.48":"2022-07-31T13:08:11.244Z","1.2.49-renovate-lint-staged-13-x-f77684a0a1c21fdf41f208d014aff5282b18f444":"2022-07-31T13:16:25.409Z","1.2.49":"2022-07-31T13:21:57.420Z","1.2.50-renovate-typedoc-0-x-bc402b8ac237fa10193dd51e3017aca62a47c023":"2022-07-31T18:17:41.350Z","1.2.50":"2022-07-31T21:09:14.960Z","1.2.51-joshbwlng-update-gitignore-46593d46f2343a27c407daa9607c738fb638ec62":"2022-08-16T05:54:23.519Z","1.2.51":"2022-08-16T05:57:47.671Z","1.2.52-renovate-jest-monorepo-c8bb01cc2c6d731a73323588a7c72c0ce65fe987":"2022-08-20T00:37:49.371Z","1.2.52":"2022-08-20T00:40:46.831Z","1.2.53-renovate-lodash-4-x-f77fd3f82712e07e95156441c661487f586e3203":"2022-08-20T00:43:35.077Z","1.2.53":"2022-08-20T00:49:37.751Z","1.2.54-renovate-ts-jest-28-x-4b946e24e94f31ea1f5d5b4de50d4fa40a21d084":"2022-08-20T03:26:13.001Z","1.2.54":"2022-08-20T03:30:14.015Z","1.2.55-renovate-jest-monorepo-4b0db2301f5bf3f99be0a633aa8e27634497e8f4":"2022-08-28T03:12:40.049Z","1.2.55":"2022-08-28T03:16:22.090Z","1.2.56-renovate-typedoc-0-x-37811410d04f6e6f303ec2c40901e852810f08de":"2022-08-28T03:21:22.076Z","1.2.56":"2022-08-28T07:31:15.872Z","1.2.57-renovate-typescript-4-x-95d5d524ac89b9939c6547da9e9df024a507d21f":"2022-08-28T07:32:25.967Z","1.2.57":"2022-08-28T07:39:34.204Z","1.2.58-joshbwlng-update-typescript-067f8132c93dd949545d8d40457474e18ab6d486":"2022-09-10T01:23:19.762Z","1.2.58":"2022-09-10T01:28:23.007Z","1.2.59-joshbwlng-update-typedoc-fa9411c54c7d1240d4f59df9d7e608a2e6de4b07":"2022-09-10T01:45:58.198Z","1.2.59":"2022-09-10T01:50:22.965Z","1.2.60-joshbwlng-update-jest-fb45f58f475c74840ea63e9d394ef089787cdffa":"2022-09-10T02:25:19.171Z","1.2.60":"2022-09-10T02:28:29.183Z","1.2.61-renovate-jest-monorepo-f34f0c8e5d85064b149edf4f9a04b5d05ce1d8cd":"2022-09-10T16:47:02.582Z","1.2.61":"2022-09-10T16:50:52.615Z","1.2.62-renovate-lodash-4-x-06fe32ff77a5664bf5761f8d7c90da250eef0e6d":"2022-09-11T10:31:04.190Z","1.2.62":"2022-09-11T10:35:57.454Z","1.2.63-renovate-jest-monorepo-5dfcfd0729a6a49962fcc6a71620fb0584bb6be4":"2022-09-11T13:38:07.638Z","1.2.63":"2022-09-11T13:41:16.863Z","1.2.64-joshbwlng-flowzone-8e14591c0dc6269f1087c29442f24816f1529212":"2022-09-13T01:59:42.800Z","1.2.64":"2022-09-13T02:05:04.795Z","1.2.65-joshbwlng-update-flowzone-fa5b17cb202ab0504e5d24138b2c53cfa90eb79e":"2022-09-13T02:08:29.379Z","1.2.65":"2022-09-13T02:10:24.482Z","1.2.66-joshbwlng-update-flowzone-2-60b35339a9889ea4c52fd306750a50d06cee6348":"2022-09-13T02:21:34.914Z","1.2.66":"2022-09-13T02:23:54.479Z","1.2.67-joshbwlng-engine-221ccc123c8a09b9179751ec0965ac7967f9e27e":"2022-09-13T03:05:33.619Z","1.2.67":"2022-09-13T03:08:20.724Z","1.2.68-renovate-jest-monorepo-4cee05e5473260fad6c2d8d0a14449f496eb539b":"2022-09-17T00:37:04.751Z","1.2.68":"2022-09-17T00:38:56.089Z","1.2.69-renovate-ts-jest-29-x-dc44fc1a9b455538afdbd8ecedeec277d5ec425d":"2022-09-17T00:41:17.775Z","1.2.69":"2022-09-17T00:43:11.076Z","1.2.70-renovate-typedoc-0-x-e362f8f636c079f7f329945b6e10dc9b755df4d9":"2022-09-18T20:35:21.926Z","1.2.70":"2022-09-18T20:37:17.157Z","1.2.71-joshbwlng-add-nvmrc-ad9a5ed27a6489b794d73f1c0872bb6f1820b0d8":"2022-09-19T04:11:22.521Z","1.2.71":"2022-09-19T04:13:26.682Z","1.2.72-joshbwlng-codeql-f2dd86064ddc0f22c50bc0d434eb64293efe8af2":"2022-09-19T06:35:30.061Z","1.2.72":"2022-09-19T06:37:29.230Z","1.2.73-joshbwlng-editor-config-8aa8cf8a190b1cc389fcff40177d4178004882b7":"2022-09-19T07:52:26.207Z","1.2.73":"2022-09-19T07:54:35.504Z","1.2.74-renovate-ts-jest-29-x-d4f9e02618da3f2c063f5b7691117fc2730a6e9b":"2022-09-24T10:08:02.305Z","1.2.74":"2022-09-24T10:10:00.521Z","1.2.75-node-18-ff58ca50166401d3d2ed4f2bdb406afe75610265":"2022-09-27T11:05:55.271Z","1.2.75":"2022-09-27T11:09:15.961Z","1.2.76-flowzone-docs-7ef763d3581b7c5aa7a97e387b31173c577d064a":"2022-09-27T12:56:17.742Z","1.2.76-flowzone-docs-c653febbb07a5fe090300eb5f4f90a42d768440a":"2022-09-27T13:50:17.086Z","1.2.76-flowzone-docs-6431a80f4d5c143a24c2aa18cd61bcdb21a6fe17":"2022-09-27T14:14:07.502Z","1.2.76":"2022-09-27T14:17:06.314Z","1.2.77-renovate-lodash-4-x-6c50fcde774a2dbd1d0d9e35a5c8f5e98b111922":"2022-10-01T01:03:27.204Z","1.2.77":"2022-10-01T01:05:39.532Z","1.2.78-renovate-ts-jest-29-x-b69a913fe294586e37a4759f9e138e71117a6e47":"2022-10-01T01:08:38.246Z","1.2.78":"2022-10-01T01:11:05.111Z","1.2.79-renovate-typescript-4-x-807f1a1fc4cad5770d7817cc650b3e4377b00fe7":"2022-10-01T04:33:10.565Z","1.2.79":"2022-10-01T04:35:04.087Z","1.2.80-renovate-jest-monorepo-8383c49f7dd72877dd85ea9c21e7f0e38e6250e8":"2022-10-01T04:38:53.636Z","1.2.80":"2022-10-01T04:40:49.586Z","1.2.81-renovate-jest-monorepo-b4d4619fd40a928f12ea37b4eec8bc4ea75763d0":"2022-10-08T02:37:17.992Z","1.2.81":"2022-10-08T02:39:02.093Z","1.2.82-joshbwlng-prettier-0e72ef1da4fe59e5b11921ca5ebe49664d5caebc":"2022-10-08T10:34:11.849Z","1.2.82":"2022-10-08T10:35:56.280Z","1.2.83-joshbwlng-prettierignore-b67af9b771c985e5765ff9b19f5b6fc4f4cb3a6f":"2022-10-08T10:41:52.369Z","1.2.83":"2022-10-08T10:43:26.560Z","1.2.84-joshbwlng-update-lint-staged-5bbd16dacdd6d1d094dbeab710c4fa75a52d8b68":"2022-10-08T13:19:17.302Z","1.2.84":"2022-10-08T13:21:35.701Z","1.2.85-joshbwlng-jest-config-288c94605273ee776862c9b5ae0999050657fa62":"2022-10-09T15:12:28.456Z","1.2.85":"2022-10-09T15:14:22.891Z","1.2.86-renovate-typedoc-0-x-331c4788ed349a5aaa6f3e6d68e262ce3ce4fbf1":"2022-10-10T23:01:33.223Z","1.2.86":"2022-10-10T23:03:35.724Z","1.2.87-renovate-jest-monorepo-8cb4baf1b58cb5c7fd5171c49db394f66f9ddb26":"2022-10-15T02:19:12.127Z","1.2.87":"2022-10-15T02:21:00.762Z","1.2.88-renovate-typedoc-0-x-4a78953a08db6d5b642ad22a8467c050a0b4c1f8":"2022-10-18T03:53:08.876Z","1.2.88":"2022-10-18T03:55:06.777Z","1.2.89-renovate-simple-git-hooks-2-x-73ce3bb1ce48c71ba14f340b343e021993a558b5":"2022-10-22T01:20:22.185Z","1.2.89":"2022-10-22T01:22:15.830Z","1.2.90-renovate-jest-monorepo-b226cacc364a031b6bee9139e244d47d50f79759":"2022-10-22T01:25:25.831Z","1.2.90":"2022-10-22T01:27:19.788Z","1.2.91-renovate-typedoc-0-x-6371582ad3b2165015dee947f189b9586cf364d5":"2022-10-23T22:55:29.227Z","1.2.91":"2022-10-23T22:57:20.911Z","1.2.92-joshbwlng-readme-1bfb041ec797f9c9eae3eb19b9434db197499296":"2022-10-24T02:00:59.493Z","1.2.92":"2022-10-24T02:03:06.165Z","1.2.93-renovate-typedoc-0-x-3030024e89cfd784a20ac0012624b3610fb25e7e-1":"2022-10-28T04:51:38.187Z","1.2.93":"2022-10-28T04:53:24.970Z","1.2.94-renovate-jest-monorepo-93a6c15b3b3265e44e84cabd94e1f242b75ac112-1":"2022-10-29T00:37:53.264Z","1.2.94":"2022-10-29T00:39:56.124Z","1.2.95-renovate-typedoc-0-x-3c0e78f84577c172fc66ed7faa59e0f7fa856dc2-1":"2022-11-03T05:15:47.835Z","1.2.95":"2022-11-03T05:17:44.374Z","1.2.96-renovate-jest-monorepo-7283e3af7b418f4e24cd15e4e40e91fc171e86e5-1":"2022-11-05T02:02:53.182Z","1.2.96":"2022-11-05T02:05:16.592Z","1.2.97-renovate-lodash-4-x-bce4dd76b3983b222c70b89e36481a5e6f360bae-1":"2022-11-05T02:07:22.260Z","1.2.97":"2022-11-05T02:09:40.083Z","1.2.98-renovate-balena-lint-6-x-a8a5d909f53b9bfe1a021e0c652e6feb3857dc37-1":"2022-11-07T15:44:51.637Z","1.2.98":"2022-11-07T15:47:05.562Z","1.2.99-renovate-jest-monorepo-9162c58730aaf38d35fbfa51110cf398a388b7f8-1":"2022-11-12T02:28:03.864Z","1.2.99":"2022-11-12T02:30:10.787Z","1.2.100-renovate-typedoc-0-x-fef89af36b4ce7956a2aca5a58d1df0e51dac1db-1":"2022-11-14T02:21:08.854Z","1.2.100":"2022-11-14T02:23:26.416Z","1.2.101-renovate-jest-monorepo-86526c92157b03ab0cf9766b8e7f0ad4054c2cbc-1":"2022-11-19T00:38:21.199Z","1.2.101":"2022-11-19T00:40:32.861Z","1.2.102-renovate-lodash-4-x-0422658a5fda650d6066a83304c8fe1f35cb231f-1":"2022-11-19T00:43:33.388Z","1.2.102":"2022-11-19T00:45:39.281Z","1.2.103-renovate-typescript-4-x-9bace4217f0d49a94e32dd424925681249b1be28-1":"2022-11-19T03:33:20.786Z","1.2.103":"2022-11-19T03:35:36.979Z","1.2.104-build-renovate-lodash-4-x-daeb45eca6b9ec615fc4c87dc72196e7ee8fdb65-1":"2022-11-26T01:40:29.795Z","1.2.104":"2022-11-26T01:42:43.765Z","1.2.105-build-renovate-lint-staged-13-x-c501972341c59fec4de9760da79f8c336eb5c041-1":"2022-11-26T01:45:17.422Z","1.2.105":"2022-11-26T01:47:45.784Z","1.2.106-build-renovate-prettier-2-x-95c6fb4a795388dde037fd3a1a7beb9ad53d23ae-1":"2022-11-26T04:27:03.906Z","1.2.106":"2022-11-26T04:29:30.251Z","1.2.107-build-joshbwlng-renovate-87b8c7f436b79064a3bd296cb74e9169b5e921bd-1":"2022-12-13T00:22:31.697Z","1.2.107":"2022-12-13T00:25:26.413Z","1.3.0-build-renovate-node-18-x-f2a62e6271f396a05fc7ddcfa1e355a7dd94d8f3-1":"2022-12-13T03:04:08.579Z","1.3.0-build-renovate-node-16-x-799da0eae63543c106b510bd13bf7337af27b3f1-1":"2022-12-13T03:04:15.278Z","1.3.0":"2022-12-13T03:11:23.699Z","1.4.0-build-renovate-pin-dependencies-e5b45dff435a835c3d140a804cd9485649e7db03-1":"2022-12-13T15:47:46.938Z","1.4.0":"2022-12-14T00:27:11.904Z","1.5.0-build-renovate-github-codeql-action-digest-a0d6f4593f5673adcdf481373156fccad55fcdc7-1":"2022-12-14T14:48:45.059Z","1.5.1-build-joshbwlng-editorconfig-db25d7742f29c05d0060b57a8450c68b7568ffe2-1":"2023-01-01T09:21:59.543Z","1.5.1":"2023-01-01T09:24:28.838Z","1.6.0-build-renovate-actions-checkout-digest-b2a39ca833041c07da455403099e63b40cdc71c0-1":"2023-01-05T14:49:23.354Z","1.6.0":"2023-01-05T14:58:37.664Z","1.7.0-build-renovate-node-18-x-1c49ee13ce8307889baec8eb7da3ee1e4592f361-1":"2023-01-06T01:08:07.730Z","1.7.0":"2023-01-06T02:14:04.915Z","1.8.0-build-renovate-github-codeql-action-digest-a77fb5b0e655e7cb45af3fb90767de499b35b865-1":"2023-01-12T10:50:31.575Z","1.7.1-build-renovate-rimraf-4-x-8f97f4820787f88b3fa640797412487a5a5d6f17-1":"2023-01-13T01:09:28.182Z","1.8.0-build-renovate-github-codeql-action-digest-2fe389a060597231a91e6b2d49a99afe6030770b-1":"2023-01-18T18:50:10.726Z","1.8.0":"2023-01-18T19:48:16.728Z","1.8.0-build-renovate-rimraf-4-x-d0f6b271560d65452ccab6250c833549d98775c2-1":"2023-01-18T19:49:43.937Z","1.8.1-build-renovate-rimraf-4-x-846146efdbed4a42674b414b419377ac0d533580-1":"2023-01-18T20:49:51.092Z","1.8.1":"2023-01-18T21:49:34.559Z","1.9.0-build-renovate-github-codeql-action-digest-e83869e990c4d9eb2b3bd4559b9f600372541009-1":"2023-01-26T16:51:27.072Z","1.9.0":"2023-01-26T17:48:03.919Z","1.10.0-build-renovate-github-codeql-action-digest-da4a65f9c2e6ee0689ac1f38710f19d22d9a3cf4-1":"2023-01-27T09:48:40.278Z","1.10.0":"2023-01-27T10:48:49.361Z","1.11.0-build-renovate-node-18-x-d1034dd0816649f983bb58bc4887cdd580c3854f-1":"2023-02-02T19:49:55.039Z","1.11.0":"2023-02-02T20:48:04.209Z","1.11.1-build-joshbwlng-bump-deps-e27663a139106cc5a9cd7b9d5185c970ada16edb-1":"2023-04-01T03:30:49.959Z","1.11.1-build-joshbwlng-remove-lodash-271c93a3b09c3498f70cae30e0b80bbd30174066-1":"2023-04-01T03:33:58.086Z","1.11.1":"2023-04-01T03:34:43.839Z","1.11.2-build-joshbwlng-remove-lodash-5d0d5fcd994d77617cbbc15b5d19f0c1a41a1389-1":"2023-04-01T03:37:05.632Z","1.11.2":"2023-04-01T03:39:07.908Z","1.11.3-build-joshbwlng-remove-typedoc-b36f433c8e6ea09bd1f6a98953d10d5b86c7d6c6-1":"2023-08-27T07:44:05.161Z","1.11.3":"2023-08-27T07:46:32.062Z","1.11.4-build-joshbwlng-update-prettier-e24291822acb0e6daac1bb95e6a0d94128e120fe-1":"2023-08-27T08:09:23.924Z","1.11.4":"2023-08-27T08:11:52.279Z","1.11.5-build-joshbwlng-update-rimraf-8819e1d390728db1e2b3fd968a89a3c9174814f8-1":"2023-08-27T08:14:44.050Z","1.11.5":"2023-08-27T08:16:56.841Z","1.11.6-build-joshbwlng-update-simple-git-hooks-8a513ca322247ae1b6011d50fa0c74135aa933b2-1":"2023-08-27T08:22:37.422Z","1.11.6":"2023-08-27T08:24:59.977Z","1.11.7-build-joshbwlng-update-lint-staged-963f11c52c93fccf03b785d461b3fb8f49ae9fe2-1":"2023-08-27T08:27:49.109Z","1.11.7":"2023-08-27T08:29:55.650Z","1.11.8-build-joshbwlng-update-typescript-6fbe423a287e3305ef7e57388fb6c6f088685962-1":"2023-08-27T09:31:00.208Z","1.11.8":"2023-08-27T09:33:22.649Z"},"bugs":{"url":"https://github.com/product-os/jellyfish-assert/issues"},"author":{"name":"Balena.io.","email":"hello@balena.io"},"license":"Apache-2.0","homepage":"https://github.com/product-os/jellyfish-assert#readme","repository":{"url":"git+https://github.com/product-os/jellyfish-assert.git","type":"git"},"description":"Assert library for Jellyfish","maintainers":[{"name":"balena.io","email":"accounts+npm@balena.io"},{"name":"page","email":"page@balena.io"}],"readme":"# Jellyfish assert\n\nThis library contains assert-related utilities for use in Jellyfish.\n\nThe Jellyfish system distinguishes between two types of errors:\n- Internal errors, which are unexpected and should be fixed as soon as possible\n- User errors, which are the responsibility of the user and are usually the result of bad user usage of the system\n\nThis module provides a handy set of functions to write concise assertions for\nboth types of errors, and remove the amount of error handling `if` conditionals\nthroughout the code\n\n# Usage\n\nBelow is an example how to use this library:\n\n```typescript\nimport * as assert from '@balena/jellyfish-assert';\n\nassert.INTERNAL(context, version, errors.InvalidVersion, 'Custom error details');\nassert.USER(context, input, errors.WorkerNoElement, 'Custom error details');\n```\n","readmeFilename":"README.md"}