1. 22 Aug, 2018 3 commits
    • Dan Abramov's avatar
      Bump release · 550fccb6
      Dan Abramov authored
      550fccb6
    • Dan Abramov's avatar
      Bump versions · ca88a69b
      Dan Abramov authored
      ca88a69b
    • Andrew Clark's avatar
      Use file name whitelist to prevent RCE (#4866) · 24b101d2
      Andrew Clark authored
      * Use file name whitelist to prevent RCE
      
      Use a whitelist to validate user-provided file names. This doesn't cover
      the entire range of valid filenames but should cover almost all of them
      in practice. Allows letters, numbers, periods, dashes, and underscores.
      Opting to use a whitelist instead of a blacklist because getting this
      wrong leaves us vulnerable to a RCE attack.
      
      * Allow alphabet characters from all languages
      
      Updated the whitelist to /^[\p{L}0-9/.\-_]+$/u, which matches
      alphanumeric characters, periods, dashes, and underscores. Unicode
      property support is stage 4 so I've inlined the transpiled version.
      
      * Only use file name whitelist on Windows
      
      * Log error message if file name does not pass whitelist
      24b101d2
  2. 07 Aug, 2018 1 commit
  3. 26 Jun, 2018 1 commit
  4. 23 Jun, 2018 2 commits
  5. 04 Apr, 2018 3 commits
  6. 03 Apr, 2018 3 commits
  7. 02 Apr, 2018 2 commits
  8. 23 Mar, 2018 1 commit
  9. 22 Mar, 2018 1 commit
    • Lee Byron's avatar
      `.mjs` should not resolve before .js files (#4085) · c6375edc
      Lee Byron authored
      Support for .mjs files added in #3239 did not account for npm libraries which ship native mjs files alongside js files. This accounts for this by ensuring .js files resolve before their accompanying .mjs file. Note that this is not an ideal end state since selecting a .mjs over a .js extension should be the result of whether `import` was used instead of `require()` in a node environment with native ESM support (currently via `--experimental-modules`). Instead, this change just *always* selects a .js extension before the .mjs extension if it exists.
      
      This unbreaks support for using GraphQL (relay, apollo, etc) within create-react-app projects.
      c6375edc
  10. 09 Feb, 2018 5 commits
  11. 04 Feb, 2018 1 commit
  12. 22 Jan, 2018 1 commit
  13. 20 Jan, 2018 1 commit
  14. 18 Jan, 2018 2 commits
  15. 15 Jan, 2018 4 commits
  16. 14 Jan, 2018 7 commits
  17. 13 Jan, 2018 1 commit
    • Joe Haddad's avatar
      Enable Yarn check files (#3769) · 238af4b1
      Joe Haddad authored
      * This is a good default.
      Adds approx 4 seconds to install time, but can save some headaches.
      
      * Add no lockfile for add, too
      238af4b1
  18. 12 Jan, 2018 1 commit