From 5089368a171ef0fcc9fa8ddba1937c240b9ea255 Mon Sep 17 00:00:00 2001 From: Seth-Banker <125103042+Seth-Banker@users.noreply.github.com> Date: Wed, 17 Sep 2025 02:17:28 -0700 Subject: [PATCH 1/3] Update publish_packages.js Changed scope of updatePermissions() Signed-off-by: Seth-Banker <125103042+Seth-Banker@users.noreply.github.com> --- .../_tools/scripts/publish_packages.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js index 12b988e07558..ebeb39927386 100644 --- a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js +++ b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js @@ -1205,6 +1205,16 @@ function publish( pkg, clbk ) { }, onRepoCreation ); } + /** + * Adds executable permission to `bin/cli` files. + * + * @private + * @param {Object} git - `git` class instance + */ + function updatePermissions( git ) { + shell( 'find '+git.cwd+' -regex \'.*/bin/cli\' -print0 | xargs -r -0 chmod +x' ); + } + /** * Publishes the package to npm. * @@ -1295,16 +1305,6 @@ function publish( pkg, clbk ) { invokeCallback(); } - /** - * Adds executable permission to `bin/cli` files. - * - * @private - * @param {Object} git - `git` class instance - */ - function updatePermissions( git ) { - shell( 'find '+git.cwd+' -regex \'.*/bin/cli\' -print0 | xargs -r -0 chmod +x' ); - } - /** * Replacer function for inserting an install section before a usage section. * From 8bc37a9cdcca828a51e4c794233ddfeb2a2febea Mon Sep 17 00:00:00 2001 From: Seth-Banker <125103042+Seth-Banker@users.noreply.github.com> Date: Wed, 17 Sep 2025 02:19:22 -0700 Subject: [PATCH 2/3] Update index.js Removed unused directive. Signed-off-by: Seth-Banker <125103042+Seth-Banker@users.noreply.github.com> --- .../@stdlib/assert/is-integer-array/examples/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-integer-array/examples/index.js b/lib/node_modules/@stdlib/assert/is-integer-array/examples/index.js index b7a20a29366f..83b08a076e3b 100644 --- a/lib/node_modules/@stdlib/assert/is-integer-array/examples/index.js +++ b/lib/node_modules/@stdlib/assert/is-integer-array/examples/index.js @@ -16,8 +16,6 @@ * limitations under the License. */ -/* eslint-disable no-new-wrappers */ - 'use strict'; var Number = require( '@stdlib/number/ctor' ); From 4f87161696cafaf3fbe4881dc143fd604b62d8c5 Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 17 Sep 2025 02:52:27 -0700 Subject: [PATCH 3/3] refactor: move function to module scope Signed-off-by: Athan --- .../_tools/scripts/publish_packages.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js index ebeb39927386..201e6116f1a7 100644 --- a/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js +++ b/lib/node_modules/@stdlib/_tools/scripts/publish_packages.js @@ -606,6 +606,16 @@ function onTopics( error, data, info ) { console.log( 'Rate limit: '+JSON.stringify( info ) ); } +/** +* Adds executable permission to `bin/cli` files. +* +* @private +* @param {Object} git - `git` class instance +*/ +function updatePermissions( git ) { + shell( 'find '+git.cwd+' -regex \'.*/bin/cli\' -print0 | xargs -r -0 chmod +x' ); +} + /** * Publishes a package to the respective GitHub repository. * @@ -1205,16 +1215,6 @@ function publish( pkg, clbk ) { }, onRepoCreation ); } - /** - * Adds executable permission to `bin/cli` files. - * - * @private - * @param {Object} git - `git` class instance - */ - function updatePermissions( git ) { - shell( 'find '+git.cwd+' -regex \'.*/bin/cli\' -print0 | xargs -r -0 chmod +x' ); - } - /** * Publishes the package to npm. *