From a1c84c1b86678e9fa739f61f6279c1a2985e299d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 22 Oct 2026 15:40:02 +0000 Subject: [PATCH] chore: pin the Node.js SDK to 26.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI, npm publish, .nvmrc, and package engines now use Node.js 26.12.1. Co-authored-by: Alejandro Uribe Sánchez --- .github/workflows/node.js.yml | 2 +- .github/workflows/npm-publish.yml | 6 +++--- .nvmrc | 1 + README.md | 2 +- package-lock.json | 3 +++ package.json | 3 +++ 6 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2c6a187..a7122c9 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [20.x, 22.x] + node-version: [26.12.1] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2b3f184..8324d25 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 with: - node-version: "24" + node-version: "26.12.1" package-manager-cache: false - run: npm ci - name: Set unpublished package version @@ -56,7 +56,7 @@ jobs: # _authToken placeholder that blocks the OIDC exchange (E404). - uses: actions/setup-node@v6 with: - node-version: "24" + node-version: "26.12.1" package-manager-cache: false - name: Ensure npm supports trusted publishing run: | @@ -144,7 +144,7 @@ jobs: name: package-version - uses: actions/setup-node@v6 with: - node-version: "24" + node-version: "26.12.1" package-manager-cache: false - run: npm ci - run: npm config set "@veryfi:registry" "https://nexus.veryfi.com/repository/npm/" diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..63f87c2 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +26.12.1 diff --git a/README.md b/README.md index 0ee9f43..7c8494d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ -[![Node.js - version](https://img.shields.io/badge/node-%3E%3D%206.0.0-brightgreen)](https://www.npmjs.com/package/@veryfi/veryfi-sdk) +[![Node.js - version](https://img.shields.io/badge/node-%3E%3D26.12.1-brightgreen)](https://www.npmjs.com/package/@veryfi/veryfi-sdk) [![npm](https://img.shields.io/badge/npm-v7.0.0-blue)](https://www.npmjs.com/package/@veryfi/veryfi-sdk) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) diff --git a/package-lock.json b/package-lock.json index 14f73f5..1dc6893 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,9 @@ "name": "@veryfi/veryfi-sdk", "version": "1.5.0", "license": "MIT", + "engines": { + "node": ">=26.12.1" + }, "devDependencies": { "@jest/globals": "^30.4.1", "docdash": "^2.0.2", diff --git a/package.json b/package.json index f7edbfa..4c8849d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "name": "@veryfi/veryfi-sdk", "version": "1.5.0", + "engines": { + "node": ">=26.12.1" + }, "description": "Node.js module for communicating with the Veryfi OCR API", "main": "lib/client/client.js", "typings": "lib/types/Client.ts",