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
10 changes: 5 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:

steps:
- name: Git checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup Deno v2.5.4
- name: Setup Deno v2.6.0
uses: denoland/setup-deno@v2
with:
deno-version: v2.5.4
deno-version: v2.6.0

- name: Setup LCOV
run: sudo apt install -y lcov
Expand All @@ -45,13 +45,13 @@ jobs:
strategy:
fail-fast: false
matrix:
deno-version: [v1.46.3, v2.5.4]
deno-version: [v1.46.3, v2.6.0]
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}

steps:
- name: Git checkout
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Setup Deno ${{ matrix.deno-version }}
uses: denoland/setup-deno@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Git checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.inputs.tag }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
core.setOutput('base_ref', pr.data.base.ref);
core.setOutput('head_sha', pr.data.head.sha);

- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
ref: ${{ steps.pr.outputs.head_sha }}
fetch-depth: 0

- name: Setup Deno v2.5.4
- name: Setup Deno v2.6.0
uses: denoland/setup-deno@v2
with:
deno-version: v2.5.4
deno-version: v2.6.0

- name: Setup LCOV
run: sudo apt install -y lcov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Git checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@switcherapi/switcher-client-deno",
"version": "2.4.0",
"version": "2.4.1",
"description": "Switcher4Deno is a Feature Flag Deno Client SDK for Switcher API",
"tasks": {
"cache-reload": "deno cache --reload --lock=deno.lock mod.ts",
Expand Down
23 changes: 11 additions & 12 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sonar.projectKey=switcherapi_switcher-client-deno
sonar.projectName=switcher-client-deno
sonar.organization=switcherapi
sonar.projectVersion=2.4.0
sonar.projectVersion=2.4.1

sonar.javascript.lcov.reportPaths=coverage/report.lcov

Expand Down
2 changes: 1 addition & 1 deletion src/deps.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { existsSync } from 'jsr:@std/fs@1.0.19';
export { existsSync } from 'jsr:@std/fs@1.0.20';
4 changes: 2 additions & 2 deletions src/lib/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ function processREGEX(
case OperationsType.NOT_EXIST:
return !processREGEX(OperationsType.EXIST, input, values);
case OperationsType.EQUAL:
return TimedMatch.tryMatch([`\\b${values[0]}\\b`], input);
return TimedMatch.tryMatch([String.raw`\b${values[0]}\b`], input);
case OperationsType.NOT_EQUAL:
return !TimedMatch.tryMatch([`\\b${values[0]}\\b`], input);
return !TimedMatch.tryMatch([String.raw`\b${values[0]}\b`], input);
default:
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export {
assertNotEquals,
assertGreater,
assertArrayIncludes
} from 'jsr:@std/assert@1.0.15';
} from 'jsr:@std/assert@1.0.16';
export { assertSpyCalls, spy } from 'jsr:@std/testing@1.0.16/mock';
export {
describe,
Expand Down