Socket
Socket
Sign inDemoInstall

@thi.ng/defmulti

Package Overview
Dependencies
Maintainers
1
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/defmulti - npm Package Compare versions

Comparing version 3.0.38 to 3.0.39

2

CHANGELOG.md
# Change Log
- **Last updated**: 2024-04-23T07:02:18Z
- **Last updated**: 2024-05-08T18:24:31Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -5,0 +5,0 @@

@@ -29,4 +29,3 @@ import { unsupported } from "@thi.ng/errors/unsupported";

fn.remove = (id) => {
if (!impls[id])
return false;
if (!impls[id]) return false;
delete impls[id];

@@ -51,4 +50,3 @@ return true;

const impl = findImpl(impls, rels, id);
if (impl)
res.set(id, impl);
if (impl) res.set(id, impl);
}

@@ -66,4 +64,3 @@ if (impls[DEFAULT]) {

for (let a in rels) {
for (let b of rels[a])
yield [a, b];
for (let b of rels[a]) yield [a, b];
}

@@ -79,8 +76,6 @@ for (let id in impls) {

const parents = rels[id];
if (!parents)
return;
if (!parents) return;
for (let p of parents) {
let impl = impls[p] || findImpl(impls, rels, p);
if (impl)
return impl;
if (impl) return impl;
}

@@ -87,0 +82,0 @@ };

{
"name": "@thi.ng/defmulti",
"version": "3.0.38",
"version": "3.0.39",
"description": "Dynamic, extensible multiple dispatch via user supplied dispatch function.",

@@ -39,11 +39,11 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.11.1",
"@thi.ng/errors": "^2.5.6",
"@thi.ng/logger": "^3.0.11"
"@thi.ng/api": "^8.11.2",
"@thi.ng/errors": "^2.5.7",
"@thi.ng/logger": "^3.0.12"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.43.0",
"esbuild": "^0.20.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.3"
"@microsoft/api-extractor": "^7.43.2",
"esbuild": "^0.21.1",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},

@@ -94,3 +94,3 @@ "keywords": [

},
"gitHead": "5dd66c18a3862a3af69a5b2f49563f7cbdd960c2\n"
"gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
}
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