From a94d4f84d346da271e0450d7341b98e0a5739a0e Mon Sep 17 00:00:00 2001 From: gcanti Date: Mon, 25 Mar 2024 18:05:13 +0100 Subject: [PATCH] version 2.16.5 --- .eslintrc.json | 9 ++++++++- CHANGELOG.md | 6 ++++++ package.json | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 250b14f92..6e6ed8c04 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -27,6 +27,13 @@ "import/no-duplicates": "error", "import/no-unresolved": "off", "import/order": "off", - "simple-import-sort/imports": "error" + "simple-import-sort/imports": "error", + "no-restricted-syntax": [ + "error", + { + "selector": "CallExpression[callee.property.name='push'] > SpreadElement.arguments", + "message": "Do not use spread arguments in Array.push" + } + ] } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ab28d5b3..3ac09b753 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,12 @@ **Note**: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice. +# 2.16.5 + +**Polish** + +Resolved a RangeError where the maximum call stack size was exceeded when invoking `chainWithIndex`, #1931 + # 2.16.4 **Polish** diff --git a/package.json b/package.json index b2473de22..617ef6d63 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fp-ts", - "version": "2.16.4", + "version": "2.16.5", "description": "Functional programming in TypeScript", "main": "./lib/index.js", "module": "./es6/index.js",