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

@compas/cli

Package Overview
Dependencies
Maintainers
1
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compas/cli - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6

4

package.json
{
"name": "@compas/cli",
"version": "0.10.5",
"version": "0.10.6",
"description": "CLI containing utilities and simple script runner",

@@ -31,3 +31,3 @@ "exports": {

"dependencies": {
"@compas/stdlib": "0.10.5",
"@compas/stdlib": "0.10.6",
"c8": "9.1.0",

@@ -34,0 +34,0 @@ "chokidar": "3.6.0",

@@ -19,2 +19,3 @@ import { existsSync } from "node:fs";

const configPath = pathJoin(process.cwd(), "test/config.js");
const packageJsonPath = pathJoin(process.cwd(), "package.json");

@@ -151,2 +152,9 @@ /**

resolvedConfig.teardown = config.teardown ?? noop;
} else if (!existsSync(packageJsonPath)) {
// If we can't resolve a test config, double check that the user executes the tests
// from the project root. Always running tests from the project root has the least
// surprises in the long run.
throw new Error(
`Make sure to start the tests from the project root, found '${process.cwd()}'. If you really need to run tests from this directory, create a 'package.json' in this directory.`,
);
}

@@ -153,0 +161,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