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

rapid.js

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rapid.js - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

.eslintrc.js

3

dist/Core/Crud.js

@@ -74,3 +74,3 @@ 'use strict';

if (this.config.suffixes[method]) {
if (Object.prototype.hasOwnProperty.call(this.config.suffixes, method)) {
urlParams.push(this.config.suffixes[method]);

@@ -150,2 +150,3 @@ }

// this is checking if primaryKey is true, not if it exists
if (this.config.primaryKey) {

@@ -152,0 +153,0 @@ params = [this.config.primaryKey, _id];

@@ -49,5 +49,12 @@ 'use strict';

// eslint-disable-next-line no-unused-vars
beforeRequest: function beforeRequest(type, url) {},
// eslint-disable-next-line no-unused-vars
afterRequest: function afterRequest(response) {},
// eslint-disable-next-line no-unused-vars
onError: function onError(response) {}
};

@@ -130,3 +130,2 @@ 'use strict';

value: function buildRequest(type, urlParams) {
if (this.urlParams) {

@@ -133,0 +132,0 @@ urlParams = this.urlParams.concat(urlParams);

{
"name": "rapid.js",
"version": "0.0.13",
"version": "0.0.14",
"description": "",

@@ -38,5 +38,8 @@ "main": "dist/rapid.js",

"babel-cli": "^6.24.0",
"babel-eslint": "^8.0.2",
"babel-preset-es2015": "^6.24.0",
"eslint": "^4.9.0",
"eslint-config-airbnb-standard": "^1.5.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-airbnb-standard": "^1.6.5",
"eslint-plugin-import": "^2.8.0",
"nyc": "^10.2.0",

@@ -43,0 +46,0 @@ "sinon": "^2.1.0"

@@ -90,3 +90,3 @@ /**

collection: '',
any: ''
any: '',
};

@@ -101,3 +101,3 @@ }

params: {},
options: {}
options: {},
};

@@ -104,0 +104,0 @@ }

@@ -39,3 +39,3 @@ /**

if (this.config.suffixes[method]) {
if (Object.prototype.hasOwnProperty.call(this.config.suffixes, method)) {
urlParams.push(this.config.suffixes[method]);

@@ -93,2 +93,3 @@ }

// this is checking if primaryKey is true, not if it exists
if (this.config.primaryKey) {

@@ -95,0 +96,0 @@ params = [this.config.primaryKey, id];

@@ -23,3 +23,3 @@ export default {

update: 'update',
destroy: 'destroy'
destroy: 'destroy',
},

@@ -30,3 +30,3 @@

update: 'post',
destroy: 'post'
destroy: 'post',
},

@@ -37,3 +37,3 @@

collection: '',
any: ''
any: '',
},

@@ -51,2 +51,3 @@

// eslint-disable-next-line no-unused-vars
beforeRequest (type, url) {

@@ -56,2 +57,3 @@

// eslint-disable-next-line no-unused-vars
afterRequest (response) {

@@ -61,5 +63,6 @@

// eslint-disable-next-line no-unused-vars
onError (response) {
}
},
};

@@ -91,3 +91,2 @@ /**

buildRequest (type, urlParams) {
if (this.urlParams) {

@@ -94,0 +93,0 @@ urlParams = this.urlParams.concat(urlParams);

@@ -37,3 +37,3 @@ /**

collection: pluralize(this.config.modelName),
any: ''
any: '',
};

@@ -40,0 +40,0 @@

@@ -50,5 +50,5 @@ import qs from 'qs';

data,
options
options,
};
}
}
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