@nr1e/commons 0.1.1 → 0.1.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.editorconfig +0 -19
- package/.eslintignore +0 -3
- package/.eslintrc.json +0 -4
- package/.git/COMMIT_EDITMSG +0 -5
- package/.git/FETCH_HEAD +0 -1
- package/.git/HEAD +0 -1
- package/.git/config +0 -18
- package/.git/config.worktree +0 -5
- package/.git/description +0 -1
- package/.git/hooks/applypatch-msg.sample +0 -15
- package/.git/hooks/commit-msg.sample +0 -24
- package/.git/hooks/fsmonitor-watchman.sample +0 -174
- package/.git/hooks/post-update.sample +0 -8
- package/.git/hooks/pre-applypatch.sample +0 -14
- package/.git/hooks/pre-commit.sample +0 -49
- package/.git/hooks/pre-merge-commit.sample +0 -13
- package/.git/hooks/pre-push.sample +0 -53
- package/.git/hooks/pre-rebase.sample +0 -169
- package/.git/hooks/pre-receive.sample +0 -24
- package/.git/hooks/prepare-commit-msg.sample +0 -42
- package/.git/hooks/push-to-checkout.sample +0 -78
- package/.git/hooks/sendemail-validate.sample +0 -77
- package/.git/hooks/update.sample +0 -128
- package/.git/index +0 -0
- package/.git/info/exclude +0 -6
- package/.git/logs/HEAD +0 -2
- package/.git/logs/refs/heads/main +0 -2
- package/.git/logs/refs/remotes/origin/main +0 -2
- package/.git/objects/07/c0af7cd711cab6a55ad3dc349ac8c70775623c +0 -0
- package/.git/objects/0d/698432e2c44311c17b845cc63093a898972b95 +0 -0
- package/.git/objects/10/ba4a7d64968326293182d571a9c73f5e041fb6 +0 -3
- package/.git/objects/12/069a5aa45479564e00749f730582627a276a55 +0 -3
- package/.git/objects/14/5ab9cf82c40696a07ab42f117ba199acb2a50b +0 -4
- package/.git/objects/17/7b0dc4bf884f8ae0403b4aad053e76baafd632 +0 -2
- package/.git/objects/1d/a517ce3527df45a4f28e52ff2c0d9d1c8179f6 +0 -0
- package/.git/objects/27/50076ed23b5211a52ef834f40f183ddecb917a +0 -0
- package/.git/objects/2a/96e4bb57fa4bd69c719dca224b17b569e94e82 +0 -2
- package/.git/objects/2b/38c26b4ec43b8f5574acb164d2ba64bca8e230 +0 -0
- package/.git/objects/2c/61d463bee185f04e7c2bd1d2a15ad1117c589e +0 -0
- package/.git/objects/2d/22dbc836cfd75c8d7640ebe5a4fe90bd2c23c6 +0 -0
- package/.git/objects/2e/58414df7b4d5c972167a83270f78fc4ed508f5 +0 -0
- package/.git/objects/38/0be191ee415827a1217f46626fea4fefba48e5 +0 -0
- package/.git/objects/3a/93aa29cd19bdc95a87d15910baec8455f8b7b7 +0 -0
- package/.git/objects/50/150b739272269be2ede552448013eba65323da +0 -0
- package/.git/objects/53/2b7b796ffd3223f913a5a5e1e17743ee3591fe +0 -0
- package/.git/objects/54/a8535f50287f6a7a8c00aed143ca6e5ee5f5d1 +0 -0
- package/.git/objects/5d/4aa0709f62f1bc1fa80251208b570cb3b89d9c +0 -0
- package/.git/objects/63/1c43e00d4c34ba914c510f4fe2e6df15b8b06e +0 -0
- package/.git/objects/63/9900d13c6182e452e33a3bd638e70a0146c785 +0 -2
- package/.git/objects/64/3fa02661c3a1b54205729a75d2fb5f013833af +0 -0
- package/.git/objects/6c/59086d862516d2fffa5da2035e5003100fb5c7 +0 -0
- package/.git/objects/6c/b74f90a0c799eea1c54a04d8d6a8a9e9691cca +0 -2
- package/.git/objects/70/0e093acb1c1e55d523507411b7940a01a3bb65 +0 -0
- package/.git/objects/71/1ba2014bc137dece4c4156ff5e77e6abaeb95c +0 -0
- package/.git/objects/74/c82ffe8eb71efecbccfdf67b590949c944dd1a +0 -0
- package/.git/objects/76/1413a07839108abb46ef0e4490bd1c1444b4fc +0 -0
- package/.git/objects/77/96f8282f2c553ecdde72bc976478eb3a8a948e +0 -0
- package/.git/objects/79/ee123c2b23e069e35ed634d687e17f731cc702 +0 -0
- package/.git/objects/7d/80af9735f0527db35ecc79ae3c887e445cb3e0 +0 -0
- package/.git/objects/85/1d8d26c2a946ccfd5461a2573665c1fb7d71f7 +0 -0
- package/.git/objects/85/c5f24b8c55496f82a2680f94a7d3fa32887ea0 +0 -0
- package/.git/objects/87/00b3833597b600e6f0ffcfbaf622fd8cfaa9c3 +0 -1
- package/.git/objects/87/f31d3df8e7edbf96e45d80126f878b8e0c243f +0 -0
- package/.git/objects/8b/cc95b71b20c79513e9157b921238ca2c79f906 +0 -0
- package/.git/objects/8d/d819967bdc8457f04c1b5498bce89380d6552b +0 -7
- package/.git/objects/91/b0fba96bf994b6232bb923f2a9929fc258a05f +0 -0
- package/.git/objects/92/608c4e069a4301d466d8d18daecbe7abc9500e +0 -0
- package/.git/objects/94/a25f7f4cb416c083d265558da75d457237d671 +0 -0
- package/.git/objects/9c/69411050eac81b5dce09314516a30b38c41a20 +0 -3
- package/.git/objects/9f/54b5b21769da383f12fb9c7bd364bdb05e13a9 +0 -0
- package/.git/objects/a5/886c22eb68b152bb95ec5151504676d8e78ae1 +0 -0
- package/.git/objects/a6/582c9510e264f3b46fc3b20597a16923a03523 +0 -0
- package/.git/objects/a9/d7db9c0a81b2db47ca92e4e180b30090b27632 +0 -0
- package/.git/objects/ad/c418f9105db9ec488de6831584b82e3929eaef +0 -0
- package/.git/objects/b0/c1c68fbbad6b190434cd2bb0e807796bd56fca +0 -0
- package/.git/objects/b1/0f0d0ef3bc5aaf3a91be0b991cb6fe0fcadc40 +0 -0
- package/.git/objects/b6/3b642cfb4254fc0f7058903abc5b481895c4ef +0 -0
- package/.git/objects/b8/a2c461d7ffed9d4ba242c58a52341832b99e0a +0 -0
- package/.git/objects/ba/5b53857ced8d97f6d6e3fb3538b3273743dafc +0 -2
- package/.git/objects/ba/5ef7104c0d019a9692cd2d78261d96f29e916f +0 -0
- package/.git/objects/bc/91e0079eb00d56dcde16714748f36a10dbd525 +0 -0
- package/.git/objects/c1/beeb895b71b709e48560460199db11b3fc18af +0 -0
- package/.git/objects/c5/166c2aeebaeb0a0f7654223c843c50cd4c8953 +0 -0
- package/.git/objects/d4/0a2096fc36c1fd9c7a9263c458d5e8a4a5bee7 +0 -0
- package/.git/objects/e1/b744bc6076ebeb02fa86af98583ac22e070ec0 +0 -0
- package/.git/objects/e8/019be9e978a8e2f094e748cbb6ce0c7163adee +0 -0
- package/.git/objects/eb/1d744c4e9b47bc902647298424320078e32980 +0 -0
- package/.git/objects/ee/15af38be7f3c3862229e59c6b5688f8e0f6099 +0 -0
- package/.git/objects/f1/9e0f429f231c34432784f9e33b92ac1d598c17 +0 -0
- package/.git/objects/f9/86f2fe82493e85651396b6d5886316d1c890dd +0 -0
- package/.git/refs/heads/main +0 -1
- package/.git/refs/remotes/origin/main +0 -1
- package/.git/refs/tags/v0.1.1 +0 -1
- package/.git/shallow +0 -1
- package/.github/dependabot.yml +0 -10
- package/.github/workflows/ci.yml +0 -12
- package/.github/workflows/issues.yml +0 -13
- package/.github/workflows/publish.yml +0 -21
- package/.gitignore +0 -13
- package/.idea/.gitignore +0 -10
- package/.idea/aws.xml +0 -11
- package/.idea/codeStyles/Project.xml +0 -58
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/commons-js.iml +0 -14
- package/.idea/inspectionProfiles/Project_Default.xml +0 -7
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -6
- package/.idea/vcs.xml +0 -6
- package/.npmrc +0 -1
- package/.prettierignore +0 -7
- package/.prettierrc.cjs +0 -3
- package/LICENSE +0 -26
- package/README.md +0 -14
- package/coverage/base.css +0 -224
- package/coverage/bitsnbytes/b64.mts.html +0 -559
- package/coverage/bitsnbytes/index.html +0 -131
- package/coverage/bitsnbytes/index.mts.html +0 -88
- package/coverage/clover.xml +0 -1003
- package/coverage/coverage-final.json +0 -15
- package/coverage/errors/errors.mts.html +0 -898
- package/coverage/errors/index.html +0 -131
- package/coverage/errors/index.mts.html +0 -88
- package/coverage/favicon.png +0 -0
- package/coverage/http/http-method.mts.html +0 -112
- package/coverage/http/http-status-code.mts.html +0 -211
- package/coverage/http/index.html +0 -146
- package/coverage/http/index.mts.html +0 -91
- package/coverage/index.html +0 -191
- package/coverage/lang/index.html +0 -146
- package/coverage/lang/index.mts.html +0 -91
- package/coverage/lang/sleep.mts.html +0 -109
- package/coverage/lang/type-functions.mts.html +0 -124
- package/coverage/oauth/crypto-functions.mts.html +0 -217
- package/coverage/oauth/index.html +0 -131
- package/coverage/oauth/index.mts.html +0 -88
- package/coverage/prettify.css +0 -1
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/validator/index.html +0 -131
- package/coverage/validator/index.mts.html +0 -88
- package/coverage/validator/validators.mts.html +0 -1237
- package/dist/bitsnbytes/b64.test.d.mts +0 -2
- package/dist/bitsnbytes/b64.test.d.mts.map +0 -1
- package/dist/bitsnbytes/b64.test.mjs +0 -71
- package/dist/bitsnbytes/b64.test.mjs.map +0 -1
- package/dist/errors/errors.test.d.mts +0 -2
- package/dist/errors/errors.test.d.mts.map +0 -1
- package/dist/errors/errors.test.mjs +0 -45
- package/dist/errors/errors.test.mjs.map +0 -1
- package/dist/oauth/crypto-functions.test.d.mts +0 -2
- package/dist/oauth/crypto-functions.test.d.mts.map +0 -1
- package/dist/oauth/crypto-functions.test.mjs +0 -36
- package/dist/oauth/crypto-functions.test.mjs.map +0 -1
- package/dist/package.json +0 -72
- package/dist/validator/validators.test.d.mts +0 -2
- package/dist/validator/validators.test.d.mts.map +0 -1
- package/dist/validator/validators.test.mjs +0 -177
- package/dist/validator/validators.test.mjs.map +0 -1
- package/node_modules/@eslint/eslintrc/LICENSE +0 -19
- package/node_modules/@eslint/eslintrc/README.md +0 -115
- package/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +0 -1104
- package/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +0 -1
- package/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +0 -4344
- package/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +0 -1
- package/node_modules/@eslint/eslintrc/package.json +0 -82
- package/node_modules/@eslint/eslintrc/universal.js +0 -9
- package/node_modules/@eslint/js/LICENSE +0 -19
- package/node_modules/@eslint/js/README.md +0 -57
- package/node_modules/@eslint/js/package.json +0 -31
- package/node_modules/@eslint/js/src/index.js +0 -17
- package/node_modules/@eslint-community/eslint-utils/LICENSE +0 -21
- package/node_modules/@eslint-community/eslint-utils/README.md +0 -37
- package/node_modules/@eslint-community/eslint-utils/index.js +0 -2068
- package/node_modules/@eslint-community/eslint-utils/index.js.map +0 -1
- package/node_modules/@eslint-community/eslint-utils/index.mjs +0 -2027
- package/node_modules/@eslint-community/eslint-utils/index.mjs.map +0 -1
- package/node_modules/@eslint-community/eslint-utils/package.json +0 -73
- package/node_modules/@eslint-community/regexpp/LICENSE +0 -21
- package/node_modules/@eslint-community/regexpp/README.md +0 -177
- package/node_modules/@eslint-community/regexpp/index.d.ts +0 -1065
- package/node_modules/@eslint-community/regexpp/index.js +0 -2747
- package/node_modules/@eslint-community/regexpp/index.js.map +0 -1
- package/node_modules/@eslint-community/regexpp/index.mjs +0 -2737
- package/node_modules/@eslint-community/regexpp/index.mjs.map +0 -1
- package/node_modules/@eslint-community/regexpp/package.json +0 -93
- package/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/node/README.md +0 -15
- package/node_modules/@types/node/package.json +0 -217
- package/node_modules/@typescript-eslint/eslint-plugin/LICENSE +0 -21
- package/node_modules/@typescript-eslint/eslint-plugin/README.md +0 -10
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +0 -23
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +0 -23
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +0 -26
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +0 -93
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +0 -103
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +0 -40
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +0 -148
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +0 -39
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +0 -183
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/block-spacing.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/camelcase.md +0 -10
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +0 -114
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +0 -22
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-generic-constructors.md +0 -73
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +0 -80
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +0 -108
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +0 -82
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +0 -100
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +0 -105
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +0 -48
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +0 -77
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +0 -319
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +0 -331
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +0 -250
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +0 -20
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/key-spacing.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-around-comment.md +0 -37
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +0 -63
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +0 -161
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +0 -1360
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +0 -110
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +0 -706
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +0 -35
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +0 -88
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +0 -56
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +0 -116
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +0 -50
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-type-constituents.md +0 -61
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +0 -53
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +0 -88
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +0 -70
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +0 -174
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +0 -52
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +0 -294
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +0 -106
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +0 -56
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +0 -73
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +0 -101
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-import-type-side-effects.md +0 -75
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +0 -103
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +0 -113
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +0 -131
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +0 -47
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +0 -46
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +0 -245
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-mixed-enums.md +0 -88
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +0 -129
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +0 -49
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +0 -35
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +0 -42
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +0 -406
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +0 -73
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +0 -78
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +0 -37
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +0 -63
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +0 -101
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +0 -38
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +0 -111
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +0 -602
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +0 -133
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +0 -103
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +0 -51
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +0 -73
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +0 -77
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +0 -55
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +0 -83
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +0 -86
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +0 -58
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-declaration-merging.md +0 -54
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-enum-comparison.md +0 -75
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +0 -64
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +0 -103
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +0 -97
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +0 -21
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +0 -43
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +0 -37
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +0 -41
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +0 -35
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +0 -485
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +0 -44
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +0 -62
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +0 -46
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +0 -92
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +0 -77
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +0 -101
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +0 -47
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +0 -164
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +0 -71
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +0 -268
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +0 -87
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +0 -58
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +0 -46
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +0 -87
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +0 -57
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +0 -69
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +0 -59
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +0 -78
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +0 -24
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +0 -208
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +0 -117
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +0 -216
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +0 -16
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-constituents.md +0 -101
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +0 -106
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +0 -42
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +0 -12
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +0 -16
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +0 -183
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +0 -106
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +0 -61
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +0 -303
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +0 -320
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +0 -103
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +0 -70
- package/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +0 -4
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +0 -87
- package/node_modules/@typescript-eslint/parser/LICENSE +0 -22
- package/node_modules/@typescript-eslint/parser/README.md +0 -10
- package/node_modules/@typescript-eslint/parser/dist/index.js +0 -17
- package/node_modules/@typescript-eslint/parser/package.json +0 -75
- package/node_modules/@typescript-eslint/scope-manager/LICENSE +0 -21
- package/node_modules/@typescript-eslint/scope-manager/README.md +0 -8
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +0 -31
- package/node_modules/@typescript-eslint/scope-manager/package.json +0 -67
- package/node_modules/@typescript-eslint/type-utils/LICENSE +0 -21
- package/node_modules/@typescript-eslint/type-utils/README.md +0 -12
- package/node_modules/@typescript-eslint/type-utils/dist/index.js +0 -36
- package/node_modules/@typescript-eslint/type-utils/package.json +0 -71
- package/node_modules/@typescript-eslint/types/LICENSE +0 -21
- package/node_modules/@typescript-eslint/types/README.md +0 -12
- package/node_modules/@typescript-eslint/types/dist/index.js +0 -24
- package/node_modules/@typescript-eslint/types/package.json +0 -84
- package/node_modules/@typescript-eslint/typescript-estree/LICENSE +0 -26
- package/node_modules/@typescript-eslint/typescript-estree/README.md +0 -10
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +0 -38
- package/node_modules/@typescript-eslint/typescript-estree/package.json +0 -85
- package/node_modules/@typescript-eslint/utils/LICENSE +0 -21
- package/node_modules/@typescript-eslint/utils/README.md +0 -10
- package/node_modules/@typescript-eslint/utils/dist/index.js +0 -41
- package/node_modules/@typescript-eslint/utils/package.json +0 -70
- package/node_modules/@typescript-eslint/visitor-keys/LICENSE +0 -21
- package/node_modules/@typescript-eslint/visitor-keys/README.md +0 -10
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +0 -8
- package/node_modules/@typescript-eslint/visitor-keys/package.json +0 -60
- package/node_modules/@vitest/coverage-v8/LICENSE +0 -21
- package/node_modules/@vitest/coverage-v8/dist/index.js +0 -54
- package/node_modules/@vitest/coverage-v8/package.json +0 -72
- package/pnpm-lock.yaml +0 -3277
- package/src/bitsnbytes/b64.mts +0 -158
- package/src/bitsnbytes/b64.test.mts +0 -78
- package/src/bitsnbytes/index.mts +0 -1
- package/src/errors/errors.mts +0 -271
- package/src/errors/errors.test.mts +0 -74
- package/src/errors/index.mts +0 -1
- package/src/http/http-method.mts +0 -9
- package/src/http/http-status-code.mts +0 -42
- package/src/http/index.mts +0 -2
- package/src/lang/index.mts +0 -2
- package/src/lang/sleep.mts +0 -8
- package/src/lang/type-functions.mts +0 -13
- package/src/oauth/crypto-functions.mts +0 -44
- package/src/oauth/crypto-functions.test.mts +0 -48
- package/src/oauth/index.mts +0 -1
- package/src/validator/index.mts +0 -1
- package/src/validator/validators.mts +0 -384
- package/src/validator/validators.test.mts +0 -245
- package/tsconfig.json +0 -18
- /package/{dist/bitsnbytes → bitsnbytes}/b64.d.mts +0 -0
- /package/{dist/bitsnbytes → bitsnbytes}/b64.d.mts.map +0 -0
- /package/{dist/bitsnbytes → bitsnbytes}/b64.mjs +0 -0
- /package/{dist/bitsnbytes → bitsnbytes}/b64.mjs.map +0 -0
- /package/{dist/bitsnbytes → bitsnbytes}/index.d.mts +0 -0
- /package/{dist/bitsnbytes → bitsnbytes}/index.d.mts.map +0 -0
- /package/{dist/bitsnbytes → bitsnbytes}/index.mjs +0 -0
- /package/{dist/bitsnbytes → bitsnbytes}/index.mjs.map +0 -0
- /package/{dist/errors → errors}/errors.d.mts +0 -0
- /package/{dist/errors → errors}/errors.d.mts.map +0 -0
- /package/{dist/errors → errors}/errors.mjs +0 -0
- /package/{dist/errors → errors}/errors.mjs.map +0 -0
- /package/{dist/errors → errors}/index.d.mts +0 -0
- /package/{dist/errors → errors}/index.d.mts.map +0 -0
- /package/{dist/errors → errors}/index.mjs +0 -0
- /package/{dist/errors → errors}/index.mjs.map +0 -0
- /package/{dist/http → http}/http-method.d.mts +0 -0
- /package/{dist/http → http}/http-method.d.mts.map +0 -0
- /package/{dist/http → http}/http-method.mjs +0 -0
- /package/{dist/http → http}/http-method.mjs.map +0 -0
- /package/{dist/http → http}/http-status-code.d.mts +0 -0
- /package/{dist/http → http}/http-status-code.d.mts.map +0 -0
- /package/{dist/http → http}/http-status-code.mjs +0 -0
- /package/{dist/http → http}/http-status-code.mjs.map +0 -0
- /package/{dist/http → http}/index.d.mts +0 -0
- /package/{dist/http → http}/index.d.mts.map +0 -0
- /package/{dist/http → http}/index.mjs +0 -0
- /package/{dist/http → http}/index.mjs.map +0 -0
- /package/{dist/lang → lang}/index.d.mts +0 -0
- /package/{dist/lang → lang}/index.d.mts.map +0 -0
- /package/{dist/lang → lang}/index.mjs +0 -0
- /package/{dist/lang → lang}/index.mjs.map +0 -0
- /package/{dist/lang → lang}/sleep.d.mts +0 -0
- /package/{dist/lang → lang}/sleep.d.mts.map +0 -0
- /package/{dist/lang → lang}/sleep.mjs +0 -0
- /package/{dist/lang → lang}/sleep.mjs.map +0 -0
- /package/{dist/lang → lang}/type-functions.d.mts +0 -0
- /package/{dist/lang → lang}/type-functions.d.mts.map +0 -0
- /package/{dist/lang → lang}/type-functions.mjs +0 -0
- /package/{dist/lang → lang}/type-functions.mjs.map +0 -0
- /package/{dist/oauth → oauth}/crypto-functions.d.mts +0 -0
- /package/{dist/oauth → oauth}/crypto-functions.d.mts.map +0 -0
- /package/{dist/oauth → oauth}/crypto-functions.mjs +0 -0
- /package/{dist/oauth → oauth}/crypto-functions.mjs.map +0 -0
- /package/{dist/oauth → oauth}/index.d.mts +0 -0
- /package/{dist/oauth → oauth}/index.d.mts.map +0 -0
- /package/{dist/oauth → oauth}/index.mjs +0 -0
- /package/{dist/oauth → oauth}/index.mjs.map +0 -0
- /package/{dist/validator → validator}/index.d.mts +0 -0
- /package/{dist/validator → validator}/index.d.mts.map +0 -0
- /package/{dist/validator → validator}/index.mjs +0 -0
- /package/{dist/validator → validator}/index.mjs.map +0 -0
- /package/{dist/validator → validator}/validators.d.mts +0 -0
- /package/{dist/validator → validator}/validators.d.mts.map +0 -0
- /package/{dist/validator → validator}/validators.mjs +0 -0
- /package/{dist/validator → validator}/validators.mjs.map +0 -0
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
# An example hook script to update a checked-out tree on a git push.
|
|
4
|
-
#
|
|
5
|
-
# This hook is invoked by git-receive-pack(1) when it reacts to git
|
|
6
|
-
# push and updates reference(s) in its repository, and when the push
|
|
7
|
-
# tries to update the branch that is currently checked out and the
|
|
8
|
-
# receive.denyCurrentBranch configuration variable is set to
|
|
9
|
-
# updateInstead.
|
|
10
|
-
#
|
|
11
|
-
# By default, such a push is refused if the working tree and the index
|
|
12
|
-
# of the remote repository has any difference from the currently
|
|
13
|
-
# checked out commit; when both the working tree and the index match
|
|
14
|
-
# the current commit, they are updated to match the newly pushed tip
|
|
15
|
-
# of the branch. This hook is to be used to override the default
|
|
16
|
-
# behaviour; however the code below reimplements the default behaviour
|
|
17
|
-
# as a starting point for convenient modification.
|
|
18
|
-
#
|
|
19
|
-
# The hook receives the commit with which the tip of the current
|
|
20
|
-
# branch is going to be updated:
|
|
21
|
-
commit=$1
|
|
22
|
-
|
|
23
|
-
# It can exit with a non-zero status to refuse the push (when it does
|
|
24
|
-
# so, it must not modify the index or the working tree).
|
|
25
|
-
die () {
|
|
26
|
-
echo >&2 "$*"
|
|
27
|
-
exit 1
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
# Or it can make any necessary changes to the working tree and to the
|
|
31
|
-
# index to bring them to the desired state when the tip of the current
|
|
32
|
-
# branch is updated to the new commit, and exit with a zero status.
|
|
33
|
-
#
|
|
34
|
-
# For example, the hook can simply run git read-tree -u -m HEAD "$1"
|
|
35
|
-
# in order to emulate git fetch that is run in the reverse direction
|
|
36
|
-
# with git push, as the two-tree form of git read-tree -u -m is
|
|
37
|
-
# essentially the same as git switch or git checkout that switches
|
|
38
|
-
# branches while keeping the local changes in the working tree that do
|
|
39
|
-
# not interfere with the difference between the branches.
|
|
40
|
-
|
|
41
|
-
# The below is a more-or-less exact translation to shell of the C code
|
|
42
|
-
# for the default behaviour for git's push-to-checkout hook defined in
|
|
43
|
-
# the push_to_deploy() function in builtin/receive-pack.c.
|
|
44
|
-
#
|
|
45
|
-
# Note that the hook will be executed from the repository directory,
|
|
46
|
-
# not from the working tree, so if you want to perform operations on
|
|
47
|
-
# the working tree, you will have to adapt your code accordingly, e.g.
|
|
48
|
-
# by adding "cd .." or using relative paths.
|
|
49
|
-
|
|
50
|
-
if ! git update-index -q --ignore-submodules --refresh
|
|
51
|
-
then
|
|
52
|
-
die "Up-to-date check failed"
|
|
53
|
-
fi
|
|
54
|
-
|
|
55
|
-
if ! git diff-files --quiet --ignore-submodules --
|
|
56
|
-
then
|
|
57
|
-
die "Working directory has unstaged changes"
|
|
58
|
-
fi
|
|
59
|
-
|
|
60
|
-
# This is a rough translation of:
|
|
61
|
-
#
|
|
62
|
-
# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
|
|
63
|
-
if git cat-file -e HEAD 2>/dev/null
|
|
64
|
-
then
|
|
65
|
-
head=HEAD
|
|
66
|
-
else
|
|
67
|
-
head=$(git hash-object -t tree --stdin </dev/null)
|
|
68
|
-
fi
|
|
69
|
-
|
|
70
|
-
if ! git diff-index --quiet --cached --ignore-submodules $head --
|
|
71
|
-
then
|
|
72
|
-
die "Working directory has staged changes"
|
|
73
|
-
fi
|
|
74
|
-
|
|
75
|
-
if ! git read-tree -u -m "$commit"
|
|
76
|
-
then
|
|
77
|
-
die "Could not update working tree to new HEAD"
|
|
78
|
-
fi
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
# An example hook script to validate a patch (and/or patch series) before
|
|
4
|
-
# sending it via email.
|
|
5
|
-
#
|
|
6
|
-
# The hook should exit with non-zero status after issuing an appropriate
|
|
7
|
-
# message if it wants to prevent the email(s) from being sent.
|
|
8
|
-
#
|
|
9
|
-
# To enable this hook, rename this file to "sendemail-validate".
|
|
10
|
-
#
|
|
11
|
-
# By default, it will only check that the patch(es) can be applied on top of
|
|
12
|
-
# the default upstream branch without conflicts in a secondary worktree. After
|
|
13
|
-
# validation (successful or not) of the last patch of a series, the worktree
|
|
14
|
-
# will be deleted.
|
|
15
|
-
#
|
|
16
|
-
# The following config variables can be set to change the default remote and
|
|
17
|
-
# remote ref that are used to apply the patches against:
|
|
18
|
-
#
|
|
19
|
-
# sendemail.validateRemote (default: origin)
|
|
20
|
-
# sendemail.validateRemoteRef (default: HEAD)
|
|
21
|
-
#
|
|
22
|
-
# Replace the TODO placeholders with appropriate checks according to your
|
|
23
|
-
# needs.
|
|
24
|
-
|
|
25
|
-
validate_cover_letter () {
|
|
26
|
-
file="$1"
|
|
27
|
-
# TODO: Replace with appropriate checks (e.g. spell checking).
|
|
28
|
-
true
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
validate_patch () {
|
|
32
|
-
file="$1"
|
|
33
|
-
# Ensure that the patch applies without conflicts.
|
|
34
|
-
git am -3 "$file" || return
|
|
35
|
-
# TODO: Replace with appropriate checks for this patch
|
|
36
|
-
# (e.g. checkpatch.pl).
|
|
37
|
-
true
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
validate_series () {
|
|
41
|
-
# TODO: Replace with appropriate checks for the whole series
|
|
42
|
-
# (e.g. quick build, coding style checks, etc.).
|
|
43
|
-
true
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
# main -------------------------------------------------------------------------
|
|
47
|
-
|
|
48
|
-
if test "$GIT_SENDEMAIL_FILE_COUNTER" = 1
|
|
49
|
-
then
|
|
50
|
-
remote=$(git config --default origin --get sendemail.validateRemote) &&
|
|
51
|
-
ref=$(git config --default HEAD --get sendemail.validateRemoteRef) &&
|
|
52
|
-
worktree=$(mktemp --tmpdir -d sendemail-validate.XXXXXXX) &&
|
|
53
|
-
git worktree add -fd --checkout "$worktree" "refs/remotes/$remote/$ref" &&
|
|
54
|
-
git config --replace-all sendemail.validateWorktree "$worktree"
|
|
55
|
-
else
|
|
56
|
-
worktree=$(git config --get sendemail.validateWorktree)
|
|
57
|
-
fi || {
|
|
58
|
-
echo "sendemail-validate: error: failed to prepare worktree" >&2
|
|
59
|
-
exit 1
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
unset GIT_DIR GIT_WORK_TREE
|
|
63
|
-
cd "$worktree" &&
|
|
64
|
-
|
|
65
|
-
if grep -q "^diff --git " "$1"
|
|
66
|
-
then
|
|
67
|
-
validate_patch "$1"
|
|
68
|
-
else
|
|
69
|
-
validate_cover_letter "$1"
|
|
70
|
-
fi &&
|
|
71
|
-
|
|
72
|
-
if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL"
|
|
73
|
-
then
|
|
74
|
-
git config --unset-all sendemail.validateWorktree &&
|
|
75
|
-
trap 'git worktree remove -ff "$worktree"' EXIT &&
|
|
76
|
-
validate_series
|
|
77
|
-
fi
|
package/.git/hooks/update.sample
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
#
|
|
3
|
-
# An example hook script to block unannotated tags from entering.
|
|
4
|
-
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
|
|
5
|
-
#
|
|
6
|
-
# To enable this hook, rename this file to "update".
|
|
7
|
-
#
|
|
8
|
-
# Config
|
|
9
|
-
# ------
|
|
10
|
-
# hooks.allowunannotated
|
|
11
|
-
# This boolean sets whether unannotated tags will be allowed into the
|
|
12
|
-
# repository. By default they won't be.
|
|
13
|
-
# hooks.allowdeletetag
|
|
14
|
-
# This boolean sets whether deleting tags will be allowed in the
|
|
15
|
-
# repository. By default they won't be.
|
|
16
|
-
# hooks.allowmodifytag
|
|
17
|
-
# This boolean sets whether a tag may be modified after creation. By default
|
|
18
|
-
# it won't be.
|
|
19
|
-
# hooks.allowdeletebranch
|
|
20
|
-
# This boolean sets whether deleting branches will be allowed in the
|
|
21
|
-
# repository. By default they won't be.
|
|
22
|
-
# hooks.denycreatebranch
|
|
23
|
-
# This boolean sets whether remotely creating branches will be denied
|
|
24
|
-
# in the repository. By default this is allowed.
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
# --- Command line
|
|
28
|
-
refname="$1"
|
|
29
|
-
oldrev="$2"
|
|
30
|
-
newrev="$3"
|
|
31
|
-
|
|
32
|
-
# --- Safety check
|
|
33
|
-
if [ -z "$GIT_DIR" ]; then
|
|
34
|
-
echo "Don't run this script from the command line." >&2
|
|
35
|
-
echo " (if you want, you could supply GIT_DIR then run" >&2
|
|
36
|
-
echo " $0 <ref> <oldrev> <newrev>)" >&2
|
|
37
|
-
exit 1
|
|
38
|
-
fi
|
|
39
|
-
|
|
40
|
-
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
|
|
41
|
-
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
|
|
42
|
-
exit 1
|
|
43
|
-
fi
|
|
44
|
-
|
|
45
|
-
# --- Config
|
|
46
|
-
allowunannotated=$(git config --type=bool hooks.allowunannotated)
|
|
47
|
-
allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)
|
|
48
|
-
denycreatebranch=$(git config --type=bool hooks.denycreatebranch)
|
|
49
|
-
allowdeletetag=$(git config --type=bool hooks.allowdeletetag)
|
|
50
|
-
allowmodifytag=$(git config --type=bool hooks.allowmodifytag)
|
|
51
|
-
|
|
52
|
-
# check for no description
|
|
53
|
-
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
|
|
54
|
-
case "$projectdesc" in
|
|
55
|
-
"Unnamed repository"* | "")
|
|
56
|
-
echo "*** Project description file hasn't been set" >&2
|
|
57
|
-
exit 1
|
|
58
|
-
;;
|
|
59
|
-
esac
|
|
60
|
-
|
|
61
|
-
# --- Check types
|
|
62
|
-
# if $newrev is 0000...0000, it's a commit to delete a ref.
|
|
63
|
-
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
|
|
64
|
-
if [ "$newrev" = "$zero" ]; then
|
|
65
|
-
newrev_type=delete
|
|
66
|
-
else
|
|
67
|
-
newrev_type=$(git cat-file -t $newrev)
|
|
68
|
-
fi
|
|
69
|
-
|
|
70
|
-
case "$refname","$newrev_type" in
|
|
71
|
-
refs/tags/*,commit)
|
|
72
|
-
# un-annotated tag
|
|
73
|
-
short_refname=${refname##refs/tags/}
|
|
74
|
-
if [ "$allowunannotated" != "true" ]; then
|
|
75
|
-
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
|
|
76
|
-
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
|
|
77
|
-
exit 1
|
|
78
|
-
fi
|
|
79
|
-
;;
|
|
80
|
-
refs/tags/*,delete)
|
|
81
|
-
# delete tag
|
|
82
|
-
if [ "$allowdeletetag" != "true" ]; then
|
|
83
|
-
echo "*** Deleting a tag is not allowed in this repository" >&2
|
|
84
|
-
exit 1
|
|
85
|
-
fi
|
|
86
|
-
;;
|
|
87
|
-
refs/tags/*,tag)
|
|
88
|
-
# annotated tag
|
|
89
|
-
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
|
|
90
|
-
then
|
|
91
|
-
echo "*** Tag '$refname' already exists." >&2
|
|
92
|
-
echo "*** Modifying a tag is not allowed in this repository." >&2
|
|
93
|
-
exit 1
|
|
94
|
-
fi
|
|
95
|
-
;;
|
|
96
|
-
refs/heads/*,commit)
|
|
97
|
-
# branch
|
|
98
|
-
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
|
|
99
|
-
echo "*** Creating a branch is not allowed in this repository" >&2
|
|
100
|
-
exit 1
|
|
101
|
-
fi
|
|
102
|
-
;;
|
|
103
|
-
refs/heads/*,delete)
|
|
104
|
-
# delete branch
|
|
105
|
-
if [ "$allowdeletebranch" != "true" ]; then
|
|
106
|
-
echo "*** Deleting a branch is not allowed in this repository" >&2
|
|
107
|
-
exit 1
|
|
108
|
-
fi
|
|
109
|
-
;;
|
|
110
|
-
refs/remotes/*,commit)
|
|
111
|
-
# tracking branch
|
|
112
|
-
;;
|
|
113
|
-
refs/remotes/*,delete)
|
|
114
|
-
# delete tracking branch
|
|
115
|
-
if [ "$allowdeletebranch" != "true" ]; then
|
|
116
|
-
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
|
|
117
|
-
exit 1
|
|
118
|
-
fi
|
|
119
|
-
;;
|
|
120
|
-
*)
|
|
121
|
-
# Anything else (is there anything else?)
|
|
122
|
-
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
|
|
123
|
-
exit 1
|
|
124
|
-
;;
|
|
125
|
-
esac
|
|
126
|
-
|
|
127
|
-
# --- Finished
|
|
128
|
-
exit 0
|
package/.git/index
DELETED
|
Binary file
|
package/.git/info/exclude
DELETED
package/.git/logs/HEAD
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 711ba2014bc137dece4c4156ff5e77e6abaeb95c runner <runner@fv-az1205-493.zdluquzpesfebp2ow20ehxdj5c.ex.internal.cloudapp.net> 1718435616 +0000 checkout: moving from master to main
|
|
2
|
-
711ba2014bc137dece4c4156ff5e77e6abaeb95c 91b0fba96bf994b6232bb923f2a9929fc258a05f github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.co> 1718435634 +0000 commit: v0.1.1
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 711ba2014bc137dece4c4156ff5e77e6abaeb95c runner <runner@fv-az1205-493.zdluquzpesfebp2ow20ehxdj5c.ex.internal.cloudapp.net> 1718435616 +0000 branch: Created from refs/remotes/origin/main
|
|
2
|
-
711ba2014bc137dece4c4156ff5e77e6abaeb95c 91b0fba96bf994b6232bb923f2a9929fc258a05f github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.co> 1718435634 +0000 commit: v0.1.1
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
0000000000000000000000000000000000000000 711ba2014bc137dece4c4156ff5e77e6abaeb95c runner <runner@fv-az1205-493.zdluquzpesfebp2ow20ehxdj5c.ex.internal.cloudapp.net> 1718435616 +0000 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +711ba2014bc137dece4c4156ff5e77e6abaeb95c:refs/remotes/origin/main: storing ref
|
|
2
|
-
711ba2014bc137dece4c4156ff5e77e6abaeb95c 91b0fba96bf994b6232bb923f2a9929fc258a05f github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.co> 1718435635 +0000 update by push
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
x��Ak�@�{��؛$02
|
|
2
|
-
�����!�t��j�j�l����*M1��]9��G��\|��F������]|�����7R�5�͘��~��W2gγ�����M4bl���J[��jlK�Tk��P4�ya@I���)M��>�ݙIʲH߅�%�H#��8P��o���F�~���
|
|
3
|
-
���Ap)����2e8�]�.��L���ۄ����Dԛ�B]�o?f��m�I?Zīpq����2����op<���f'�-�+��#\��|6��z���dz5[���m���jC��~J�::Σ8����j����>�bYm�tCY.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
x+)JMU04�`040031Q�())��M-��O��-)f(��:-#zU9�Dp�.�ŻS���$���&秤�շ���Z�v�oH�p�ԃ�k�C�g楤V�}���4_Y��Y���c�Ikd#{���1�
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
x͙�o�6����
|
|
2
|
-
mR���
|
|
3
|
-
HQt���;s��KJK��V�<�J�e��wG��$�]%J��$�u���y<͢xo~{���p������֮/����ǁ����W��=^��P��j^�������f4�*}[r��ZT�:�/_v�%��[+Q.�k�M+�����.��P�QHBAuP]�,C>^�IH��'z�*�H�-AҠ`)��
|
|
4
|
-
���b}/%�ղ��&Wg����m=�+q��B�Q"�# _�����~Տ��qK)Jל�
|
|
5
|
-
r�wƲ�b�D�y:���H�L�1� �)ʆ�p��e@_Ed����c�#��ao:�8����xڏOy�M *��g�9>��-�v�l�q�l5�f�c��)q���q�CN�`�X��h��µ#�G������O����Fr��Y�g�1J�����h�apz�
|
|
6
|
-
Mɻ�x���S�L;e��/u�:y{h�Cs�vJ쁎9姢�����A���mj
|
|
7
|
-
S��be��gz�P��F��_��R�6~��B�ϟ7y��/] ��m��8���m�-D�bƷ�ݼ:B�:b��;o71�&��h�9|����*�頟8Ί�J�Tۿy_;��9����hU{&
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.git/refs/heads/main
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
91b0fba96bf994b6232bb923f2a9929fc258a05f
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
91b0fba96bf994b6232bb923f2a9929fc258a05f
|
package/.git/refs/tags/v0.1.1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ba5b53857ced8d97f6d6e3fb3538b3273743dafc
|
package/.git/shallow
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
711ba2014bc137dece4c4156ff5e77e6abaeb95c
|
package/.github/dependabot.yml
DELETED
package/.github/workflows/ci.yml
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
on:
|
|
2
|
-
pull_request:
|
|
3
|
-
issues:
|
|
4
|
-
types:
|
|
5
|
-
- opened
|
|
6
|
-
jobs:
|
|
7
|
-
add-to-project:
|
|
8
|
-
name: Add issue to project
|
|
9
|
-
if: github.actor != 'dependabot[bot]'
|
|
10
|
-
uses: nr1etech/github-workflows/.github/workflows/issues.yml@main
|
|
11
|
-
secrets:
|
|
12
|
-
private-key: ${{ secrets.ISSUES_BOT_KEY }}
|
|
13
|
-
app-id: ${{ secrets.ISSUES_BOT_ID }}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
on:
|
|
2
|
-
push:
|
|
3
|
-
branches:
|
|
4
|
-
- main
|
|
5
|
-
- develop
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
name: publish
|
|
8
|
-
permissions:
|
|
9
|
-
contents: write
|
|
10
|
-
pages: write
|
|
11
|
-
id-token: write
|
|
12
|
-
jobs:
|
|
13
|
-
publish:
|
|
14
|
-
uses: nr1etech/github-workflows/.github/workflows/javascript-library.yml@main
|
|
15
|
-
with:
|
|
16
|
-
node-versions: "[18,20,22]"
|
|
17
|
-
publish-node-version: "22"
|
|
18
|
-
secrets:
|
|
19
|
-
npm-auth-token: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
20
|
-
app-id: ${{ secrets.RELEASE_BOT_ID }}
|
|
21
|
-
private-key: ${{ secrets.RELEASE_BOT_KEY }}
|
package/.gitignore
DELETED
package/.idea/.gitignore
DELETED
package/.idea/aws.xml
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="accountSettings">
|
|
4
|
-
<option name="activeRegion" value="us-east-1" />
|
|
5
|
-
<option name="recentlyUsedRegions">
|
|
6
|
-
<list>
|
|
7
|
-
<option value="us-east-1" />
|
|
8
|
-
</list>
|
|
9
|
-
</option>
|
|
10
|
-
</component>
|
|
11
|
-
</project>
|