From 5b16b243af15da9d7016162fb5a887b645dd2eab Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Fri, 5 Jun 2020 10:28:52 -0700 Subject: [PATCH] fix: update dependencies --- package.json | 32 ++++++++++++++++---------------- src/expressions.js | 2 +- src/types.js | 8 ++++---- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 7c8982b..e345105 100644 --- a/package.json +++ b/package.json @@ -22,30 +22,30 @@ "es6-error": "^4.1.1", "pianola": "^2.2.1", "regex-parser": "^2.2.10", - "roarr": "^2.15.2" + "roarr": "^2.15.3" }, "description": "Declarative DOM extraction expression evaluator.", "devDependencies": { "@ava/babel": "^1.0.1", - "@babel/cli": "^7.8.4", - "@babel/core": "^7.8.4", - "@babel/node": "^7.8.4", - "@babel/plugin-transform-flow-strip-types": "^7.8.3", - "@babel/preset-env": "^7.8.4", - "@babel/register": "^7.8.3", - "ava": "^3.3.0", + "@babel/cli": "^7.10.1", + "@babel/core": "^7.10.2", + "@babel/node": "^7.10.1", + "@babel/plugin-transform-flow-strip-types": "^7.10.1", + "@babel/preset-env": "^7.10.2", + "@babel/register": "^7.10.1", + "ava": "^3.8.2", "babel-plugin-istanbul": "^6.0.0", "babel-plugin-transform-export-default-name": "^2.0.4", - "coveralls": "^3.0.9", - "eslint": "^6.8.0", - "eslint-config-canonical": "^19.0.1", - "flow-bin": "^0.118.0", + "coveralls": "^3.1.0", + "eslint": "^7.1.0", + "eslint-config-canonical": "^20.0.5", + "flow-bin": "^0.126.1", "flow-copy-source": "^2.0.9", - "husky": "^4.2.3", + "husky": "^4.2.5", "lodash": "^4.17.15", - "nyc": "^15.0.0", - "semantic-release": "^17.0.3", - "sinon": "^8.1.1", + "nyc": "^15.1.0", + "semantic-release": "^17.0.8", + "sinon": "^9.0.2", "sprintf-js": "^1.1.2" }, "engines": { diff --git a/src/expressions.js b/src/expressions.js index f32ba80..2b6b324 100644 --- a/src/expressions.js +++ b/src/expressions.js @@ -4,4 +4,4 @@ * @see https://github.com/gajus/surgeon#quantifier-expression * @see https://www.regex101.com/r/k3IuC4/2 */ -export const quantifierExpression = /^\{(\d+?)(,?)(-?\d+)?\}(?:\[(\d+)\])?$/; +export const quantifierExpression = /^{(\d+?)(,?)(-?\d+)?}(?:\[(\d+)])?$/; diff --git a/src/types.js b/src/types.js index bb20506..606807c 100644 --- a/src/types.js +++ b/src/types.js @@ -32,16 +32,16 @@ export type UserConfigurationType = { +evaluator?: EvaluatorType, +subroutines?: { [key: string]: SubroutineType, - ..., + ... }, - ..., + ... }; export type ConfigurationType = {| +evaluator: EvaluatorType, +subroutines: { [key: string]: SubroutineType, - ..., + ... }, |}; @@ -49,7 +49,7 @@ type QueryChildrenType = { // eslint-disable-next-line no-use-before-define [key: string]: DenormalizedQueryType, - ..., + ... }; export type DenormalizedQueryType =