Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@types/pegjs

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pegjs - npm Package Compare versions

Comparing version
0.10.1
to
0.10.2
+20
-20
pegjs/index.d.ts

@@ -7,25 +7,25 @@ // Type definitions for PEG.js v0.10.0

declare namespace PEG {
function parse(input:string):any;
function parse(input:string):any;
interface Location {
line: number;
column: number;
offset: number;
}
interface Location {
line: number;
column: number;
offset: number;
}
interface LocationRange {
start: Location,
end: Location
}
interface LocationRange {
start: Location,
end: Location
}
class SyntaxError {
line: number;
column: number;
offset: number;
location: LocationRange;
expected:any[];
found:any;
name:string;
message:string;
}
class SyntaxError {
line: number;
column: number;
offset: number;
location: LocationRange;
expected:any[];
found:any;
name:string;
message:string;
}
}

@@ -32,0 +32,0 @@

MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/pegjs",
"version": "0.10.1",
"version": "0.10.2",
"description": "TypeScript definitions for PEG.js",

@@ -24,10 +24,12 @@ "license": "MIT",

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/pegjs"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "664419964a059927c29b4fbc14bc7291933d826a2d10ea96f519464eb7fb666f",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "06f79d5c1bb1e17547259d11b007b361a2a9090b6464ad7ecf35ba11750827bb",
"typeScriptVersion": "3.0"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/pegjs
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pegjs.
Additional Details
* Last updated: Wed, 23 May 2018 23:09:40 GMT
### Additional Details
* Last updated: Fri, 15 May 2020 11:31:59 GMT
* Dependencies: none
* Global values: PEG
* Global values: `PEG`
# Credits
These definitions were written by vvakame <https://github.com/vvakame>, Tobias Kahlert <https://github.com/SrTobi>, C.J. Bell <https://github.com/siegebell>.
These definitions were written by [vvakame](https://github.com/vvakame), [Tobias Kahlert](https://github.com/SrTobi), and [C.J. Bell](https://github.com/siegebell).