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

grep-tests-from-pull-requests

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grep-tests-from-pull-requests - npm Package Compare versions

Comparing version 1.15.2 to 1.16.0

4

package.json
{
"name": "grep-tests-from-pull-requests",
"version": "1.15.2",
"version": "1.16.0",
"description": "Grabs the test tags to run from the pull request text",

@@ -35,3 +35,3 @@ "main": "src/index.js",

"common-tags": "^1.8.2",
"cypress": "13.12.0",
"cypress": "13.15.0",
"cypress-grep": "^2.13.1",

@@ -38,0 +38,0 @@ "prettier": "^3.3.2",

@@ -141,2 +141,9 @@ # grep-tests-from-pull-requests

If the string value is a valid JSON, it is automatically parsed
```
CYPRESS_person={"name":"Joe"}
// produces Cypress.env('person') object { name: 'Joe' }
```
## Skip / enable Cypress tests

@@ -143,0 +150,0 @@

@@ -40,2 +40,9 @@ // @ts-check

try {
const parsed = JSON.parse(str)
return parsed
} catch (e) {
// do nothing if JSON parsing fails
}
// return the original string

@@ -42,0 +49,0 @@ return str

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