@netlify/zip-it-and-ship-it
Advanced tools
Comparing version 0.4.0-1 to 0.4.0-2
@@ -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 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
114759
927
10