Remove custom JSDoc template and svgo
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Andrey Sitnik · committed by Andrey Sitnik · parent 2fc354d · Browse files · 4 files·+14 added−137 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+14 added−137 removed
- other:+14 added−137 removed
Provenance
- Commit
173ad49- Tree
3468df9- Author
Andrey Sitnik <andrey@sitnik.ru>- Committer
Andrey Sitnik <andrey@sitnik.ru>- Parent
2fc354d
4 files changed+14 added−137 removed
deleted:.jsdocrc-14 removed
1-{2- "plugins": [3- "plugins/markdown"4- ],5- "opts": {6- "template": "node_modules/docdash",7- "destination": "docs/"8- },9- "templates": {10- "default": {11- "includeDate": false12- }13- }14-}modified:package.json+3 added-9 removed
16 unmodified lines17181920212122232412 unmodified lines3738394042414243442 unmodified lines4748495053515253545518 unmodified lines747576778081828384787980818212 unmodified lines959697981059910010110210310421 unmodified lines16 unmodified lines }, "devDependencies": { "benchmark": "^2.1.4", "chalk": "^2.4.1", "docdash": "^0.4.0", "eslint": "^5.1.0", "eslint-ci": "^0.1.1", "eslint-config-logux": "^23.0.2", "eslint-config-standard": "^11.0.0",12 unmodified lines "pre-commit": "^1.2.2", "rimraf": "^2.6.2", "shortid": "^2.2.12", "size-limit": "^0.18.5", "svgo": "^1.0.5", "uuid": "^3.3.2", "webpack": "^4.16.0", "webpack-cli": "^3.0.8", "webpack-dev-server": "^3.1.4",2 unmodified lines "scripts": { "lint-staged": "lint-staged", "spellcheck": "yarn docs && yaspeller-ci *.md docs/*.html", "clean": "rimraf docs/ coverage/", "docs": "jsdoc --configure .jsdocrc *.js", "docs": "jsdoc -d docs *.js", "lint": "eslint-ci *.js test/*.js test/**/*.js", "test": "jest --coverage && yarn lint && size-limit && yarn spellcheck", "start": "webpack-dev-server --config test/demo/webpack.config" },18 unmodified lines } }, "lint-staged": { "*.md": "yaspeller-ci", "*.js": "eslint", "*.svg": [ "svgo", "git add" ] "*.js": "eslint" }, "pre-commit": [ "lint-staged" ],12 unmodified lines "docs/*.js.html" ], "dictionary": [ "Versioning", "docdash", "JSDoc", "GMT", "js", "UUID", "nanoid", "gzipped",21 unmodified linesmodified:README.md+5 added-6 removed
48 unmodified lines49 The spread will not be even; there will be a lower chance for some symbols50 to appear compared to others—so it will reduce the number of tries51 when brute-forcing.52 53-Nano ID uses a [better algorithm] and is tested for uniformity:53+Nano ID uses a [better algorithm] and is tested for uniformity.54 55 <img src="img/distribution.png" alt="Nano ID uniformity"56 width="340" height="135">57 45 unmodified lines103 Symbols `-,.()` are not encoded in the URL. If used at the end of a link104 they could be identified as a punctuation symbol.105 106 If you want to reduce ID length (and increase collisions probability),107-you can pass the length as an argument:107+you can pass the length as an argument.108 109 ```js110 nanoid(10) //=> "IRFa~VaY2b"111 ```11 unmodified lines123 Security is important in ID, when ID should be unpredictable. For instance,124 in “access by URL” link generation.125 126 If you don’t need unpredictable IDs, but you need React Native127-or Web Workers support, you can use non‑secure ID generator:127+or Web Workers support, you can use non‑secure ID generator.128 129 ```js130 var nanoid = require('nanoid/non-secure')131 model.id = nanoid() //=> "Uakgb_J5m9g~0JDMbcJqLJ"11 unmodified lines143 ```144 145 Check safety of your custom alphabet and ID length146 in our [ID collision probability] calculator.147+You can find popular alphabets in [`nanoid-dictionary`].148 149 Alphabet must contain 256 symbols or less.150 Otherwise, the generator will not be secure.151 151-You can find popular alphabets in [`nanoid-dictionary`].152-152 [ID collision probability]: https://alex7kom.github.io/nano-nanoid-cc/153 [`nanoid-dictionary`]: https://github.com/CyberAP/nanoid-dictionary154 155 17 unmodified lines173 `random` callback must accept the array size and return an array174 with random numbers.175 176 If you want to use the same URL-friendly symbols with `format`,178-you can get the default alphabet from the `url` module:177+you can get the default alphabet from the `url` file.178 179 ```js180 var url = require('nanoid/url')181 format(random, url, 10) //=> "93ce_Ltuub"33 unmodified linesmodified:yarn.lock+6 added-108 removed
680 unmodified lines681 dns-txt "^2.0.2"682 multicast-dns "^6.0.1"683 multicast-dns-service-types "^1.1.0"684 685-boolbase@^1.0.0, boolbase@~1.0.0:685+boolbase@~1.0.0:686 version "1.0.0"687 resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"688 689 brace-expansion@^1.1.7:384 unmodified lines1074 co@^4.6.0:1075 version "4.6.0"1076 resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"1077 1078-coa@~2.0.1:1079- version "2.0.1"1080- resolved "https://registry.yarnpkg.com/coa/-/coa-2.0.1.tgz#f3f8b0b15073e35d70263fb1042cb2c023db38af"1081- dependencies:1082- q "^1.1.2"1083-1078 code-point-at@^1.0.0:1079 version "1.1.0"1080 resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"1081 13 unmodified lines1095 color-name@1.1.1:1096 version "1.1.1"1097 resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689"1098 1105-colors@~1.1.2:1106- version "1.1.2"1107- resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"1108-1099 combined-stream@1.0.6, combined-stream@~1.0.5:1100 version "1.0.6"1101 resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818"1102 dependencies:211 unmodified lines1314 postcss-modules-values "^1.3.0"1315 postcss-value-parser "^3.3.0"1316 source-list-map "^2.0.0"1317 1328-css-select-base-adapter@~0.1.0:1329- version "0.1.0"1330- resolved "https://registry.yarnpkg.com/css-select-base-adapter/-/css-select-base-adapter-0.1.0.tgz#0102b3d14630df86c3eb9fa9f5456270106cf990"1331-1318 css-select@^1.1.0:1319 version "1.2.0"1320 resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858"1321 dependencies:1 unmodified line1323 css-what "2.1"1324 domutils "1.5.1"1325 nth-check "~1.0.1"1326 1341-css-select@~1.3.0-rc0:1342- version "1.3.0-rc0"1343- resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.3.0-rc0.tgz#6f93196aaae737666ea1036a8cb14a8fcb7a9231"1344- dependencies:1345- boolbase "^1.0.0"1346- css-what "2.1"1347- domutils "1.5.1"1348- nth-check "^1.0.1"1349-1327 css-selector-tokenizer@^0.7.0:1328 version "0.7.0"1329 resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz#e6988474ae8c953477bf5e7efecfceccd9cf4c86"1330 dependencies:1331 cssesc "^0.1.0"1332 fastparse "^1.1.1"1333 regexpu-core "^1.0.0"1334 1358-css-tree@1.0.0-alpha.29:1359- version "1.0.0-alpha.29"1360- resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39"1361- dependencies:1362- mdn-data "~1.1.0"1363- source-map "^0.5.3"1364-1365-css-tree@1.0.0-alpha25:1366- version "1.0.0-alpha25"1367- resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha25.tgz#1bbfabfbf6eeef4f01d9108ff2edd0be2fe35597"1368- dependencies:1369- mdn-data "^1.0.0"1370- source-map "^0.5.3"1371-1372-css-url-regex@^1.1.0:1373- version "1.1.0"1374- resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec"1375-1335 css-what@2.1:1336 version "2.1.0"1337 resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd"1338 1339 cssesc@^0.1.0:1340 version "0.1.0"1341 resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4"1342 1384-csso@^3.5.0:1385- version "3.5.1"1386- resolved "https://registry.yarnpkg.com/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b"1387- dependencies:1388- css-tree "1.0.0-alpha.29"1389-1343 cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":1344 version "0.3.4"1345 resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.4.tgz#8cd52e8a3acfd68d3aed38ee0a640177d2f9d797"1346 224 unmodified lines1571 resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6"1572 dependencies:1573 buffer-indexof "^1.0.0"1574 1622-docdash@^0.4.0:1623- version "0.4.0"1624- resolved "https://registry.yarnpkg.com/docdash/-/docdash-0.4.0.tgz#05c3a50d83189981699ee0c076d3a3950db7ec00"1625-1575 doctrine@1.5.0:1576 version "1.5.0"1577 resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"1578 dependencies:136 unmodified lines1715 resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"1716 dependencies:1717 is-arrayish "^0.2.1"1718 1770-es-abstract@^1.10.0, es-abstract@^1.5.1, es-abstract@^1.6.1, es-abstract@^1.7.0:1719+es-abstract@^1.10.0, es-abstract@^1.5.1, es-abstract@^1.7.0:1720 version "1.12.0"1721 resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165"1722 dependencies:1723 es-to-primitive "^1.1.1"681 unmodified lines2405 dependencies:2406 nan "^2.9.2"2407 node-pre-gyp "^0.10.0"2408 2460-function-bind@^1.1.0, function-bind@^1.1.1:2409+function-bind@^1.1.1:2410 version "1.1.1"2411 resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"2412 2413 functional-red-black-tree@^1.0.1:1153 unmodified lines3567 dependencies:3568 argparse "^1.0.7"3569 esprima "^4.0.0"3570 3622-js-yaml@~3.10.0:3623- version "3.10.0"3624- resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"3625- dependencies:3626- argparse "^1.0.7"3627- esprima "^4.0.0"3628-3571 js2xmlparser@~3.0.0:3572 version "3.0.0"3573 resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-3.0.0.tgz#3fb60eaa089c5440f9319f51760ccd07e2499733"3574 dependencies:423 unmodified lines3998 dependencies:3999 hash-base "^3.0.0"4000 inherits "^2.0.1"4001 4060-mdn-data@^1.0.0, mdn-data@~1.1.0:4061- version "1.1.4"4062- resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01"4063-4002 media-typer@0.3.0:4003 version "0.3.0"4004 resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"4005 414 unmodified lines4420 console-control-strings "~1.1.0"4421 gauge "~2.7.3"4422 set-blocking "~2.0.0"4423 4486-nth-check@^1.0.1, nth-check@~1.0.1:4424+nth-check@~1.0.1:4425 version "1.0.1"4426 resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.1.tgz#9929acdf628fc2c41098deab82ac580cf149aae4"4427 dependencies:4428 boolbase "~1.0.0"60 unmodified lines4489 resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747"4490 dependencies:4491 isobject "^3.0.1"4492 4555-object.values@^1.0.4:4556- version "1.0.4"4557- resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.0.4.tgz#e524da09b4f66ff05df457546ec72ac99f13069a"4558- dependencies:4559- define-properties "^1.1.2"4560- es-abstract "^1.6.1"4561- function-bind "^1.1.0"4562- has "^1.0.1"4563-4493 obuf@^1.0.0, obuf@^1.1.1:4494 version "1.1.2"4495 resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"4496 509 unmodified lines5006 punycode@^2.1.0:5007 version "2.1.1"5008 resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"5009 5081-q@^1.1.2:5082- version "1.5.1"5083- resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"5084-5010 qs@6.5.1:5011 version "6.5.1"5012 resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"5013 414 unmodified lines5428 watch "~0.18.0"5429 optionalDependencies:5430 fsevents "^1.2.3"5431 5507-sax@>=0.6.0, sax@^1.2.4, sax@~1.2.4:5432+sax@>=0.6.0, sax@^1.2.4:5433 version "1.2.4"5434 resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"5435 5436 schema-utils@^0.4.4, schema-utils@^0.4.5:362 unmodified lines5799 resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.3.0.tgz#ba3872c9c6d33a0704a7d71ff045e5ec48999d06"5800 dependencies:5801 safe-buffer "^5.1.1"5802 5878-stable@~0.1.6:5879- version "0.1.8"5880- resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf"5881-5803 stack-utils@^1.0.1:5804 version "1.0.1"5805 resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.1.tgz#d4f33ab54e8e38778b0ca5cfd3b3afb12db68620"5806 160 unmodified lines5967 resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"5968 dependencies:5969 has-flag "^3.0.0"5970 6050-svgo@^1.0.5:6051- version "1.0.5"6052- resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.0.5.tgz#7040364c062a0538abacff4401cea6a26a7a389a"6053- dependencies:6054- coa "~2.0.1"6055- colors "~1.1.2"6056- css-select "~1.3.0-rc0"6057- css-select-base-adapter "~0.1.0"6058- css-tree "1.0.0-alpha25"6059- css-url-regex "^1.1.0"6060- csso "^3.5.0"6061- js-yaml "~3.10.0"6062- mkdirp "~0.5.1"6063- object.values "^1.0.4"6064- sax "~1.2.4"6065- stable "~0.1.6"6066- unquote "~1.1.1"6067- util.promisify "~1.0.0"6068-5971 symbol-observable@1.0.1:5972 version "1.0.1"5973 resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4"5974 288 unmodified lines6263 unpipe@1.0.0, unpipe@~1.0.0:6264 version "1.0.0"6265 resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"6266 6365-unquote@~1.1.1:6366- version "1.1.1"6367- resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544"6368-6267 unset-value@^1.0.0:6268 version "1.0.0"6269 resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"6270 dependencies:43 unmodified lines6314 util-deprecate@~1.0.1:6315 version "1.0.2"6316 resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"6317 6420-util.promisify@1.0.0, util.promisify@^1.0.0, util.promisify@~1.0.0:6318+util.promisify@1.0.0, util.promisify@^1.0.0:6319 version "1.0.0"6320 resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"6321 dependencies:6322 define-properties "^1.1.2"497 unmodified lines