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

reference-map

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reference-map - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

2

benchmark/index.js
const Rmap = require('../')
function main () {
let start = new Date()
const start = new Date()
const map = new Rmap()

@@ -6,0 +6,0 @@ let num = 1000000

@@ -24,3 +24,3 @@ module.exports = class ReferanceMap {

if (ref === undefined) {
ref = this._map.push({obj, type}) - 1
ref = this._map.push({ obj, type }) - 1
obj[this.intRefProp] = ref

@@ -27,0 +27,0 @@ }

{
"name": "reference-map",
"version": "1.2.7",
"version": "1.2.8",
"description": "This is a simple determinstic map that maps POJOs to an integer",

@@ -24,13 +24,13 @@ "main": "index.js",

"type": "git",
"url": "git@github.com:wanderer/referenceMap.git"
"url": "git@gitlab.com:mbjecze/referenceMap.git"
},
"bugs": {
"url": "https://github.com/wanderer/referenceMap/issues"
"url": "https://gitlab.com/mjbecze/referenceMap/issues"
},
"devDependencies": {
"coveralls": "^3.0.0",
"nyc": "^11.7.1",
"standard": "^11.0.1",
"tape": "^4.9.0"
"coveralls": "^3.0.5",
"nyc": "^14.1.1",
"standard": "^13.1.0",
"tape": "^4.11.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