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

sonic-boom

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sonic-boom - npm Package Compare versions

Comparing version 1.4.1 to 2.0.0

.eslintignore

14

index.js

@@ -5,3 +5,2 @@ 'use strict'

const EventEmitter = require('events')
const flatstr = require('flatstr')
const inherits = require('util').inherits

@@ -346,3 +345,2 @@

}
flatstr(buf)
sonic._writingBuf = buf

@@ -382,2 +380,14 @@ if (sonic.sync) {

/**
* These export configurations enable JS and TS developers
* to consumer SonicBoom in whatever way best suits their needs.
* Some examples of supported import syntax includes:
* - `const SonicBoom = require('SonicBoom')`
* - `const { SonicBoom } = require('SonicBoom')`
* - `import * as SonicBoom from 'SonicBoom'`
* - `import { SonicBoom } from 'SonicBoom'`
* - `import SonicBoom from 'SonicBoom'`
*/
SonicBoom.SonicBoom = SonicBoom
SonicBoom.default = SonicBoom
module.exports = SonicBoom

23

package.json
{
"name": "sonic-boom",
"version": "1.4.1",
"version": "2.0.0",
"description": "Extremely fast utf8 only stream implementation",
"main": "index.js",
"type": "commonjs",
"types": "types/index.d.ts",
"scripts": {
"test-only": "tap test.js",
"test": "standard && tap test.js",
"test": "npm run test:types && standard && tap test.js",
"test:unit": "tap test.js",
"test:types": "tsc && tsd",
"prepare": "husky install"

@@ -13,3 +16,3 @@ },

"type": "git",
"url": "git+https://github.com/mcollina/sonic-boom.git"
"url": "git+https://github.com/pinojs/sonic-boom.git"
},

@@ -28,6 +31,7 @@ "keywords": [

"bugs": {
"url": "https://github.com/mcollina/sonic-boom/issues"
"url": "https://github.com/pinojs/sonic-boom/issues"
},
"homepage": "https://github.com/mcollina/sonic-boom#readme",
"homepage": "https://github.com/pinojs/sonic-boom#readme",
"devDependencies": {
"@types/node": "^15.3.0",
"fastbench": "^1.0.1",

@@ -37,3 +41,5 @@ "husky": "^6.0.0",

"standard": "^16.0.3",
"tap": "^15.0.1"
"tap": "^15.0.1",
"tsd": "^0.15.1",
"typescript": "^4.2.4"
},

@@ -48,3 +54,6 @@ "dependencies": {

}
},
"tsd": {
"directory": "./types"
}
}

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

# sonic-boom  ![Node.js CI](https://github.com/mcollina/sonic-boom/workflows/Node.js%20CI/badge.svg)
# sonic-boom
[![NPM Package Version](https://img.shields.io/npm/v/sonic-boom)](https://www.npmjs.com/package/sonic-boom)
[![Build Status](https://github.com/pinojs/sonic-boom/workflows/Node.js%20CI/badge.svg)](https://github.com/pinojs/sonic-boom/actions?query=workflow%3ANode.js%20CI)
[![Known Vulnerabilities](https://snyk.io/test/github/pinojs/sonic-boom/badge.svg)](https://snyk.io/test/github/pinojs/sonic-boom)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
Extremely fast utf8-only stream implementation to write to files and

@@ -4,0 +9,0 @@ file descriptors.

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