Socket
Socket
Sign inDemoInstall

singleton-manager

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

singleton-manager - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

6

CHANGELOG.md
# Change Log
## 1.4.1
### Patch Changes
- 77a04245: add protected and private type info
## 1.4.0

@@ -4,0 +10,0 @@

8

docs/overview.md

@@ -12,3 +12,3 @@ # Tools >> Singleton Manager >> Overview ||10

⚠️ You need to make SURE that only ONE version of `singleton-manager` is installed. For how see [Non Goals](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/#non-goals).
⚠️ You need to make SURE that only ONE version of `singleton-manager` is installed. For how see [Non Goals](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/#non-goals).

@@ -163,3 +163,3 @@ ### Example Singleton Users

➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/example-fail/index.md). <br>
➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/example-fail/index.md). <br>
➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/docs/tools/singleton-manager/example-fail/demo-app.js).

@@ -207,3 +207,3 @@

➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/example-success/index.md). <br>
➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/example-success/index.md). <br>
➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/docs/tools/singleton-manager/example-success/demo-app.js).

@@ -249,3 +249,3 @@

➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/example-complex/index.md). <br>
➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/example-complex/index.md). <br>
➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/docs/tools/singleton-manager/example-complex/demo-app.js).

@@ -252,0 +252,0 @@

{
"name": "singleton-manager",
"version": "1.4.0",
"version": "1.4.1",
"description": "Manage singletons across multiple major versions so they converge to a single instance",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -12,3 +12,3 @@ # Tools >> Singleton Manager >> Overview ||10

⚠️ You need to make SURE that only ONE version of `singleton-manager` is installed. For how see [Non Goals](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/#non-goals).
⚠️ You need to make SURE that only ONE version of `singleton-manager` is installed. For how see [Non Goals](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/#non-goals).

@@ -163,3 +163,3 @@ ### Example Singleton Users

➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/example-fail/index.md). <br>
➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/example-fail/index.md). <br>
➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/docs/tools/singleton-manager/example-fail/demo-app.js).

@@ -207,3 +207,3 @@

➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/example-success/index.md). <br>
➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/example-success/index.md). <br>
➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/docs/tools/singleton-manager/example-success/demo-app.js).

@@ -249,3 +249,3 @@

➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/6f2b6f940a0875091f1d940f45f0cd32dffce9ac/docs/docs/tools/singleton-manager/example-complex/index.md). <br>
➡️ See [it on the example page](https://github.com/ing-bank/lion/blob/d65ffd3c04a456407df98b68b8ff860de5fe5cf8/docs/docs/tools/singleton-manager/example-complex/index.md). <br>
➡️ See [the code](https://github.com/ing-bank/lion/tree/master/docs/docs/tools/singleton-manager/example-complex/demo-app.js).

@@ -252,0 +252,0 @@

export class SingletonManagerClass {
/** protected */
_map: any;

@@ -3,0 +4,0 @@ /**

@@ -5,2 +5,3 @@ const sym = Symbol.for('lion::SingletonManagerClassStorage');

constructor() {
/** protected */
this._map = window[sym] ? window[sym] : (window[sym] = new Map());

@@ -7,0 +8,0 @@ }

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