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

stdopt

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stdopt - npm Package Compare versions

Comparing version

to
7.1.1

2

base.js

@@ -0,1 +1,2 @@

var deprecate = require('deprecate')
var inherits = require('inherits')

@@ -31,2 +32,3 @@ var prop = require('stdprop')

Base.unwrap = function (opt) {
deprecate('Base.unwrap()', 'Use the equivalent Base.extract() instead.')
return Base.prototype.extract.call(opt)

@@ -33,0 +35,0 @@ }

3

package.json
{
"name": "stdopt",
"version": "7.1.0",
"version": "7.1.1",
"description": "Wrap and validate optional values",

@@ -10,2 +10,3 @@ "main": "index.js",

"dependencies": {
"deprecate": "^1.1.1",
"inherits": "^2.0.4",

@@ -12,0 +13,0 @@ "is-arrayish": "^0.3.2",