Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 10, 2024 via pnpm

babel-plugin-istanbul 6.1.1

A babel plugin that adds istanbul instrumentation to ES6 code
Package summary
Share
2
issues
1
high severity
license
1
1
low severity
license
1
6
licenses
63
MIT
14
ISC
4
BSD-3-Clause
3
other licenses
Apache-2.0
1
CC-BY-4.0
1
BSD-2-Clause
1
Package created
23 Jun 2016
Version published
16 Oct 2021
Maintainers
4
Total deps
84
Direct deps
5
License
BSD-3-Clause

Issues

2

1 high severity issue

high
Recommendation: Read and validate the license terms
via: istanbul-lib-instrument@5.2.1
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: istanbul-lib-instrument@5.2.1
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
63 Packages, Including:
@babel/code-frame@7.24.2
@babel/compat-data@7.24.4
@babel/core@7.24.5
@babel/generator@7.24.5
@babel/helper-compilation-targets@7.23.6
@babel/helper-environment-visitor@7.22.20
@babel/helper-function-name@7.23.0
@babel/helper-hoist-variables@7.22.5
@babel/helper-module-imports@7.24.3
@babel/helper-module-transforms@7.24.5
@babel/helper-plugin-utils@7.24.5
@babel/helper-simple-access@7.24.5
@babel/helper-split-export-declaration@7.24.5
@babel/helper-string-parser@7.24.1
@babel/helper-validator-identifier@7.24.5
@babel/helper-validator-option@7.23.5
@babel/helpers@7.24.5
@babel/highlight@7.24.5
@babel/parser@7.24.5
@babel/template@7.24.0
@babel/traverse@7.24.5
@babel/types@7.24.5
@istanbuljs/schema@0.1.3
@jridgewell/gen-mapping@0.3.5
@jridgewell/resolve-uri@3.1.2
@jridgewell/set-array@1.2.1
@jridgewell/sourcemap-codec@1.4.15
@jridgewell/trace-mapping@0.3.25
ansi-styles@3.2.1
argparse@1.0.10
balanced-match@1.0.2
brace-expansion@1.1.11
browserslist@4.23.0
camelcase@5.3.1
chalk@2.4.2
color-convert@1.9.3
color-name@1.1.3
concat-map@0.0.1
convert-source-map@2.0.0
debug@4.3.4
escalade@3.1.2
escape-string-regexp@1.0.5
find-up@4.1.0
gensync@1.0.0-beta.2
get-package-type@0.1.0
globals@11.12.0
has-flag@3.0.0
js-tokens@4.0.0
js-yaml@3.14.1
jsesc@2.5.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
14 Packages, Including:
@istanbuljs/load-nyc-config@1.1.0
electron-to-chromium@1.4.762
fs.realpath@1.0.0
glob@7.2.3
inflight@1.0.6
inherits@2.0.4
lru-cache@5.1.1
minimatch@3.1.2
once@1.4.0
picocolors@1.0.0
semver@6.3.1
test-exclude@6.0.0
wrappy@1.0.2
yallist@3.1.1

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
4 Packages, Including:
babel-plugin-istanbul@6.1.1
istanbul-lib-coverage@3.2.2
istanbul-lib-instrument@5.2.1
sprintf-js@1.0.3

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
1 Packages, Including:
@ampproject/remapping@2.3.0

Creative Commons Attribution 4.0 International

Uncategorized
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
caniuse-lite@1.0.30001617

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
esprima@4.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
β“˜ This is a list of babel-plugin-istanbul 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@babel/helper-plugin-utils7.24.5127.43 kBMIT
prod
@istanbuljs/load-nyc-config1.1.04.23 kBISC
prod
@istanbuljs/schema0.1.35.3 kBMIT
prod
istanbul-lib-instrument5.2.115.97 kBBSD-3-Clause
prod
1
1
test-exclude6.0.06.75 kBISC
prod

Visualizations

Frequently Asked Questions

What does babel-plugin-istanbul do?

The babel-plugin-istanbul is a powerful tool that adds Istanbul instrumentation to your ES6 code. It is a Babel plugin that integrates seamlessly with your code to provide coverage metrics. This plugin does not generate any output or save any data to a file; it simply adds instrumentation to your JavaScript source code. This makes it perfect for use with toolsets like Karma-coverage and mocha on Node.js via nyc, where it can instantly elevate your testing capabilities.

How do you use babel-plugin-istanbul?

To use the babel-plugin-istanbul, you first need to install it using npm by running npm install --save-dev babel-plugin-istanbul. Once installed, you need to add it to your .babelrc file in testing mode. This is done with the following code:

{
  "env": {
    "test": {
      "plugins": [ "istanbul" ]
    }
  }
}

Alongside this, you can optionally use cross-env to set NODE_ENV=test. An example of this type of set-up is:

{
  "scripts": {
    "test": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha test/*.js"
  }
}

Ultimately, integrating babel-plugin-istanbul into your testing environment requires strategic placement in your Babel and environment scripts.

Where are the babel-plugin-istanbul docs?

Complete details for babel-plugin-istanbul are available in the documentation on the babel-plugin-istanbul GitHub page. The repository provides all the necessary information for understanding, installing, integrating, and troubleshooting the babael-plugin-istanbul tool. Furthermore, it defines how to use the plugin with other tools, how to ignore files from coverage reports, how to manage source maps and more. You can also find frequently asked questions, change logs, and contributing guidelines in this detailed documentation.