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

idea-toolbox

Package Overview
Dependencies
Maintainers
2
Versions
377
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 6.6.4 to 6.6.5

8

dist/src/resource.model.d.ts

@@ -20,3 +20,3 @@ import { isEmptyFieldTypes } from './utils';

*/
constructor(newData?: {}, options?: {});
constructor(newData?: any, options?: any);
/**

@@ -37,3 +37,3 @@ * Load the attributes from an already existing resource.

*/
load(newData: any, options?: {}): void;
load(newData: any, options?: any): void;
/**

@@ -58,3 +58,3 @@ * Load the attributes from an already existing resource and then force some attributes to assume _safeData_ values.

*/
safeLoad(newData: any, safeData: any, options?: {}): void;
safeLoad(newData: any, safeData: any, options?: any): void;
/**

@@ -73,3 +73,3 @@ * Valide the object's attributes, performing all the checkings.

*/
validate(options?: {}): string[];
validate(options?: any): string[];
/**

@@ -76,0 +76,0 @@ * Shortcut to Utils.isEmpty to check the emptiness of a field.

@@ -23,3 +23,5 @@ "use strict";

*/
constructor(newData = {}, options = {}) {
constructor(newData, options) {
newData = newData ?? {};
options = options ?? {};
this.load(newData, options);

@@ -42,5 +44,6 @@ }

*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
load(newData, options = {}) {
load(newData, options) {
newData = newData ?? {};
// eslint-disable-next-line @typescript-eslint/no-unused-vars
options = options ?? {};
}

@@ -66,5 +69,6 @@ /**

*/
safeLoad(newData, safeData, options = {}) {
safeLoad(newData, safeData, options) {
newData = newData ?? {};
safeData = safeData ?? {};
options = options ?? {};
this.load(newData, options);

@@ -85,4 +89,5 @@ }

*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
validate(options = {}) {
validate(options) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
options = options || {};
return [];

@@ -89,0 +94,0 @@ }

{
"name": "idea-toolbox",
"version": "6.6.4",
"version": "6.6.5",
"description": "IDEA's utility functions",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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