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

@greenwood/cli

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@greenwood/cli - npm Package Compare versions

Comparing version 0.24.1 to 0.24.2

4

package.json
{
"name": "@greenwood/cli",
"version": "0.24.1",
"version": "0.24.2",
"description": "Greenwood CLI.",

@@ -72,3 +72,3 @@ "type": "module",

},
"gitHead": "873ad804581f6930db5165ede7e3ce4a83a58b82"
"gitHead": "ef12189df7b71965ad208dc17909db218bcb06aa"
}

@@ -137,7 +137,9 @@ import { BrowserRunner } from '../lib/browser.js';

if (process.env.__GWD_COMMAND__ === 'develop' && path.extname(url) !== '' && url.indexOf('http') !== 0) { // eslint-disable-line no-underscore-dangle
if (Buffer.isBuffer(body) || path.extname(ctx.request.headers.originalUrl) === '.json') {
if (!body || Buffer.isBuffer(body)) {
// console.warn(`no body for => ${ctx.url}`);
} else {
const inm = ctx.headers['if-none-match'];
const etagHash = hashString(body);
const etagHash = path.extname(ctx.request.headers.originalUrl) === '.json'
? hashString(JSON.stringify(body))
: hashString(body);

@@ -144,0 +146,0 @@ if (inm && inm === etagHash) {

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