Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blocksuite/inline

Package Overview
Dependencies
Maintainers
2
Versions
631
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/inline - npm Package Compare versions

Comparing version 0.11.0-nightly-202312130039-9833e9f to 0.11.0-nightly-202312130833-3d913f0

3

dist/utils/guard.js
import { VElement, VLine } from '../components/index.js';
export function isNativeTextInVText(text) {
return (text instanceof Text &&
(text.parentElement?.dataset.vText === 'true' ?? false));
return text instanceof Text && text.parentElement?.dataset.vText === 'true';
}

@@ -6,0 +5,0 @@ export function isVElement(element) {

{
"name": "@blocksuite/inline",
"version": "0.11.0-nightly-202312130039-9833e9f",
"version": "0.11.0-nightly-202312130833-3d913f0",
"description": "A micro editor.",

@@ -27,3 +27,3 @@ "type": "module",

"zod": "^3.22.4",
"@blocksuite/global": "0.11.0-nightly-202312130039-9833e9f"
"@blocksuite/global": "0.11.0-nightly-202312130833-3d913f0"
},

@@ -30,0 +30,0 @@ "scripts": {

import { VElement, VLine } from '../components/index.js';
export function isNativeTextInVText(text: unknown): text is Text {
return (
text instanceof Text &&
(text.parentElement?.dataset.vText === 'true' ?? false)
);
return text instanceof Text && text.parentElement?.dataset.vText === 'true';
}

@@ -9,0 +6,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc