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

@ribajs/core

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/core - npm Package Compare versions

Comparing version 0.18.5 to 0.18.6

src/formatters/compare/is-defined.formatters.ts

2

package.json
{
"name": "@ribajs/core",
"description": "Core module of Riba.js",
"version": "0.18.5",
"version": "0.18.6",
"author": "Pascal Garber <pascal@jumplink.eu>",

@@ -6,0 +6,0 @@ "private": false,

@@ -17,2 +17,5 @@ /**

import { gt } from './gt.formatter';
import { isDefined } from './is-defined.formatters';
import { isObject } from './is-object.formatter';
import { isUndefined } from './is-undefined.formatters';
import { ne } from './ne.formatter';

@@ -24,6 +27,6 @@ import { lt } from './lt.formatter';

export { and, between, egt, eq, gt, ne, lt, elt, or, not };
export { and, between, egt, eq, gt, isDefined, isObject, isUndefined, ne, lt, elt, or, not };
export const compareFormatters: IModuleFormatters = {
and, between, egt, eq, gt, ne, lt, elt, or, not,
and, between, egt, eq, gt, isDefined, isObject, isUndefined, ne, lt, elt, or, not,
};

@@ -43,3 +43,6 @@ type EventCallback = (...args: any[]) => any;

*/
constructor(id: string = 'main') {
constructor(id?: string) {
if (!id) {
id = 'main';
}
this.id = id;

@@ -46,0 +49,0 @@

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