@tiptap/core
Advanced tools
| /** | ||
| * Detects if the current browser is Firefox. | ||
| * @returns `true` if the browser is Firefox, `false` otherwise. | ||
| * @example | ||
| * if (isFirefox()) { | ||
| * // Firefox-specific handling | ||
| * } | ||
| */ | ||
| export function isFirefox(): boolean { | ||
| return typeof navigator !== 'undefined' ? /Firefox/.test(navigator.userAgent) : false | ||
| } |
+3
-3
| { | ||
| "name": "@tiptap/core", | ||
| "description": "headless rich text editor", | ||
| "version": "3.16.0", | ||
| "version": "3.17.0", | ||
| "homepage": "https://tiptap.dev", | ||
@@ -55,6 +55,6 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "@tiptap/pm": "^3.16.0" | ||
| "@tiptap/pm": "^3.17.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "@tiptap/pm": "^3.16.0" | ||
| "@tiptap/pm": "^3.17.0" | ||
| }, | ||
@@ -61,0 +61,0 @@ "repository": { |
@@ -11,2 +11,3 @@ export * from './callOrReturn.js' | ||
| export * from './isEmptyObject.js' | ||
| export * from './isFirefox.js' | ||
| export * from './isFunction.js' | ||
@@ -13,0 +14,0 @@ export * from './isiOS.js' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
2254430
0.09%210
0.48%30105
0.11%