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

objectstate

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

objectstate - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

CONTRIBUTING.md

8

index.js

@@ -5,4 +5,4 @@ // Copyright 2014 Urban Airship and Contributors

var deepequal = require('deep-equal')
, prop = require('deep-property')
var prop = require('deep-property')
, equal = require('is-equal')

@@ -143,5 +143,1 @@ module.exports = objectState

}
function equal(x, y) {
return deepequal(x, y, {strict: true})
}
{
"name": "objectstate",
"version": "2.0.0",
"version": "2.0.1",
"description": "Lightweight, streaming state management.",

@@ -11,4 +11,4 @@ "main": "index",

"dependencies": {
"deep-equal": "^0.2.1",
"deep-property": "^1.1.0",
"is-equal": "^1.2.0",
"through": "^2.3.6"

@@ -15,0 +15,0 @@ },

@@ -136,2 +136,7 @@ # ObjectState

## Contributing
Please see [CONTRIBUTING](./CONTRIBUTING.md) for details on how to contribute
to this project.
## License

@@ -138,0 +143,0 @@

@@ -382,4 +382,14 @@ // Copyright 2014 Urban Airship and Contributors

test('correctly sets values with understanding of type', function(assert) {
assert.plan(1)
var os = objectState({cats: true})
os.set('cats', [])
assert.notEqual(true, os.get('cats'))
})
function noop() {
// no-op
}
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