{"_id":"remark-sort-definitions","_rev":"8-fa9d7baffa7b1372132c3dcda220b921","name":"remark-sort-definitions","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"remark-sort-definitions","version":"1.0.0","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"author":{"name":"Xunnamius"},"license":"MIT","_id":"remark-sort-definitions@1.0.0","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"homepage":"https://github.com/Xunnamius/unified-utils/blob/main/packages/remark-sort-definitions","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"dist":{"shasum":"9b1b577b6642de777ab46777ba26c5c0ae93d7c9","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-1.0.0.tgz","fileCount":5,"integrity":"sha512-ytWnO9iq7rKNhExcX+9c+740WaBuN+FUbjiyn9TmZwuJ5RkSoydKyQEC7WM2AZtwpwfjM43vNZSSD3DFivMdjQ==","signatures":[{"sig":"MEUCIBeh9mJY5cbbYrmvCeZtBBefQ6jQrS061ijmJALZ/9vOAiEA+2A8aEmjHI+5dgVAflHC1R2/eDjM5PEUo6wInrAxF6E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUzh9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsxQ/9FlocZ+j4M85bhbcO+eNqW6GMLjXOpDcy7vQCP5SpqnmWNvlf\r\n8EpML/PYpkI3KF5VtDQ0OSEjOooy2OR/UVZILQ5aklbk98LdP2MzbZHs3T66\r\nBMPCQi0F/Pg02PHyacaZ7cIue+X4tJnVfqT81b/qpevMWZTFSpxczC65ccQJ\r\nnW/H5cSFCbfjtGgajkgssQ/0IgtAmHNX5aFoMZ04g0G+jpXJvqCqog011EBM\r\nXP/+oegSbUy3seuN0NUfx9a+9ZtxT7odVeDHyHhJp2BEZ/tHqmz5vSZ+lBeE\r\nVuzNs+yeuEWo5a0aacNDlx5/q/CRxqGY4fa2Rbybgk0KWIMglkYrvkIOmRmr\r\nh3rA5IWR8mqzFRNTW5o5nyDwJ+2p+o8AdAztwrjM8EzWAMtKHh0TAduvIDss\r\ne/7nVXkML9plcN/82Dxhj/THe4ZCy9lym9W2LVcvDNxmHrGRyTfhC1gi5o83\r\n9IBhEzJenlo5lPRa3HalFpegZZ+VnEpJCZJxdjurcpuxJJwWJvEaFj33sbV6\r\nPisn/2sarVf9gLVtkghU59zVEZcIVOS50dFDa8BWjbj2UG0X1uWaBGZn+XjW\r\na9cw08DzB/AAgpWVHZBLsU3GtSMM8gDq28/VcWJo+Uiu1DNQTMClAeSH8lT/\r\npUVfF2+cLcD/eKfAypZ5Bqs9hVU/Hbk8wfs=\r\n=fCIX\r\n-----END PGP SIGNATURE-----\r\n"},"type":"commonjs","config":{"plugin-build":{"docs":{"entry":"./src/*"}}},"engines":{"node":"^14.19.0 || ^16.13.0 || >=17.4.0"},"exports":{".":{"node":"./dist/index.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"gitHead":"269717408d817c87b072f31436bcfd0cdaffe230","scripts":{"lint":"echo 'IMPLEMENT ME'","test":"npm run test:unit --","build":"npm run build:dist --","clean":"git ls-files --exclude-standard --ignored --others --directory | grep -vE '^((\\.(env|vscode|husky))|next-env\\.d\\.ts|node_modules)($|\\/)' | xargs -p rm -rf","format":"cd ../.. && npm run format","test:unit":"echo 'IMPLEMENT ME'","build:dist":"NODE_ENV=production tsc --project tsconfig.types.json --incremental false && tsconfig-replace-paths --project tsconfig.types.json && NODE_ENV=production-esm babel src --extensions .ts --out-dir dist --out-file-extension .mjs --root-mode upward","build:docs":"if [ -r ./next.config.js ]; then typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none lib src test types external-scripts --exclude '**/*.test.*' --exclude external-scripts/bin; else ENTRY=`node -e 'const entry = require(\"./package.json\").config?.[\"plugin-build\"]?.docs?.entry; if(!entry) throw new Error(\"\\\"config['\"'\"'plugin-build'\"'\"'].docs.entry\\\" field is not defined in package.json\"); console.log(entry)'` && echo 'Entry file:' \"$ENTRY\" && typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none $(echo $ENTRY) && find docs -name '*.md' -exec sed -i -e 's/Project: //g' {} + && sed -i -e 1,4d docs/README.md; fi && find docs -name '*.md' -exec sed -i -e 's/`__namedParameters`/`\\(destructured\\)`/g' {} + && find docs -name '*.md' -exec sed -i -E 's/`__namedParameters\\.([^`]+)`/`\\({ \\1 }\\)`/g' {} +","list-tasks":"node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))'","build:changelog":"conventional-changelog --outfile CHANGELOG.md --config ../../conventional.config.js --release-count 0 --skip-unstable && (if [ \"$CHANGELOG_SKIP_TITLE\" != 'true' ]; then { node -e 'console.log(require(\"../../conventional.config.js\").changelogTitle)'; cat CHANGELOG.md; } > CHANGELOG.md.ignore && mv CHANGELOG.md.ignore CHANGELOG.md; fi) && NODE_ENV=format remark --output --frail CHANGELOG.md && prettier --write CHANGELOG.md","test:integration":"echo 'IMPLEMENT ME'"},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"repository":{"url":"git+https://github.com/Xunnamius/unified-utils.git","type":"git"},"_npmVersion":"8.19.2","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","directories":{},"sideEffects":false,"_nodeVersion":"18.10.0","dependencies":{"unified":"^10.1.2","@types/mdast":"^3.0.10","unist-util-visit":"^4.1.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/remark-sort-definitions_1.0.0_1666398333093_0.14717256058910366","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"remark-sort-definitions","version":"1.0.1","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"author":{"name":"Xunnamius"},"license":"MIT","_id":"remark-sort-definitions@1.0.1","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"homepage":"https://github.com/Xunnamius/unified-utils/blob/main/packages/remark-sort-definitions","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"dist":{"shasum":"69f2d9faea47168c02afac03293817dda7efe964","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-1.0.1.tgz","fileCount":5,"integrity":"sha512-TrphDUzBoh6KRx3D/8VWV+NsEnvmBj7V5jnJnadIOTZclkRHNo2QDlsPvyEYeKkqzBQj8Xd3AUqsxYifjYKWUw==","signatures":[{"sig":"MEQCIGchuvRmNAUFxvA5RhjTJX+7Gb+/WEfc5iQUZ5jsHqzCAiBTglrxu9SXr0FAjvixfifp7rAPglY7B3eeKtWpiJGC+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVA5MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNihAAnecG6Ly1YTMOu0EJe36MEzyuuCXznl+6y/aGYKl9ANSNA7yY\r\nNP60PiHq8Ulwk2wcyH9bZ1PCIuwPXVa2rNZjfIUhlKhg1CGw4A2vQYU7dX0M\r\nkJH1ANVzlHu6zg9K2xp2z0XoU+JpwUwcRoTgLCJfbVOXuOV0xZdvPHJsp2ql\r\nH6uag+BRnLgVF2gzohbjpblgzqHQH1Ocb0TVR+uGoInGpARX9OMo82+vKthE\r\noi2f6yP63QyD9ZSO4loMHsdt3ThjwGaoh0AFXTlPfa2M3An1OGmY4/U0sC0X\r\nLPS9T1xcVic8Z7mbscIJiNTcISWBLx4c+YcTZVb/3Ej/fCn4T2jQndo06rP7\r\nXC6GYYsVmyHjhUuoQtKNXaMJgMcL4XIpS+sTCYB/MUSLQHAgj+C/Hyt+U68M\r\nczE5FMTZd4tJUyW4EHE3/O/2eA6O5tEa1+KyLRwDHFZK1hOM3A/JmlPclymo\r\nA/xvp1IlDICTpATo1LzH1FGURtto4Bw9XCizOws+ueqigOtKh49bkmgukecH\r\n+sWaLoiRpi3x/T2k7E0ZR/2ewvNBO4nkR9A4kmFb9A/SQF2T1EIjrmiJ40io\r\n7VDxT3DZazJaxQk5eJFjD9d8gh5O1DH/8Ns0uS+M98SsuI2MnetKdaF5ToRJ\r\nQvaSkBt8zkCmANsaGMvDUkeUuUiQHepCsZc=\r\n=SUv2\r\n-----END PGP SIGNATURE-----\r\n"},"type":"commonjs","config":{"plugin-build":{"docs":{"entry":"./src/*"}}},"engines":{"node":"^14.19.0 || ^16.13.0 || >=17.4.0"},"exports":{".":{"node":"./dist/index.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"gitHead":"e4f2a3ee60990a2d639af01555cb56a2c9f7e4db","scripts":{"lint":"echo 'IMPLEMENT ME'","test":"npm run test:unit --","build":"npm run build:dist --","clean":"git ls-files --exclude-standard --ignored --others --directory | grep -vE '^((\\.(env|vscode|husky))|next-env\\.d\\.ts|node_modules)($|\\/)' | xargs -p rm -rf","format":"cd ../.. && npm run format","test:unit":"echo 'IMPLEMENT ME'","build:dist":"NODE_ENV=production tsc --project tsconfig.types.json --incremental false && tsconfig-replace-paths --project tsconfig.types.json && NODE_ENV=production-esm babel src --extensions .ts --out-dir dist --out-file-extension .mjs --root-mode upward","build:docs":"if [ -r ./next.config.js ]; then typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none lib src test types external-scripts --exclude '**/*.test.*' --exclude external-scripts/bin; else ENTRY=`node -e 'const entry = require(\"./package.json\").config?.[\"plugin-build\"]?.docs?.entry; if(!entry) throw new Error(\"\\\"config['\"'\"'plugin-build'\"'\"'].docs.entry\\\" field is not defined in package.json\"); console.log(entry)'` && echo 'Entry file:' \"$ENTRY\" && typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none $(echo $ENTRY) && find docs -name '*.md' -exec sed -i -e 's/Project: //g' {} + && sed -i -e 1,4d docs/README.md; fi && find docs -name '*.md' -exec sed -i -e 's/`__namedParameters`/`\\(destructured\\)`/g' {} + && find docs -name '*.md' -exec sed -i -E 's/`__namedParameters\\.([^`]+)`/`\\({ \\1 }\\)`/g' {} +","list-tasks":"node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))'","build:changelog":"conventional-changelog --outfile CHANGELOG.md --config ../../conventional.config.js --release-count 0 --skip-unstable && (if [ \"$CHANGELOG_SKIP_TITLE\" != 'true' ]; then { node -e 'console.log(require(\"../../conventional.config.js\").changelogTitle)'; cat CHANGELOG.md; } > CHANGELOG.md.ignore && mv CHANGELOG.md.ignore CHANGELOG.md; fi) && NODE_ENV=format remark --output --frail CHANGELOG.md && prettier --write CHANGELOG.md","test:integration":"echo 'IMPLEMENT ME'"},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"repository":{"url":"git+https://github.com/Xunnamius/unified-utils.git","type":"git"},"_npmVersion":"8.19.2","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","directories":{},"sideEffects":false,"_nodeVersion":"18.10.0","dependencies":{"unified":"^10.1.2","@types/mdast":"^3.0.10","unist-util-visit":"^4.1.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/remark-sort-definitions_1.0.1_1666453068404_0.5323642942713835","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"remark-sort-definitions","version":"1.0.2","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"author":{"name":"Xunnamius"},"license":"MIT","_id":"remark-sort-definitions@1.0.2","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"homepage":"https://github.com/Xunnamius/unified-utils/blob/main/packages/remark-sort-definitions","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"dist":{"shasum":"b81cc8b242d3a0e9e4b84daac58bd21a039cea92","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-1.0.2.tgz","fileCount":5,"integrity":"sha512-tO//aBOiVU9qHz8BPtw3P8Db1aeVZ49+e8k8/NmyaHdOgNwDR192VJJA96Is+yT2OOVtffXCwil64trBLvbvtw==","signatures":[{"sig":"MEQCIGilp9PMZcdj4VSv9kg9/EtdqeUo1acfwiCGbVkn4aLUAiBlWg18brKpqtydOJ1YDSO7htFJA6CQGrnx9I4hjjU+tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW4pBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoynQ//a7hUYnQsIa/+oA/Tmrnp6kh58tBXtZbRkGBF9O2UHsIcXU3k\r\nSQ+mQkViEHarsAt2dkurnJNQIGat0Kt9QBL8EeNKS2py8b2nqhfT8ETbCDAD\r\nwwWYKEy7n2cCHNQCMmnsss4BZATPRu1JQm67WHPJ54I9hN+dd+l0K2Lkx3fG\r\nYUiJuOMsCQPCSi8EX/oObi/CA9TsB0JPCvDrGFMb0Z/txtL/b++NG2uAHzZf\r\nVXWIT+sxfHlM8LsT/FSg2U5g1b+qWp9huwaQ4P+8lbB/GsOS4AIYZrGYnKOD\r\nRLBp4a+IGJ6Lzm2AQEOLtH6qICQsjLVr4q+DmiHvgk2Nirq7iZodB2acl8WQ\r\n7B9/8cKxJVyi59Z0WjOZZ8BkbAUl7hOMweR4po2dcCeZiUq/th3YvB1e5ob3\r\nsDASnZLyHM6jOO2fATNBjzfihZ+4FSIWqGUXA/u0wVCZI3NoJMmdmU87PCMg\r\nsu+ysz0mLam5tEFTea/XA7PuRcR2cu1jSVNxhdfEHuSVRgOhbLhbsRyUGerY\r\nCzL0HP9+TMKhNMAjYwPT3Y2kpleAz6lWNp8cbNlCc2XfBN9eTLVvtDNR+cuw\r\nDXFm2z9NV5C3QglHwRoUQ6KNAG7hr0/VoVGpNbXQSpy9WtMSZdynIIe51eW6\r\naXSWIfMc881bK5ouYH2RWCBzo/CAdMxaidA=\r\n=8nfy\r\n-----END PGP SIGNATURE-----\r\n"},"type":"commonjs","config":{"plugin-build":{"docs":{"entry":"./src/*"}}},"engines":{"node":"^14.19.0 || ^16.13.0 || >=17.4.0"},"exports":{".":{"node":"./dist/index.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"gitHead":"2b345d2afbf626a0543eb783b33b4a5a186d9a85","scripts":{"lint":"echo 'IMPLEMENT ME'","test":"npm run test:unit --","build":"npm run build:dist --","clean":"git ls-files --exclude-standard --ignored --others --directory | grep -vE '^((\\.(env|vscode|husky))|next-env\\.d\\.ts|node_modules)($|\\/)' | xargs -p rm -rf","format":"cd ../.. && npm run format","test:unit":"echo 'IMPLEMENT ME'","build:dist":"NODE_ENV=production tsc --project tsconfig.types.json --incremental false && tsconfig-replace-paths --project tsconfig.types.json && NODE_ENV=production-esm babel src --extensions .ts --out-dir dist --out-file-extension .mjs --root-mode upward","build:docs":"if [ -r ./next.config.js ]; then typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none lib src test types external-scripts --exclude '**/*.test.*' --exclude external-scripts/bin; else ENTRY=`node -e 'const entry = require(\"./package.json\").config?.[\"plugin-build\"]?.docs?.entry; if(!entry) throw new Error(\"\\\"config['\"'\"'plugin-build'\"'\"'].docs.entry\\\" field is not defined in package.json\"); console.log(entry)'` && echo 'Entry file:' \"$ENTRY\" && typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none $(echo $ENTRY) && find docs -name '*.md' -exec sed -i -e 's/Project: //g' {} + && sed -i -e 1,4d docs/README.md; fi && find docs -name '*.md' -exec sed -i -e 's/`__namedParameters`/`\\(destructured\\)`/g' {} + && find docs -name '*.md' -exec sed -i -E 's/`__namedParameters\\.([^`]+)`/`\\({ \\1 }\\)`/g' {} +","list-tasks":"node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))'","build:changelog":"conventional-changelog --outfile CHANGELOG.md --config ../../conventional.config.js --release-count 0 --skip-unstable && (if [ \"$CHANGELOG_SKIP_TITLE\" != 'true' ]; then { node -e 'console.log(require(\"../../conventional.config.js\").changelogTitle)'; cat CHANGELOG.md; } > CHANGELOG.md.ignore && mv CHANGELOG.md.ignore CHANGELOG.md; fi) && NODE_ENV=format remark --output --frail CHANGELOG.md && prettier --write CHANGELOG.md","test:integration":"echo 'IMPLEMENT ME'"},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"repository":{"url":"git+https://github.com/Xunnamius/unified-utils.git","type":"git"},"_npmVersion":"8.19.2","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","directories":{},"sideEffects":false,"_nodeVersion":"18.10.0","dependencies":{"unified":"^10.1.2","@types/mdast":"^3.0.10","unist-util-visit":"^4.1.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/remark-sort-definitions_1.0.2_1666943553270_0.7345622227028077","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"remark-sort-definitions","version":"1.0.3","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"author":{"name":"Xunnamius"},"license":"MIT","_id":"remark-sort-definitions@1.0.3","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"homepage":"https://github.com/Xunnamius/unified-utils/blob/main/packages/remark-sort-definitions","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"dist":{"shasum":"d45dd9bc79ca9cdf03f7ff2e5daf99cbba10dab7","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-1.0.3.tgz","fileCount":5,"integrity":"sha512-Eq6/IDfnEPW1B9S3YJwkgVAB8MtwUrJGGv0A5JxNcN2cD/RuIFlBUUrqzcSaoa3ItXZnfa8NDPVT6pe+5Slqbg==","signatures":[{"sig":"MEUCIQDcAQAgF0LK8zARBAml7tYslFrulbjqEW6Ap+Q3ONhVpAIgP59UE2P0VHuONxPxQ2U/k9hSiovDDQZkY4GoKTEuZZI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjXeSRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUYw/8DpmqRi2sMQeAIzvlGnF/DYlRk2gszmBojtjTf+7Dnw5yZz1x\r\no7ybSJIP6VZCl1nSbeebjf95Wydo/BWAlW3eJrZGrX8o42qLVoQTpquZXsMj\r\nSSW3KmqKDt4yP6YmDphy9ib8SHGNtU/H198tBBNf6TiQjE4CtaAKn418dOOY\r\n3kKuttNhvW4XWxbyNqNql5fyw2P9fhhht2JXV8QdJD+tcKQbB3OYEaBAr6Dv\r\nnm5+0jBcsG9FJFWll4SJl+YCV5KN7lk4wNNDOJszv0ZL19woZtetZEBop3vH\r\noUImSKDiYlU6y2k84/gmNtOwzd5ufZ0inWad4ieW4ZFw6hBT82KSDiQ2TTCw\r\n8PV/eX2VUxOPrmaS2yBq+eJ9aBkPP6cCwTDznHAMlowHScgMkwxufjgJWCd6\r\nO4/HjVY+Fhuh2vjhrD4EK+H3a0Msa5kR0zenARqPKcFZ4Zd8i46zW3AxFhmq\r\nKktXCPFvjxnH/YrbduCICYET2PWKLfQ3d/z+/1C414msTKKaeMa432RuZASA\r\nYOWif3GoZdkg6D5DqNYaw0m4m3HSp29qJ5oOPqd/TjYreIwOjnlpten0oAG+\r\n1N3i7p+7Zh8/hXFU5Td0FRmRXcCZ6S3IB9irz7jIT5nhLIJhycZ9CJGXlXHO\r\nkpHpb5xHaa5kQ4IS4OQ3jiOZB1ghybwxNqw=\r\n=6rpu\r\n-----END PGP SIGNATURE-----\r\n"},"type":"commonjs","config":{"plugin-build":{"docs":{"entry":"./src/*"}}},"engines":{"node":"^14.19.0 || ^16.13.0 || >=17.4.0"},"exports":{".":{"node":"./dist/index.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"gitHead":"6df7cc121702e43c2756c390b4d0952d9cbe9317","scripts":{"lint":"echo 'IMPLEMENT ME'","test":"npm run test:unit --","build":"npm run build:dist --","clean":"git ls-files --exclude-standard --ignored --others --directory | grep -vE '^((\\.(env|vscode|husky))|next-env\\.d\\.ts|node_modules)($|\\/)' | xargs -p rm -rf","format":"cd ../.. && npm run format","test:unit":"echo 'IMPLEMENT ME'","build:dist":"NODE_ENV=production tsc --project tsconfig.types.json --incremental false && tsconfig-replace-paths --project tsconfig.types.json && NODE_ENV=production-esm babel src --extensions .ts --out-dir dist --out-file-extension .mjs --root-mode upward","build:docs":"if [ -r ./next.config.js ]; then typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none lib src test types external-scripts --exclude '**/*.test.*' --exclude external-scripts/bin; else ENTRY=`node -e 'const entry = require(\"./package.json\").config?.[\"plugin-build\"]?.docs?.entry; if(!entry) throw new Error(\"\\\"config['\"'\"'plugin-build'\"'\"'].docs.entry\\\" field is not defined in package.json\"); console.log(entry)'` && echo 'Entry file:' \"$ENTRY\" && typedoc --plugin typedoc-plugin-markdown --tsconfig tsconfig.docs.json --out docs --readme none $(echo $ENTRY) && find docs -name '*.md' -exec sed -i -e 's/Project: //g' {} + && sed -i -e 1,4d docs/README.md; fi && find docs -name '*.md' -exec sed -i -e 's/`__namedParameters`/`\\(destructured\\)`/g' {} + && find docs -name '*.md' -exec sed -i -E 's/`__namedParameters\\.([^`]+)`/`\\({ \\1 }\\)`/g' {} +","list-tasks":"node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))'","build:changelog":"conventional-changelog --outfile CHANGELOG.md --config ../../conventional.config.js --release-count 0 --skip-unstable && (if [ \"$CHANGELOG_SKIP_TITLE\" != 'true' ]; then { node -e 'console.log(require(\"../../conventional.config.js\").changelogTitle)'; cat CHANGELOG.md; } > CHANGELOG.md.ignore && mv CHANGELOG.md.ignore CHANGELOG.md; fi) && NODE_ENV=format remark --output --frail CHANGELOG.md && prettier --write CHANGELOG.md","test:integration":"echo 'IMPLEMENT ME'"},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"repository":{"url":"git+https://github.com/Xunnamius/unified-utils.git","type":"git"},"_npmVersion":"8.19.2","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","directories":{},"sideEffects":false,"_nodeVersion":"18.10.0","dependencies":{"unified":"^10.1.2","@types/mdast":"^3.0.10","unist-util-visit":"^4.1.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/remark-sort-definitions_1.0.3_1667097744853_0.4128880524146954","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"remark-sort-definitions","version":"1.0.4","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"author":{"name":"Xunnamius"},"license":"MIT","_id":"remark-sort-definitions@1.0.4","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"homepage":"https://github.com/Xunnamius/unified-utils/blob/main/packages/remark-sort-definitions","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"dist":{"shasum":"c24bef71b2624b100037e571609d3f8fe8c8e42d","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-1.0.4.tgz","fileCount":5,"integrity":"sha512-ViSFc4GeMKwgzx0eB6b6N3HC4oS1gX+T7c9QyIpTl+Ch+K+D7S1i5PhR1oYYk8mjvDf+KhTy2l0lZu+kUPmXsg==","signatures":[{"sig":"MEUCIQCdYc1zXM4YqdMCONgQoi3x9QoP0jyysKuAJvtPpwF+nQIgeklgnKRtadufY9+PgnZYyCTnh9Oxs9fukhe5BS9M25s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtbrXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQEA//bPrHYY0XS/QwoE0xvW6xJOcNAUQ2iHjm2yr9+mjpeLQqkv9a\r\naePqhOI5cC7lRwcXhz6DTDsbLzGUcG013aq756VIeDoTEZjcvOCXMedFGhbx\r\nT9+qj1j/eGEgan7aaXT+E1xwXaWboxJydKMm8cjrFnbITvc+WovY8Ye3LazT\r\nFs0y9mBiAY3xGLZI893ig1PBnVJGP/Q2f+jAkhYBXj3dQRSVTYf2vZ5H7h4c\r\nKQ7D4q0s6E/cehe4yuc+5WC/+r5lTf+Yu6Isy5in6Zgo33kSzaBUbIVGKlDb\r\nEgg6ixnJHekdGX9Y8VPZ7LWupqE+ZNJRJ7L2Dtou1bymGOPa1Qtv6RKOsPDM\r\nrXrx1uRXMzH5yKr2sU2P57RbVdBg0IRfJEWQnR/F0MfBk77DnQ8I49JHOgb4\r\nYsEX1NSCr6kt/8tVDLy+UxlzjIMvfPguSZyZbLlBNa+WE44/uiVg9Giknlvs\r\nQQg1YROzqYm9oh4D2BfXsYSLTmzmuLENjc7QNC0rdUHfODEZvJBv9zG7yvzP\r\nQxsCIHNRD0D5MVjvprF7Q2UClaG2IO6sPgTBmhw6ouq09I9FZ+JW7j1UC8Xk\r\ndCIYdBO5Cxaeyrs9h1ng6UyO47Olmno3ma+1Vk+dtRg3nvv9zqCR8d9J6D26\r\npr089FgYM69zwz6rGQ2A3KL6I0X/+/eHczw=\r\n=gKsW\r\n-----END PGP SIGNATURE-----\r\n"},"type":"commonjs","config":{"plugin-build":{"docs":{"entry":"./src/*"}}},"engines":{"node":"^14.19.0 || ^16.13.0 || >=17.4.0"},"exports":{".":{"node":"./dist/index.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"gitHead":"21a651776f8c9a9d3de12fce981f0f0ff706632c","scripts":{"lint":"echo 'IMPLEMENT ME'","test":"npm run test:unit --","build":"npm run build:dist --","clean":"git ls-files --exclude-standard --ignored --others --directory | grep -vE '^((\\.(env|vscode|husky))|next-env\\.d\\.ts|node_modules)($|\\/)' | xargs -p rm -rf","format":"cd ../.. && npm run format","test:unit":"echo 'IMPLEMENT ME'","build:dist":"NODE_ENV=production tsc --project tsconfig.types.json --incremental false && tsconfig-replace-paths --project tsconfig.types.json && NODE_ENV=production-esm babel src --extensions .ts --out-dir dist --out-file-extension .mjs --root-mode upward","build:docs":"if [ -r ./next.config.js ]; then typedoc --plugin typedoc-plugin-markdown --cleanOutputDir --tsconfig tsconfig.docs.json --out docs --readme none lib src test types external-scripts --exclude '**/*.test.*' --exclude external-scripts/bin; else ENTRY=`node -e 'const entry = require(\"./package.json\").config?.[\"plugin-build\"]?.docs?.entry; if(!entry) throw new Error(\"\\\"config['\"'\"'plugin-build'\"'\"'].docs.entry\\\" field is not defined in package.json\"); console.log(entry)'` && echo 'Entry file:' \"$ENTRY\" && typedoc --plugin typedoc-plugin-markdown --cleanOutputDir --tsconfig tsconfig.docs.json --out docs --readme none $(echo $ENTRY); fi","list-tasks":"node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))'","build:changelog":"conventional-changelog --outfile CHANGELOG.md --config ../../conventional.config.js --release-count 0 --skip-unstable && (if [ \"$CHANGELOG_SKIP_TITLE\" != 'true' ]; then { node -e 'console.log(require(\"../../conventional.config.js\").changelogTitle)'; cat CHANGELOG.md; } > CHANGELOG.md.ignore && mv CHANGELOG.md.ignore CHANGELOG.md; fi) && NODE_ENV=format remark --output --frail CHANGELOG.md && prettier --write CHANGELOG.md","test:integration":"echo 'IMPLEMENT ME'"},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"repository":{"url":"git+https://github.com/Xunnamius/unified-utils.git","type":"git"},"_npmVersion":"8.19.3","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","directories":{},"sideEffects":false,"_nodeVersion":"18.12.1","dependencies":{"unified":"^10.1.2","@types/mdast":"^3.0.10","unist-util-visit":"^4.1.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/remark-sort-definitions_1.0.4_1672854231658_0.4150044382221816","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"remark-sort-definitions","version":"1.0.5","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"author":{"name":"Xunnamius"},"license":"MIT","_id":"remark-sort-definitions@1.0.5","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"homepage":"https://github.com/Xunnamius/unified-utils/blob/main/packages/remark-sort-definitions","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"dist":{"shasum":"3bbb16881a87a2d6f9e0b0a4dcc8c2af9186dd0a","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-1.0.5.tgz","fileCount":5,"integrity":"sha512-yBr0yQXLxkpg2n4IP99FMT5srGYnD8vod8IEWzQuYy9e5HhFRca3gJBRIdiRtS2iw0QNzX2+XWEUt7UqhhFiLg==","signatures":[{"sig":"MEUCIQCKFcovKvWamkn0Hi0CtovYcH+aRIGXWhNX7eJ2S+biGAIgd9WiZG8BoEyQzpKcpIti3XXPKPp1eB0k9iygJCdJhIc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1g8OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQQg//UWg3p1J7McJFr+84gYoXsqDQHvteto5o/C6M64HCdt3ZnmfY\r\nievkLr+sLoORC0vQz0Nu2Uz3Rr+cUSIE8Nb9Q/eiVo15ZpZAvNYJ7KLylOIO\r\ndkQJQTse96ghsJuqMpXbgTFo4jwK4GI+BkyjMx+6zjrbZiwQsb3JHF4pJ7fR\r\ngWTsWjoi5VRl4O8VNwmozIFeug2RoCZkmykZfIXNT2vbEvUVZ3oAgAbhSkU7\r\n73KlDCvFLBsu3jnfm+6SRjSKOeg4E70p14T/svs+LSBGgo9ukIXCnShy/vfa\r\nlT5AkLsB2AZ9ZLmjhZtRvO/1E/eqUafPJwTFaytW04UUKpuaWL767vksX4at\r\neQJ4BypIX5DalV3+a1DtBhXrhTUsyMbfD9r2+t3EC4RIw7eaY/JaF0DBqG/d\r\nufasQ1or1DaZcrNvEcQxxkh697Y0V3rzywnJwRCqtU1e/v2zhzy4ONzIKVwb\r\n8+T3aqLlNlKgn8sGtjKhcKB1bDvNuRCieOYw2wQjWkRUYCr54nX2VHB34EQQ\r\nIKyni2QO8uGZDse2B8hR7WX2hZvJyUaLiNnUbkFORHVZjMzPncz5jHySCcVc\r\nVHVK8TCQjgIBxdtK6M823SXd08AGvNFTQwqMb4uKIj1h0um+FmTed13FzboR\r\nMc7LWyeyeD2hP1R2GYg4IHZs67uGTS2jbJ0=\r\n=KpCU\r\n-----END PGP SIGNATURE-----\r\n"},"type":"commonjs","engines":{"node":"^14.19.0 || ^16.13.0 || >=17.4.0"},"exports":{".":{"node":"./dist/src/index.mjs","types":"./dist/src/index.d.ts","default":"./dist/src/index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"gitHead":"8942eeaf0b9110b178c5d8a33b0c1e7aa1d75933","project":{"documentation":{"entry":"./src/*"}},"scripts":{"lint":"echo 'IMPLEMENT ME'","test":"npm run test:unit --","build":"npm run build:dist --","clean":"git ls-files --exclude-standard --ignored --others --directory | grep -vE '^((\\.(env|vscode|husky))|next-env\\.d\\.ts|node_modules)($|\\/)' | xargs -p rm -rf","format":"cd ../.. && npm run format","test:unit":"echo 'IMPLEMENT ME'","build:dist":"echo '> Generating types...' && NODE_ENV=production tsc --project tsconfig.types.json --incremental false && tsconfig-replace-paths --project tsconfig.types.json && echo '> Building distributables...' && NODE_ENV=production-esm babel src --extensions .ts --out-dir dist/src --out-file-extension .mjs --root-mode upward && echo '> Organizing types...' && cp --recursive --link --force --target-directory=dist dist/$(realpath --relative-base=../.. .)/* && rm --recursive --force dist/$(realpath --relative-base=../.. ..) && echo '> Refactoring types...' && NODE_ENV=production-types npx babel dist --extensions .ts --only '**/*.d.ts' --out-dir dist --keep-file-extension --root-mode upward","build:docs":"if [ -r ./next.config.js ]; then typedoc --plugin typedoc-plugin-markdown --cleanOutputDir --tsconfig tsconfig.docs.json --out docs --readme none lib src test types external-scripts --exclude '**/*.test.*' --exclude external-scripts/bin; else ENTRY=`node -e 'const entry = require(\"./package.json\").project?.documentation?.entry; if(!entry) throw new Error(\"\\\"project.documentation.entry\\\" field is not defined in package.json\"); console.log(entry)'` && echo 'Entry file:' \"$ENTRY\" && typedoc --plugin typedoc-plugin-markdown --cleanOutputDir --tsconfig tsconfig.docs.json --out docs --readme none $(echo $ENTRY); fi","list-tasks":"node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))'","build:changelog":"conventional-changelog --outfile CHANGELOG.md --config ../../conventional.config.js --release-count 0 --skip-unstable && (if [ \"$CHANGELOG_SKIP_TITLE\" != 'true' ]; then { node -e 'console.log(require(\"../../conventional.config.js\").changelogTitle)'; cat CHANGELOG.md; } > CHANGELOG.md.ignore && mv CHANGELOG.md.ignore CHANGELOG.md; fi) && NODE_ENV=format remark --output --frail CHANGELOG.md && prettier --write CHANGELOG.md","test:integration":"echo 'IMPLEMENT ME'"},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"repository":{"url":"git+https://github.com/Xunnamius/unified-utils.git","type":"git"},"_npmVersion":"8.19.3","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","directories":{},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"unified":"^10.1.2","@types/mdast":"^3.0.10","unist-util-visit":"^4.1.2"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/src/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/remark-sort-definitions_1.0.5_1674972942051_0.23238099008219826","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"remark-sort-definitions","version":"2.0.0","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"author":{"name":"Xunnamius"},"license":"MIT","_id":"remark-sort-definitions@2.0.0","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"homepage":"https://github.com/Xunnamius/unified-utils/blob/main/packages/remark-sort-definitions","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"dist":{"shasum":"17fd7cecdd98fb773dc313f42437216d8669e526","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-2.0.0.tgz","fileCount":5,"integrity":"sha512-rZDoGDisBI3n6w0V6dQ1yeltI3t/8/tayD6y+7Pu8evZlr4VB6pekigbNcT9OOpnEnzZtWPq3Tvb5yFEUpuCSQ==","signatures":[{"sig":"MEQCIAWTZu4l7FucwYXTNcunuvW6w5A60lFUT7cHydx91jTsAiBbnWi+BY7IQttYR2a/LDwzyakg/qLf1F280fjYFSVRGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16713},"type":"commonjs","engines":{"node":"^18.16.0 || >=20.4.0"},"exports":{".":{"node":"./dist/src/index.mjs","types":"./dist/src/index.d.ts","default":"./dist/src/index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"gitHead":"07f7ee6e390f854e92b36ab1425e7693d12555e1","project":{"documentation":{"entry":"./src/*"}},"scripts":{"lint":"echo 'IMPLEMENT ME'","test":"npm run test:unit --","build":"npm run build:dist --","clean":"git ls-files --exclude-standard --ignored --others --directory | grep -vE '^((\\.(env|vscode|husky))|next-env\\.d\\.ts|node_modules)($|\\/)' | xargs -p rm -rf","format":"cd ../.. && npm run format","test:unit":"echo 'IMPLEMENT ME'","build:dist":"echo '> Generating types...' && NODE_ENV=production tsc --project tsconfig.types.json --incremental false && tsconfig-replace-paths --project tsconfig.types.json && echo '> Building distributables...' && NODE_ENV=production-esm babel src --extensions .ts --out-dir dist/src --out-file-extension .mjs --root-mode upward && echo '> Organizing types...' && cp --recursive --link --force --target-directory=dist dist/$(realpath --relative-base=../.. .)/* && rm --recursive --force dist/$(realpath --relative-base=../.. ..) && echo '> Refactoring types...' && NODE_ENV=production-types npx babel dist --extensions .ts --only '**/*.d.ts' --out-dir dist --keep-file-extension --root-mode upward","build:docs":"if [ -r ./next.config.js ]; then typedoc --plugin typedoc-plugin-markdown --cleanOutputDir --tsconfig tsconfig.docs.json --out docs --readme none lib src test types external-scripts --exclude '**/*.test.*' --exclude external-scripts/bin; else ENTRY=`node -e 'const entry = require(\"./package.json\").project?.documentation?.entry; if(!entry) throw new Error(\"\\\"project.documentation.entry\\\" field is not defined in package.json\"); console.log(entry)'` && echo 'Entry file:' \"$ENTRY\" && typedoc --plugin typedoc-plugin-markdown --cleanOutputDir --tsconfig tsconfig.docs.json --out docs --readme none $(echo $ENTRY); fi","list-tasks":"node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))'","build:changelog":"conventional-changelog --outfile CHANGELOG.md --config ../../conventional.config.js --release-count 0 --skip-unstable && (if [ \"$CHANGELOG_SKIP_TITLE\" != 'true' ]; then { node -e 'console.log(require(\"../../conventional.config.js\").changelogTitle)'; cat CHANGELOG.md; } > CHANGELOG.md.ignore && mv CHANGELOG.md.ignore CHANGELOG.md; fi) && NODE_ENV=format remark --output --frail CHANGELOG.md && prettier --write CHANGELOG.md","test:integration":"echo 'IMPLEMENT ME'"},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"repository":{"url":"git+https://github.com/Xunnamius/unified-utils.git","type":"git"},"_npmVersion":"9.9.2","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","directories":{},"sideEffects":false,"_nodeVersion":"20.9.0","dependencies":{"unified":"^11.0.4","@types/mdast":"^4.0.3","unist-util-visit":"^5.0.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"*":["./dist/src/index.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/remark-sort-definitions_2.0.0_1701311196249_0.14007568399445725","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"remark-sort-definitions","version":"3.0.0","description":"remark plugin that reorders reference-style link definitions by id at the end of a document","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"homepage":"https://github.com/Xunnamius/unified-utils/tree/main/packages/remark-sort-definitions#readme","bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"repository":{"type":"git","url":"git+https://github.com/Xunnamius/unified-utils.git"},"license":"MIT","author":{"name":"Xunnamius"},"sideEffects":false,"type":"module","exports":{".":{"types":"./dist/packages/remark-sort-definitions/src/index.d.ts","default":"./dist/packages/remark-sort-definitions/src/index.js"},"./package":"./package.json","./package.json":"./package.json"},"typesVersions":{"*":{"index":["dist/packages/remark-sort-definitions/src/index.d.ts"],"package":["package.json"]}},"scripts":{"build":"npm run build:dist --","build:changelog":"symbiote build changelog --env NODE_NO_WARNINGS=1","build:dist":"symbiote build distributables --env NODE_NO_WARNINGS=1 --not-multiversal","build:docs":"symbiote build docs --env NODE_NO_WARNINGS=1","clean":"symbiote clean --env NODE_NO_WARNINGS=1","format":"symbiote format --env NODE_NO_WARNINGS=1 --hush","info":"symbiote project info --env NODE_NO_WARNINGS=1","lint":"npm run lint:package --","lint:package":"symbiote lint --env NODE_NO_WARNINGS=1 --hush","lint:packages":"symbiote lint --env NODE_NO_WARNINGS=1 --hush --scope unlimited","lint:project":"symbiote project lint --env NODE_NO_WARNINGS=1","list-tasks":"symbiote list-tasks --env NODE_NO_WARNINGS=1 --scope this-package","release":"symbiote release --env NODE_NO_WARNINGS=1","start":"symbiote start --env NODE_NO_WARNINGS=1 --","test":"npm run test:package:unit --","test:package:all":"symbiote test --env NODE_NO_WARNINGS=1 --tests all-local --coverage","test:package:e2e":"symbiote test --env NODE_NO_WARNINGS=1 --tests e2e-local","test:package:integration":"symbiote test --env NODE_NO_WARNINGS=1 --tests integration","test:package:unit":"symbiote test --env NODE_NO_WARNINGS=1 --tests unit type","test:packages:all":"symbiote test --env NODE_NO_WARNINGS=1 --tests all-local --scope unlimited --coverage"},"dependencies":{"@types/mdast":"^4.0.4","core-js":"^3.45.1","unified":"^11.0.5","unist-util-visit":"^5.0.0"},"devDependencies":{"@-xun/fs":"^2.0.0","rejoinder":"^2.1.0","remark":"^15.0.1","remark-gfm":"^4.0.1","to-vfile":"^8.0.0","type-fest":"^4.41.0"},"engines":{"node":"^20.18.0 || >=22.12.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_id":"remark-sort-definitions@3.0.0","gitHead":"2d758b9c9097899d213b6d0e6b61c989737cdf38","_nodeVersion":"24.7.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-lu/noW+abr0cWqVe+dCd4LfSCLi4L0qI0TtRzax9yACCo0A1ljnQ2BLIGK2ejOEu1+Rk7oMuSVpcT2wxtJfafw==","shasum":"6429016c8fd427a24b295575da71bc5efd1080cb","tarball":"https://registry.npmjs.org/remark-sort-definitions/-/remark-sort-definitions-3.0.0.tgz","fileCount":5,"unpackedSize":21440,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAJRNME+DNTad4Sq3vthSZ4YEfQ5q1wUeVz5AT8Zx2+SAiAK3muBHAVIcWI1eWOgPKKh9aZ0VVyeYkcMKpjRgC3VqA=="}]},"_npmUser":{"name":"xunnamius","email":"git@bernarddickens.dev"},"directories":{},"maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/remark-sort-definitions_3.0.0_1756804804735_0.3293538229368431"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-22T00:25:33.021Z","modified":"2025-09-02T09:20:05.120Z","1.0.0":"2022-10-22T00:25:33.277Z","1.0.1":"2022-10-22T15:37:48.604Z","1.0.2":"2022-10-28T07:52:33.430Z","1.0.3":"2022-10-30T02:42:25.054Z","1.0.4":"2023-01-04T17:43:51.864Z","1.0.5":"2023-01-29T06:15:42.208Z","2.0.0":"2023-11-30T02:26:36.443Z","3.0.0":"2025-09-02T09:20:04.918Z"},"bugs":{"url":"https://github.com/Xunnamius/unified-utils/issues"},"author":{"name":"Xunnamius"},"license":"MIT","homepage":"https://github.com/Xunnamius/unified-utils/tree/main/packages/remark-sort-definitions#readme","keywords":["unified","mdast","remark","remark-plugin","plugin","markdown","link","image","reference","definition","sort","order","reorder","natural"],"repository":{"type":"git","url":"git+https://github.com/Xunnamius/unified-utils.git"},"description":"remark plugin that reorders reference-style link definitions by id at the end of a document","maintainers":[{"name":"xunnamius","email":"git@bernarddickens.dev"}],"readme":"<!-- symbiote-template-region-start 1 -->\n\n<p align=\"center\" width=\"100%\">\n  <img width=\"300\" src=\"https://raw.githubusercontent.com/Xunnamius/unified-utils/refs/heads/main/packages/remark-sort-definitions/logo.png\">\n</p>\n\n<p align=\"center\" width=\"100%\">\n<!-- symbiote-template-region-end -->\nremark plugin that reorders reference-style link definitions by id at the end of a document\n<!-- symbiote-template-region-start 2 -->\n</p>\n\n<hr />\n\n<div align=\"center\">\n\n[![Black Lives Matter!][x-badge-blm-image]][x-badge-blm-link]\n[![Last commit timestamp][x-badge-lastcommit-image]][x-badge-repo-link]\n[![Codecov][x-badge-codecov-image]][x-badge-codecov-link]\n[![Source license][x-badge-license-image]][x-badge-license-link]\n[![Uses Semantic Release!][x-badge-semanticrelease-image]][x-badge-semanticrelease-link]\n\n[![NPM version][x-badge-npm-image]][x-badge-npm-link]\n[![Monthly Downloads][x-badge-downloads-image]][x-badge-downloads-link]\n\n</div>\n\n<br />\n\n# remark-sort-definitions\n\n<!-- symbiote-template-region-end -->\n\nThis is a [unified][1] ([remark][2]) plugin that logically reorders the\nreference definitions at the bottom of your document depending on your sorting\npreference. Also plays nicely with [GFM footnotes][3] (by completely ignoring\nthem), and comes with full unicode support.\n\nAfter running this plugin, _all definitions_, both numeric and alphanumeric,\nwill always be placed at the very bottom of the document.\n\nYou might also be interested in [remark-reference-links][4], which transforms\nall your inline links into reference-style links, and\n[remark-renumber-references][5], which will contiguously renumber numeric\nreference-style link ids starting from `[1]`. For a live example of these\nplugins in action, check the bottom of [this very README.md file][6]. ✨\n\n<!-- symbiote-template-region-start 3 -->\n\n---\n\n<!-- remark-ignore-start -->\n<!-- symbiote-template-region-end -->\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Install](#install)\n- [Usage](#usage)\n  - [Via API](#via-api)\n  - [Via remark-cli](#via-remark-cli)\n  - [Via unified configuration](#via-unified-configuration)\n- [API](#api)\n  - [Options](#options)\n- [Examples](#examples)\n  - [Using the Default Configuration](#using-the-default-configuration)\n  - [Using `algorithm`](#using-algorithm)\n- [Related](#related)\n- [Appendix](#appendix)\n  - [Published Package Details](#published-package-details)\n  - [License](#license)\n- [Contributing and Support](#contributing-and-support)\n  - [Contributors](#contributors)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n<!-- symbiote-template-region-start 4 -->\n<!-- remark-ignore-end -->\n\n<br />\n\n## Install\n\n> Due to the nature of the unified ecosystem, this package is ESM only and\n> cannot be `require`'d.\n\n<!-- symbiote-template-region-end -->\n\nTo install:\n\n```shell\nnpm install --save-dev remark-sort-definitions\n```\n\n## Usage\n\nFor maximum flexibility, there are several ways this plugin can be invoked.\n\n### Via API\n\n```typescript\nimport { read } from 'to-vfile';\nimport { remark } from 'remark';\nimport remarkSortDefinitions from 'remark-sort-definitions';\n\nconst file = await remark()\n  // An options object is NOT required\n  .use(remarkSortDefinitions, { algorithm: 'alphanumeric-first' })\n  .process(await read('example.md'));\n\nconsole.log(String(file));\n```\n\n<!-- remark-ignore -->\n\n### Via [remark-cli](https://xunn.at/docs-remark-cli)\n\n```shell\nremark -o --use sort-definitions README.md\n```\n\n<!-- remark-ignore -->\n\n### Via [unified configuration](https://xunn.at/docs-unified-configuration)\n\nIn `package.json`:\n\n```javascript\n  /* … */\n  \"remarkConfig\": {\n    \"plugins\": [\n      \"remark-sort-definitions\"\n      /* … */\n    ]\n  },\n  /* … */\n```\n\nIn `.remarkrc.js`:\n\n```javascript\nmodule.exports = {\n  plugins: [\n    // …\n    ['sort-definitions', { algorithm: 'numeric-first' }]\n  ]\n};\n```\n\nIn `.remarkrc.mjs`:\n\n```javascript\nimport remarkSortDefinitions from 'remark-sort-definitions';\n\nexport default {\n  plugins: [\n    // …\n    remarkSortDefinitions\n  ]\n};\n```\n\n## API\n\nDetailed interface information can be found under [`docs/`][x-repo-docs].\n\n### Options\n\nThis plugin recognizes the following options:\n\n#### `algorithm`\n\nValid values: `\"numeric-first\"` | `\"alphanumeric-first\"`\\\nDefault: `\"alphanumeric-first\"`\n\nThis option determines the sorting preference used when reordering definitions.\n\n`numeric-first` will put definitions with purely numeric ids first, sorted from\nleast (i.e. 1) to greatest, followed by any remaining definitions sorted\n[naturally][7].\n\n`alphanumeric-first` will put definitions with alphanumeric ids (i.e. any id\nthat cannot be parsed into an integer) first, sorted naturally, followed by any\nremaining definitions sorted from least (i.e. 1) to greatest.\n\n## Examples\n\nSuppose we have the following Markdown file `example.md`:\n\n```markdown\n# Documentation\n\n…\n\n[2nd-half-idiom]: https://meme-link-2\n[a-link]: https://a-link\n[1st-half-idiom]: https://meme-link-1\n[z-link]: https://z-link\n[8]: https://npm.im/remark\n[1]: https://npm.im/some-package\n[5]: #related\n[3]: #usage\n[6]: #contributing-and-support\n[2]: #install\n[7]: #contributors\n```\n\n### Using the Default Configuration\n\nThen running the following JavaScript:\n\n```typescript\nimport { read } from 'to-vfile';\nimport { remark } from 'remark';\nimport remarkSortDefinitions from 'remark-sort-definitions';\n\nconst file = await remark()\n  .use(remarkSortDefinitions)\n  // Or:\n  //.use(remarkSortDefinitions, { algorithm: 'alphanumeric-first' })\n  .process(await read('example.md'));\n\nconsole.log(String(file));\n```\n\nWould output the following (assuming remark is [configured][8] for tight\nreferences):\n\n```markdown\n# Documentation\n\n…\n\n[1st-half-idiom]: https://meme-link-1\n[2nd-half-idiom]: https://meme-link-2\n[a-link]: https://a-link\n[z-link]: https://z-link\n[1]: https://npm.im/some-package\n[2]: #install\n[3]: #usage\n[5]: #related\n[6]: #contributing-and-support\n[7]: #contributors\n[8]: https://npm.im/remark\n```\n\nNow all the definitions have been sorted. Nice!\n\n### Using `algorithm`\n\nWe could also sort using an algorithm that places definitions with numeric ids\nfirst. Running the follow JavaScript:\n\n```typescript\nimport { read } from 'to-vfile';\nimport { remark } from 'remark';\nimport remarkSortDefinitions from 'remark-sort-definitions';\n\nconst file = await remark()\n  .use(remarkSortDefinitions, { algorithm: 'numeric-first' })\n  .process(await read('example.md'));\n\nconsole.log(String(file));\n```\n\nWould output the following (assuming remark is [configured][8] for tight\nreferences):\n\n```markdown\n# Documentation\n\n…\n\n[1]: https://npm.im/some-package\n[2]: #install\n[3]: #usage\n[5]: #related\n[6]: #contributing-and-support\n[7]: #contributors\n[8]: https://npm.im/remark\n[1st-half-idiom]: https://meme-link-1\n[2nd-half-idiom]: https://meme-link-2\n[a-link]: https://a-link\n[z-link]: https://z-link\n```\n\nFinally, notice how those numeric reference definition ids are not contiguous: a\ndefinition with id `[4]` is missing, throwing off the `[1]` through `[8]`\nnumbering. Luckily, there exists [a remark plugin][5] that will ensure numeric\nreference ids flow through the document in ascending order starting from `[1]`.\n\n## Related\n\n- [remark-reference-links][4] — transform inline links into reference-style\n  links.\n- [remark-remove-unused-definitions][9] — remove unused reference definitions.\n- [remark-renumber-references][5] — contiguously renumber numeric\n  reference-style link ids starting from `[1]`.\n\n<!-- symbiote-template-region-start 5 -->\n\n## Appendix\n\n<!-- symbiote-template-region-end -->\n\nFurther documentation can be found under [`docs/`][x-repo-docs].\n\n<!-- TODO: additional appendix sections here -->\n<!-- symbiote-template-region-start 6 -->\n\n### Published Package Details\n\nThis is an [ESM-only package][x-pkg-esm-wine] built by Babel for use in Node.js\nversions that are not end-of-life. For TypeScript users, this package supports\nboth `\"Node10\"` and `\"Node16\"` module resolution strategies.\n\n<!-- symbiote-template-region-end -->\n<!-- TODO: additional package details here -->\n<!-- symbiote-template-region-start 7 -->\n\n<details><summary>Expand details</summary>\n\nThat means ESM source will load this package via `import { ... } from ...` or\n`await import(...)` and CJS source will load this package via dynamic\n`import()`. This has several benefits, the foremost being: less code\nshipped/smaller package size, avoiding [dual package\nhazard][x-pkg-dual-package-hazard] entirely, distributables are not\npacked/bundled/uglified, and a drastically less complex build process.\n\nThe glaring downside, which may or may not be relevant, is that CJS consumers\ncannot `require()` this package and can only use `import()` in an asynchronous\ncontext. This means, in effect, CJS consumers may not be able to use this\npackage at all.\n\nEach entry point (i.e. `ENTRY`) in [`package.json`'s\n`exports[ENTRY]`][x-repo-package-json] object includes one or more [export\nconditions][x-pkg-exports-conditions]. These entries may or may not include: an\n[`exports[ENTRY].types`][x-pkg-exports-types-key] condition pointing to a type\ndeclaration file for TypeScript and IDEs, a\n[`exports[ENTRY].module`][x-pkg-exports-module-key] condition pointing to\n(usually ESM) source for Webpack/Rollup, a `exports[ENTRY].node` and/or\n`exports[ENTRY].default` condition pointing to (usually CJS2) source for Node.js\n`require`/`import` and for browsers and other environments, and [other\nconditions][x-pkg-exports-conditions] not enumerated here. Check the\n[package.json][x-repo-package-json] file to see which export conditions are\nsupported.\n\nNote that, regardless of the [`{ \"type\": \"...\" }`][x-pkg-type] specified in\n[`package.json`][x-repo-package-json], any JavaScript files written in ESM\nsyntax (including distributables) will always have the `.mjs` extension. Note\nalso that [`package.json`][x-repo-package-json] may include the\n[`sideEffects`][x-pkg-side-effects-key] key, which is almost always `false` for\noptimal [tree shaking][x-pkg-tree-shaking] where appropriate.\n\n<!-- symbiote-template-region-end -->\n<!-- TODO: additional package details here -->\n<!-- symbiote-template-region-start 8 -->\n\n</details>\n\n### License\n\n<!-- symbiote-template-region-end -->\n\nSee [LICENSE][x-repo-license].\n\n<!-- TODO: additional license information and/or sections here -->\n<!-- symbiote-template-region-start 9 -->\n\n## Contributing and Support\n\n**[New issues][x-repo-choose-new-issue] and [pull requests][x-repo-pr-compare]\nare always welcome and greatly appreciated! 🤩** Just as well, you can [star 🌟\nthis project][x-badge-repo-link] to let me know you found it useful! ✊🏿 Or [buy\nme a beer][x-repo-sponsor], I'd appreciate it. Thank you!\n\nSee [CONTRIBUTING.md][x-repo-contributing] and [SUPPORT.md][x-repo-support] for\nmore information.\n\n<!-- symbiote-template-region-end -->\n<!-- TODO: additional contribution/support sections here -->\n<!-- symbiote-template-region-start 10 -->\n\n### Contributors\n\n<!-- symbiote-template-region-end -->\n<!-- symbiote-template-region-start root-package-only -->\n<!-- (section elided by symbiote) -->\n<!-- symbiote-template-region-end -->\n<!-- symbiote-template-region-start workspace-package-only -->\n\nSee the [table of contributors][x-repo-contributors].\n\n<!-- symbiote-template-region-end -->\n\n[x-badge-blm-image]: https://xunn.at/badge-blm 'Join the movement!'\n[x-badge-blm-link]: https://xunn.at/donate-blm\n[x-badge-codecov-image]:\n  https://img.shields.io/codecov/c/github/Xunnamius/unified-utils/main?style=flat-square&token=HWRIOBAAPW&flag=package.main_remark-sort-definitions\n  'Is this package well-tested?'\n[x-badge-codecov-link]: https://codecov.io/gh/Xunnamius/unified-utils\n[x-badge-downloads-image]:\n  https://img.shields.io/npm/dm/remark-sort-definitions?style=flat-square\n  'Number of times this package has been downloaded per month'\n[x-badge-downloads-link]: https://npmtrends.com/remark-sort-definitions\n[x-badge-lastcommit-image]:\n  https://img.shields.io/github/last-commit/Xunnamius/unified-utils?style=flat-square\n  'Latest commit timestamp'\n[x-badge-license-image]:\n  https://img.shields.io/npm/l/remark-sort-definitions?style=flat-square\n  \"This package's source license\"\n[x-badge-license-link]:\n  https://github.com/Xunnamius/unified-utils/blob/main/LICENSE\n[x-badge-npm-image]:\n  https://xunn.at/npm-pkg-version/remark-sort-definitions\n  'Install this package using npm or yarn!'\n[x-badge-npm-link]: https://npm.im/remark-sort-definitions\n[x-badge-repo-link]: https://github.com/Xunnamius/unified-utils\n[x-badge-semanticrelease-image]:\n  https://xunn.at/badge-semantic-release\n  'This repo practices continuous integration and deployment!'\n[x-badge-semanticrelease-link]:\n  https://github.com/semantic-release/semantic-release\n[x-pkg-dual-package-hazard]:\n  https://nodejs.org/api/packages.html#dual-package-hazard\n[x-pkg-esm-wine]:\n  https://dev.to/jakobjingleheimer/configuring-commonjs-es-modules-for-nodejs-12ed#esm-source-and-distribution\n[x-pkg-exports-conditions]:\n  https://webpack.js.org/guides/package-exports#reference-syntax\n[x-pkg-exports-module-key]:\n  https://webpack.js.org/guides/package-exports#providing-commonjs-and-esm-version-stateless\n[x-pkg-exports-types-key]:\n  https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta#packagejson-exports-imports-and-self-referencing\n[x-pkg-side-effects-key]:\n  https://webpack.js.org/guides/tree-shaking#mark-the-file-as-side-effect-free\n[x-pkg-tree-shaking]: https://webpack.js.org/guides/tree-shaking\n[x-pkg-type]:\n  https://github.com/nodejs/node/blob/8d8e06a345043bec787e904edc9a2f5c5e9c275f/doc/api/packages.md#type\n[x-repo-choose-new-issue]:\n  https://github.com/Xunnamius/unified-utils/issues/new/choose\n[x-repo-contributing]: /CONTRIBUTING.md\n[x-repo-contributors]: /README.md#contributors\n[x-repo-docs]: docs\n[x-repo-license]: ./LICENSE\n[x-repo-package-json]: package.json\n[x-repo-pr-compare]: https://github.com/Xunnamius/unified-utils/compare\n[x-repo-sponsor]: https://github.com/sponsors/Xunnamius\n[x-repo-support]: /.github/SUPPORT.md\n[1]: https://github.com/unifiedjs/unified\n[2]: https://github.com/remarkjs/remark\n[3]: https://github.com/remarkjs/remark-gfm#what-is-this\n[4]: https://github.com/remarkjs/remark-reference-links\n[5]: /packages/remark-renumber-references\n[6]:\n  https://raw.githubusercontent.com/Xunnamius/unified-utils/main/packages/remark-sort-definitions/README.md\n[7]: https://en.wikipedia.org/wiki/Natural_sort_order\n[8]: /.remarkrc.mjs\n[9]: /packages/remark-remove-unused-definitions\n","readmeFilename":"README.md"}