Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,017 changes: 0 additions & 1,017 deletions CHANGELOG.md

Large diffs are not rendered by default.

16 changes: 0 additions & 16 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,16 +0,0 @@
ISC License

Copyright (c) 2015, Contributors

Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice
appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
395 changes: 1 addition & 394 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build-self-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const path = require('path')
const fs = require('fs')
const istanbul = require('istanbul-lib-instrument')
const istanbul = require('local-istanbul-lib-instrument')
const makeDir = require('make-dir')
const glob = require('glob')

Expand Down
2 changes: 1 addition & 1 deletion lib/hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
salt (config) {
return JSON.stringify({
modules: {
'istanbul-lib-instrument': require('istanbul-lib-instrument/package.json').version,
'local-istanbul-lib-instrument': require('local-istanbul-lib-instrument/package.json').version,
nyc: require('../package.json').version
},
nycrc: getInvalidatingOptions(config)
Expand Down
2 changes: 1 addition & 1 deletion lib/instrumenters/istanbul.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

function InstrumenterIstanbul (options) {
const { createInstrumenter } = require('istanbul-lib-instrument')
const { createInstrumenter } = require('local-istanbul-lib-instrument')
const convertSourceMap = require('convert-source-map')

const instrumenter = createInstrumenter({
Expand Down
2 changes: 1 addition & 1 deletion lib/instrumenters/noop.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

function NOOP () {
const { readInitialCoverage } = require('istanbul-lib-instrument')
const { readInitialCoverage } = require('local-istanbul-lib-instrument')

return {
instrumentSync (code, filename) {
Expand Down
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nyc",
"version": "15.1.0",
"name": "local-nyc",
"version": "15.1.3",
"description": "the Istanbul command line interface",
"main": "index.js",
"scripts": {
Expand All @@ -15,7 +15,7 @@
"release": "standard-version"
},
"bin": {
"nyc": "./bin/nyc.js"
"local-nyc": "./bin/nyc.js"
},
"files": [
"index.js",
Expand Down Expand Up @@ -68,7 +68,7 @@
"glob": "^7.1.6",
"istanbul-lib-coverage": "^3.0.0",
"istanbul-lib-hook": "^3.0.0",
"istanbul-lib-instrument": "^4.0.0",
"local-istanbul-lib-instrument": "^5.2.1",
"istanbul-lib-processinfo": "^2.0.2",
"istanbul-lib-report": "^3.0.0",
"istanbul-lib-source-maps": "^4.0.0",
Expand Down Expand Up @@ -98,11 +98,5 @@
},
"engines": {
"node": ">=8.9"
},
"homepage": "https://istanbul.js.org/",
"bugs": "https://github.com/istanbuljs/nyc/issues",
"repository": {
"type": "git",
"url": "git@github.com:istanbuljs/nyc.git"
}
}
2 changes: 1 addition & 1 deletion test/fixtures/eager.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
'use strict'

const lib = require.resolve('istanbul-lib-instrument')
const lib = require.resolve('local-istanbul-lib-instrument')
console.log(Object.keys(require.cache).filter(s => s === lib).length)