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 Apr 30, 2024 via pnpm

babel-preset-jest 29.6.3

> Babel preset for all Jest plugins. This preset is automatically included when using [babel-jest](https://github.com/jestjs/jest/tree/main/packages/babel-jest).
Package summary
Share
2
issues
1
high severity
license
1
1
low severity
license
1
4
licenses
66
MIT
5
ISC
1
Apache-2.0
1
CC-BY-4.0
Package created
25 Feb 2016
Version published
21 Aug 2023
Maintainers
3
Total deps
73
Direct deps
3
License
MIT

Issues

2

1 high severity issue

high
Recommendation: Read and validate the license terms
via: @babel/core@7.24.5 & others
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: @babel/core@7.24.5 & others
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
66 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/plugin-syntax-async-generators@7.8.4
@babel/plugin-syntax-bigint@7.8.3
@babel/plugin-syntax-class-properties@7.12.13
@babel/plugin-syntax-import-meta@7.10.4
@babel/plugin-syntax-json-strings@7.8.3
@babel/plugin-syntax-logical-assignment-operators@7.10.4
@babel/plugin-syntax-nullish-coalescing-operator@7.8.3
@babel/plugin-syntax-numeric-separator@7.10.4
@babel/plugin-syntax-object-rest-spread@7.8.3
@babel/plugin-syntax-optional-catch-binding@7.8.3
@babel/plugin-syntax-optional-chaining@7.8.3
@babel/plugin-syntax-top-level-await@7.14.5
@babel/template@7.24.0
@babel/traverse@7.24.5
@babel/types@7.24.5
@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
@types/babel__core@7.20.5
@types/babel__generator@7.6.8
@types/babel__template@7.4.4
@types/babel__traverse@7.20.5
ansi-styles@3.2.1
babel-plugin-jest-hoist@29.6.3
babel-preset-current-node-syntax@1.0.1
babel-preset-jest@29.6.3
browserslist@4.23.0
chalk@2.4.2
color-convert@1.9.3

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
5 Packages, Including:
electron-to-chromium@1.4.751
lru-cache@5.1.1
picocolors@1.0.0
semver@6.3.1
yallist@3.1.1

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.30001614
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

3
All Dependencies CSV
β“˜ This is a list of babel-preset-jest 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@babel/core7.24.5763.27 kBMIT
prod peer
1
1
babel-plugin-jest-hoist29.6.34.94 kBMIT
prod
babel-preset-current-node-syntax1.0.12.52 kBMIT
prod
1
1

Visualizations

Frequently Asked Questions

What does babel-preset-jest do?

Babel-preset-jest is a Babel preset that packages all Jest plugins. Designed to streamline your JavaScript testing process, this preset is smoothly incorporated when using babel-jest. Bundling all Jest plugins together, it simplifies the configuration process and boosts the efficiency of your development workflow.

How do you use babel-preset-jest?

Incorporating babel-preset-jest in your project is as simple as you running an install command in your terminal. To install the preset, open your terminal and type:

$ npm install --save-dev babel-preset-jest

Once installed, you can use babel-preset-jest through different ways:

  1. Via babel.config.js (Recommended): Include 'jest' in the presets array of your Babel configuration file as shown below:
module.exports = {
  presets: ['jest'],
};
  1. Via CLI: You can also use babel-preset-jest from the command line interface (CLI) as follows:
$ babel script.js --presets jest
  1. Via Node API: If you want to use babel-preset-jest through the Node API, you can do so like this:
require('@babel/core').transform('code', {
  presets: ['jest'],
});

All of these methods provide an easy way to utilize babel-preset-jest in your project for testing JavaScript code.

Where are the babel-preset-jest docs?

The primary source of documentation for babel-preset-jest is its GitHub page, available at https://github.com/jestjs/jest. On this page, you'll find a comprehensive guide to using the package, including installation instructions, usage examples, and any additional information that's necessary to fully utilize babel-preset-jest in your projects. It's a one-stop resource for developers looking to understand and leverage the capabilities of this tool.