1. 05 Sep, 2018 3 commits
  2. 02 Sep, 2018 1 commit
  3. 24 Aug, 2018 1 commit
  4. 22 Aug, 2018 2 commits
    • Dan Abramov's avatar
      Bump versions · 96ba7bdd
      Dan Abramov authored
      96ba7bdd
    • Andrew Clark's avatar
      Use file name whitelist to prevent RCE (#4866) · 577a274d
      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
      577a274d
  5. 26 Jul, 2018 1 commit
  6. 23 Jul, 2018 3 commits
  7. 16 Jul, 2018 1 commit
    • Ian Sutherland's avatar
      Add Node 10 to CI config and remove Node 6 (#4383) · 92d9c5ad
      Ian Sutherland authored
      * Add Node 10 to Travis config. Remove Node 6.
      
      * Add Node 10 to Appveyor config. Remove Node 6.
      
      * Remove node 9 from travis config.
      
      * Increase mocha timeout.
      
      * Update minimum Node version to 8.
      
      * Update yarn to latest on Travis.
      
      * Update old-node test to use Node 4.
      
      * Increase mocha timeout in kitchensink-eject tests.
      
      * Update yarn to latest on Appveyor.
      92d9c5ad
  8. 15 Jul, 2018 1 commit
  9. 05 Jul, 2018 2 commits
  10. 30 Jun, 2018 1 commit
  11. 25 Jun, 2018 1 commit
  12. 23 Jun, 2018 1 commit
  13. 20 Jun, 2018 1 commit
  14. 18 Jun, 2018 2 commits
  15. 07 Jun, 2018 1 commit
  16. 05 Jun, 2018 3 commits
  17. 04 Jun, 2018 1 commit
  18. 03 Jun, 2018 1 commit
  19. 01 Jun, 2018 1 commit
  20. 31 May, 2018 3 commits
  21. 24 May, 2018 2 commits
  22. 23 May, 2018 1 commit
    • Graeme's avatar
      Update paths.js, rename shadow path variable (#4435) · 61c864c3
      Graeme authored
      * Update paths.js, rename shadow path variable
      
      This file requires the "path" module and sets it to a variable `path`. The function `ensureSlash` also has a variable `path` that then shadows the `path` module.
      
      * Update paths.js
      61c864c3
  23. 22 May, 2018 1 commit
  24. 20 May, 2018 5 commits
    • Luis Nell's avatar
      Update node-sass-chokidar docs (#4205) · 0dfc6f6e
      Luis Nell authored
      * Removes Chokidar Recursive Flag
      
      According to the changelog it is not necessary anymore as it doesn't do anything.
      
      * Removes initial build on SCSS watch
      
      Chokidar now does this on it's own.
      
      * Removes sass watch recursive, default include-path
      
      as proposed by @michaelwayman
      
      * Removes another left-over build-css
      0dfc6f6e
    • jamesvsshark's avatar
      e645d3e8
    • Craig Mulligan's avatar
      `.mjs` should not resolve before .js files (#4085) (#4318) · 0e0f260e
      Craig Mulligan 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.
      0e0f260e
    • Jack Zhao's avatar
      Webpack4 (#4490) · d1454feb
      Jack Zhao authored
      * - [x] Upgrade to webpack 4.8.X
      - [x] Utilize webpack 4 development and production modes
      - [x] Upgrade webpack dev server
      - [x] Webpack 4 compatible release of thread-loader
      - [x] Webpack 4 compatible release of HtmlWebpackPlugin
      - [x] Webpack 4 compatible release of SwPrecacheWebpackPlugin
      - [x] Webpack 4 compatible release of WebpackManifestPlugin
      - [x] Update README
      - [x] Update WebpackDevServerUtils
      - [x] Update InterpolateHtmlPlugin
      - [x] Update ModuleScopePlugin
      - [x] Update WatchMissingNodeModulesPlugin
      - [x] Move UglifyJS options to webpack 4 optimize
      - [x] Move InterpolateHtmlPlugin to make it tapable on HtmlWebpackPlugin
      - [x] vendor splitting via splitChunks.splitChunks (https://twitter.com/wSokra/status/969633336732905474)
      - [x] long term caching via splitChunks.runtimeChunk (https://twitter.com/wSokra/status/969679223278505985)
      - [x] Make sure process.env.NODE_ENV is proxied correctly to `react-error-overlay`
      - [x] Implicit webpack.NamedModulesPlugin in dev config as its default in webpack 4
      - [x] Disable webpack performance hints as we have our own filesize reporter
      - [x] Replace ExtractTextPlugin with MiniCssExtractPlugin
      - [x] Switch to css whole file minification via OptimizeCSSAssetsPlugin rather than per module css minification to gain performance
      
      * disable module concatenation
      
      * fix cleanup
      
      * fix optimization
      
      * restore tmp removal
      
      * preserve
      
      * fix css tests
      
      * fix test run
      
      * fix svg test
      
      * revert tmp dir
      
      * fix import
      
      * fix import
      
      * help debugging
      
      * fix tests
      
      * fix sass test
      
      * restore cleanup
      d1454feb
    • Andreas Cederström's avatar
      - [x] Upgrade to webpack 4.8.X (#4077) · d72678fb
      Andreas Cederström authored
      - [x] Utilize webpack 4 development and production modes
      - [x] Upgrade webpack dev server
      - [x] Webpack 4 compatible release of thread-loader
      - [x] Webpack 4 compatible release of HtmlWebpackPlugin
      - [x] Webpack 4 compatible release of SwPrecacheWebpackPlugin
      - [x] Webpack 4 compatible release of WebpackManifestPlugin
      - [x] Update README
      - [x] Update WebpackDevServerUtils
      - [x] Update InterpolateHtmlPlugin
      - [x] Update ModuleScopePlugin
      - [x] Update WatchMissingNodeModulesPlugin
      - [x] Move UglifyJS options to webpack 4 optimize
      - [x] Move InterpolateHtmlPlugin to make it tapable on HtmlWebpackPlugin
      - [x] vendor splitting via splitChunks.splitChunks (https://twitter.com/wSokra/status/969633336732905474)
      - [x] long term caching via splitChunks.runtimeChunk (https://twitter.com/wSokra/status/969679223278505985)
      - [x] Make sure process.env.NODE_ENV is proxied correctly to `react-error-overlay`
      - [x] Implicit webpack.NamedModulesPlugin in dev config as its default in webpack 4
      - [x] Disable webpack performance hints as we have our own filesize reporter
      - [x] Replace ExtractTextPlugin with MiniCssExtractPlugin
      - [x] Switch to css whole file minification via OptimizeCSSAssetsPlugin rather than per module css minification to gain performance
      d72678fb