New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

github-codeowners-parser

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-codeowners-parser - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+8
github-codeowners-parser.d.ts
declare module 'github-codeowners-parser' {
function AddLineToContent(input: string, newLine: string): string;
class AddLineVisitor {
constructor(input: string, newLine: string);
visitFile(ctx: any): string;
}
}
+1
-1

@@ -6,3 +6,3 @@ import { CharStreams, CommonTokenStream } from "antlr4ts";

export const addLineToContent = (input: string, newLine: string): string => {
export const AddLineToContent = (input: string, newLine: string): string => {
const chars = CharStreams.fromString(input);

@@ -9,0 +9,0 @@ const lexer = new CODEOWNERSLexer(chars);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addLineToContent = void 0;
exports.AddLineToContent = void 0;
const antlr4ts_1 = require("antlr4ts");

@@ -8,3 +8,3 @@ const AddLineVisitor_1 = require("./AddLineVisitor");

const CODEOWNERSParser_1 = require("./parser/CODEOWNERSParser");
const addLineToContent = (input, newLine) => {
const AddLineToContent = (input, newLine) => {
const chars = antlr4ts_1.CharStreams.fromString(input);

@@ -18,2 +18,2 @@ const lexer = new CODEOWNERSLexer_1.CODEOWNERSLexer(chars);

};
exports.addLineToContent = addLineToContent;
exports.AddLineToContent = AddLineToContent;
{
"name": "github-codeowners-parser",
"version": "1.0.2",
"version": "1.0.3",
"description": "Antlr4 generated CODEOWNERS parser",

@@ -11,2 +11,3 @@ "main": "dist/index.js",

},
"types": "github-codeowners-parser.d.ts",
"repository": {

@@ -13,0 +14,0 @@ "type": "git",