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

spec-change

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spec-change - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

7

bin/spec-change.js

@@ -7,2 +7,3 @@ #!/usr/bin/env node

const path = require('path')
const fs = require('fs')
const { getDependentFiles } = require('../src')

@@ -22,6 +23,10 @@

}
if (!fs.existsSync(args['--folder'])) {
console.error('Cannot find folder %s', args['--folder'])
process.exit(1)
}
const folder = path.resolve(args['--folder'])
debug('absolute folder: %s', folder)
const files = globby.sync(folder + '/**/*.js')
const files = globby.sync(folder + '/**/*.{js,ts}')
debug('found %d files %o', files.length, files)

@@ -28,0 +33,0 @@

3

package.json
{
"name": "spec-change",
"version": "1.1.0",
"version": "1.2.0",
"description": "Computes specs to re-run when files change",

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

"dependency-tree": "^8.1.2",
"execa-wrap": "^1.4.0",
"prettier": "^2.8.1",

@@ -26,0 +27,0 @@ "semantic-release": "^19.0.5"

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