ampersand-sync
Advanced tools
Comparing version 3.0.5 to 3.0.6
/*$AMPERSAND_VERSION*/ | ||
var result = require("lodash.result"); | ||
var defaults = require("lodash.defaults"); | ||
var includes = require("lodash.includes"); | ||
var assign = require("lodash.assign"); | ||
var result = require('lodash.result'); | ||
var defaults = require('lodash.defaults'); | ||
var includes = require('lodash.includes'); | ||
var assign = require('lodash.assign'); | ||
var xhr = require('xhr'); | ||
@@ -15,2 +15,10 @@ var qs = require('qs'); | ||
// Map from CRUD to HTTP for our default `Backbone.sync` implementation. | ||
var methodMap = { | ||
'create': 'POST', | ||
'update': 'PUT', | ||
'patch': 'PATCH', | ||
'delete': 'DELETE', | ||
'read': 'GET' | ||
}; | ||
@@ -122,10 +130,1 @@ module.exports = function (method, model, options) { | ||
}; | ||
// Map from CRUD to HTTP for our default `Backbone.sync` implementation. | ||
var methodMap = { | ||
'create': 'POST', | ||
'update': 'PUT', | ||
'patch': 'PATCH', | ||
'delete': 'DELETE', | ||
'read': 'GET' | ||
}; |
{ | ||
"name": "ampersand-sync", | ||
"description": "Provides sync behavior for updating data from ampersand models and collections to the server.", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
"files": [ | ||
"ampersand-sync.js" | ||
], | ||
"browserify": { | ||
@@ -7,0 +10,0 @@ "transform": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9726
4
108
1