Socket
Socket
Sign inDemoInstall

@snyk/code-client

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/code-client - npm Package Compare versions

Comparing version 4.19.0 to 4.19.1

4

dist/report.js

@@ -83,9 +83,5 @@ "use strict";

const projectName = (_b = (_a = options.report) === null || _a === void 0 ? void 0 : _a.projectName) === null || _b === void 0 ? void 0 : _b.trim();
const projectNameMaxLength = 64;
if (!projectName || projectName.length === 0) {
throw new Error('"project-name" must be provided for "report"');
}
if (projectName.length > projectNameMaxLength) {
throw new Error(`"project-name" must not exceed ${projectNameMaxLength} characters`);
}
if (/[^A-Za-z0-9-_/]/g.test(projectName)) {

@@ -92,0 +88,0 @@ throw new Error(`"project-name" must not contain spaces or special characters except [/-_]`);

2

package.json

@@ -94,3 +94,3 @@ {

},
"version": "4.19.0"
"version": "4.19.1"
}

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