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

netlify

Package Overview
Dependencies
Maintainers
14
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify - npm Package Compare versions

Comparing version 6.1.8 to 6.1.9

7

CHANGELOG.md

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

### [6.1.9](https://www.github.com/netlify/js-client/compare/v6.1.8...v6.1.9) (2021-02-18)
### Bug Fixes
* fix `package.json` ([178ee4b](https://www.github.com/netlify/js-client/commit/178ee4beff4d300ea8b74b79d1b9566c72b88305))
### [6.1.8](https://www.github.com/netlify/js-client/compare/v6.1.7...v6.1.8) (2021-02-14)

@@ -12,0 +19,0 @@

13

package.json
{
"name": "netlify",
"description": "Netlify Node.js API client",
"version": "6.1.8",
"version": "6.1.9",
"files": [
"src",
"dist",
"!*.test.js*",
"!*~"
"src/**/*.js",
"!src/**/*.test.js",
"dist/main.js",
"dist/main.js.map"
],

@@ -95,6 +95,7 @@ "main": "./src/index.js",

"@babel/runtime": "^7.12.13",
"@netlify/eslint-config-node": "^2.2.5",
"@netlify/eslint-config-node": "^2.5.0",
"ava": "^2.4.0",
"babel-loader": "^8.2.2",
"from2-string": "^1.1.0",
"husky": "^4.3.8",
"nock": "^11.9.1",

@@ -101,0 +102,0 @@ "npm-run-all": "^4.1.5",

@@ -114,3 +114,5 @@ const { promisify } = require('util')

const uploadList = getUploadList(requiredFiles, filesShaMap).concat(getUploadList(requiredFns, fnShaMap))
const filesUploadList = getUploadList(requiredFiles, filesShaMap)
const functionsUploadList = getUploadList(requiredFns, fnShaMap)
const uploadList = [...filesUploadList, ...functionsUploadList]

@@ -117,0 +119,0 @@ await uploadFiles(api, deployId, uploadList, { concurrentUpload, statusCb, maxRetry })

@@ -17,4 +17,4 @@ const fs = require('fs')

const uploadFile = async (fileObj, index) => {
const { normalizedPath, assetType, runtime } = fileObj
const readStreamCtor = () => fs.createReadStream(fileObj.filepath)
const { normalizedPath, assetType, runtime, filepath } = fileObj
const readStreamCtor = () => fs.createReadStream(filepath)

@@ -21,0 +21,0 @@ statusCb({

@@ -114,2 +114,3 @@ const { basename, sep } = require('path')

// TODO: use `Array.flatMap()` instead once we remove support for Node <11.0.0
// eslint-disable-next-line unicorn/prefer-spread
return [].concat(...required.map((sha) => shaMap[sha]))

@@ -116,0 +117,0 @@ }

@@ -6,2 +6,4 @@ const { paths } = require('@netlify/open-api')

const getOperations = function () {
// TODO: switch to Array.flat() once we drop support for Node.js < 11.0.0
// eslint-disable-next-line unicorn/prefer-spread
return [].concat(

@@ -8,0 +10,0 @@ ...Object.entries(paths).map(([path, pathItem]) => {

Sorry, the diff of this file is not supported yet

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