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

@netlify/zip-it-and-ship-it

Package Overview
Dependencies
Maintainers
10
Versions
324
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/zip-it-and-ship-it - npm Package Compare versions

Comparing version 0.4.0-1 to 0.4.0-2

2

bin.js

@@ -65,5 +65,5 @@ #!/usr/bin/env node

}).then(functionObjs => {
functionObjs.forEach(fnObj => console.log(`Zipped "${fnObj.path}" (${fnObj.runtime})`))
functionObjs.forEach(fnObj => console.log(`${fnObj.runtime === "go" ? "Copied" : "Zipped"} "${path.basename(fnObj.path)}" (${fnObj.runtime})`))
}).catch(err => {
throw err
})

@@ -10,2 +10,13 @@ # Changelog

## [v0.4.0-2](https://github.com/netlify/zip-it-and-ship-it/compare/v0.4.0-1...v0.4.0-2) - 2019-05-08
### Merged
- Don't fail when encoding is missing [`#35`](https://github.com/netlify/zip-it-and-ship-it/pull/35)
### Commits
- Fix copy in final output [`3ac0694`](https://github.com/netlify/zip-it-and-ship-it/commit/3ac0694cf7aa3a7be76a139e49d16a459cce5dee)
- Print basename instead full tmp path [`b380fc1`](https://github.com/netlify/zip-it-and-ship-it/commit/b380fc1b8437175060f187ecc6d43a7c3df27f14)
## [v0.4.0-1](https://github.com/netlify/zip-it-and-ship-it/compare/v0.4.0-0...v0.4.0-1) - 2019-05-07

@@ -12,0 +23,0 @@

{
"name": "@netlify/zip-it-and-ship-it",
"description": "Zip it and ship it",
"version": "0.4.0-1",
"version": "0.4.0-2",
"author": "Netlify, Inc",

@@ -6,0 +6,0 @@ "ava": {

@@ -76,8 +76,13 @@ const path = require("path");

} catch (e) {
throw new Error(`Could not find "${moduleName}" module in file: ${filename.replace(
path.dirname(basedir),
""
)}.
if (moduleName === "encoding") { // node-fetch has an undeclared peer dependency on encoding
// We add an exception for this one module because it is very popular and people complain about it
debug(`WARNING missing optional dependency: ${moduleName}`);
} else {
throw new Error(`Could not find "${moduleName}" module in file: ${filename.replace(
path.dirname(basedir),
""
)}.
Please ensure "${moduleName}" is installed in the project.`);
Please ensure "${moduleName}" is installed in the project.`);
}
}

@@ -84,0 +89,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