Socket
Socket
Sign inDemoInstall

lines-and-columns

Package Overview
Dependencies
0
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

8

build/index.d.ts

@@ -1,8 +0,8 @@

export declare type SourceLocation = {
export interface SourceLocation {
line: number;
column: number;
};
}
export declare class LinesAndColumns {
private string;
private offsets;
private readonly length;
private readonly offsets;
constructor(string: string);

@@ -9,0 +9,0 @@ locationForIndex(index: number): SourceLocation | null;

{
"name": "lines-and-columns",
"version": "2.0.2",
"version": "2.0.3",
"description": "Maps lines and columns to character offsets and back.",

@@ -5,0 +5,0 @@ "keywords": [

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc