Comparing version
@@ -31,4 +31,2 @@ "use strict"; | ||
var assert_1 = require("tsafe/assert"); | ||
; | ||
var is_1 = require("tsafe/is"); | ||
var LazyEvt_1 = require("./LazyEvt"); | ||
@@ -132,3 +130,3 @@ var importProxy_1 = require("./importProxy"); | ||
(0, assert_1.assert)(handler.ctx === this); | ||
(0, assert_1.assert)((0, is_1.is)(handler)); | ||
(0, assert_1.assert)((0, assert_1.is)(handler)); | ||
if (this.completionStatus !== undefined) { | ||
@@ -144,3 +142,3 @@ handler.detach(); | ||
(0, assert_1.assert)(handler.ctx === this); | ||
(0, assert_1.assert)((0, is_1.is)(handler)); | ||
(0, assert_1.assert)((0, assert_1.is)(handler)); | ||
this.lazyEvtDetach.post({ | ||
@@ -147,0 +145,0 @@ handler: handler, |
@@ -45,3 +45,2 @@ "use strict"; | ||
var assert_1 = require("tsafe/assert"); | ||
; | ||
var typeGuard_1 = require("tsafe/typeGuard"); | ||
@@ -48,0 +47,0 @@ var Evt_merge_1 = require("./Evt.merge"); |
{ | ||
"name": "evt", | ||
"version": "2.5.7", | ||
"version": "2.5.8", | ||
"description": "Type safe replacement for node's EventEmitter", | ||
@@ -107,3 +107,2 @@ "repository": { | ||
"./tools/testing/index": "./tools/testing/index.js", | ||
"./tools/tsafe/capitalize": "./tools/tsafe/capitalize.js", | ||
"./operators": "./operators/index.js", | ||
@@ -124,3 +123,3 @@ "./operators/chunksOf": "./operators/chunksOf.js", | ||
"run-exclusive": "^2.2.19", | ||
"tsafe": "^1.6.6" | ||
"tsafe": "^1.8.5" | ||
}, | ||
@@ -222,3 +221,2 @@ "files": [ | ||
"./src/tools/testing/index.ts", | ||
"./src/tools/tsafe/capitalize.ts", | ||
"./hooks/index.d.ts", | ||
@@ -505,6 +503,3 @@ "./hooks/index.js", | ||
"./tools/testing/index.js", | ||
"./tools/testing/index.js.map", | ||
"./tools/tsafe/capitalize.d.ts", | ||
"./tools/tsafe/capitalize.js", | ||
"./tools/tsafe/capitalize.js.map" | ||
"./tools/testing/index.js.map" | ||
], | ||
@@ -530,4 +525,4 @@ "keywords": [ | ||
"typescript": "^4.2.3", | ||
"denoify": "^1.6.7" | ||
"denoify": "^1.6.16" | ||
} | ||
} |
@@ -5,4 +5,3 @@ // @denoify-line-ignore | ||
import { Polyfill as WeakMap } from "minimal-polyfills/WeakMap"; | ||
import { assert } from "tsafe/assert";; | ||
import { is } from "tsafe/is"; | ||
import { assert, is } from "tsafe/assert"; | ||
import { LazyEvt } from "./LazyEvt"; | ||
@@ -9,0 +8,0 @@ import { importProxy } from "./importProxy"; |
import { id } from "tsafe/id"; | ||
import { assert } from "tsafe/assert";; | ||
import { assert } from "tsafe/assert"; | ||
import { typeGuard } from "tsafe/typeGuard"; | ||
@@ -4,0 +4,0 @@ import { mergeImpl } from "./Evt.merge"; |
@@ -1,3 +0,2 @@ | ||
import { assert } from "tsafe/assert"; | ||
import { is } from "tsafe/is"; | ||
import { assert, is } from "tsafe/assert"; | ||
import { ReduceArguments, toReduceArguments } from "./reduceify"; | ||
@@ -4,0 +3,0 @@ |
@@ -5,3 +5,2 @@ "use strict"; | ||
var assert_1 = require("tsafe/assert"); | ||
var is_1 = require("tsafe/is"); | ||
var reduceify_1 = require("./reduceify"); | ||
@@ -15,3 +14,3 @@ function arrPartitionImpl(arr, matcher) { | ||
//NOTE: Should be deduced by the compiler | ||
(0, assert_1.assert)((0, is_1.is)(currentValue)); | ||
(0, assert_1.assert)((0, assert_1.is)(currentValue)); | ||
previousValue[1].push(currentValue); | ||
@@ -18,0 +17,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2031210
-0.06%379
-1.04%41499
-0.05%Updated