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

@essentials/one-key-map

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@essentials/one-key-map - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

3

dist/main/index.js

@@ -8,4 +8,3 @@ 'use strict'

constructor() {
let key = void 0
let val = void 0
let key, val

@@ -12,0 +11,0 @@ this.get = k => (k === key ? val : void 0)

class OneKeyMap {
constructor() {
let key = void 0
let val = void 0
let key, val

@@ -6,0 +5,0 @@ this.get = k => (k === key ? val : void 0)

{
"name": "@essentials/one-key-map",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "https://github.com/jaredLunde/essentials/tree/master/packages/one-key-map#readme",

@@ -5,0 +5,0 @@ "repository": "github:jaredLunde/essentials",

@@ -6,4 +6,3 @@ class OneKeyMap<K extends any = any, V extends any = any> {

constructor() {
let key: K | undefined = void 0
let val: V | undefined = void 0
let key: K | undefined, val: V | undefined
this.get = (k: K): V | undefined => (k === key ? val : void 0)

@@ -10,0 +9,0 @@ this.set = (k: K, v: V): void => {

@@ -5,4 +5,3 @@ 'use strict'

function OneKeyMap() {
var key = void 0
var val = void 0
var key, val
this.get = function(k) {

@@ -9,0 +8,0 @@ return k === key ? val : void 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