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

giga

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

giga - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

11

lib/Giga.js
'use strict';
const path = require('path');
const { Readable, Writable } = require('stream');
const uuidV4 = require('uuid/v4');

@@ -19,3 +18,3 @@

*
* @param {Readable} src
* @param {Stream} src
* @param {object} options

@@ -28,4 +27,4 @@ * @returns {Promise}

if (!(src instanceof Readable))
throw new TypeError('Source must be readable stream');
if (!src)
throw new TypeError('Source must be stream');

@@ -60,4 +59,4 @@ return new Promise((resolve, reject) => {

if (!(dst instanceof Writable))
throw new TypeError('Destination must be readable stream');
if (!dst)
throw new TypeError('Destination must be stream');

@@ -64,0 +63,0 @@ return new Promise((resolve, reject) => {

{
"name": "giga",
"version": "0.1.1",
"version": "0.1.2",
"description": "Easy streaming upload and download for storages(File System, AWS S3)",

@@ -5,0 +5,0 @@ "license": "MIT",

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