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

regexp-ast-analysis

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regexp-ast-analysis - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

11

CHANGELOG.md
# Changelog
## 0.2.0 (2021-04-29)
### Breaking
- Private types aren't exported anymore. (They were never supposed to be exported in the first place.)
### Changed
- Updated refa to v0.8.
## 0.1.3 (2021-04-13)

@@ -4,0 +15,0 @@

8

index.d.ts

@@ -1,2 +0,2 @@

// Generated by dts-bundle-generator v5.8.0
// Generated by dts-bundle-generator v5.9.0

@@ -115,3 +115,3 @@ import { CharSet } from "refa";

export declare type Ancestor<T extends Node> = AncestorImpl<T>;
export declare type AncestorImpl<T extends Node> =
declare type AncestorImpl<T extends Node> =
| (T extends CharacterSet ? T["parent"] | AlternativeAncestors : never)

@@ -125,3 +125,3 @@ | (T extends Character ? T["parent"] | AlternativeAncestors : never)

| (T extends RegExpLiteral ? never : never);
export declare type AlternativeAncestors = Alternative["parent"] | Quantifier | Alternative | RegExpLiteral;
declare type AlternativeAncestors = Alternative["parent"] | Quantifier | Alternative | RegExpLiteral;
/**

@@ -146,3 +146,3 @@ * Returns whether any of the ancestors of the given node fulfills the given condition.

export declare type Descendant<T extends Node> = T | DescendantsImpl<T>;
export declare type DescendantsImpl<T extends Node> =
declare type DescendantsImpl<T extends Node> =
| (T extends Alternative | CapturingGroup | Group | LookaroundAssertion | Quantifier | Pattern

@@ -149,0 +149,0 @@ ? Element | CharacterClassElement

{
"name": "regexp-ast-analysis",
"version": "0.1.3",
"version": "0.2.0",
"description": "A library for analysing JS RegExp",

@@ -12,3 +12,3 @@ "main": "index",

"build": "npx rimraf ./index.* .out/** && npx tsc && rollup -c && npm run build:dts",
"build:dts": "dts-bundle-generator -o index.d.ts src/index.ts && prettier --write index.d.ts",
"build:dts": "dts-bundle-generator -o index.d.ts src/index.ts --export-referenced-types=false && prettier --write index.d.ts",
"build:docs": "typedoc --listInvalidSymbolLinks",

@@ -37,3 +37,3 @@ "prepublishOnly": "npm run build"

"chai": "^4.3.0",
"dts-bundle-generator": "^5.8.0",
"dts-bundle-generator": "^5.9.0",
"eslint": "^7.19.0",

@@ -53,3 +53,3 @@ "eslint-config-prettier": "^6.15.0",

"dependencies": {
"refa": "^0.7.1",
"refa": "^0.8.0",
"regexpp": "^3.1.0"

@@ -56,0 +56,0 @@ },

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