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

deprecated-obj

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deprecated-obj - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

11

package.json
{
"name": "deprecated-obj",
"version": "1.0.1",
"version": "2.0.0",
"description": "Compares deprecations against a configuration object, and returns a compliant object and violations",

@@ -20,4 +20,4 @@ "main": "index.js",

"dependencies": {
"flat": "^4.1.0",
"lodash": "^4.17.11"
"flat": "^5.0.2",
"lodash": "^4.17.20"
},

@@ -29,3 +29,6 @@ "repository": {

"homepage": "https://github.com/webpro/deprecated-obj#readme",
"bugs": "https://github.com/webpro/deprecated-obj/issues"
"bugs": "https://github.com/webpro/deprecated-obj/issues",
"engines": {
"node": ">=10"
}
}

@@ -55,5 +55,5 @@ # deprecated-obj

}
for(let deprecated in violations) {
for (let deprecated in violations) {
console.warn(`The "${deprecated}" option is deprecated. Please use "${violations[deprecated]}" instead.`);
};
}
```

@@ -60,0 +60,0 @@

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