@favware/npm-deprecate
Advanced tools
Comparing version 1.0.8-next.bd8fc67.0 to 1.0.8-next.bec961b
import { NodeAuthToken, NpmBaseUrl } from '#lib/constants'; | ||
import { logVerboseError, logVerboseInfo } from '#lib/logVerbose'; | ||
import { fetch, FetchResultTypes } from '@sapphire/fetch'; | ||
import { fetch, FetchResultTypes, QueryError } from '@sapphire/fetch'; | ||
import { isNullish } from '@sapphire/utilities'; | ||
@@ -5,0 +5,0 @@ import micromatch from 'micromatch'; |
@@ -7,7 +7,7 @@ /** | ||
export function hydrateDefaultOptions(parsedOptions) { | ||
parsedOptions.deprecateDistTag ??= false; | ||
parsedOptions.message ??= 'This version has been automatically deprecated by @favware/npm-deprecate. Please use a newer version.'; | ||
parsedOptions.package ??= []; | ||
parsedOptions.deprecateDistTag ?? (parsedOptions.deprecateDistTag = false); | ||
parsedOptions.message ?? (parsedOptions.message = 'This version has been automatically deprecated by @favware/npm-deprecate. Please use a newer version.'); | ||
parsedOptions.package ?? (parsedOptions.package = []); | ||
return parsedOptions; | ||
} | ||
//# sourceMappingURL=hydrateDefaultOptions.js.map |
{ | ||
"name": "@favware/npm-deprecate", | ||
"version": "1.0.8-next.bd8fc67.0", | ||
"version": "1.0.8-next.bec961b", | ||
"description": "Programmatically deprecate your NPM published packages", | ||
@@ -20,10 +20,7 @@ "author": "@favware", | ||
"files": [ | ||
"dist", | ||
"!dist/*.tsbuildinfo", | ||
"!dist/**/*.js.map", | ||
"!dist/**/*.d.ts", | ||
"!dist/**/*.d.ts.map" | ||
"dist/**/*.js" | ||
], | ||
"scripts": { | ||
"lint": "eslint src --ext ts --fix", | ||
"prettier": "prettier --ignore-path=.prettierignore", | ||
"format": "prettier --write \"src/**/*.ts\"", | ||
@@ -36,46 +33,41 @@ "update": "yarn upgrade-interactive --latest", | ||
"check-update": "cliff-jumper --dry-run", | ||
"_postinstall": "husky install .github/husky", | ||
"prepack": "yarn build && pinst --disable", | ||
"postpack": "pinst --enable" | ||
"prepack": "yarn build" | ||
}, | ||
"dependencies": { | ||
"@sapphire/fetch": "^2.4.1", | ||
"@sapphire/utilities": "^3.11.0", | ||
"colorette": "^2.0.19", | ||
"commander": "^10.0.0", | ||
"@sapphire/fetch": "^3.0.3", | ||
"@sapphire/utilities": "^3.17.0", | ||
"colorette": "^2.0.20", | ||
"commander": "^12.1.0", | ||
"js-yaml": "^4.1.0", | ||
"micromatch": "^4.0.5", | ||
"npm-package-arg": "^10.1.0", | ||
"npm-registry-fetch": "^14.0.3" | ||
"micromatch": "^4.0.8", | ||
"npm-package-arg": "^11.0.3", | ||
"npm-registry-fetch": "^17.1.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.4.2", | ||
"@commitlint/config-conventional": "^17.4.2", | ||
"@favware/cliff-jumper": "^1.10.0", | ||
"@sapphire/eslint-config": "^4.3.8", | ||
"@sapphire/prettier-config": "^1.4.5", | ||
"@sapphire/ts-config": "^3.3.4", | ||
"@types/js-yaml": "^4.0.5", | ||
"@types/micromatch": "^4.0.2", | ||
"@types/node": "^18.11.18", | ||
"@types/node-fetch": "^2.6.2", | ||
"@types/npm-package-arg": "^6.1.1", | ||
"@types/npm-registry-fetch": "^8.0.4", | ||
"@typescript-eslint/eslint-plugin": "^5.49.0", | ||
"@typescript-eslint/parser": "^5.49.0", | ||
"@commitlint/cli": "^19.4.1", | ||
"@commitlint/config-conventional": "^19.4.1", | ||
"@favware/cliff-jumper": "^4.1.0", | ||
"@sapphire/eslint-config": "^5.0.5", | ||
"@sapphire/prettier-config": "^2.0.0", | ||
"@sapphire/ts-config": "^5.0.1", | ||
"@types/js-yaml": "^4.0.9", | ||
"@types/micromatch": "^4.0.9", | ||
"@types/node": "^20.16.5", | ||
"@types/node-fetch": "^2.6.11", | ||
"@types/npm-package-arg": "^6.1.4", | ||
"@types/npm-registry-fetch": "^8.0.7", | ||
"@typescript-eslint/eslint-plugin": "^7.13.1", | ||
"@typescript-eslint/parser": "^7.13.1", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.33.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.1.0", | ||
"pinst": "^3.0.0", | ||
"prettier": "^2.8.3", | ||
"pretty-quick": "^3.1.3", | ||
"typescript": "^4.9.4" | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"lint-staged": "^15.2.10", | ||
"prettier": "^3.3.3", | ||
"typescript": "^5.5.2" | ||
}, | ||
"resolutions": { | ||
"acorn": "^8.8.2", | ||
"acorn": "^8.12.1", | ||
"ansi-regex": "^5.0.1", | ||
"minimist": "^1.2.7" | ||
"minimist": "^1.2.8" | ||
}, | ||
@@ -99,2 +91,3 @@ "engines": { | ||
"lint-staged": { | ||
"*": "prettier --ignore-unknown --write", | ||
"*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts" | ||
@@ -113,3 +106,3 @@ }, | ||
}, | ||
"packageManager": "yarn@3.3.1" | ||
"packageManager": "yarn@4.4.1" | ||
} |
@@ -186,23 +186,13 @@ <div align="center"> | ||
## Contributors ✨ | ||
## Contributors | ||
Thanks goes to these wonderful people | ||
([emoji key](https://allcontributors.org/docs/en/emoji-key)): | ||
Please make sure to read the [Contributing Guide][contributing] before making a | ||
pull request. | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<table> | ||
<tr> | ||
<td align="center"><a href="https://favware.tech/"><img src="https://avatars3.githubusercontent.com/u/4019718?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jeroen Claassens</b></sub></a><br /><a href="https://github.com/npm-deprecate/favware/commits?author=Favna" title="Code">💻</a> <a href="#design-Favna" title="Design">🎨</a> <a href="#ideas-Favna" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-Favna" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-Favna" title="Maintenance">🚧</a> <a href="#platform-Favna" title="Packaging/porting to new platform">📦</a> <a href="#projectManagement-Favna" title="Project Management">📆</a></td> | ||
</tr> | ||
</table> | ||
Thank you to all the people who already contributed! | ||
<!-- markdownlint-restore --> | ||
<!-- prettier-ignore-end --> | ||
<a href="https://github.com/favware/npm-deprecate/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=favware/npm-deprecate" /> | ||
</a> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
This project follows the | ||
[all-contributors](https://github.com/all-contributors/all-contributors) | ||
specification. Contributions of any kind welcome! | ||
[contributing]: .github/CONTRIBUTING.md |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21
14
335
30673
198
+ Added@npmcli/agent@2.2.2(transitive)
+ Added@npmcli/redact@2.0.1(transitive)
+ Added@sapphire/fetch@3.0.5(transitive)
+ Addedagent-base@7.1.1(transitive)
+ Addedcacache@18.0.4(transitive)
+ Addedcommander@12.1.0(transitive)
+ Addedhosted-git-info@7.0.2(transitive)
+ Addedhttp-proxy-agent@7.0.2(transitive)
+ Addedhttps-proxy-agent@7.0.5(transitive)
+ Addedmake-fetch-happen@13.0.1(transitive)
+ Addedminipass-collect@2.0.1(transitive)
+ Addednpm-package-arg@11.0.3(transitive)
+ Addednpm-registry-fetch@17.1.0(transitive)
+ Addedproc-log@4.2.0(transitive)
+ Addedsocks-proxy-agent@8.0.4(transitive)
- Removed@sapphire/fetch@2.4.2(transitive)
- Removed@tootallnate/once@2.0.0(transitive)
- Removedagent-base@6.0.2(transitive)
- Removedagentkeepalive@4.5.0(transitive)
- Removedcacache@17.1.4(transitive)
- Removedcommander@10.0.1(transitive)
- Removedcross-fetch@4.0.0(transitive)
- Removedhosted-git-info@6.1.3(transitive)
- Removedhttp-proxy-agent@5.0.0(transitive)
- Removedhttps-proxy-agent@5.0.1(transitive)
- Removedhumanize-ms@1.2.1(transitive)
- Removedlru-cache@7.18.3(transitive)
- Removedmake-fetch-happen@11.1.1(transitive)
- Removedminipass-collect@1.0.2(transitive)
- Removedminipass-json-stream@1.0.2(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednpm-package-arg@10.1.0(transitive)
- Removednpm-registry-fetch@14.0.5(transitive)
- Removedproc-log@3.0.0(transitive)
- Removedsocks-proxy-agent@7.0.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updated@sapphire/fetch@^3.0.3
Updated@sapphire/utilities@^3.17.0
Updatedcolorette@^2.0.20
Updatedcommander@^12.1.0
Updatedmicromatch@^4.0.8
Updatednpm-package-arg@^11.0.3
Updatednpm-registry-fetch@^17.1.0