Skip to content

build(deps-dev): bump @babel/preset-env from 7.10.4 to 7.12.7 #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot-preview[bot]
Copy link

Bumps @babel/preset-env from 7.10.4 to 7.12.7.

Release notes

Sourced from @babel/preset-env's releases.

v7.12.7 (2020-11-20)

Thanks @fraywing for your first PR!

👓 Spec Compliance

  • babel-parser

🐛 Bug Fix

  • babel-parser
  • babel-helper-optimise-call-expression, babel-plugin-proposal-class-properties
  • babel-compat-data, babel-preset-env
  • babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-preset-env, babel-traverse
  • babel-plugin-proposal-numeric-separator
    • #12311 Adding includes fix for plugin-proposal-numeric-separator (@fraywing)

💅 Polish

  • babel-preset-react, babel-preset-typescript
    • #12347 refactor: use option-validator in preset-typescript (@JLHwung)
  • babel-types
    • #12341 improve asserts in generated typescript definitions (@zxbodya)

🏠 Internal

  • babel-helper-regex
  • babel-helper-create-regexp-features-plugin, babel-plugin-transform-sticky-regex
  • babel-core
  • babel-preset-env
  • Other
  • babel-types
    • #11883 feat(babel‑types): Add type definitions for Node assertion methods (@ExE-Boss)
  • babel-cli
  • babel-parser
  • babel-traverse
Changelog

Sourced from @babel/preset-env's changelog.

v7.12.7 (2020-11-20)

👓 Spec Compliance

  • babel-parser

🐛 Bug Fix

  • babel-parser
  • babel-helper-optimise-call-expression, babel-plugin-proposal-class-properties
  • babel-compat-data, babel-preset-env
  • babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-preset-env, babel-traverse
  • babel-plugin-proposal-numeric-separator
    • #12311 Adding includes fix for plugin-proposal-numeric-separator (@fraywing)

💅 Polish

  • babel-preset-react, babel-preset-typescript
    • #12347 refactor: use option-validator in preset-typescript (@JLHwung)
  • babel-types
    • #12341 improve asserts in generated typescript definitions (@zxbodya)

🏠 Internal

  • babel-helper-regex
  • babel-helper-create-regexp-features-plugin, babel-plugin-transform-sticky-regex
  • babel-core
  • babel-preset-env
  • Other
  • babel-types
    • #11883 feat(babel‑types): Add type definitions for Node assertion methods (@ExE-Boss)
  • babel-cli
  • babel-parser
  • babel-traverse
    • #12309 test: add tests about behaviour of replaceWithMultiple (@JLHwung)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 7, 2020
@auto-add-label auto-add-label bot added the build label Dec 7, 2020
@guardrails
Copy link

guardrails bot commented Dec 7, 2020

⚠️ We detected security issues in this pull request:
Mode: paranoid | Total findings: 29 | Considered vulnerability: 6

Insecure Use of Dangerous Function (7)

const childProcess = require('child_process');

const childProcess = require('child_process');

const cp = require('child_process');

const module = require(modulePath);

const babel = require(babelPath);

const childProcess = require('child_process');

const childProcessExec = util.promisify(childProcess.exec);

More info on how to fix Insecure Use of Dangerous Function in Javascript.


Insecure File Management (19)

fs.rmdirSync(tmpDir, { recursive: true });

fs.mkdirSync(tmpDir);

fs.mkdirSync(dir, { recursive: true });

fs.mkdirSync(path.dirname(destPath), { recursive: true });

fs.writeFileSync(destPath, cjs);

fs.mkdirSync(path.dirname(destPath), { recursive: true });

fs.writeFileSync(destPath, output);

fs.mkdirSync(path.dirname(destPath), { recursive: true });

fs.writeFileSync(destPath, cjs);

fs.writeFileSync(destPath.replace(/\.js$/, '.mjs'), mjs);

const dot = fs.readFileSync(tmpFile, 'utf-8');

fs.existsSync(resolvedPath) &&

fs.statSync(resolvedPath).isDirectory()

if (fs.existsSync(dirPath)) {

for (const dirent of fs.readdirSync(dirPath, { withFileTypes: true })) {

fs.unlinkSync(fullPath);

fs.rmdirSync(dirPath);

for (const dirent of fs.readdirSync(dirPath, { withFileTypes: true })) {

const { size } = fs.lstatSync(path.join(dirPath, filepath));

More info on how to fix Insecure File Management in Javascript.


Insecure Use of Regular Expressions (2)

const versionMatch = /^(\d+)\.(\d+)\.(\d+)-?(.*)?$/.exec(version);

expect(version).to.match(/^\d+\.\d+\.\d(-(alpha|beta|rc)\.\d+)?$/);

More info on how to fix Insecure Use of Regular Expressions in Javascript.


Hard-Coded Secrets (1)

_secret: 'secretValue',

More info on how to fix Hard-Coded Secrets in Javascript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

@dependabot-preview
Copy link
Author

Superseded by #26.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/babel/preset-env-7.12.7 branch December 9, 2020 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants