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
Describe the bug
Using this package at ^1.3.0 results in the following exception in Safari:
^1.3.0
Unhandled Promise Rejection: SyntaxError: Invalid regular expression: invalid group specifier named
This will crash any implementation that is not try/catching their usage around this library (e.g. when using the convert function).
convert
To Reproduce Steps to reproduce the behavior:
You can reproduce this issue by cloning this repository: https://github.com/cloud-annotations/docusaurus-openapi
yarn install
1.1.5
yarn build-packages
yarn start
Now, delete the yarn.lock file at the root of the repository and repeat the steps. (this will resolve 1.5.0)
yarn.lock
1.5.0
Expected code snippet and corresponding request
N/A
Screenshots
Additional context
I tried to narrow which version was causing this issue and it appears to be in the v1.3.0 release era (happens in v1.4.0 and v1.5.0 as well).
It could be from this PR: #651, however the changelog doesn't currently link to commits and is somewhat hard to narrow changes per release.
Safari does not support look behind with regular expression matching, so whatever change in v1.3.0 introduces that usage, is likely the culprit.
The text was updated successfully, but these errors were encountered:
@sean-perkins Safari seems to be missing support for lookbehind assertions in RegExp. There is an open issue in webkit: 174931 – Implement RegExp lookbehind assertions This has been fixed but has not made it to Safari stable yet.
lookbehind assertions in RegExp
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Using this package at
^1.3.0
results in the following exception in Safari:This will crash any implementation that is not try/catching their usage around this library (e.g. when using the
convert
function).To Reproduce
Steps to reproduce the behavior:
You can reproduce this issue by cloning this repository: https://github.com/cloud-annotations/docusaurus-openapi
yarn install
(note: the lock file is currently resolving1.1.5
)yarn build-packages
yarn start
Now, delete the
yarn.lock
file at the root of the repository and repeat the steps. (this will resolve1.5.0
)Expected code snippet and corresponding request
N/A
Screenshots
N/A
Additional context
I tried to narrow which version was causing this issue and it appears to be in the v1.3.0 release era (happens in v1.4.0 and v1.5.0 as well).
It could be from this PR: #651, however the changelog doesn't currently link to commits and is somewhat hard to narrow changes per release.
Safari does not support look behind with regular expression matching, so whatever change in v1.3.0 introduces that usage, is likely the culprit.
The text was updated successfully, but these errors were encountered: