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

backbone-relations

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-relations - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

6

backbone-relations.js

@@ -7,4 +7,4 @@ (function () {

var _ = node ? require('underscore') : window._;
if (node) require('underscore-inherit');
var Backbone = node ? require('backbone') : window.Backbone;
var herit = node ? require('herit') : window.herit;

@@ -49,3 +49,3 @@ var proto = Backbone.Model.prototype;

var HasOneRelation = _.inherit(Relation, {
var HasOneRelation = herit(Relation, {
instance: function () {

@@ -84,3 +84,3 @@ if (this._instance) return this._instance;

var HasManyRelation = _.inherit(Relation, {
var HasManyRelation = herit(Relation, {
instance: function () {

@@ -87,0 +87,0 @@ if (this._instance) return this._instance;

{
"name": "backbone-relations",
"version": "0.5.1",
"version": "0.6.0",
"main": "./backbone-relations.js",
"dependencies": {
"underscore": "x",
"underscore-inherit": "x",
"backbone": "x"
"backbone": "x",
"herit": "x",
"underscore": "x"
}
}
{
"name": "backbone-relations",
"version": "0.5.1",
"version": "0.6.0",
"author": "Casey Foster <c@sey.me>",

@@ -12,4 +12,4 @@ "licence": "MIT",

"dependencies": {
"underscore": "x",
"underscore-inherit": "x"
"herit": "x",
"underscore": "x"
},

@@ -16,0 +16,0 @@ "devDependencies": {

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