Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tstl

Package Overview
Dependencies
Maintainers
1
Versions
359
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tstl - npm Package Compare versions

Comparing version 2.5.5 to 2.5.6

4

base/container/UniqueMap.d.ts

@@ -34,2 +34,4 @@ /**

/**
* Take a value.
*
* Get a value, or set the value and returns it.

@@ -41,3 +43,3 @@ *

*/
get_or_set(key: Key, generator: () => T): T;
take(key: Key, generator: () => T): T;
/**

@@ -44,0 +46,0 @@ * Set a value with key.

@@ -90,2 +90,4 @@ "use strict";

/**
* Take a value.
*
* Get a value, or set the value and returns it.

@@ -97,3 +99,3 @@ *

*/
UniqueMap.prototype.get_or_set = function (key, generator) {
UniqueMap.prototype.take = function (key, generator) {
var it = this.find(key);

@@ -100,0 +102,0 @@ return it.equals(this.end())

@@ -9,3 +9,3 @@ {

},
"version": "2.5.5",
"version": "2.5.6",
"main": "./index.js",

@@ -12,0 +12,0 @@ "typings": "./index.d.ts",

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