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

tinyspawn

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinyspawn - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

2

LICENSE.md
The MIT License (MIT)
Copyright © 2023 Kiko Beats <josefrancisco.verdu@gmail.com> (kikobeats.com)
Copyright © 2023 microlink.io <hello@microlink.io> (microlink.io)

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "tinyspawn",
"description": "tinyspawn is a minimalistic wrapper around child_process",
"homepage": "https://github.com/Kikobeats/tinyspawn",
"version": "1.2.2",
"homepage": "https://github.com/microlinkhq/tinyspawn",
"version": "1.2.3",
"main": "src/index.js",
"author": {
"email": "josefrancisco.verdu@gmail.com",
"name": "Kiko Beats",
"url": "https://kikobeats.com"
"email": "hello@microlink.io",
"name": "microlink.io",
"url": "https://microlink.io"
},
"contributors": [
{
"name": "Kiko Beats",
"email": "josefrancisco.verdu@gmail.com"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/Kikobeats/tinyspawn.git"
"url": "git+https://github.com/microlinkhq/tinyspawn.git"
},
"bugs": {
"url": "https://github.com/Kikobeats/tinyspawn/issues"
"url": "https://github.com/microlinkhq/tinyspawn/issues"
},

@@ -19,0 +25,0 @@ "keywords": [

@@ -1,5 +0,10 @@

# tinyspawn
<div align="center">
<img src="https://github.com/microlinkhq/cdn/raw/master/dist/logo/banner.png#gh-light-mode-only" alt="microlink cdn">
<img src="https://github.com/microlinkhq/cdn/raw/master/dist/logo/banner-dark.png#gh-dark-mode-only" alt="microlink cdn">
<br>
<br>
</div>
![Last version](https://img.shields.io/github/tag/Kikobeats/tinyspawn.svg?style=flat-square)
[![Coverage Status](https://img.shields.io/coveralls/Kikobeats/tinyspawn.svg?style=flat-square)](https://coveralls.io/github/Kikobeats/tinyspawn)
![Last version](https://img.shields.io/github/tag/microlinkhq.svg?style=flat-square)
[![Coverage Status](https://img.shields.io/coveralls/microlinkhq.svg?style=flat-square)](https://coveralls.io/github/microlinkhq)
[![NPM Status](https://img.shields.io/npm/dm/tinyspawn.svg?style=flat-square)](https://www.npmjs.org/package/tinyspawn)

@@ -165,5 +170,7 @@

**tinyspawn** © [Kiko Beats](https://kikobeats.com), released under the [MIT](https://github.com/kikobeats/tinyspawn/blob/master/LICENSE.md) License.<br>
Authored and maintained by [Kiko Beats](https://kikobeats.com) with help from [contributors](https://github.com/kikobeats/tinyspawn/contributors).
## License
> [kikobeats.com](https://kikobeats.com) · GitHub [Kiko Beats](https://github.com/kikobeats) · Twitter [@kikobeats](https://twitter.com/kikobeats)
**tinyspawn** © [microlink.io](https://microlink.io), released under the [MIT](https://github.com/microlinkhq/tinyspawn/blob/master/LICENSE.md) License.<br>
Authored and maintained by [Kiko Beats](https://kikobeats.com) with help from [contributors](https://github.com/microlinkhq/tinyspawn/contributors).
> [microlink.io](https://microlink.io) · GitHub [microlink.io](https://github.com/microlinkhq) · Twitter [@microlinkhq](https://twitter.com/microlinkhq)

@@ -6,2 +6,4 @@ 'use strict'

const EVENT_EMITTER_PROPS = Object.getOwnPropertyNames(require('events').EventEmitter.prototype).filter(name => !name.startsWith('_'))
const eos = (stream, listener, buffer = []) => stream[listener].on('data', data => buffer.push(data)) && buffer

@@ -46,3 +48,5 @@

return Object.assign(promise, childProcess, { once: childProcess.once.bind(childProcess) })
const subprocess = Object.assign(promise, childProcess)
EVENT_EMITTER_PROPS.forEach(name => (subprocess[name] = childProcess[name].bind(childProcess)))
return subprocess
}

@@ -49,0 +53,0 @@

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