Skip to content

Commit a55f0c9

Browse files
authored
chore: bump dev deps, improved docs (#214)
1 parent 5e492e4 commit a55f0c9

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0
1919

2020
- name: Use Node.js 24.x
21-
uses: actions/setup-node@v5
21+
uses: actions/setup-node@v6
2222
with:
2323
node-version: 24.x
2424
- run: npm install
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/checkout@v5
4848

4949
- name: Build & Test with Node.js ${{ matrix.node-version }}
50-
uses: actions/setup-node@v5
50+
uses: actions/setup-node@v6
5151
with:
5252
node-version: ${{ matrix.node-version }}
5353

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v5
14-
- uses: actions/setup-node@v5
14+
- uses: actions/setup-node@v6
1515
with:
1616
node-version: 24
1717
- run: npm install
@@ -29,7 +29,7 @@ jobs:
2929

3030
steps:
3131
- uses: actions/checkout@v5
32-
- uses: actions/setup-node@v5
32+
- uses: actions/setup-node@v6
3333
with:
3434
node-version: 24
3535
registry-url: https://registry.npmjs.org/

.github/workflows/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fetch-depth: 0
3535

3636
- name: Use Node.js 24.x
37-
uses: actions/setup-node@v5
37+
uses: actions/setup-node@v6
3838
with:
3939
node-version: 24.x
4040
- run: npm install

.github/workflows/staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fetch-depth: 0
2626

2727
- name: Setup Node
28-
uses: actions/setup-node@v5
28+
uses: actions/setup-node@v6
2929
with:
3030
node-version: ${{ github.event.inputs.node }}
3131

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,34 +23,34 @@ A JavaScript SDK for Switcher API
2323

2424
## Table of Contents
2525

26-
- [🎯 About](#-about)
27-
- [🚀 Quick Start](#-quick-start)
28-
- [⚙️ Installation & Setup](#️-installation--setup)
26+
- [About](#-about)
27+
- [Quick Start](#-quick-start)
28+
- [Installation & Setup](#️-installation--setup)
2929
- [Installation](#installation)
3030
- [Basic Configuration](#basic-configuration)
3131
- [Advanced Options](#advanced-options)
32-
- [💡 Usage Examples](#-usage-examples)
32+
- [Usage Examples](#usage-examples)
3333
- [Basic Usage](#basic-usage)
3434
- [Strategy Validation](#strategy-validation)
3535
- [Throttling](#throttling)
3636
- [Hybrid Mode](#hybrid-mode)
37-
- [🧪 Testing Features](#-testing-features)
37+
- [Testing Features](#testing-features)
3838
- [Built-in Stub Feature](#built-in-stub-feature)
3939
- [Test Mode](#test-mode)
4040
- [Smoke Testing](#smoke-testing)
41-
- [📁 Snapshot Management](#-snapshot-management)
41+
- [Snapshot Management](#snapshot-management)
4242
- [Loading Snapshots](#loading-snapshots)
4343
- [Watching for Changes](#watching-for-changes)
4444
- [Version Checking](#version-checking)
4545
- [Auto-Update Scheduler](#auto-update-scheduler)
4646

4747
---
4848

49-
## 🎯 About
49+
## About
5050

5151
**Switcher Client JS** is a feature-rich SDK for integrating [Switcher API](https://github.com/switcherapi/switcher-api) into your JS-based applications (Web, Node.js, Bun, Cloudflare Workers). It provides robust feature flag management with enterprise-grade capabilities.
5252

53-
### Key Features
53+
### Key Features
5454

5555
- 🚀 **Zero Latency**: Local mode with snapshot files or in-memory for instant feature flag resolution
5656
- 🔄 **Hybrid Configuration**: Silent mode with automatic fallback handling
@@ -60,7 +60,7 @@ A JavaScript SDK for Switcher API
6060

6161
---
6262

63-
## 🚀 Quick Start
63+
## Quick Start
6464

6565
Get up and running with Switcher Client in 3 simple steps:
6666

@@ -90,7 +90,7 @@ console.log('Feature enabled:', isFeatureEnabled);
9090

9191
---
9292

93-
## ⚙️ Installation & Setup
93+
## Installation & Setup
9494

9595
### Installation
9696

@@ -170,7 +170,7 @@ Client.buildContext({
170170
171171
---
172172

173-
## 💡 Usage Examples
173+
## Usage Examples
174174

175175
### Basic Usage
176176

@@ -255,7 +255,7 @@ const result = await switcher.remote().isItOn('FEATURE01');
255255

256256
---
257257

258-
## 🧪 Testing Features
258+
## Testing Features
259259

260260
### Built-in Stub Feature
261261

@@ -341,7 +341,7 @@ This feature validates using the current context and throws an exception if any
341341

342342
---
343343

344-
## 📁 Snapshot Management
344+
## Snapshot Management
345345

346346
### Loading Snapshots
347347

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "switcher-client",
3-
"version": "4.5.0",
3+
"version": "4.5.1",
44
"description": "Client JS SDK for working with Switcher-API",
55
"main": "./switcher-client.js",
66
"type": "module",
@@ -31,13 +31,13 @@
3131
"src/"
3232
],
3333
"devDependencies": {
34-
"@babel/eslint-parser": "^7.28.4",
35-
"@typescript-eslint/eslint-plugin": "^8.46.1",
36-
"@typescript-eslint/parser": "^8.46.1",
34+
"@babel/eslint-parser": "^7.28.5",
35+
"@typescript-eslint/eslint-plugin": "^8.46.2",
36+
"@typescript-eslint/parser": "^8.46.2",
3737
"c8": "^10.1.3",
3838
"chai": "^6.2.0",
3939
"env-cmd": "^11.0.0",
40-
"eslint": "^9.38.0",
40+
"eslint": "^9.39.0",
4141
"mocha": "^11.7.4",
4242
"mocha-sonarqube-reporter": "^1.0.2",
4343
"sinon": "^21.0.0"

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sonar.projectKey=switcherapi_switcher-client-master
22
sonar.projectName=switcher-client-js
33
sonar.organization=switcherapi
4-
sonar.projectVersion=4.5.0
4+
sonar.projectVersion=4.5.1
55
sonar.links.homepage=https://github.com/switcherapi/switcher-client-js
66

77
sonar.javascript.lcov.reportPaths=coverage/lcov.info

0 commit comments

Comments
 (0)