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

@linalgo/annotate-core

Package Overview
Dependencies
Maintainers
3
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.14 to 0.0.15

9

dist/dist/selectors/selection.d.ts

@@ -19,3 +19,10 @@ export interface XPathSelection {

}
export declare type Selection = XPathSelection | TextPositionSelection | TextQuoteSelection;
export interface BoundingBoxSelection {
type?: string;
x: number;
y: number;
width: number;
height: number;
}
export declare type Selection = XPathSelection | TextPositionSelection | TextQuoteSelection | BoundingBoxSelection;
export declare function isXPathSelection(obj: any): obj is XPathSelection;

@@ -22,0 +29,0 @@ export declare function isTextPositionSelection(obj: any): obj is TextPositionSelection;

2

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

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

@@ -22,4 +22,12 @@ export interface XPathSelection {

export type Selection = XPathSelection | TextPositionSelection | TextQuoteSelection;
export interface BoundingBoxSelection {
type?: string;
x: number;
y: number;
width: number;
height: number;
}
export type Selection = XPathSelection | TextPositionSelection | TextQuoteSelection | BoundingBoxSelection;
export function isXPathSelection(obj: any): obj is XPathSelection {

@@ -26,0 +34,0 @@ if ('startContainer' in obj && 'endContainer' in obj && 'startOffset' in obj && 'endOffset' in obj) {

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