@ribajs/core
Advanced tools
Comparing version 0.18.5 to 0.18.6
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2828635
338
35139