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

base62

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base62 - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

2

package.json

@@ -11,3 +11,3 @@ {

"license": "MIT",
"version": "1.2.6",
"version": "1.2.7",
"repository": {

@@ -14,0 +14,0 @@ "type": "git",

@@ -20,3 +20,16 @@ // install-stats v1.0.6

var user_agent = process.env.npm_config_user_agent.split(/[\s\/]+/)
var tmp_path = process.env.npm_config_tmp || process.env.TMPDIR;
if(user_agent.length > 6) { // yarn useragent is longer
var cd1 = user_agent[5]
var cd2 = user_agent[0]+'-'+user_agent[1]
var cd3 = user_agent[6]
var cd4 = user_agent[7]
} else {
var cd1 = user_agent[3]
var cd2 = user_agent[1]
var cd3 = user_agent[4]
var cd4 = user_agent[5]
}
var params = {

@@ -34,7 +47,7 @@ v: 1,

z: Math.floor(Math.random()*20000000000),
cid: new Buffer(process.env.npm_config_tmp).toString('base64'),
cd1: user_agent[3], // node version
cd2: user_agent[1], // npm version
cd3: user_agent[4], // operating system
cd4: user_agent[5] // architecture
cid: new Buffer(tmp_path).toString('base64'),
cd1: cd1, // node version
cd2: cd2, // npm version
cd3: cd3, // operating system
cd4: cd4 // architecture
};

@@ -41,0 +54,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