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

borc

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

borc - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

dist/index.min.js.LICENSE.txt

14

CHANGELOG.md

@@ -0,1 +1,15 @@

<a name="2.1.2"></a>
## [2.1.2](https://github.com/dignifiedquire/borc/compare/v2.1.1...v2.1.2) (2020-03-26)
### Bug Fixes
* cleanup ([3968a98](https://github.com/dignifiedquire/borc/commit/3968a98))
* feedback ([18e5342](https://github.com/dignifiedquire/borc/commit/18e5342))
* fix dep check ([393cc70](https://github.com/dignifiedquire/borc/commit/393cc70))
* remove badge ([27a789f](https://github.com/dignifiedquire/borc/commit/27a789f))
* remove node globals ([ae2214e](https://github.com/dignifiedquire/borc/commit/ae2214e))
<a name="2.1.1"></a>

@@ -2,0 +16,0 @@ ## [2.1.1](https://github.com/dignifiedquire/borc/compare/v2.1.0...v2.1.1) (2019-07-10)

33

package.json
{
"name": "borc",
"version": "2.1.1",
"version": "2.1.2",
"description": "Encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC7049).",

@@ -14,2 +14,6 @@ "main": "./src/index.js",

},
"files": [
"src",
"dist"
],
"scripts": {

@@ -42,3 +46,4 @@ "test": "aegir test --files test/**/*.spec.js",

"devDependencies": {
"aegir": "^18.0.1",
"aegir": "^21.4.5",
"ava": "^3.5.1",
"benchmark": "^2.1.0",

@@ -55,6 +60,8 @@ "budo": "^11.2.0",

"bignumber.js": "^9.0.0",
"buffer": "^5.5.0",
"commander": "^2.15.0",
"ieee754": "^1.1.8",
"iso-url": "~0.4.4",
"json-text-sequence": "~0.1.0"
"ieee754": "^1.1.13",
"iso-url": "~0.4.7",
"json-text-sequence": "~0.1.0",
"readable-stream": "^3.6.0"
},

@@ -65,18 +72,12 @@ "engines": {

"contributors": [
"Alan Shaw <alan.shaw@protocol.ai>",
"Benjamin Cabé <kartben@gmail.com>",
"Dan Finlay <542863+danfinlay@users.noreply.github.com>",
"Hugo Dias <mail@hugodias.me>",
"Joe Hildebrand <joe-github@cursive.net>",
"Joe Hildebrand <joe+github@cursive.net>",
"Kim Persson <kimpers@users.noreply.github.com>",
"Patrick Gansterer <paroga@paroga.com>",
"Ryan Pendergast <ryan.pendergast@gmail.com>",
"Hugo Dias <hugomrdias@gmail.com>",
"Tobias Wich <tobias.wich@ecsec.de>",
"Rüdiger Klaehn <rklaehn@gmail.com>",
"Scorpi <cobblebone@gmail.com>",
"Tobias Wich <tobias.wich@ecsec.de>",
"dignifiedquire <dignifiedquire@users.noreply.github.com>",
"dignifiedquire <dignifiedquire@gmail.com>",
"greenkeeperio-bot <support@greenkeeper.io>"
"Alan Shaw <alan.shaw@protocol.ai>",
"Benjamin Cabé <kartben@gmail.com>",
"Ryan Pendergast <ryan.pendergast@gmail.com>"
]
}

@@ -9,3 +9,2 @@ # borc

[![Travis CI](https://travis-ci.org/dignifiedquire/borc.svg?branch=master)](https://travis-ci.org/dignifiedquire/borc)
[![Circle CI](https://circleci.com/gh/dignifiedquire/borc.svg?style=svg)](https://circleci.com/gh/dignifiedquire/borc)

@@ -12,0 +11,0 @@

@@ -0,7 +1,6 @@

/* eslint-disable */
'use strict'
const stream = require('stream')
const util = require('util')
const utils = require('./utils')
const Simple = require('./simple')
const { Buffer } = require('buffer')
const stream = require('readable-stream')
const Decoder = require('./decoder')

@@ -11,6 +10,8 @@ const constants = require('./constants')

const MT = constants.MT,
NUMBYTES = constants.NUMBYTES,
SYMS = constants.SYMS
const MT = constants.MT
const NUMBYTES = constants.NUMBYTES
const SYMS = constants.SYMS
function plural (c) {

@@ -46,3 +47,3 @@ if (c > 1) {

this.max_depth = max_depth
this.all = new NoFilter
this.all = new NoFilter()
this.parser = new Decoder(options)

@@ -119,3 +120,3 @@ this.parser.on('value', this._on_value.bind(this))

}
const bs = new NoFilter
const bs = new NoFilter()
const d = new Commented({

@@ -300,3 +301,3 @@ max_depth: max_depth

this.depth--
if (val.length > 0 ) {
if (val.length > 0) {
this.push(JSON.stringify(val))

@@ -315,3 +316,3 @@ this.push('\n')

} else {
this.push(util.inspect(val))
this.push(JSON.stringify(val))
this.push('\n')

@@ -318,0 +319,0 @@ }

@@ -0,1 +1,3 @@

/* eslint-disable */
module.exports = function decodeAsm (stdlib, foreign, buffer) {

@@ -2,0 +4,0 @@ 'use asm'

'use strict'
const { Buffer } = require('buffer')
const ieee754 = require('ieee754')

@@ -58,2 +59,3 @@ const Bignumber = require('bignumber.js').BigNumber

this.parser = parser(global, {
// eslint-disable-next-line no-console
log: console.log.bind(console),

@@ -331,3 +333,3 @@ pushInt: this.pushInt.bind(this),

createUndefined () {
return void 0
return undefined
}

@@ -334,0 +336,0 @@

'use strict'
const { Buffer } = require('buffer')
const Decoder = require('./decoder')

@@ -4,0 +5,0 @@ const utils = require('./utils')

'use strict'
const { Buffer } = require('buffer')
const { URL } = require('iso-url')

@@ -257,3 +258,3 @@ const Bignumber = require('bignumber.js').BigNumber

}
for (let x of obj) {
for (const x of obj) {
if (!gen.pushAny(x)) {

@@ -429,3 +430,3 @@ return false

case SYMS.UNDEFINED:
return this._pushUndefined(void 0)
return this._pushUndefined(undefined)
// TODO: Add pluggable support for other symbols

@@ -432,0 +433,0 @@ default:

@@ -92,3 +92,3 @@ 'use strict'

if (hasParent) {
return void 0
return undefined
} else {

@@ -95,0 +95,0 @@ return SYMS.UNDEFINED

@@ -61,3 +61,3 @@ 'use strict'

var er, f
f = converters != null ? converters[this.tag] : void 0
f = converters != null ? converters[this.tag] : undefined
if (typeof f !== 'function') {

@@ -64,0 +64,0 @@ f = Tagged['_tag' + this.tag]

'use strict'
const { Buffer } = require('buffer')
const Bignumber = require('bignumber.js').BigNumber

@@ -4,0 +5,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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