Skip to content

Commit 08f39a2

Browse files
authored
Merge pull request #303 from silinternational/develop
Release - 11.8.1
2 parents 1b9924b + 76229d7 commit 08f39a2

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), enforced with [semantic-release](https://github.com/semantic-release/semantic-release).
55

6+
### [11.8.1](https://github.com/silinternational/ui-components/compare/v11.8.0...v11.8.1) (2025-04-10)
7+
8+
### Fixed
9+
10+
- **CheckboxProps:** type description should be optional ([0730797](https://github.com/silinternational/ui-components/commit/0730797f94169e778be547d726baa57aa93dd63a))
11+
612
## [11.8.0](https://github.com/silinternational/ui-components/compare/v11.7.0...v11.8.0) (2025-04-03)
713

814
### Added

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare module '@silintl/ui-components' {
3232

3333
interface CheckboxProps {
3434
label?: string
35-
description: string
35+
description?: string
3636
checked?: boolean
3737
disabled?: boolean
3838
uppercase?: boolean

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@silintl/ui-components",
3-
"version": "11.8.0",
3+
"version": "11.8.1",
44
"description": "Reusable Svelte components for some internal applications",
55
"main": "index.mjs",
66
"module": "index.mjs",

release.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,16 @@ function isDryRun() {
172172
return process.argv.includes('--dry-run')
173173
}
174174

175+
const gitPath = '/usr/bin/git'
176+
175177
function getLocalRepoUrl() {
176-
const topLevelDir = execSync('git rev-parse --show-toplevel').toString().trim()
178+
// Safe: using fixed path to git in a trusted CI environment with no user input
179+
const topLevelDir = execSync(`${gitPath} rev-parse --show-toplevel`).toString().trim()
177180

178181
return `file://${topLevelDir}/.git`
179182
}
180183

181184
function getCurrentBranch() {
182-
return execSync('git rev-parse --abbrev-ref HEAD').toString().trim()
185+
// Safe: using fixed path to git in a trusted CI environment with no user input
186+
return execSync(`${gitPath} rev-parse --abbrev-ref HEAD`).toString().trim()
183187
}

0 commit comments

Comments
 (0)