@prosekit/core
Advanced tools
Comparing version 0.0.0-next-20240504134708 to 0.0.0-next-20240504152243
@@ -1079,2 +1079,9 @@ import { AllSelection } from '@prosekit/pm/state'; | ||
/** | ||
* @private | ||
*/ | ||
declare const isApple: boolean; | ||
export { isApple } | ||
export { isApple as isApple_alias_1 } | ||
export declare function isElement(value: unknown): value is Element; | ||
@@ -1091,4 +1098,2 @@ | ||
export declare const isMac: boolean; | ||
/** | ||
@@ -1095,0 +1100,0 @@ * @internal |
@@ -99,2 +99,3 @@ export { addMark } from './_tsup-dts-rollup'; | ||
export { defaultBlockAt } from './_tsup-dts-rollup'; | ||
export { isApple } from './_tsup-dts-rollup'; | ||
export { _getId } from './_tsup-dts-rollup'; | ||
@@ -101,0 +102,0 @@ export { getMarkType } from './_tsup-dts-rollup'; |
@@ -1766,3 +1766,3 @@ // src/commands/add-mark.ts | ||
// src/utils/env.ts | ||
var isMac = typeof navigator !== "undefined" ? /Mac|iP(hone|[ao]d)/.test(navigator.platform) : false; | ||
var isApple = typeof navigator !== "undefined" ? /Mac|iP(hone|[ao]d)/.test(navigator.platform) : false; | ||
@@ -1831,3 +1831,3 @@ // src/extensions/keymap.ts | ||
}; | ||
if (!isMac) { | ||
if (!isApple) { | ||
keymap["Mod-y"] = redo; | ||
@@ -2135,2 +2135,3 @@ } | ||
isAllSelection, | ||
isApple, | ||
isInCodeBlock, | ||
@@ -2137,0 +2138,0 @@ isMark, |
{ | ||
"name": "@prosekit/core", | ||
"type": "module", | ||
"version": "0.0.0-next-20240504134708", | ||
"version": "0.0.0-next-20240504152243", | ||
"private": false, | ||
@@ -38,3 +38,3 @@ "author": { | ||
"dependencies": { | ||
"@prosekit/pm": "0.0.0-next-20240504134708", | ||
"@prosekit/pm": "0.0.0-next-20240504152243", | ||
"clsx": "^2.1.1", | ||
@@ -41,0 +41,0 @@ "orderedmap": "^2.1.1", |
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
121372
3754
+ Added@prosekit/pm@0.0.0-next-20240504152243(transitive)
- Removed@prosekit/pm@0.0.0-next-20240504134708(transitive)