ampersand-sync
Advanced tools
Comparing version 3.0.4 to 3.0.5
/*$AMPERSAND_VERSION*/ | ||
var result = require("lodash.result"); | ||
var defaults = require("lodash.defaults"); | ||
var contains = require("lodash.contains"); | ||
var includes = require("lodash.includes"); | ||
var assign = require("lodash.assign"); | ||
@@ -44,3 +44,3 @@ var xhr = require('xhr'); | ||
// make sure we've got a '?' | ||
options.url += contains(options.url, '?') ? '&' : '?'; | ||
options.url += includes(options.url, '?') ? '&' : '?'; | ||
options.url += qs.stringify(options.data); | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "ampersand-sync", | ||
"description": "Provides sync behavior for updating data from ampersand models and collections to the server.", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -17,4 +17,4 @@ "browserify": { | ||
"lodash.assign": "^3.0.0", | ||
"lodash.contains": "^2.4.1", | ||
"lodash.defaults": "^3.1.0", | ||
"lodash.includes": "^3.1.0", | ||
"lodash.result": "^3.0.0", | ||
@@ -21,0 +21,0 @@ "qs": "^2.2.4", |
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
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
+ Addedlodash.includes@^3.1.0
+ Addedlodash._baseindexof@3.1.0(transitive)
+ Addedlodash._basevalues@3.0.0(transitive)
+ Addedlodash.includes@3.1.3(transitive)
+ Addedlodash.isstring@3.0.1(transitive)
- Removedlodash.contains@^2.4.1
- Removedlodash._basebind@2.4.1(transitive)
- Removedlodash._basecreate@2.4.1(transitive)
- Removedlodash._basecreatecallback@2.4.1(transitive)
- Removedlodash._basecreatewrapper@2.4.1(transitive)
- Removedlodash._baseindexof@2.4.1(transitive)
- Removedlodash._createwrapper@2.4.1(transitive)
- Removedlodash._isnative@2.4.1(transitive)
- Removedlodash._objecttypes@2.4.1(transitive)
- Removedlodash._setbinddata@2.4.1(transitive)
- Removedlodash._shimkeys@2.4.1(transitive)
- Removedlodash._slice@2.4.1(transitive)
- Removedlodash.bind@2.4.1(transitive)
- Removedlodash.contains@2.4.3(transitive)
- Removedlodash.forown@2.4.1(transitive)
- Removedlodash.identity@2.4.1(transitive)
- Removedlodash.isarray@2.4.1(transitive)
- Removedlodash.isfunction@2.4.1(transitive)
- Removedlodash.isobject@2.4.1(transitive)
- Removedlodash.isstring@2.4.1(transitive)
- Removedlodash.keys@2.4.1(transitive)
- Removedlodash.noop@2.4.1(transitive)
- Removedlodash.support@2.4.1(transitive)