regexp-ast-analysis
Advanced tools
Comparing version 0.1.3 to 0.2.0
# 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 @@ |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51894
+ Addedrefa@0.8.0(transitive)
- Removedrefa@0.7.1(transitive)
Updatedrefa@^0.8.0