New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

binary-fetch

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binary-fetch - npm Package Compare versions

Comparing version 0.0.22 to 0.0.38

4

package.json
{
"name": "binary-fetch",
"version": "0.0.22",
"version": "0.0.38",
"description": "Fetch incremental binary packets from a browser",

@@ -11,2 +11,3 @@ "main": "./index.js",

"babel-polyfill": "^6.23.0",
"delay": "^2.0.0",
"xhr2": "^0.1.4"

@@ -27,2 +28,3 @@ },

"gulp-bump": "^2.7.0",
"gulp-fn": "^0.0.0",
"gulp-load-plugins": "^1.5.0",

@@ -29,0 +31,0 @@ "gulp-rename": "^1.2.2",

import childProcess from 'child_process';
import gulp from 'gulp';
import gulpLoadPlugins from 'gulp-load-plugins';
import delay from 'delay';
import _ from 'lodash';

@@ -8,14 +10,15 @@ const $ = gulpLoadPlugins();

export default async function publish() {
let version = '';
await new Promise((resolve, reject) => {
gulp.src('./package.json')
.pipe($.bump())
.pipe($.fn((f) => {
const body = JSON.parse(f._contents.toString('utf8'));
version = body.version;
return f;
}))
.pipe(gulp.dest('./'))
.on('error', reject).on('end', () => console.log('end')).on('finish', () => console.log('finish'));
}).then(() => {
console.log('yay');
.on('error', reject).on('end', resolve);
});
console.log('waiting . . .');
const version = require('../package').version;
console.log(version);
await new Promise((resolve, reject) => {

@@ -22,0 +25,0 @@ childProcess.spawn(`git add ./

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