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

Build break with camelcase 6.0.0 #70

Closed
k8vance88 opened this issue Jun 10, 2020 · 1 comment
Closed

Build break with camelcase 6.0.0 #70

k8vance88 opened this issue Jun 10, 2020 · 1 comment

Comments

@k8vance88
Copy link

k8vance88 commented Jun 10, 2020

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.

@sindresorhus
Copy link
Owner

I'm using node 8.11.4 to build.

I think the release notes are pretty clear about this:

Require Node.js 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants