Socket
Socket
Sign inDemoInstall

@dldc/pubsub

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dldc/pubsub - npm Package Compare versions

Comparing version 5.2.3 to 5.2.4

20

dist/mod.d.ts

@@ -1,2 +0,2 @@

import { IKey, Erreur } from '@dldc/erreur';
import { TVoidKey, Erreur, TKey } from '@dldc/erreur';

@@ -79,27 +79,23 @@ type Unsubscribe = () => void;

SubscriptionDestroyed: {
Key: IKey<undefined, false, []>;
Key: TVoidKey;
create(): Erreur;
};
MaxSubscriptionCountReached: {
Key: IKey<undefined, false, []>;
Key: TVoidKey;
create(): Erreur;
};
MaxRecursiveEmitReached: {
Key: IKey<{
Key: TKey<{
limit: number;
}, false, [{
limit: number;
}]>;
}>;
create(limit: number): Erreur;
};
MaxUnsubscribeAllLoopReached: {
Key: IKey<{
Key: TKey<{
limit: number;
}, false, [{
limit: number;
}]>;
}>;
create(limit: number): Erreur;
};
InvalidCallback: {
Key: IKey<undefined, false, []>;
Key: TVoidKey;
create(): Erreur;

@@ -106,0 +102,0 @@ };

58

package.json
{
"name": "@dldc/pubsub",
"version": "5.2.3",
"version": "5.2.4",
"description": "A simple pub/sub written in Typescript",

@@ -48,10 +48,50 @@ "keywords": [

},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true,
"warnOnUnsupportedTypeScriptVersion": false
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended-type-checked",
"prettier"
],
"rules": {
"no-constant-condition": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/unbound-method": "off"
},
"root": true
},
"dependencies": {
"@dldc/erreur": "^4.0.1"
"@dldc/erreur": "^4.1.1"
},
"devDependencies": {
"@types/node": "^20.6.3",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitest/coverage-v8": "^0.34.5",
"@types/node": "^20.8.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitest/coverage-v8": "^0.34.6",
"auto-changelog": "^2.4.0",

@@ -61,7 +101,7 @@ "eslint": "^8.50.0",

"prettier": "^3.0.3",
"release-it": "^16.1.5",
"rimraf": "^5.0.1",
"release-it": "^16.2.1",
"rimraf": "^5.0.5",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vitest": "^0.34.5"
"vitest": "^0.34.6"
},

@@ -68,0 +108,0 @@ "packageManager": "pnpm@8.6.1",

Sorry, the diff of this file is not supported yet

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