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

read

Package Overview
Dependencies
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

.commitlintrc.cjs

72

package.json
{
"name": "read",
"version": "2.1.0",
"main": "lib/read.js",
"version": "3.0.0",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/read.d.ts",
"default": "./dist/esm/read.js"
},
"require": {
"types": "./dist/commonjs/read.d.ts",
"default": "./dist/commonjs/read.js"
}
}
},
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/read.ts"
}
},
"dependencies": {
"mute-stream": "~1.0.0"
"mute-stream": "^1.0.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.13.0",
"tap": "^16.3.0"
"@npmcli/eslint-config": "^4.0.2",
"@npmcli/template-oss": "4.20.0",
"@types/mute-stream": "^0.0.4",
"@types/tap": "^15.0.11",
"@typescript-eslint/parser": "^6.11.0",
"c8": "^8.0.1",
"eslint-import-resolver-typescript": "^3.6.1",
"tap": "^16.3.9",
"ts-node": "^10.9.1",
"tshy": "^1.8.0",
"typescript": "^5.2.2"
},

@@ -24,25 +51,30 @@ "engines": {

"scripts": {
"test": "tap",
"lint": "eslint \"**/*.js\"",
"prepare": "tshy",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"test": "c8 tap",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run lint -- --fix",
"snap": "tap",
"snap": "c8 tap",
"posttest": "npm run lint"
},
"files": [
"bin/",
"lib/"
],
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.13.0",
"publish": "true"
"version": "4.20.0",
"publish": true,
"typescript": true,
"content": "./scripts/template-oss"
},
"main": "./dist/commonjs/read.js",
"types": "./dist/commonjs/read.d.ts",
"tap": {
"statements": 77,
"branches": 75,
"functions": 57,
"lines": 78,
"test-ignore": "fixtures/",
"coverage": false,
"node-arg": [
"--no-warnings",
"--loader",
"ts-node/esm"
],
"ts": false,
"nyc-arg": [

@@ -49,0 +81,0 @@ "--exclude",

@@ -11,5 +11,6 @@ ## read

```javascript
var read = require("read")
const { read } = require('read')
// or with ESM: import { read } from 'read'
try {
const result = await read(options, callback)
const result = await read(options)
} catch (er) {

@@ -16,0 +17,0 @@ console.error(er)

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