Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 0 additions & 109 deletions .editorconfig

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/release.beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
name: NPM Publish (beta)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '18'
- run: npm install --global npm@8
node-version: '22'
- run: npm install --global npm@10
- run: npm ci
- uses: JS-DevTools/npm-publish@v3
- uses: JS-DevTools/npm-publish@v4
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Github Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: docker://antonyurchenko/git-release:v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -20,13 +20,13 @@ jobs:
name: NPM Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '18'
- run: npm install --global npm@8
node-version: '22'
- run: npm install --global npm@10
- run: npm ci
- uses: JS-DevTools/npm-publish@v3
- uses: JS-DevTools/npm-publish@v4
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:

strategy:
matrix:
node: ['18', '20']
node: ['22', '24']
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
- run: npm install -g npm@10
- run: npm ci
- run: npm install -g .
- run: npm test
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- OneBlink US tenant

### Changed

- **[BREAKING]** API Hosting runtime version from Node.js 18 to [Node.js 22](https://nodejs.org/en/blog/announcements/v22-release-announce)
- Require minimum [Node.js 22](https://nodejs.org/en/blog/announcements/v22-release-announce)

### Removed

- **[BREAKING]** support for Node.js 18.

## [3.5.9] - 2025-08-11

## [3.5.8] - 2025-07-10
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Requirements

- [Node.js](https://nodejs.org/) 18.0 or newer
- NPM 8.0 or newer
- [Node.js](https://nodejs.org/) 22.0 or newer
- NPM 10.0 or newer

## Installation

Expand Down
4 changes: 2 additions & 2 deletions docs/api/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Execution Environment

- Code executes within a Linux environment with [Node.js 18](https://nodejs.org/dist/latest-v18.x/docs/api/)
- Code executes within a Linux environment with [Node.js 22](https://nodejs.org/dist/latest-v22.x/docs/api/)

- If you use features not available in this version of Node.js, transpile before deployment. NPM packages using native binaries can be installed using docker:

```
docker run -it --rm -v ${PWD}:/app -w /app node:18 npm install
docker run -it --rm -v ${PWD}:/app -w /app node:22 npm install
```

* The environment your code executes in is arbitrarily destroyed between requests
Expand Down
9 changes: 4 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import js from '@eslint/js'
import { FlatCompat } from '@eslint/eslintrc'
import pluginMicrosoftSdl from '@microsoft/eslint-plugin-sdl'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const _filename = fileURLToPath(import.meta.url)
const _dirname = path.dirname(_filename)
const compat = new FlatCompat({
baseDirectory: __dirname,
baseDirectory: _dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
})
Expand Down Expand Up @@ -45,11 +45,10 @@ export default [
ecmaVersion: 2020,
sourceType: 'commonjs',

parserOptions: { project: './tsconfig.json' },
parserOptions: { project: './tsconfig.eslint.json' },
},

rules: {
'no-console': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
},
},
Expand Down
26 changes: 0 additions & 26 deletions jest.config.js

This file was deleted.

Loading
Loading