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

js-data

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-data - npm Package Compare versions

Comparing version 3.0.0-rc.8 to 3.0.0-rc.9

5

CHANGELOG.md

@@ -0,1 +1,6 @@

##### 3.0.0-rc.9 - 22 February 2017
###### Bug fixes
- `Schema#pick` no longer incorrectly infers values for objects and arrays
##### 3.0.0-rc.8 - 21 February 2017

@@ -2,0 +7,0 @@

2

package.json
{
"name": "js-data",
"description": "Robust, framework-agnostic in-memory data store.",
"version": "3.0.0-rc.8",
"version": "3.0.0-rc.9",
"homepage": "http://www.js-data.io",

@@ -6,0 +6,0 @@ "repository": {

@@ -1186,4 +1186,6 @@ import utils from './utils'

pick (value) {
if (value === undefined) {
return
}
if (this.type === 'object') {
value || (value = {})
let copy = {}

@@ -1209,3 +1211,2 @@ const properties = this.properties

} else if (this.type === 'array') {
value || (value = [])
return value.map((item) => {

@@ -1212,0 +1213,0 @@ const _copy = this.items ? this.items.pick(item) : {}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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