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

idea-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
381
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idea-toolbox - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

8

dist/resourceController.d.ts

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

*/
protected patchResource(): Promise<any>;
/**
* To @override
*/
protected patchResources(): Promise<any>;
/**
* To @override
*/
protected deleteResources(): Promise<any>;

@@ -93,0 +101,0 @@ /**

@@ -45,2 +45,5 @@ "use strict";

break;
case 'PATCH':
request = this.patchResource();
break;
case 'HEAD':

@@ -66,2 +69,5 @@ request = this.headResource();

break;
case 'PATCH':
request = this.patchResources();
break;
case 'HEAD':

@@ -187,2 +193,16 @@ request = this.headResources();

*/
patchResource() {
return new Promise((resolve, reject) => reject(new Error(`E.COMMON.UNSUPPORTED_ACTION`)));
}
;
/**
* To @override
*/
patchResources() {
return new Promise((resolve, reject) => reject(new Error(`E.COMMON.UNSUPPORTED_ACTION`)));
}
;
/**
* To @override
*/
deleteResources() {

@@ -189,0 +209,0 @@ return new Promise((resolve, reject) => reject(new Error(`E.COMMON.UNSUPPORTED_ACTION`)));

2

package.json
{
"name": "idea-toolbox",
"version": "2.0.11",
"version": "2.0.12",
"description": "IDEA's utility functions",

@@ -5,0 +5,0 @@ "engines": {

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

case 'DELETE': request = this.deleteResource(); break;
case 'PATCH': request = this.patchResource(); break;
case 'HEAD': request = this.headResource(); break;

@@ -87,2 +88,3 @@ default: /* nope */;

case 'DELETE': request = this.deleteResources(); break;
case 'PATCH': request = this.patchResources(); break;
case 'HEAD': request = this.headResources(); break;

@@ -183,2 +185,14 @@ default: /* nope */;

*/
protected patchResource(): Promise<any> {
return new Promise((resolve, reject) => reject(new Error(`E.COMMON.UNSUPPORTED_ACTION`)));
};
/**
* To @override
*/
protected patchResources(): Promise<any> {
return new Promise((resolve, reject) => reject(new Error(`E.COMMON.UNSUPPORTED_ACTION`)));
};
/**
* To @override
*/
protected deleteResources(): Promise<any> {

@@ -185,0 +199,0 @@ return new Promise((resolve, reject) => reject(new Error(`E.COMMON.UNSUPPORTED_ACTION`)));

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