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

@commercelayer/active-resource

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/active-resource - npm Package Compare versions

Comparing version 1.0.0-rc.2 to 1.0.0

spec/fixtures/json/order_items/includes.json

5

CHANGELOG.md

@@ -137,1 +137,6 @@ ### 0.9.0

* Fix bug in immutable error propagation to has many association that resulted in duplicate items on association target of clone
* Bump axios from 0.16.2 to 0.19.0 (#54)
* Fix infinite call stack when resources reference eachother as includes
* Implement resourceRegister in JsonApi interface for each resource built from a response, for use in relationships rather than
creating duplicate resources for each relationship
* Add `__immutableId` and Base#isSame for immutable mode

65

package.json
{
"private": false,
"name": "@commercelayer/active-resource",
"description": "Persistable object relational mapping in Javascript",
"main": "dist/active-resource.min.js",
"main": "dist/active-resource.js",
"author": "Nick Landgrebe",
"version": "1.0.0-rc.2",
"contributors": [
{
"name": "Alessandro Casazza",
"email": "alessandro@commercelayer.io"
}
],
"version": "1.0.0",
"homepage": "https://github.com/nicklandgrebe/activeresource.js",

@@ -12,43 +17,47 @@ "license": "MIT",

"axios": "^0.21.1",
"es6-promise": "^4.2.8",
"qs": "^6.10.1",
"underscore": "1.13.1",
"underscore.inflection": "^1.3.3",
"underscore.string": "latest"
"es6-promise": "^4.1.1",
"pluralize": "^8.0.0",
"qs": "^6.5.0"
},
"engine": "node >= 0.10",
"devDependencies": {
"@babel/core": "^7.13.16",
"@babel/preset-env": "^7.13.15",
"@babel/core": "^7.14.0",
"@babel/preset-env": "^7.14.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^13.0.2",
"@rollup/plugin-node-resolve": "^8.4.0",
"bili": "^5.0.5",
"grunt": "1.x.x",
"coffeescript": "^2.5.1",
"grunt": "^1.3.0",
"grunt-babel": "^8.0.0",
"grunt-contrib-clean": "2.0.x",
"grunt-contrib-coffee": "^2.1.0",
"grunt-contrib-clean": "~2.0.0",
"grunt-contrib-coffee": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-connect": "3.0.x",
"grunt-contrib-jasmine": "^2.2.0",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "1.1.x",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-jasmine": "^2.0.0",
"grunt-contrib-uglify": "~5.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-exec": "^3.0.0",
"grunt-rollup": "^11.5.0",
"grunt-template-jasmine-requirejs": "^0.2.3",
"grunt-umd": "^3.0.0",
"grunt-rollup": "~11.5.0",
"grunt-template-jasmine-requirejs": "git+https://github.com/radum/grunt-template-jasmine-requirejs.git",
"grunt-umd": "~3.0.0",
"jasmine-ajax": "^4.0.0",
"jasmine-jquery": "^2.1.1",
"jasmine-promises": "git+https://github.com/nicklandgrebe/jasmine-promises.git",
"jquery": "^3.6.0",
"jquery": "^3.5.1",
"moxios": "git+https://github.com/nicklandgrebe/moxios.git",
"rollup-plugin-babel": "^4.0.3",
"semantic-release": "^17.4.2"
"rollup-plugin-coffee-script": "^2.0.0"
},
"scripts": {
"build:test": "grunt build && bili && grunt spec",
"build": "grunt build && bili",
"compile": "coffee --compile --output lib src",
"bili": "bili",
"grunt": "grunt build",
"build": "grunt build && bili && grunt spec",
"release": "grunt release",
"spec": "grunt spec",
"release": "grunt release"
"version:fix": "npm version patch",
"version:feat": "npm version minor",
"version:breaking": "npm version major",
"publish:fix": "npm run release && npm run version:fix && git push --follow-tags && npm publish --access public",
"publish:feat": "npm run release && npm run version:feat && git push --follow-tags && npm publish --access public",
"publish:breaking": "npm run release && npm run version:breaking && git push --follow-tags && npm publish --access public"
}
}

@@ -45,3 +45,3 @@ # ActiveResource.js - API Resource relational mapping in Javascript

'https://example.com/api/v1/', // base url for your server
headers: { Authorization: 'Bearer ...' }
{ headers: { Authorization: 'Bearer ...' } }
);

@@ -48,0 +48,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 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

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