sindresorhus/camelcase

Build break with camelcase 6.0.0

Closed this issue · 1 comments

I'm seeing this build break:
/app/node_modules/camelcase/index.js:69
.replace(/[.- ]+([\p{Alpha}\p{N}]|$)/gu, (_, p1) => p1.toLocaleUpperCase())

SyntaxError: Invalid regular expression: /[.- ]+([\p{Alpha}\p{N}]|$)/: Invalid escape
at camelCase (/app/node_modules/camelcase/index.js:69:3)
at getAssetKind (/app/node_modules/assets-webpack-plugin/dist/lib/getAssetKind.js:9:10)
at /app/node_modules/assets-webpack-plugin/dist/index.js:93:26
at Array.reduce ()
at /app/node_modules/assets-webpack-plugin/dist/index.js:87:30
at Array.reduce ()
at Compiler.afterEmit (/app/node_modules/assets-webpack-plugin/dist/index.js:74:27)

I'm using node 8.11.4 to build.

I'm using node 8.11.4 to build.

I think the release notes are pretty clear about this:

Require Node.js 10