You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
After upgrading the ionic to 8 I am getting a runtime error on iOS 16.2 with Safari related to Regexp that uses Lookbehind assertion.
As the title explains itself the Lookbehind assertion is not supported on iOS 16.2 and older versions. My application is currently stuck on the initialisation.
The error:
SyntaxError: Invalid regular expression: invalid group specifier name
coming from @stencil/core/internal/client/index.js
var createSupportsRuleRe = selector => new RegExp(((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b), "gim");
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
After upgrading the ionic to 8 I am getting a runtime error on iOS 16.2 with Safari related to Regexp that uses Lookbehind assertion.
As the title explains itself the Lookbehind assertion is not supported on iOS 16.2 and older versions. My application is currently stuck on the initialisation.
The error:
SyntaxError: Invalid regular expression: invalid group specifier name
coming from @stencil/core/internal/client/index.js
var createSupportsRuleRe = selector => new RegExp(
((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b)
, "gim");Project details:
Angular 18.2.13
Ionic: "@ionic/angular": "^8.4.3"
Expected Behavior
The application will be able to run on iOS < 16.3
Steps to Reproduce
Install the Angular 18.2.13 with Ionic 8.4.3 and run on iOS 16.2 with Safari.
Code Reproduction URL
https://dashboard.ionicframework.com/create-app/b2ff3c52
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.4.3
@angular-devkit/build-angular : 18.2.14
@angular-devkit/schematics : 18.2.14
@angular/cli : 18.2.14
@ionic/angular-toolkit : 12.1.1
Capacitor:
Capacitor CLI : 6.2.0
@capacitor/android : not installed
@capacitor/core : 6.2.0
@capacitor/ios : not installed
Cordova:
Cordova CLI : not installed
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v23.7.0 (/usr/local/Cellar/node/23.7.0/bin/node)
npm : 10.5.0
OS : macOS Unknown
Additional Information
No response
The text was updated successfully, but these errors were encountered: