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

backbone-orm

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-orm - npm Package Compare versions

Comparing version 0.6.5 to 0.7.0

16

package.json
{
"name": "backbone-orm",
"version": "0.6.5",
"version": "0.7.0",
"description": "A polystore ORM for Node.js and the browser",
"main": "backbone-orm.js",
"license": "MIT",
"author": "Kevin Malakoff (https://github.com/kmalakoff)",
"author": {
"name": "Kevin Malakoff",
"url": "https://github.com/kmalakoff"
},
"contributors": [
"Gwilym Humphreys (https://github.com/gwilymhumphreys)"
{
"name": "Gwilym Humphreys",
"url": "https://github.com/gwilymhumphreys"
}
],

@@ -15,2 +21,6 @@ "repository": {

},
"bugs": {
"url": "https://github.com/vidigami/backbone-orm/issues"
},
"homepage": "https://github.com/vidigami/backbone-orm",
"keywords": [

@@ -17,0 +27,0 @@ "backbone",

Please refer to the following release notes when upgrading your version of BackboneORM.
### 0.7.0
* Implemented strict-json syntax in the query string, eg. https://things/1?string="value"&number=1. Use JSONUtils.parseQuery instead of JSONUtils.parse.
* Removed parseParams. Use JSONUtils.parseField(value, model_type, 'id') instead
* Bug fix to respect whitelisting in modelJSONSave
* Naming consistency for whitelist (removed hypenated version like white_list).
* Renamed JSONUtils.toQuery to JSONUtils.querify.
### 0.6.6
* Fixed error messages not being passed through when using a cache sync
### 0.6.5

@@ -4,0 +14,0 @@ * Bug fix for relationships not being destroyed

2

stream.min.js
/*
stream.js 0.6.5
stream.js 0.7.0
Copyright (c) 2013-2014 Vidigami

@@ -4,0 +4,0 @@ License: MIT (http://www.opensource.org/licenses/mit-license.php)

@@ -1,3 +0,39 @@

### From 0.5.x to 0.6.1
### From 0.6.x to 0.7.x
1. Use JSONUtils.parseQuery instead of JSONUtils.parse.
```
# change
JSONUtils.parse(req.query)
# to
JSONUtils.parseQuery(req.query)
```
2. Use JSONUtils.parseField instead of JSONUtils.parseParams.
```
# change
JSONUtils.parseParams(req.params)
# to
JSONUtils.parseField(req.params.id, MyModel, 'id')
```
3. Remove strict types that were required for queries.
```
# change
class MyModel extends Backbone.Model
schema:
status: ['Integer']
# to
class MyModel extends Backbone.Model
```
### From 0.5.x to 0.6.x
1. All references to BackboneORM.CacheSingletons.ModelCache.configure should be replaces with configure.

@@ -4,0 +40,0 @@

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

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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