You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

juri

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juri - npm Package Compare versions

Comparing version

to
1.0.1

6

juri.js

@@ -150,3 +150,3 @@ "use strict";

function encodeNumber(value) {
var s = "", parts, sig, exp;
var s = "", parts, sig, exp = 0;
s += (value < 0 ? "-" : "+");

@@ -158,3 +158,3 @@

}
parts = parts.split(/[eE]/g);

@@ -172,3 +172,3 @@ if(parts[1]) { exp = parseInt(parts[1]); }

});
s += (encodeInteger(parseInt(sig)) || "0");

@@ -175,0 +175,0 @@

{
"name": "juri",
"version": "1.0.0",
"version": "1.0.1",
"description": "Encode JSON into compact, readable URL-safe strings",

@@ -5,0 +5,0 @@ "main": "juri.js",

@@ -11,3 +11,3 @@ var dict = [ "red", "yellow", "orange", "blue", "green", "white",

leader: { name: "习 近平-习", title: "President", term: 137 },
population: 1.37E9
population: 1434440076830
},

@@ -14,0 +14,0 @@ in: {