New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

npm-deprecated-check

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-deprecated-check - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

24

package.json
{
"name": "npm-deprecated-check",
"type": "module",
"version": "1.2.0",
"version": "1.3.0",
"description": "Check for deprecated packages",

@@ -34,12 +34,2 @@ "author": "KID-joker <kid_joker@126.com>",

"preferGlobal": true,
"scripts": {
"build": "pnpm build:releases && unbuild",
"build:releases": "tsx ./scripts/node_releases.ts",
"dev": "tsx ./src/cli.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "pnpm build && bumpp && pnpm publish --no-git-checks",
"test": "node --test",
"typecheck": "tsc --noEmit"
},
"dependencies": {

@@ -62,3 +52,2 @@ "@pnpm/lockfile-file": "^7.0.6",

"@types/yarnpkg__lockfile": "^1.1.9",
"bumpp": "^9.8.1",
"eslint": "^9.16.0",

@@ -78,3 +67,12 @@ "lint-staged": "^15.2.10",

]
},
"scripts": {
"build": "pnpm build:releases && unbuild",
"build:releases": "tsx ./scripts/node_releases.ts",
"dev": "tsx ./src/cli.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "node --test",
"typecheck": "tsc --noEmit"
}
}
}

@@ -39,11 +39,38 @@ <h1 align="center">🐦 npm-deprecated-check</h1>

For `OpenAI` config:
`OpenAI` config:
```bash
Options:
--openaiKey <value> recommend alternative packages via ChatGPT
--openaiModel <value> ChatGPT model (choices: "gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4o-mini", "gpt-4o")
--openaiBaseURL <value> override the default base URL for the API
--openaiKey <value> recommend alternative packages via ChatGPT
--openaiModel <value> ChatGPT model (choices: "gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4o-mini", "gpt-4o")
--openaiBaseURL <value> override the default base URL for the API
```
For `current`:
```bash
Options:
--registry <value> specify registry URL, default: https://registry.npmjs.org/
--ignore <value> ignore specific packages, example: request,tslint
--failfast exit the program if it has been deprecated
```
For `global`:
```bash
Options:
-m, --manager <value> check specified package manager (choices: "npm", "yarn", "pnpm")
--registry <value> specify registry URL, default: https://registry.npmjs.org/
--ignore <value> ignore specific packages, example: request,tslint
--failfast exit the program if it has been deprecated
```
For `package`:
```bash
-r, --range <value> check specified versions
--registry <value> specify registry URL, default: https://registry.npmjs.org/
--failfast exit the program if it has been deprecated
```
You can also save them to global configuration:

@@ -50,0 +77,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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