How to use the istanbul-lib-instrument/package.json.version function in istanbul-lib-instrument

To help you get started, we’ve selected a few istanbul-lib-instrument examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github splunk / splunk-sdk-javascript / node_modules / nyc / lib / hash.js View on Github external
salt (config) {
    return JSON.stringify({
      modules: {
        'istanbul-lib-instrument': require('istanbul-lib-instrument/package.json').version,
        nyc: require('../package.json').version
      },
      nycrc: getInvalidatingOptions(config)
    })
  }
}
github istanbuljs / nyc / lib / hash.js View on Github external
salt (config) {
    return JSON.stringify({
      modules: {
        'istanbul-lib-instrument': require('istanbul-lib-instrument/package.json').version,
        nyc: require('../package.json').version
      },
      nycrc: getInvalidatingOptions(config)
    })
  }
}

istanbul-lib-instrument

Core istanbul API for JS code coverage

BSD-3-Clause
Latest version published 5 months ago

Package Health Score

81 / 100
Full package analysis