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

regexp-parser-event

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regexp-parser-event - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

26

index.d.ts
/// <reference types="node" />
import { AST } from "regexpp2";
import * as regexpp from 'regexpp2';
import * as EventEmitter from 'events';
import regexpp = require('regexpp2');
import EventEmitter = require('events');
import { INodePlus, IAstToStringOptions } from 'regexp-parser-literal';
import { AppendableNode } from 'regexpp2/src/parser';
export declare enum ParserEventEmitterEvent {

@@ -17,2 +18,3 @@ default = "default",

}
declare type INodeInput = AST.Element | AST.CharacterClassElement | AppendableNode;
export declare class ParserEventEmitter extends EventEmitter {

@@ -23,11 +25,11 @@ astRegExpLiteral: AST.RegExpLiteral & INodePlus;

resume(): this;
emit<T extends AST.Element | AST.CharacterClassElement>(eventName: keyof typeof ParserEventEmitterEvent, inputAst: T & INodePlus, ...args: any[]): boolean;
on(eventName: keyof typeof ParserEventEmitterEvent, listener: IParserEventEmitterListener<AST.Element>): this;
on(eventName: 'default', listener: IParserEventEmitterListener<AST.Character>): this;
on(eventName: 'class', listener: IParserEventEmitterListener<AST.CharacterClass>): this;
on(eventName: 'class_default', listener: IParserEventEmitterListener<AST.Character>): this;
on(eventName: 'class_range', listener: IParserEventEmitterListener<AST.CharacterClassRange>): this;
on(eventName: 'class_other', listener: IParserEventEmitterListener<AST.CharacterClassElement>): this;
emit<T extends INodeInput>(eventName: keyof typeof ParserEventEmitterEvent, inputAst: T & INodePlus, ...args: any[]): boolean;
on<E extends ParserEventEmitterEvent.default>(eventName: E, listener: IParserEventEmitterListener<AST.Character, E>): this;
on<E extends ParserEventEmitterEvent.class>(eventName: E, listener: IParserEventEmitterListener<AST.CharacterClass, E>): this;
on<E extends ParserEventEmitterEvent.class_default>(eventName: E, listener: IParserEventEmitterListener<AST.Character, E>): this;
on<E extends ParserEventEmitterEvent.class_range>(eventName: E, listener: IParserEventEmitterListener<AST.CharacterClassRange, E>): this;
on<E extends ParserEventEmitterEvent.other>(eventName: E, listener: IParserEventEmitterListener<AST.CharacterClassElement, E>): this;
on<E extends ParserEventEmitterEvent>(eventName: ParserEventEmitterEvent, listener: IParserEventEmitterListener<AST.Element, E>): this;
protected _change<T extends AST.Node>(ast: T & INodePlus, isFirst?: boolean): void;
protected _lookup_sub<T extends AST.Element | AST.CharacterClassElement>(inputAst: T & INodePlus, myEmitter: ParserEventEmitter, parent?: any, eventPrefix?: string): void;
protected _lookup_sub<T extends INodeInput>(inputAst: T & INodePlus, myEmitter: ParserEventEmitter, parent?: any, eventPrefix?: string): void;
getSource(overwrite?: boolean, options?: IAstToStringOptions): string;

@@ -41,5 +43,5 @@ getFlags(overwrite?: boolean, options?: IAstToStringOptions): string;

}
export interface IParserEventEmitterListener<T extends AST.Element | AST.CharacterClassElement> {
(inputAst: T & INodePlus, eventName: keyof typeof ParserEventEmitterEvent): any;
export interface IParserEventEmitterListener<T extends INodeInput, E extends keyof typeof ParserEventEmitterEvent> {
(inputAst: T & INodePlus, eventName: E): any;
}
export default ParserEventEmitter;

@@ -40,3 +40,12 @@ "use strict";

const self = this;
this.astRegExpLiteral.pattern.elements.forEach(function (item) {
/*
0 && console.dir(this.astRegExpLiteral.pattern, {
depth: null,
colors: true,
});
*/
let pattern = this.astRegExpLiteral.pattern;
// @ts-ignore
let elems = pattern.alternatives || pattern.elements;
elems.forEach(function (item) {
self._lookup_sub(item, self);

@@ -90,3 +99,14 @@ });

break;
// @ts-ignore
case 'Alternative':
// @ts-ignore
inputAst.elements
.forEach(function (items) {
self._lookup_sub(items, myEmitter, inputAst, sub_prefix);
});
;
break;
// @ts-ignore
case 'Disjunction':
// @ts-ignore
inputAst.alternatives

@@ -114,2 +134,6 @@ .forEach(function (items) {

sub_elements = inputAst.elements;
if (typeof sub_elements == 'undefined') {
// @ts-ignore
sub_elements = inputAst.alternatives;
}
}

@@ -131,10 +155,14 @@ if (!inputAst.type) {

getSource(overwrite, options) {
return regexp_parser_literal_1.astToString(this.astRegExpLiteral.pattern, Object.assign({}, options, {
return regexp_parser_literal_1.astToString(this.astRegExpLiteral.pattern, {
...options,
// @ts-ignore
debugChanged: overwrite ? 99 : this.astRegExpLiteral.pattern.changed }));
debugChanged: overwrite ? 99 : this.astRegExpLiteral.pattern.changed,
});
}
getFlags(overwrite, options) {
return regexp_parser_literal_1.astToString(this.astRegExpLiteral.flags, Object.assign({}, options, {
return regexp_parser_literal_1.astToString(this.astRegExpLiteral.flags, {
...options,
// @ts-ignore
debugChanged: overwrite ? 99 : this.astRegExpLiteral.flags.changed }));
debugChanged: overwrite ? 99 : this.astRegExpLiteral.flags.changed,
});
}

@@ -175,3 +203,6 @@ // @ts-ignore

toString(overwrite, options) {
return regexp_parser_literal_1.astToString(this.astRegExpLiteral, Object.assign({}, options, { debugChanged: overwrite ? 99 : this.changed }));
return regexp_parser_literal_1.astToString(this.astRegExpLiteral, {
...options,
debugChanged: overwrite ? 99 : this.changed,
});
}

@@ -184,1 +215,2 @@ toRegExp(RegExpClass = RegExp) {

exports.default = ParserEventEmitter;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUVBLHVDQUF3QztBQUV4QyxpRUFPK0I7QUFJL0IsSUFBWSx1QkFnQlg7QUFoQkQsV0FBWSx1QkFBdUI7SUFFbEMsOENBQW1CLENBQUE7SUFDbkIsMENBQWUsQ0FBQTtJQUVmLDBDQUFlLENBQUE7SUFFZiw0Q0FBaUIsQ0FBQTtJQUVqQiwwREFBK0IsQ0FBQTtJQUMvQixzREFBMkIsQ0FBQTtJQUMzQixzREFBMkIsQ0FBQTtJQUUzQix3REFBNkIsQ0FBQTtJQUU3Qi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cdH1cblxuXHR0b1N0cmluZyhvdmVyd3JpdGU/OiBib29sZWFuLCBvcHRpb25zPzogSUFzdFRvU3RyaW5nT3B0aW9ucylcblx0e1xuXHRcdHJldHVybiBhc3RUb1N0cmluZyh0aGlzLmFzdFJlZ0V4cExpdGVyYWwsIHtcblxuXHRcdFx0Li4ub3B0aW9ucyxcblxuXHRcdFx0ZGVidWdDaGFuZ2VkOiBvdmVyd3JpdGUgPyA5OSA6IHRoaXMuY2hhbmdlZCxcblx0XHR9KTtcblx0fVxuXG5cdHRvUmVnRXhwPFQgZXh0ZW5kcyBSZWdFeHA+KFJlZ0V4cENsYXNzOiB0eXBlb2YgUmVnRXhwID0gUmVnRXhwKVxuXHR7XG5cdFx0cmV0dXJuIG5ldyBSZWdFeHBDbGFzcyh0aGlzLnNvdXJjZSwgdGhpcy5mbGFncyk7XG5cdH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBJUGFyc2VyRXZlbnRFbWl0dGVyTGlzdGVuZXI8VCBleHRlbmRzIElOb2RlSW5wdXQsIEUgZXh0ZW5kcyBrZXlvZiB0eXBlb2YgUGFyc2VyRXZlbnRFbWl0dGVyRXZlbnQ+XG57XG5cdChpbnB1dEFzdDogVCAmIElOb2RlUGx1cywgZXZlbnROYW1lOiBFKVxufVxuXG5leHBvcnQgZGVmYXVsdCBQYXJzZXJFdmVudEVtaXR0ZXI7XG4iXX0=
{
"name": "regexp-parser-event",
"version": "1.0.2",
"version": "1.1.0",
"description": "",

@@ -33,5 +33,8 @@ "keywords": [

"dependencies": {
"regexp-parser-literal": "^1.0.1",
"regexpp2": "^1.1.1"
"regexp-parser-literal": "^1.1.0",
"regexpp2": "^1.3.0"
},
"devDependencies": {
"@bluelovers/tsconfig": "^1.0.3"
}
}
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