Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@favware/npm-deprecate

Package Overview
Dependencies
Maintainers
0
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@favware/npm-deprecate - npm Package Compare versions

Comparing version 1.0.8-next.7d1e092.0 to 1.0.8-next.811421b

dist/lib/interfaces.js

2

dist/commands/deprecate.js
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.7d1e092.0",
"version": "1.0.8-next.811421b",
"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": "^9.5.0",
"@sapphire/fetch": "^3.0.2",
"@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.7",
"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.48.1",
"@typescript-eslint/parser": "^5.48.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@favware/cliff-jumper": "^4.0.3",
"@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.14.12",
"@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.32.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.7",
"prettier": "^3.3.3",
"typescript": "^5.5.2"
},
"resolutions": {
"acorn": "^8.8.1",
"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.3.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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc