New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@linalgo/annotate-core

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linalgo/annotate-core - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

linalgo-annotate-core-0.0.10.tgz

2

package.json
{
"name": "@linalgo/annotate-core",
"version": "0.0.9",
"version": "0.0.10",
"description": "A library for html document annotations following W3C standards.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -25,3 +25,3 @@ export interface XPathSelection {

export function isXPathSelection(obj: any): obj is XPathSelection {
if (obj.startContainer && obj.endContainer && obj.startOffset && obj.endOffset) {
if ('startContainer' in obj && 'endContainer' in obj && 'startOffset' in obj && 'endOffset' in obj) {
return true;

@@ -33,3 +33,3 @@ }

export function isTextPositionSelection(obj: any): obj is TextPositionSelection {
if (obj.start && obj.end) {
if ('start' in obj && 'end' in obj) {
return true;

@@ -41,3 +41,3 @@ }

export function isTectQuoteSelection(obj: any): obj is TextQuoteSelection {
if (obj.exact && obj.prefix && obj.suffix) {
if ('exact' in obj && 'prefix' in obj && 'suffix' in obj) {
return true;

@@ -44,0 +44,0 @@ }

Sorry, the diff of this file is too big to display

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