From 7aed94fe917477126080bc465f95fb16892af3dd Mon Sep 17 00:00:00 2001 From: B-Payal Date: Wed, 14 Oct 2026 14:50:24 +0530 Subject: [PATCH 1/3] chore: fix JavaScript lint errors (issue #16126) --- .../assert/is-configurable-property-in/examples/index.js | 6 +++--- .../@stdlib/string/remove-utf8-bom/examples/index.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js b/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js index d3123b9a1ec6..10079c56af20 100644 --- a/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js +++ b/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js @@ -22,7 +22,7 @@ var isConfigurablePropertyIn = require( './../lib' ); -var bool = isConfigurablePropertyIn( { 'a': 'b' }, 'a' ); +var bool = isConfigurablePropertyIn({ 'a': 'b' }, 'a' ); console.log( bool ); // => true @@ -30,11 +30,11 @@ bool = isConfigurablePropertyIn( [ 'a' ], 0 ); console.log( bool ); // => true -bool = isConfigurablePropertyIn( { 'null': false }, null ); +bool = isConfigurablePropertyIn({ 'null': false }, null ); console.log( bool ); // => true -bool = isConfigurablePropertyIn( { '[object Object]': false }, {} ); +bool = isConfigurablePropertyIn({ '[object Object]': false }, {} ); console.log( bool ); // => true diff --git a/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js b/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js index 63c6bc56a5f5..11a4ee0fe100 100644 --- a/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js +++ b/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js @@ -26,11 +26,11 @@ console.log( str ); str = removeUTF8BOM( 'boop\ufeff' ); console.log( str ); -// => 'boop\ufeff' +// => 'boop' str = removeUTF8BOM( 'be\ufeffbop' ); console.log( str ); -// => 'be\ufeffbop' +// => 'bebop' str = removeUTF8BOM( 'foobar' ); console.log( str ); From ef20cf7691f9c24f01ea8d6cc32621f3b0a61c47 Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 14 Oct 2026 13:58:56 +0200 Subject: [PATCH 2/3] style: disable lint rule Signed-off-by: Athan --- .../assert/is-configurable-property-in/examples/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js b/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js index 10079c56af20..583c1c1f5ef4 100644 --- a/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js +++ b/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js @@ -16,13 +16,13 @@ * limitations under the License. */ -/* eslint-disable object-curly-newline */ +/* eslint-disable object-curly-newline, stdlib/eol-open-bracket-spacing */ 'use strict'; var isConfigurablePropertyIn = require( './../lib' ); -var bool = isConfigurablePropertyIn({ 'a': 'b' }, 'a' ); +var bool = isConfigurablePropertyIn( { 'a': 'b' }, 'a' ); console.log( bool ); // => true @@ -30,11 +30,11 @@ bool = isConfigurablePropertyIn( [ 'a' ], 0 ); console.log( bool ); // => true -bool = isConfigurablePropertyIn({ 'null': false }, null ); +bool = isConfigurablePropertyIn( { 'null': false }, null ); console.log( bool ); // => true -bool = isConfigurablePropertyIn({ '[object Object]': false }, {} ); +bool = isConfigurablePropertyIn( { '[object Object]': false }, {} ); console.log( bool ); // => true From 20cd159dd8c06fc86c88ee9023d921cffe48b18b Mon Sep 17 00:00:00 2001 From: B-Payal Date: Wed, 14 Oct 2026 21:09:08 +0530 Subject: [PATCH 3/3] fix: correct BOM doctest expectations --- .../@stdlib/string/remove-utf8-bom/examples/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js b/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js index 11a4ee0fe100..63c6bc56a5f5 100644 --- a/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js +++ b/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js @@ -26,11 +26,11 @@ console.log( str ); str = removeUTF8BOM( 'boop\ufeff' ); console.log( str ); -// => 'boop' +// => 'boop\ufeff' str = removeUTF8BOM( 'be\ufeffbop' ); console.log( str ); -// => 'bebop' +// => 'be\ufeffbop' str = removeUTF8BOM( 'foobar' ); console.log( str );