New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

encode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encode - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+7
t/translate.t.js
require('proof')(1, prove)
function prove (assert) {
var string = 'abc', encoders = require('..')
string = encoders.utf8.decode(encoders.utf8.encode(string))
assert(string, 'abc', 'translated')
}
+1
-0

@@ -10,2 +10,3 @@ sudo: false

- '5'
- '6'

@@ -12,0 +13,0 @@ branches:

+17
-15
{
"name": "encode",
"version": "1.0.0",
"author": "Alan Gutierrez <alan@prettyrobots.com>",
"description": "Utilities for encoding and decoding records for database storage.",
"name": "encode",
"version": "1.0.1",
"description":
"Utilities for encoding and decoding records for database storage.",
"keywords":
[
"btree", "leveldb", "levelup", "binary", "mvcc",
"database", "json", "b-tree", "concurrent", "persistence"
"btree", "leveldb", "levelup", "binary", "mvcc",
"database", "json", "b-tree", "concurrent", "persistence"
],
"contributors": [],
"homepage": "https://bigeasy.github.io/encode",
"bugs": "https://github.com/bigeasy/encode/issues",
"license": "MIT",
"author": "Alan Gutierrez <alan@prettyrobots.com>",
"homepage": "https://bigeasy.github.io/encode",
"bugs": "https://github.com/bigeasy/encode/issues",
"license": "MIT",
"repository":
{
"type": "git",
"url": "http://github.com/bigeasy/encode.git"
"type": "git",
"url": "http://github.com/bigeasy/encode.git"
},
"main": "encode",
"dependencies":

@@ -26,8 +27,9 @@ {

{
"proof": "1.x"
"proof": "1.0.x"
},
"main": "encode",
"scripts":
{
"test": "proof platform win32 && proof test */*/*.t.js || t/test"
"test": "proof platform win32 && proof test */*.t.js || t/test"
}
}
require('proof')(1, prove)
function prove (assert) {
var string = 'abc', encoders = require('../..')
string = encoders.utf8.decode(encoders.utf8.encode(string))
assert(string, 'abc', 'translated')
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet