Skip to content
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

error: bundling failed: index.js: "" is not a valid identifer name #27120

Closed
Andersonfrfilho opened this issue Nov 5, 2019 · 84 comments
Closed
Labels
Bug Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.

Comments

@Andersonfrfilho
Copy link

Andersonfrfilho commented Nov 5, 2019

Error starting a new project with react-native init ProjectName command, it always starts with this error,

Loading dependency graph, done.
error: bundling failed: index.js: "" is not a valid identifer name
 BUNDLE [android, dev] ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1), failed.

:: ffff: 127.0.0.1 - - [Nov 05, 2019: 12: 21: 47 +0000] "GET /index.bundle?platform=android&dev=true&minify=false HTTP / 1.1" 500
- "-" "okhttp / 3.12.1

Already tried to create a new project and gives the same error, tried to run the command react-native start --reset-cache and the error persists, tried to move the folder App.js to a src but the error persists,
because no files have been modified, just try starting a new project,I do not know what do.

React Native version Windows:

  info Fetching system and libraries information...
System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
    Memory: 1.12 GB / 7.91 GB
  Binaries:
    Node: 10.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.16.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
  SDKs:
    Android SDK:
      API Levels: 22, 23, 25, 28, 29
      Build Tools: 23.0.1, 25.0.3, 28.0.3, 29.0.1, 29.0.2
      System Images: android-22 | ARM EABI v7a, android-22 | Google APIs ARM EABI v7a, android-22 | Google APIs Intel x86 
Atom, android-22 | Google APIs Intel x86 Atom_64, android-23 | ARM EABI v7a, android-23 | Google APIs ARM EABI v7a, android-25 | Google APIs ARM 64 v8a, android-25 | Google APIs ARM EABI v7a, android-27 | Google APIs Intel x86 Atom, android-27 
| Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: Version  3.5.0.0 AI-191.8026.42.35.5791312
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.4 => 0.61.4

React-Native Version iOs

System:
    OS: macOS High Sierra 10.13.6
    CPU: (8) x64 Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz
    Memory: 23.43 MB / 4.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    Android SDK:
      API Levels: 29
      Build Tools: 29.0.2
      System Images: android-29 | Google APIs Intel x86 Atom
  IDEs:
    Android Studio: 3.2 AI-181.5540.7.32.5056338
    Xcode: 10.1/10B61 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.4 => 0.61.4 
  npmGlobalPackages:
    react-native-cli: 2.0.1

Steps To Reproduce

1.react-native init nameProject
2.react-native run-android

that worked, it was normal within two days

Snack, code example, screenshot, or link to a repository:
https://github.com/Andersonfrfilho/teste03.git

image the problem in windows.
https://ibb.co/rvDjQz9

image the new project with comando react-native init teste01 using in iOs.
https://ibb.co/xCd2v3k

Repository reproduce the project in Windows.

https://github.com/Andersonfrfilho/teste03.git

Repository reproduce the project in iOs.

https://github.com/Andersonfrfilho/teste01

Code archive

index.js

import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
AppRegistry.registerComponent(appName, () => App);

App.js

/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow
 */

import React from 'react';
import {
  SafeAreaView,
  StyleSheet,
  ScrollView,
  View,
  Text,
  StatusBar,
} from 'react-native';

import {
  Header,
  LearnMoreLinks,
  Colors,
  DebugInstructions,
  ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen';

const App: () => React$Node = () => {
  return (
    <>
      <StatusBar barStyle="dark-content" />
      <SafeAreaView>
        <ScrollView
          contentInsetAdjustmentBehavior="automatic"
          style={styles.scrollView}>
          <Header />
          {global.HermesInternal == null ? null : (
            <View style={styles.engine}>
              <Text style={styles.footer}>Engine: Hermes</Text>
            </View>
          )}
          <View style={styles.body}>
            <View style={styles.sectionContainer}>
              <Text style={styles.sectionTitle}>Step One</Text>
              <Text style={styles.sectionDescription}>
                Edit <Text style={styles.highlight}>App.js</Text> to change this
                screen and then come back to see your edits.
              </Text>
            </View>
            <View style={styles.sectionContainer}>
              <Text style={styles.sectionTitle}>See Your Changes</Text>
              <Text style={styles.sectionDescription}>
                <ReloadInstructions />
              </Text>
            </View>
            <View style={styles.sectionContainer}>
              <Text style={styles.sectionTitle}>Debug</Text>
              <Text style={styles.sectionDescription}>
                <DebugInstructions />
              </Text>
            </View>
            <View style={styles.sectionContainer}>
              <Text style={styles.sectionTitle}>Learn More</Text>
              <Text style={styles.sectionDescription}>
                Read the docs to discover what to do next:
              </Text>
            </View>
            <LearnMoreLinks />
          </View>
        </ScrollView>
      </SafeAreaView>
    </>
  );
};

const styles = StyleSheet.create({
  scrollView: {
    backgroundColor: Colors.lighter,
  },
  engine: {
    position: 'absolute',
    right: 0,
  },
  body: {
    backgroundColor: Colors.white,
  },
  sectionContainer: {
    marginTop: 32,
    paddingHorizontal: 24,
  },
  sectionTitle: {
    fontSize: 24,
    fontWeight: '600',
    color: Colors.black,
  },
  sectionDescription: {
    marginTop: 8,
    fontSize: 18,
    fontWeight: '400',
    color: Colors.dark,
  },
  highlight: {
    fontWeight: '700',
  },
  footer: {
    color: Colors.dark,
    fontSize: 12,
    fontWeight: '600',
    padding: 4,
    paddingRight: 12,
    textAlign: 'right',
  },
});

export default App;
@maxoyano
Copy link

maxoyano commented Nov 5, 2019

Same issue here

@YukihiroYamashita
Copy link

Same issue too

@react-native-bot react-native-bot added the Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. label Nov 5, 2019
@caglardurmus
Copy link

Same issue too

1 similar comment
@tdrapied
Copy link

tdrapied commented Nov 5, 2019

Same issue too

@barinascode
Copy link

Same issue :v

@vinaygoyal20
Copy link

Same issue:v

@daniel4ntunes
Copy link

Same issue too

@jjv360
Copy link

jjv360 commented Nov 5, 2019

Me too :( but on an existing project after running yarn upgrade

@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the React Native version: section?

If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.

@beetlebum
Copy link

Noticed babel and babel runtime outdated

  1. Did a yarn upgrade
  2. Closed the metro terminal and react-native run-ios
  3. The error above happened.

Reverted the yarn.lock file, yarn install, close the metro terminal window, did run-ios again and the error was gone. Bear in mind a few different babel dependencies are upgraded along with the core package.

Hope this helps.

@anchengjian
Copy link

Same issue here
npx react-native info

info Fetching system and libraries information...
System:
    OS: macOS 10.15.1
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 1.73 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
  SDKs:
    iOS SDK:
      Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5791312
    Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.3 => 0.61.3

@caglardurmus
Copy link

Same issue init expo project too

@caotsinghua
Copy link

same issue when npx react-native init AwesomeTSProject --template react-native-template-typescript

@hamzaehsan95
Copy link

Same issue started while init a new project.

@boaz-lachman
Copy link

+1

@yanavozniuk
Copy link

The same problem :(

@DavraYoung
Copy link

Same issue,
Removing node-modules doesn't help,
System:
OS: Windows 10
CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Memory: 7.85 GB / 15.93 GB
Binaries:
Node: 10.16.3 - C:\Program Files\nodejs\node.EXE
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5791312
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4

@tushar04
Copy link

tushar04 commented Nov 5, 2019

Same issue

System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 21.04 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.12.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
Android SDK:
API Levels: 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
npmGlobalPackages:
react-native-cli: 2.0.1

@szymonjanota
Copy link

Same issue here

@ProMasoud
Copy link

Same issue here
npx react-native info

System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-4670S CPU @ 3.10GHz
    Memory: 3.45 GB / 15.91 GB
  Binaries:
    Node: 10.16.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
  SDKs:
    Android SDK:
      API Levels: 27, 28
      Build Tools: 28.0.3, 29.0.2
      System Images: android-29 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: Version  3.5.0.0 AI-191.8026.42.35.5900203
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.4 => 0.61.4

@arthedza
Copy link

arthedza commented Nov 5, 2019

The same

@ghost
Copy link

ghost commented Nov 5, 2019

Same issue faced, cloned the repository today. Working for everyone else, removed node modules and Pods too, didn't help. I think its the babel-core version issue.

react-native: 0.60.4
babel-core: 7.7.0

@subhendukundu
Copy link

Same issue, downgraded to 0.61.3, 0.61.2, 0.61.1, 0.61.0 still not working.

@Arjanvanmaren
Copy link

same issue

@m1skou
Copy link

m1skou commented Nov 5, 2019

Same issue here

@mica83
Copy link

mica83 commented Nov 5, 2019

same issue

1 similar comment
@gitathrun
Copy link

same issue

@jjv360
Copy link

jjv360 commented Nov 5, 2019

Can you explain me how to use yarn ?

I guess it's the same for npm if you delete node_modules and package-lock.json, and run npm install

@amiralis1365
Copy link

Can you explain me how to use yarn ?

I guess it's the same for npm if you delete node_modules and package-lock.json, and run npm install

not working

@srdrkrks
Copy link

srdrkrks commented Nov 5, 2019

It seems to be it solved. You can create new projects without errors.

@nicolo-ribaudo
Copy link

You can try to force it by adding "@babel/types": "^7.7.1" to your Dev dependencies.

After that it works, you can remove it.

@JoeLeung32
Copy link

Can you explain me how to use yarn ?

I guess it's the same for npm if you delete node_modules and package-lock.json, and run npm install

not working

Take a coffee break, I got success after this reverts (#27120 (comment)) around 8 mins.

@relign
Copy link

relign commented Nov 5, 2019

me too, + 1

@amiralis1365
Copy link

Can you explain me how to use yarn ?

I guess it's the same for npm if you delete node_modules and package-lock.json, and run npm install

not working

Take a coffee break, I got success after this reverts (#27120 (comment)) around 8 mins.

tnx for suggestion, it worked after a coffee break :D

@pglejzer
Copy link

pglejzer commented Nov 5, 2019

yea, it's working now. Thanks, @nicolo-ribaudo for the fast reaction!

@amiralis1365
Copy link

drinking a coffee worked for me. tnx JoeLeung32

@mrouhi13
Copy link

mrouhi13 commented Nov 5, 2019

Can you explain me how to use yarn ?

I guess it's the same for npm if you delete node_modules and package-lock.json, and run npm install

Worked for me, Thanks @jjv360

@ardencaliskaner
Copy link

Delete node_modules and yarn.lock then run yarn install with below configuration

"devDependencies": {
"@babel/core": "7.7.0",
"@babel/runtime": "7.7.0",
"@react-native-community/eslint-config": "0.0.5",
"babel-jest": "24.9.0",
"eslint": "6.6.0",
"jest": "24.9.0",
"metro-react-native-babel-preset": "0.57.0",
"react-test-renderer": "16.9.0"
},

Works !!!

@labinotbjrm
Copy link

Delete node_modules and package-lock.json, erase trash, close metro bundler and run npm install.
For me, it worked this way.

@Andersonfrfilho
Copy link
Author

Works !!!
Thx, it worked too.

@Tracklous
Copy link

imagen **Remove all ^ and works fine! :D** imagen

WORK

Thanks... It is working now :)

@hannansaifullah95
Copy link

hannansaifullah95 commented Nov 6, 2019

Delete node_modules and yarn.lock then run yarn install with below configuration

"devDependencies": {
"@babel/core": "7.7.0",
"@babel/runtime": "7.7.0",
"@react-native-community/eslint-config": "0.0.5",
"babel-jest": "24.9.0",
"eslint": "6.6.0",
"jest": "24.9.0",
"metro-react-native-babel-preset": "0.57.0",
"react-test-renderer": "16.9.0"
},

Works !!!

It worked !!
Thanks. 😄

bors bot added a commit to option-t/option-t that referenced this issue Nov 6, 2019
497: Bump @babel/preset-env from 7.6.3 to 7.7.1 r=saneyuki a=dependabot-preview[bot]

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.1.
<details>
<summary>Release notes</summary>

*Sourced from [@babel/preset-env's releases](https://github.com/babel/babel/releases).*

> ## v7.7.1 (2019-11-05)
> 
> This release fixes two regression introduced in v7.7.0: [facebook/react-native#27120](https://github-redirect.dependabot.com/facebook/react-native/issues/27120) and https://github-redirect.dependabot.com/babel/babel/issues/10646.
> 
> Thanks Archer ([@&#8203;love2me](https://github.com/love2me)) for their first PR!
> 
> #### 🐛 Bug Fix
> * `babel-types`
>   * [#10650](https://github-redirect.dependabot.com/babel/babel/pull/10650) Revert "throw a TypeError if identifier validation fails ([#10621](https://github-redirect.dependabot.com/babel/babel/issues/10621))" ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-preset-env`
>   * [#10649](https://github-redirect.dependabot.com/babel/babel/pull/10649) Fix(babel-preset-env): check api.caller is a function to avoid to thr… ([@&#8203;love2me](https://github.com/love2me))
> 
> #### Committers: 2
> - Archer ([@&#8203;love2me](https://github.com/love2me))
> - Nicolò Ribaudo ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> 
> 
> ## v7.7.0 (2019-11-05)
> 
> #### 👓 Spec Compliance
> * `babel-types`
>   * [#10621](https://github-redirect.dependabot.com/babel/babel/pull/10621) throw a TypeError if identifier validation fails. ([@&#8203;dentrado](https://github.com/dentrado))
> * `babel-parser`
>   * [#10559](https://github-redirect.dependabot.com/babel/babel/pull/10559) fix: Exclude catch clause from let identifier error. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
>   * [#10567](https://github-redirect.dependabot.com/babel/babel/pull/10567) [parser] Exception to 8 and 9 in tagged template. ([@&#8203;pnowak](https://github.com/pnowak))
>   * [#10532](https://github-redirect.dependabot.com/babel/babel/pull/10532) Allow duplicate `__proto__` keys in patterns, simple case ([#6705](https://github-redirect.dependabot.com/babel/babel/issues/6705)). ([@&#8203;alejo90](https://github.com/alejo90))
> 
> #### 🚀 New Feature
> * `babel-generator`, `babel-helper-create-class-features-plugin`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types`
>   * [#10545](https://github-redirect.dependabot.com/babel/babel/pull/10545) Add support for TS declare modifier on fields. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`, `babel-parser`, `babel-preset-typescript`
>   * [#10363](https://github-redirect.dependabot.com/babel/babel/pull/10363) @babel/parser error recovery. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`
>   * [#10599](https://github-redirect.dependabot.com/babel/babel/pull/10599) Add support for .cjs config files. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10501](https://github-redirect.dependabot.com/babel/babel/pull/10501) Add support for babel.config.json. ([@&#8203;devongovett](https://github.com/devongovett))
>   * [#10361](https://github-redirect.dependabot.com/babel/babel/pull/10361) feat: if code frame error is on a single line, highlight the whole path. ([@&#8203;SimenB](https://github.com/SimenB))
> * `babel-plugin-syntax-top-level-await`, `babel-preset-env`
>   * [#10573](https://github-redirect.dependabot.com/babel/babel/pull/10573) Create @babel/plugin-syntax-top-level-await. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx`, `babel-preset-react`
>   * [#10572](https://github-redirect.dependabot.com/babel/babel/pull/10572) [transform-react-jsx] Add useSpread option to transform JSX. ([@&#8203;ivandevp](https://github.com/ivandevp))
> * `babel-generator`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-flow`, `babel-types`
>   * [#10344](https://github-redirect.dependabot.com/babel/babel/pull/10344) Flow enums parsing. ([@&#8203;gkz](https://github.com/gkz))
> * `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env`
>   * [#10477](https://github-redirect.dependabot.com/babel/babel/pull/10477) Changes UMD callsite to be more likely to pass in the intended object.. ([@&#8203;MicahZoltu](https://github.com/MicahZoltu))
> * `babel-parser`
>   * [#10449](https://github-redirect.dependabot.com/babel/babel/pull/10449) Create parser plugin "topLevelAwait". ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10521](https://github-redirect.dependabot.com/babel/babel/pull/10521) [parser] Enable "exportNamespaceFrom" by default. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10483](https://github-redirect.dependabot.com/babel/babel/pull/10483) [parser] Add support for private fields in TypeScript. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-generator`, `babel-parser`, `babel-types`
>   * [#10543](https://github-redirect.dependabot.com/babel/babel/pull/10543) add assertions signature for TypeScript. ([@&#8203;tanhauhau](https://github.com/tanhauhau))
></tr></table> ... (truncated)
</details>
<details>
<summary>Changelog</summary>

*Sourced from [@babel/preset-env's changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md).*

> ## v7.7.1 (2019-11-05)
> 
> #### 🐛 Bug Fix
> * `babel-types`
>   * [#10650](https://github-redirect.dependabot.com/babel/babel/pull/10650) Revert "throw a TypeError if identifier validation fails ([#10621](https://github-redirect.dependabot.com/babel/babel/issues/10621))" ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-preset-env`
>   * [#10649](https://github-redirect.dependabot.com/babel/babel/pull/10649) Fix(babel-preset-env): check api.caller is a function to avoid to thr… ([@&#8203;love2me](https://github.com/love2me))
> 
> ## v7.7.0 (2019-11-05)
> 
> #### 👓 Spec Compliance
> * `babel-types`
>   * [#10621](https://github-redirect.dependabot.com/babel/babel/pull/10621) throw a TypeError if identifier validation fails. ([@&#8203;dentrado](https://github.com/dentrado))
> * `babel-parser`
>   * [#10559](https://github-redirect.dependabot.com/babel/babel/pull/10559) fix: Exclude catch clause from let identifier error. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
>   * [#10567](https://github-redirect.dependabot.com/babel/babel/pull/10567) [parser] Exception to 8 and 9 in tagged template. ([@&#8203;pnowak](https://github.com/pnowak))
>   * [#10532](https://github-redirect.dependabot.com/babel/babel/pull/10532) Allow duplicate __proto__ keys in patterns, simple case ([#6705](https://github-redirect.dependabot.com/babel/babel/issues/6705)). ([@&#8203;alejo90](https://github.com/alejo90))
> 
> #### 🚀 New Feature
> * `babel-generator`, `babel-helper-create-class-features-plugin`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types`
>   * [#10545](https://github-redirect.dependabot.com/babel/babel/pull/10545) Add support for TS declare modifier on fields. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`, `babel-parser`, `babel-preset-typescript`
>   * [#10363](https://github-redirect.dependabot.com/babel/babel/pull/10363) @babel/parser error recovery. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`
>   * [#10599](https://github-redirect.dependabot.com/babel/babel/pull/10599) Add support for .cjs config files. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10501](https://github-redirect.dependabot.com/babel/babel/pull/10501) Add support for babel.config.json. ([@&#8203;devongovett](https://github.com/devongovett))
>   * [#10361](https://github-redirect.dependabot.com/babel/babel/pull/10361) feat: if code frame error is on a single line, highlight the whole path. ([@&#8203;SimenB](https://github.com/SimenB))
> * `babel-plugin-syntax-top-level-await`, `babel-preset-env`
>   * [#10573](https://github-redirect.dependabot.com/babel/babel/pull/10573) Create @babel/plugin-syntax-top-level-await. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx`, `babel-preset-react`
>   * [#10572](https://github-redirect.dependabot.com/babel/babel/pull/10572) [transform-react-jsx] Add useSpread option to transform JSX. ([@&#8203;ivandevp](https://github.com/ivandevp))
> * `babel-generator`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-flow`, `babel-types`
>   * [#10344](https://github-redirect.dependabot.com/babel/babel/pull/10344) Flow enums parsing. ([@&#8203;gkz](https://github.com/gkz))
> * `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env`
>   * [#10477](https://github-redirect.dependabot.com/babel/babel/pull/10477) Changes UMD callsite to be more likely to pass in the intended object.. ([@&#8203;MicahZoltu](https://github.com/MicahZoltu))
> * `babel-parser`
>   * [#10449](https://github-redirect.dependabot.com/babel/babel/pull/10449) Create parser plugin "topLevelAwait". ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10521](https://github-redirect.dependabot.com/babel/babel/pull/10521) [parser] Enable "exportNamespaceFrom" by default. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10483](https://github-redirect.dependabot.com/babel/babel/pull/10483) [parser] Add support for private fields in TypeScript. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-generator`, `babel-parser`, `babel-types`
>   * [#10543](https://github-redirect.dependabot.com/babel/babel/pull/10543) add assertions signature for TypeScript. ([@&#8203;tanhauhau](https://github.com/tanhauhau))
> * `babel-cli`, `babel-register`
>   * [#8622](https://github-redirect.dependabot.com/babel/babel/pull/8622) Make dir for babel --out-file. ([@&#8203;TrySound](https://github.com/TrySound))
> * `babel-cli`
>   * [#10399](https://github-redirect.dependabot.com/babel/babel/pull/10399) Closes [#8326](https://github-redirect.dependabot.com/babel/babel/issues/8326), add back --quiet option.. ([@&#8203;chris-peng-1244](https://github.com/chris-peng-1244))
> 
> #### 🐛 Bug Fix
> * `babel-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-function-sent`, `babel-preset-env`
>   * [#10422](https://github-redirect.dependabot.com/babel/babel/pull/10422) Correctly delegate .return() in async generator. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs`
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`42c8e0f`](babel/babel@42c8e0f) v7.7.1
- [`bf48fca`](babel/babel@bf48fca) Revert "throw a TypeError if identifier validation fails ([#106](https://github-redirect.dependabot.com/babel/babel/issues/106)… ([#10650](https://github-redirect.dependabot.com/babel/babel/issues/10650))
- [`f8eb290`](babel/babel@f8eb290) Fix(babel-preset-env): check api.caller is a function to avoid… ([#10649](https://github-redirect.dependabot.com/babel/babel/issues/10649))
- [`5f2240e`](babel/babel@5f2240e) Add v7.7.0 to CHANGELOG.md [skip ci]
- [`97faa83`](babel/babel@97faa83) v7.7.0
- [`cdbffe3`](babel/babel@cdbffe3) Remove --require-scripts from publish-ci [skip ci]
- [`b114486`](babel/babel@b114486) Traverse performance ([#10480](https://github-redirect.dependabot.com/babel/babel/issues/10480))
- [`e9c1bce`](babel/babel@e9c1bce) Add support for TS declare modifier on fields ([#10545](https://github-redirect.dependabot.com/babel/babel/issues/10545))
- [`87feda7`](babel/babel@87feda7) @babel/parser error recovery ([#10363](https://github-redirect.dependabot.com/babel/babel/issues/10363))
- [`d25262e`](babel/babel@d25262e) Correctly delegate .return() in async generator ([#10422](https://github-redirect.dependabot.com/babel/babel/issues/10422))
- Additional commits viewable in [compare view](babel/babel@v7.6.3...v7.7.1)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@babel/preset-env&package-manager=npm_and_yarn&previous-version=7.6.3&new-version=7.7.1)](https://dependabot.com/compatibility-score.html?dependency-name=@babel/preset-env&package-manager=npm_and_yarn&previous-version=7.6.3&new-version=7.7.1)

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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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 the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>



Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
bors bot added a commit to option-t/option-t that referenced this issue Nov 6, 2019
497: Bump @babel/preset-env from 7.6.3 to 7.7.1 r=saneyuki a=dependabot-preview[bot]

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.1.
<details>
<summary>Release notes</summary>

*Sourced from [@babel/preset-env's releases](https://github.com/babel/babel/releases).*

> ## v7.7.1 (2019-11-05)
> 
> This release fixes two regression introduced in v7.7.0: [facebook/react-native#27120](https://github-redirect.dependabot.com/facebook/react-native/issues/27120) and https://github-redirect.dependabot.com/babel/babel/issues/10646.
> 
> Thanks Archer ([@&#8203;love2me](https://github.com/love2me)) for their first PR!
> 
> #### 🐛 Bug Fix
> * `babel-types`
>   * [#10650](https://github-redirect.dependabot.com/babel/babel/pull/10650) Revert "throw a TypeError if identifier validation fails ([#10621](https://github-redirect.dependabot.com/babel/babel/issues/10621))" ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-preset-env`
>   * [#10649](https://github-redirect.dependabot.com/babel/babel/pull/10649) Fix(babel-preset-env): check api.caller is a function to avoid to thr… ([@&#8203;love2me](https://github.com/love2me))
> 
> #### Committers: 2
> - Archer ([@&#8203;love2me](https://github.com/love2me))
> - Nicolò Ribaudo ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> 
> 
> ## v7.7.0 (2019-11-05)
> 
> #### 👓 Spec Compliance
> * `babel-types`
>   * [#10621](https://github-redirect.dependabot.com/babel/babel/pull/10621) throw a TypeError if identifier validation fails. ([@&#8203;dentrado](https://github.com/dentrado))
> * `babel-parser`
>   * [#10559](https://github-redirect.dependabot.com/babel/babel/pull/10559) fix: Exclude catch clause from let identifier error. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
>   * [#10567](https://github-redirect.dependabot.com/babel/babel/pull/10567) [parser] Exception to 8 and 9 in tagged template. ([@&#8203;pnowak](https://github.com/pnowak))
>   * [#10532](https://github-redirect.dependabot.com/babel/babel/pull/10532) Allow duplicate `__proto__` keys in patterns, simple case ([#6705](https://github-redirect.dependabot.com/babel/babel/issues/6705)). ([@&#8203;alejo90](https://github.com/alejo90))
> 
> #### 🚀 New Feature
> * `babel-generator`, `babel-helper-create-class-features-plugin`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types`
>   * [#10545](https://github-redirect.dependabot.com/babel/babel/pull/10545) Add support for TS declare modifier on fields. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`, `babel-parser`, `babel-preset-typescript`
>   * [#10363](https://github-redirect.dependabot.com/babel/babel/pull/10363) @babel/parser error recovery. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`
>   * [#10599](https://github-redirect.dependabot.com/babel/babel/pull/10599) Add support for .cjs config files. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10501](https://github-redirect.dependabot.com/babel/babel/pull/10501) Add support for babel.config.json. ([@&#8203;devongovett](https://github.com/devongovett))
>   * [#10361](https://github-redirect.dependabot.com/babel/babel/pull/10361) feat: if code frame error is on a single line, highlight the whole path. ([@&#8203;SimenB](https://github.com/SimenB))
> * `babel-plugin-syntax-top-level-await`, `babel-preset-env`
>   * [#10573](https://github-redirect.dependabot.com/babel/babel/pull/10573) Create @babel/plugin-syntax-top-level-await. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx`, `babel-preset-react`
>   * [#10572](https://github-redirect.dependabot.com/babel/babel/pull/10572) [transform-react-jsx] Add useSpread option to transform JSX. ([@&#8203;ivandevp](https://github.com/ivandevp))
> * `babel-generator`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-flow`, `babel-types`
>   * [#10344](https://github-redirect.dependabot.com/babel/babel/pull/10344) Flow enums parsing. ([@&#8203;gkz](https://github.com/gkz))
> * `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env`
>   * [#10477](https://github-redirect.dependabot.com/babel/babel/pull/10477) Changes UMD callsite to be more likely to pass in the intended object.. ([@&#8203;MicahZoltu](https://github.com/MicahZoltu))
> * `babel-parser`
>   * [#10449](https://github-redirect.dependabot.com/babel/babel/pull/10449) Create parser plugin "topLevelAwait". ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10521](https://github-redirect.dependabot.com/babel/babel/pull/10521) [parser] Enable "exportNamespaceFrom" by default. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10483](https://github-redirect.dependabot.com/babel/babel/pull/10483) [parser] Add support for private fields in TypeScript. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-generator`, `babel-parser`, `babel-types`
>   * [#10543](https://github-redirect.dependabot.com/babel/babel/pull/10543) add assertions signature for TypeScript. ([@&#8203;tanhauhau](https://github.com/tanhauhau))
></tr></table> ... (truncated)
</details>
<details>
<summary>Changelog</summary>

*Sourced from [@babel/preset-env's changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md).*

> ## v7.7.1 (2019-11-05)
> 
> #### 🐛 Bug Fix
> * `babel-types`
>   * [#10650](https://github-redirect.dependabot.com/babel/babel/pull/10650) Revert "throw a TypeError if identifier validation fails ([#10621](https://github-redirect.dependabot.com/babel/babel/issues/10621))" ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-preset-env`
>   * [#10649](https://github-redirect.dependabot.com/babel/babel/pull/10649) Fix(babel-preset-env): check api.caller is a function to avoid to thr… ([@&#8203;love2me](https://github.com/love2me))
> 
> ## v7.7.0 (2019-11-05)
> 
> #### 👓 Spec Compliance
> * `babel-types`
>   * [#10621](https://github-redirect.dependabot.com/babel/babel/pull/10621) throw a TypeError if identifier validation fails. ([@&#8203;dentrado](https://github.com/dentrado))
> * `babel-parser`
>   * [#10559](https://github-redirect.dependabot.com/babel/babel/pull/10559) fix: Exclude catch clause from let identifier error. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
>   * [#10567](https://github-redirect.dependabot.com/babel/babel/pull/10567) [parser] Exception to 8 and 9 in tagged template. ([@&#8203;pnowak](https://github.com/pnowak))
>   * [#10532](https://github-redirect.dependabot.com/babel/babel/pull/10532) Allow duplicate __proto__ keys in patterns, simple case ([#6705](https://github-redirect.dependabot.com/babel/babel/issues/6705)). ([@&#8203;alejo90](https://github.com/alejo90))
> 
> #### 🚀 New Feature
> * `babel-generator`, `babel-helper-create-class-features-plugin`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types`
>   * [#10545](https://github-redirect.dependabot.com/babel/babel/pull/10545) Add support for TS declare modifier on fields. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`, `babel-parser`, `babel-preset-typescript`
>   * [#10363](https://github-redirect.dependabot.com/babel/babel/pull/10363) @babel/parser error recovery. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`
>   * [#10599](https://github-redirect.dependabot.com/babel/babel/pull/10599) Add support for .cjs config files. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10501](https://github-redirect.dependabot.com/babel/babel/pull/10501) Add support for babel.config.json. ([@&#8203;devongovett](https://github.com/devongovett))
>   * [#10361](https://github-redirect.dependabot.com/babel/babel/pull/10361) feat: if code frame error is on a single line, highlight the whole path. ([@&#8203;SimenB](https://github.com/SimenB))
> * `babel-plugin-syntax-top-level-await`, `babel-preset-env`
>   * [#10573](https://github-redirect.dependabot.com/babel/babel/pull/10573) Create @babel/plugin-syntax-top-level-await. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx`, `babel-preset-react`
>   * [#10572](https://github-redirect.dependabot.com/babel/babel/pull/10572) [transform-react-jsx] Add useSpread option to transform JSX. ([@&#8203;ivandevp](https://github.com/ivandevp))
> * `babel-generator`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-flow`, `babel-types`
>   * [#10344](https://github-redirect.dependabot.com/babel/babel/pull/10344) Flow enums parsing. ([@&#8203;gkz](https://github.com/gkz))
> * `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env`
>   * [#10477](https://github-redirect.dependabot.com/babel/babel/pull/10477) Changes UMD callsite to be more likely to pass in the intended object.. ([@&#8203;MicahZoltu](https://github.com/MicahZoltu))
> * `babel-parser`
>   * [#10449](https://github-redirect.dependabot.com/babel/babel/pull/10449) Create parser plugin "topLevelAwait". ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10521](https://github-redirect.dependabot.com/babel/babel/pull/10521) [parser] Enable "exportNamespaceFrom" by default. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10483](https://github-redirect.dependabot.com/babel/babel/pull/10483) [parser] Add support for private fields in TypeScript. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-generator`, `babel-parser`, `babel-types`
>   * [#10543](https://github-redirect.dependabot.com/babel/babel/pull/10543) add assertions signature for TypeScript. ([@&#8203;tanhauhau](https://github.com/tanhauhau))
> * `babel-cli`, `babel-register`
>   * [#8622](https://github-redirect.dependabot.com/babel/babel/pull/8622) Make dir for babel --out-file. ([@&#8203;TrySound](https://github.com/TrySound))
> * `babel-cli`
>   * [#10399](https://github-redirect.dependabot.com/babel/babel/pull/10399) Closes [#8326](https://github-redirect.dependabot.com/babel/babel/issues/8326), add back --quiet option.. ([@&#8203;chris-peng-1244](https://github.com/chris-peng-1244))
> 
> #### 🐛 Bug Fix
> * `babel-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-function-sent`, `babel-preset-env`
>   * [#10422](https://github-redirect.dependabot.com/babel/babel/pull/10422) Correctly delegate .return() in async generator. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs`
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`42c8e0f`](babel/babel@42c8e0f) v7.7.1
- [`bf48fca`](babel/babel@bf48fca) Revert "throw a TypeError if identifier validation fails ([#106](https://github-redirect.dependabot.com/babel/babel/issues/106)… ([#10650](https://github-redirect.dependabot.com/babel/babel/issues/10650))
- [`f8eb290`](babel/babel@f8eb290) Fix(babel-preset-env): check api.caller is a function to avoid… ([#10649](https://github-redirect.dependabot.com/babel/babel/issues/10649))
- [`5f2240e`](babel/babel@5f2240e) Add v7.7.0 to CHANGELOG.md [skip ci]
- [`97faa83`](babel/babel@97faa83) v7.7.0
- [`cdbffe3`](babel/babel@cdbffe3) Remove --require-scripts from publish-ci [skip ci]
- [`b114486`](babel/babel@b114486) Traverse performance ([#10480](https://github-redirect.dependabot.com/babel/babel/issues/10480))
- [`e9c1bce`](babel/babel@e9c1bce) Add support for TS declare modifier on fields ([#10545](https://github-redirect.dependabot.com/babel/babel/issues/10545))
- [`87feda7`](babel/babel@87feda7) @babel/parser error recovery ([#10363](https://github-redirect.dependabot.com/babel/babel/issues/10363))
- [`d25262e`](babel/babel@d25262e) Correctly delegate .return() in async generator ([#10422](https://github-redirect.dependabot.com/babel/babel/issues/10422))
- Additional commits viewable in [compare view](babel/babel@v7.6.3...v7.7.1)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@babel/preset-env&package-manager=npm_and_yarn&previous-version=7.6.3&new-version=7.7.1)](https://dependabot.com/compatibility-score.html?dependency-name=@babel/preset-env&package-manager=npm_and_yarn&previous-version=7.6.3&new-version=7.7.1)

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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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 the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>



498: Bump @babel/cli from 7.6.4 to 7.7.0 r=saneyuki a=dependabot-preview[bot]

Bumps [@babel/cli](https://github.com/babel/babel) from 7.6.4 to 7.7.0.
<details>
<summary>Release notes</summary>

*Sourced from [@babel/cli's releases](https://github.com/babel/babel/releases).*

> 
> ## v7.7.0 (2019-11-05)
> 
> #### 👓 Spec Compliance
> * `babel-types`
>   * [#10621](https://github-redirect.dependabot.com/babel/babel/pull/10621) throw a TypeError if identifier validation fails. ([@&#8203;dentrado](https://github.com/dentrado))
> * `babel-parser`
>   * [#10559](https://github-redirect.dependabot.com/babel/babel/pull/10559) fix: Exclude catch clause from let identifier error. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
>   * [#10567](https://github-redirect.dependabot.com/babel/babel/pull/10567) [parser] Exception to 8 and 9 in tagged template. ([@&#8203;pnowak](https://github.com/pnowak))
>   * [#10532](https://github-redirect.dependabot.com/babel/babel/pull/10532) Allow duplicate `__proto__` keys in patterns, simple case ([#6705](https://github-redirect.dependabot.com/babel/babel/issues/6705)). ([@&#8203;alejo90](https://github.com/alejo90))
> 
> #### 🚀 New Feature
> * `babel-generator`, `babel-helper-create-class-features-plugin`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types`
>   * [#10545](https://github-redirect.dependabot.com/babel/babel/pull/10545) Add support for TS declare modifier on fields. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`, `babel-parser`, `babel-preset-typescript`
>   * [#10363](https://github-redirect.dependabot.com/babel/babel/pull/10363) @babel/parser error recovery. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`
>   * [#10599](https://github-redirect.dependabot.com/babel/babel/pull/10599) Add support for .cjs config files. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10501](https://github-redirect.dependabot.com/babel/babel/pull/10501) Add support for babel.config.json. ([@&#8203;devongovett](https://github.com/devongovett))
>   * [#10361](https://github-redirect.dependabot.com/babel/babel/pull/10361) feat: if code frame error is on a single line, highlight the whole path. ([@&#8203;SimenB](https://github.com/SimenB))
> * `babel-plugin-syntax-top-level-await`, `babel-preset-env`
>   * [#10573](https://github-redirect.dependabot.com/babel/babel/pull/10573) Create @babel/plugin-syntax-top-level-await. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx`, `babel-preset-react`
>   * [#10572](https://github-redirect.dependabot.com/babel/babel/pull/10572) [transform-react-jsx] Add useSpread option to transform JSX. ([@&#8203;ivandevp](https://github.com/ivandevp))
> * `babel-generator`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-flow`, `babel-types`
>   * [#10344](https://github-redirect.dependabot.com/babel/babel/pull/10344) Flow enums parsing. ([@&#8203;gkz](https://github.com/gkz))
> * `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env`
>   * [#10477](https://github-redirect.dependabot.com/babel/babel/pull/10477) Changes UMD callsite to be more likely to pass in the intended object.. ([@&#8203;MicahZoltu](https://github.com/MicahZoltu))
> * `babel-parser`
>   * [#10449](https://github-redirect.dependabot.com/babel/babel/pull/10449) Create parser plugin "topLevelAwait". ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10521](https://github-redirect.dependabot.com/babel/babel/pull/10521) [parser] Enable "exportNamespaceFrom" by default. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10483](https://github-redirect.dependabot.com/babel/babel/pull/10483) [parser] Add support for private fields in TypeScript. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-generator`, `babel-parser`, `babel-types`
>   * [#10543](https://github-redirect.dependabot.com/babel/babel/pull/10543) add assertions signature for TypeScript. ([@&#8203;tanhauhau](https://github.com/tanhauhau))
> * `babel-cli`, `babel-register`
>   * [#8622](https://github-redirect.dependabot.com/babel/babel/pull/8622) Make dir for babel --out-file. ([@&#8203;TrySound](https://github.com/TrySound))
> * `babel-cli`
>   * [#10399](https://github-redirect.dependabot.com/babel/babel/pull/10399) Closes [#8326](https://github-redirect.dependabot.com/babel/babel/issues/8326), add back --quiet option.. ([@&#8203;chris-peng-1244](https://github.com/chris-peng-1244))
> 
> #### 🐛 Bug Fix
> * `babel-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-function-sent`, `babel-preset-env`
>   * [#10422](https://github-redirect.dependabot.com/babel/babel/pull/10422) Correctly delegate .return() in async generator. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs`
>   * [#10628](https://github-redirect.dependabot.com/babel/babel/pull/10628) Don't throw when destructuring into a var named as an import. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-plugin-transform-modules-systemjs`
>   * [#10638](https://github-redirect.dependabot.com/babel/babel/pull/10638) fix: remove ExportNamedDeclaration when the specifier is empty. ([@&#8203;JLHwung](https://github.com/JLHwung))
> * `babel-parser`
>   * [#10631](https://github-redirect.dependabot.com/babel/babel/pull/10631) [TS] Parse calls with type args in optional chains. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10607](https://github-redirect.dependabot.com/babel/babel/pull/10607) fixed missing errors on assignment pattern in object expression. ([@&#8203;vivek12345](https://github.com/vivek12345))
>   * [#10594](https://github-redirect.dependabot.com/babel/babel/pull/10594) [parser] Parse only modifiers of actual methods. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
></tr></table> ... (truncated)
</details>
<details>
<summary>Changelog</summary>

*Sourced from [@babel/cli's changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md).*

> ## v7.7.0 (2019-11-05)
> 
> #### 👓 Spec Compliance
> * `babel-types`
>   * [#10621](https://github-redirect.dependabot.com/babel/babel/pull/10621) throw a TypeError if identifier validation fails. ([@&#8203;dentrado](https://github.com/dentrado))
> * `babel-parser`
>   * [#10559](https://github-redirect.dependabot.com/babel/babel/pull/10559) fix: Exclude catch clause from let identifier error. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
>   * [#10567](https://github-redirect.dependabot.com/babel/babel/pull/10567) [parser] Exception to 8 and 9 in tagged template. ([@&#8203;pnowak](https://github.com/pnowak))
>   * [#10532](https://github-redirect.dependabot.com/babel/babel/pull/10532) Allow duplicate __proto__ keys in patterns, simple case ([#6705](https://github-redirect.dependabot.com/babel/babel/issues/6705)). ([@&#8203;alejo90](https://github.com/alejo90))
> 
> #### 🚀 New Feature
> * `babel-generator`, `babel-helper-create-class-features-plugin`, `babel-parser`, `babel-plugin-transform-typescript`, `babel-preset-typescript`, `babel-types`
>   * [#10545](https://github-redirect.dependabot.com/babel/babel/pull/10545) Add support for TS declare modifier on fields. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`, `babel-parser`, `babel-preset-typescript`
>   * [#10363](https://github-redirect.dependabot.com/babel/babel/pull/10363) @babel/parser error recovery. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-core`
>   * [#10599](https://github-redirect.dependabot.com/babel/babel/pull/10599) Add support for .cjs config files. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10501](https://github-redirect.dependabot.com/babel/babel/pull/10501) Add support for babel.config.json. ([@&#8203;devongovett](https://github.com/devongovett))
>   * [#10361](https://github-redirect.dependabot.com/babel/babel/pull/10361) feat: if code frame error is on a single line, highlight the whole path. ([@&#8203;SimenB](https://github.com/SimenB))
> * `babel-plugin-syntax-top-level-await`, `babel-preset-env`
>   * [#10573](https://github-redirect.dependabot.com/babel/babel/pull/10573) Create @babel/plugin-syntax-top-level-await. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-builder-react-jsx`, `babel-plugin-transform-react-jsx`, `babel-preset-react`
>   * [#10572](https://github-redirect.dependabot.com/babel/babel/pull/10572) [transform-react-jsx] Add useSpread option to transform JSX. ([@&#8203;ivandevp](https://github.com/ivandevp))
> * `babel-generator`, `babel-parser`, `babel-plugin-proposal-decorators`, `babel-plugin-syntax-flow`, `babel-types`
>   * [#10344](https://github-redirect.dependabot.com/babel/babel/pull/10344) Flow enums parsing. ([@&#8203;gkz](https://github.com/gkz))
> * `babel-plugin-transform-function-name`, `babel-plugin-transform-modules-umd`, `babel-preset-env`
>   * [#10477](https://github-redirect.dependabot.com/babel/babel/pull/10477) Changes UMD callsite to be more likely to pass in the intended object.. ([@&#8203;MicahZoltu](https://github.com/MicahZoltu))
> * `babel-parser`
>   * [#10449](https://github-redirect.dependabot.com/babel/babel/pull/10449) Create parser plugin "topLevelAwait". ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10521](https://github-redirect.dependabot.com/babel/babel/pull/10521) [parser] Enable "exportNamespaceFrom" by default. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10483](https://github-redirect.dependabot.com/babel/babel/pull/10483) [parser] Add support for private fields in TypeScript. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-generator`, `babel-parser`, `babel-types`
>   * [#10543](https://github-redirect.dependabot.com/babel/babel/pull/10543) add assertions signature for TypeScript. ([@&#8203;tanhauhau](https://github.com/tanhauhau))
> * `babel-cli`, `babel-register`
>   * [#8622](https://github-redirect.dependabot.com/babel/babel/pull/8622) Make dir for babel --out-file. ([@&#8203;TrySound](https://github.com/TrySound))
> * `babel-cli`
>   * [#10399](https://github-redirect.dependabot.com/babel/babel/pull/10399) Closes [#8326](https://github-redirect.dependabot.com/babel/babel/issues/8326), add back --quiet option.. ([@&#8203;chris-peng-1244](https://github.com/chris-peng-1244))
> 
> #### 🐛 Bug Fix
> * `babel-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-function-sent`, `babel-preset-env`
>   * [#10422](https://github-redirect.dependabot.com/babel/babel/pull/10422) Correctly delegate .return() in async generator. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs`
>   * [#10628](https://github-redirect.dependabot.com/babel/babel/pull/10628) Don't throw when destructuring into a var named as an import. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
> * `babel-plugin-transform-modules-systemjs`
>   * [#10638](https://github-redirect.dependabot.com/babel/babel/pull/10638) fix: remove ExportNamedDeclaration when the specifier is empty. ([@&#8203;JLHwung](https://github.com/JLHwung))
> * `babel-parser`
>   * [#10631](https://github-redirect.dependabot.com/babel/babel/pull/10631) [TS] Parse calls with type args in optional chains. ([@&#8203;nicolo-ribaudo](https://github.com/nicolo-ribaudo))
>   * [#10607](https://github-redirect.dependabot.com/babel/babel/pull/10607) fixed missing errors on assignment pattern in object expression. ([@&#8203;vivek12345](https://github.com/vivek12345))
>   * [#10594](https://github-redirect.dependabot.com/babel/babel/pull/10594) [parser] Parse only modifiers of actual methods. ([@&#8203;gonzarodriguezt](https://github.com/gonzarodriguezt))
> * `babel-plugin-transform-typescript`
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`97faa83`](babel/babel@97faa83) v7.7.0
- [`cdbffe3`](babel/babel@cdbffe3) Remove --require-scripts from publish-ci [skip ci]
- [`b114486`](babel/babel@b114486) Traverse performance ([#10480](https://github-redirect.dependabot.com/babel/babel/issues/10480))
- [`e9c1bce`](babel/babel@e9c1bce) Add support for TS declare modifier on fields ([#10545](https://github-redirect.dependabot.com/babel/babel/issues/10545))
- [`87feda7`](babel/babel@87feda7) @babel/parser error recovery ([#10363](https://github-redirect.dependabot.com/babel/babel/issues/10363))
- [`d25262e`](babel/babel@d25262e) Correctly delegate .return() in async generator ([#10422](https://github-redirect.dependabot.com/babel/babel/issues/10422))
- [`8618447`](babel/babel@8618447) [preset-env] Don't use async-to-generator when already using re… ([#9481](https://github-redirect.dependabot.com/babel/babel/issues/9481))
- [`43aa7e2`](babel/babel@43aa7e2) Don't throw when destructuring into a var named as an import ([#10628](https://github-redirect.dependabot.com/babel/babel/issues/10628))
- [`5e24016`](babel/babel@5e24016) fix: remove ExportNamedDeclaration when the specifier is empty ([#10638](https://github-redirect.dependabot.com/babel/babel/issues/10638))
- [`d023e10`](babel/babel@d023e10) [TS] Parse calls with type args in optional chains ([#10631](https://github-redirect.dependabot.com/babel/babel/issues/10631))
- Additional commits viewable in [compare view](babel/babel@v7.6.4...v7.7.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@babel/cli&package-manager=npm_and_yarn&previous-version=7.6.4&new-version=7.7.0)](https://dependabot.com/compatibility-score.html?dependency-name=@babel/cli&package-manager=npm_and_yarn&previous-version=7.6.4&new-version=7.7.0)

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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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 the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>



500: Bump @typescript-eslint/parser from 2.6.0 to 2.6.1 r=saneyuki a=dependabot-preview[bot]

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.6.0 to 2.6.1.
<details>
<summary>Release notes</summary>

*Sourced from [@typescript-eslint/parser's releases](https://github.com/typescript-eslint/typescript-eslint/releases).*

> ## v2.6.1
> ## [2.6.1](typescript-eslint/typescript-eslint@v2.6.0...v2.6.1) (2019-11-04)
> 
> 
> ### Bug Fixes
> 
> * **typescript-estree:** don't use typescript's synthetic default ([#1156](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/1156)) ([17c956e](typescript-eslint/typescript-eslint@17c956e)), closes [#1153](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/1153)
> * **typescript-estree:** fix filename handling for vue JSX + markdown ([#1127](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/1127)) ([366518f](typescript-eslint/typescript-eslint@366518f))
> * **typescript-estree:** improve comment parsing code ([#1120](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/1120)) ([e54998d](typescript-eslint/typescript-eslint@e54998d))
</details>
<details>
<summary>Changelog</summary>

*Sourced from [@typescript-eslint/parser's changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md).*

> ## [2.6.1](typescript-eslint/typescript-eslint@v2.6.0...v2.6.1) (2019-11-04)
> 
> 
> ### Bug Fixes
> 
> * **typescript-estree:** fix filename handling for vue JSX + markdown ([#1127](https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/1127)) ([366518f](typescript-eslint/typescript-eslint@366518f))
</details>
<details>
<summary>Commits</summary>

- [`643d6d6`](typescript-eslint/typescript-eslint@643d6d6) chore: publish v2.6.1
- [`366518f`](typescript-eslint/typescript-eslint@366518f) fix(typescript-estree): fix filename handling for vue JSX + markdown ([#1127](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/1127))
- See full diff in [compare view](https://github.com/typescript-eslint/typescript-eslint/commits/v2.6.1/packages/parser)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=2.6.0&new-version=2.6.1)](https://dependabot.com/compatibility-score.html?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=2.6.0&new-version=2.6.1)

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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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 the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>



Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Nov 25, 2019
@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@Papaass
Copy link

Papaass commented Nov 28, 2019

Hello i solved this issue by running this command to start the server :
npx react-native start
It works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.
Projects
None yet
Development

No branches or pull requests