@ckeditor/ckeditor5-utils
Advanced tools
Comparing version 0.0.0-nightly-20230906.0 to 0.0.0-nightly-20230907.0
{ | ||
"name": "@ckeditor/ckeditor5-utils", | ||
"version": "0.0.0-nightly-20230906.0", | ||
"version": "0.0.0-nightly-20230907.0", | ||
"description": "Miscellaneous utilities used by CKEditor 5.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -103,3 +103,3 @@ /** | ||
let keystrokeCode = parseKeystroke(keystroke); | ||
const modifiersToGlyphs = Object.entries(env.isMac ? modifiersToGlyphsMac : modifiersToGlyphsNonMac); | ||
const modifiersToGlyphs = Object.entries((env.isMac || env.isiOS) ? modifiersToGlyphsMac : modifiersToGlyphsNonMac); | ||
const modifiers = modifiersToGlyphs.reduce((modifiers, [name, glyph]) => { | ||
@@ -165,3 +165,3 @@ // Modifier keys are stored as a bit mask so extract those from the keystroke code. | ||
const code = getCode(key); | ||
return env.isMac && code == keyCodes.ctrl ? keyCodes.cmd : code; | ||
return (env.isMac || env.isiOS) && code == keyCodes.ctrl ? keyCodes.cmd : code; | ||
} | ||
@@ -168,0 +168,0 @@ /** |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
declare const version = "0.0.0-nightly-20230906.0"; | ||
declare const version = "0.0.0-nightly-20230907.0"; | ||
export default version; | ||
@@ -8,0 +8,0 @@ export declare const releaseDate: Date; |
@@ -9,6 +9,6 @@ /** | ||
import CKEditorError from './ckeditorerror'; | ||
const version = '0.0.0-nightly-20230906.0'; | ||
const version = '0.0.0-nightly-20230907.0'; | ||
export default version; | ||
// The second argument is not a month. It is `monthIndex` and starts from `0`. | ||
export const releaseDate = new Date(2023, 8, 6); | ||
export const releaseDate = new Date(2023, 8, 7); | ||
/* istanbul ignore next -- @preserve */ | ||
@@ -15,0 +15,0 @@ if (globalThis.CKEDITOR_VERSION) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
433100