Skip to content

Commit 4051451

Browse files
committed
Bump to v1.0.2
1 parent e8dd76b commit 4051451

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

CHANGELOG.md

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

8+
## [1.0.2] - 2025-10-21
9+
10+
### Fixed
11+
12+
- Fixed module resolution error in packages/normalize module (corrected require path from `../../constants/socket` to `../constants/socket`)
13+
814
## [1.0.1] - 2025-10-21
915

1016
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/lib",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"license": "MIT",
55
"description": "Core utilities and infrastructure for Socket.dev security tools",
66
"keywords": [

scripts/build.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function buildSource(options = {}) {
4141
if (!skipClean) {
4242
const exitCode = await runSequence([
4343
{
44-
args: ['scripts/load.cjs', 'clean', '--dist', '--quiet'],
44+
args: ['scripts/clean.mjs', '--dist', '--quiet'],
4545
command: 'node',
4646
},
4747
])
@@ -92,13 +92,13 @@ async function buildTypes(options = {}) {
9292

9393
if (!skipClean) {
9494
commands.push({
95-
args: ['scripts/load.cjs', 'clean', '--types', '--quiet'],
95+
args: ['scripts/clean.mjs', '--types', '--quiet'],
9696
command: 'node',
9797
})
9898
}
9999

100100
commands.push({
101-
args: ['exec', 'tsgo', '--project', '.config/tsconfig.dts.json'],
101+
args: ['exec', 'tsgo', '--project', 'tsconfig.dts.json'],
102102
command: 'pnpm',
103103
})
104104

@@ -333,7 +333,7 @@ async function main() {
333333
}
334334
exitCode = await runSequence([
335335
{
336-
args: ['scripts/load.cjs', 'clean', '--dist', '--types', '--quiet'],
336+
args: ['scripts/clean.mjs', '--dist', '--types', '--quiet'],
337337
command: 'node',
338338
},
339339
])

src/packages/normalize.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let _REGISTRY_SCOPE_DELIMITER: string | undefined
1414
function getRegistryScopeDelimiter(): string {
1515
if (_REGISTRY_SCOPE_DELIMITER === undefined) {
1616
_REGISTRY_SCOPE_DELIMITER =
17-
/*@__INLINE__*/ require('../../constants/socket').REGISTRY_SCOPE_DELIMITER
17+
/*@__INLINE__*/ require('../constants/socket').REGISTRY_SCOPE_DELIMITER
1818
}
1919
return _REGISTRY_SCOPE_DELIMITER as string
2020
}
@@ -23,7 +23,7 @@ let _SOCKET_REGISTRY_SCOPE: string | undefined
2323
function getSocketRegistryScope(): string {
2424
if (_SOCKET_REGISTRY_SCOPE === undefined) {
2525
_SOCKET_REGISTRY_SCOPE =
26-
/*@__INLINE__*/ require('../../constants/socket').SOCKET_REGISTRY_SCOPE
26+
/*@__INLINE__*/ require('../constants/socket').SOCKET_REGISTRY_SCOPE
2727
}
2828
return _SOCKET_REGISTRY_SCOPE as string
2929
}

0 commit comments

Comments
 (0)