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

ampersand-optimistic-sync

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampersand-optimistic-sync - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

package.json
{
"name": "ampersand-optimistic-sync",
"version": "1.0.0",
"version": "1.0.1",
"description": "A sync wrapper for Backbone.sync and ampersand-sync that implements optimistic concurrency in HTTP.",

@@ -20,3 +20,5 @@ "main": "index.js",

"if-unmodified-since",
"ampersandjs",
"etag",
"if-match",
"ampersand",
"backbone"

@@ -23,0 +25,0 @@ ],

@@ -30,3 +30,3 @@ ampersand-optimistic-sync

If the update request returns a 412 error, a sync:invalid-version (args: model, version, data);
If the update request returns a 412 error, a `sync:invalid-version (args: model, version, data)` event is fired.

@@ -56,4 +56,4 @@ ### Customizing Behavior

If config.invalidHandler is a function, it will be registered as a sync:invalid-version handler before your first update request is sent.
If config.invalidHandler is a function, it will be registered as a `sync:invalid-version` handler before your first update request is sent.
[1]: http://looselyconnected.wordpress.com/2010/03/25/the-http-etag-header-and-optimistic-locking-in-rest/ (The HTTP ETag header and optimistic locking in REST)
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