Skip to content

Releases: Morglod/tseep

1.3.1 no-eval version

26 Sep 07:35
Compare
Choose a tag to compare
  • no-eval version added with auto fallback
  • A bit more optimized
  • Fixed bug with listeners that have more than 6 arguments

no-eval version

There is no user code evaluated so its complete safe to use with-eval version.
But in some cases (eg chrome's extensions), you just cant use it.
For this cases there is no-eval version:

import { EventEmitter } from "tseep/lib/ee-safe"; // no-eval version
import { EventEmitter } from "tseep/lib/fallback"; // or with autofallback

// same api

"tseep/lib/fallback" may bundle both versions which may result in bigger app bundle size.

fun fact: brotlied bundled fallback version is less in size than just ee-safe

1.2.2 - no dev dependenices from package-lock

23 Jun 11:05
Compare
Choose a tag to compare
  • Removed package-lock because it contains only dev dependencies with whole npm which could get vulnerability issues every day