abstract-object
Advanced tools
Comparing version 3.0.0-alpha.2 to 3.0.0-alpha.3
@@ -5,3 +5,3 @@ export function eventableOptions(aOptions: any): { | ||
}; | ||
export const MAX_LISTENERS: Infinity; | ||
export const MAX_LISTENERS: number; | ||
export default eventableOptions; |
@@ -10,4 +10,3 @@ "use strict"; | ||
var _stateable = require("./stateable"); | ||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision | ||
const MAX_LISTENERS = 2e308; | ||
const MAX_LISTENERS = Number.MAX_SAFE_INTEGER; | ||
@@ -14,0 +13,0 @@ /* |
{ | ||
"name": "abstract-object", | ||
"version": "3.0.0-alpha.2", | ||
"version": "3.0.0-alpha.3", | ||
"description": "AbstractObject with Object State Events Support", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/snowyu/abstract-object", |
import {extend, isArray, isFunction, isUndefined} from 'util-ex' | ||
import {OBJECT_STATES_STR} from './stateable' | ||
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision | ||
export const MAX_LISTENERS = 2e308 | ||
export const MAX_LISTENERS = Number.MAX_SAFE_INTEGER | ||
@@ -7,0 +6,0 @@ /* |
44055
1014