We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to identify this snippet of code but failed:
function readPackageUpSync(options) { const filePath = findUp.sync('package.json', options); if (!filePath) { return; } return { packageJson: readPackageSync({...options, cwd: path.dirname(filePath)}), path: filePath }; }
It reported "Unexpected token ..."
The text was updated successfully, but these errors were encountered:
https://astexplorer.net/#/gist/f3dcce7f547acd10e7b90103626c7fac/759748255d11f8f89cd05d709f2f2713fcd7daf2
Sorry, something went wrong.
You're using the default parser, esprima, which doesn't support object spreads.
esprima
No branches or pull requests
I tried to identify this snippet of code but failed:
It reported "Unexpected token ..."
The text was updated successfully, but these errors were encountered: