Skip to content

Commit 8bb0f10

Browse files
jdaltonclaude
andcommitted
fix(utils): update remaining ecosystem.mjs imports to types.mjs
Fix CI type checking failures caused by missed import updates in: - src/utils/purl/parse.mts - src/utils/socket/package-alert.mts - src/utils/socket/url.mts Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f01d203 commit 8bb0f10

File tree

9 files changed

+25
-4
lines changed

9 files changed

+25
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"created": "2025-10-26T14:51:28.974Z",
3+
"name": "built",
4+
"package": "yoga-layout"
5+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"created": "2025-10-26T14:49:57.246Z",
2+
"created": "2025-10-26T14:51:10.000Z",
33
"name": "cloned",
44
"package": "yoga-layout"
55
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"created": "2025-10-26T14:51:18.799Z",
3+
"name": "configured",
4+
"package": "yoga-layout"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"created": "2025-10-26T14:51:28.975Z",
3+
"name": "optimized",
4+
"package": "yoga-layout"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"created": "2025-10-26T14:51:28.975Z",
3+
"name": "verified",
4+
"package": "yoga-layout"
5+
}

packages/cli/src/utils/purl/parse.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { PackageURL } from '@socketregistry/packageurl-js'
2727
import { isObjectObject } from '@socketsecurity/lib/objects'
2828

2929
import type { SocketArtifact } from '../alert/artifact.mjs'
30-
import type { PURL_Type } from '../ecosystem/ecosystem.mjs'
30+
import type { PURL_Type } from '../ecosystem/types.mjs'
3131

3232
export type PurlObject<T> = T & { type: PURL_Type }
3333

packages/cli/src/utils/socket/package-alert.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import type {
4747
CompactSocketArtifactAlert,
4848
CveProps,
4949
} from '../alert/artifact.mts'
50-
import type { PURL_Type } from '../ecosystem/ecosystem.mjs'
50+
import type { PURL_Type } from '../ecosystem/types.mjs'
5151
import type { SocketYml } from '@socketsecurity/config'
5252
import type { Spinner } from '@socketsecurity/lib/spinner'
5353

packages/cli/src/utils/socket/url.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { SOCKET_WEBSITE_URL } from '../../constants/socket.mjs'
2222
import { getPurlObject } from '../purl/parse.mts'
2323

2424
import type { SocketArtifact } from '../alert/artifact.mts'
25-
import type { PURL_Type } from '../ecosystem/ecosystem.mjs'
25+
import type { PURL_Type } from '../ecosystem/types.mjs'
2626
import type { PackageURL } from '@socketregistry/packageurl-js'
2727

2828
export function getPkgFullNameFromPurl(

packages/yoga-layout/scripts/build.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ async function configure() {
126126
'-ffunction-sections', // Separate functions for better dead code elimination.
127127
'-fdata-sections', // Separate data sections.
128128
'-ffast-math', // Fast math optimizations (performance).
129+
'-fno-finite-math-only', // Re-enable infinity checks (Yoga needs this).
129130
].join(' ')
130131

131132
const linkerFlags = [

0 commit comments

Comments
 (0)