question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate to use nyc from istanbul

See original GitHub issue

Upon installing, this shows up:

warning karma-coverage > istanbul@0.4.5: 
This module is no longer maintained, try this instead:
  npm i nyc

Would it be possible to move to use nyc instead of istanbul?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:8

github_iconTop GitHub Comments

3reactions
Aaroniuscommented, Oct 21, 2019

When I install karma-coverage 2.0.1, I’m still seeing:

npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.

If I run npm ls istanbul, I see the following:

@adobe/alloy@0.0.1-alpha.8 /Users/aahardy/dev/alloy
└─┬ karma-coverage@2.0.1
  └── istanbul@0.4.5 

and in package-lock.json, I see:

    "karma-coverage": {
      "version": "2.0.1",
      "resolved": "https://registry.npmjs.org/karma-coverage/-/karma-coverage-2.0.1.tgz",
      "integrity": "sha512-SnFkHsnLsaXfxkey51rRN9JDLAEKYW2Lb0qOEvcruukk0NkSNDkjobNDZPt9Ni3kIhLZkLtpGOz661hN7OaZvQ==",
      "dev": true,
      "requires": {
        "dateformat": "^1.0.6",
        "istanbul": "^0.4.0",
        "istanbul-lib-coverage": "^2.0.5",
        "istanbul-lib-instrument": "^3.3.0",
        "istanbul-lib-report": "^2.0.8",
        "istanbul-lib-source-maps": "^3.0.6",
        "istanbul-reports": "^2.2.4",
        "lodash": "^4.17.11",
        "minimatch": "^3.0.0",
        "source-map": "^0.5.1"
      }
    },

I’m not sure why istanbul is marked as required there.

2reactions
dogokucommented, Aug 20, 2019

Is there any work in progress to migrate to use nyc?

PR #377 has already done the work, it just needs to be released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Javascript Testing Code Coverage: Moving from Istanbul to NYC
Moving to NYC or Istanbul both cities are just amazing 😂 but away from the sad joke, Code coverage is essential for reporting...
Read more >
nyc equivalent of istanbul command - Stack Overflow
I am trying to convert my istanbul code coverage commands to nyc . It appears as though nyc is now the command line...
Read more >
Shipping to New York, United States of America From Istanbul ...
The US are known for their super strict customs, but there's nothing wrong with being careful. You need to complete a “Declaration for...
Read more >
Transfer-Transit Passengers | Connecting Flights
Learn more about transfer/transit passengers' baggage and travel procedures ... can take the opportunity to discover Istanbul with our TourIstanbul service.
Read more >
Moving to Turkey - NY International Shipping
If you are relocating from the Tri-state area to Istanbul or any other city in Turkey, we provide door to door service and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found