@@ -21,11 +21,11 @@ import { isPlainObject } from '@socketsecurity/lib-stable/objects/predicates'
2121import type { SocketArtifact } from '../alert/artifact.mjs'
2222import type { PURL_Type } from '../ecosystem/types.mjs'
2323
24- export type PurlObject < T > = T & { type : PURL_Type }
24+ type PurlObject < T > = T & { type : PURL_Type }
2525
26- export type PurlLike = string | PackageURL | SocketArtifact
26+ type PurlLike = string | PackageURL | SocketArtifact
2727
28- export type CreatePurlObjectOptions = {
28+ type CreatePurlObjectOptions = {
2929 type ?: string | undefined
3030 namespace ?: string | undefined
3131 name ?: string | undefined
@@ -35,11 +35,11 @@ export type CreatePurlObjectOptions = {
3535 throws ?: boolean | undefined
3636}
3737
38- export type CreatePurlOptionsWithThrows = CreatePurlObjectOptions & {
38+ type CreatePurlOptionsWithThrows = CreatePurlObjectOptions & {
3939 throws ?: true | undefined
4040}
4141
42- export type CreatePurlOptionsNoThrows = CreatePurlObjectOptions & {
42+ type CreatePurlOptionsNoThrows = CreatePurlObjectOptions & {
4343 throws : false
4444}
4545
@@ -109,15 +109,15 @@ export function createPurlObject(
109109 return undefined
110110}
111111
112- export type PurlObjectOptions = {
112+ type PurlObjectOptions = {
113113 throws ?: boolean | undefined
114114}
115115
116- export type PurlOptionsWithThrows = PurlObjectOptions & {
116+ type PurlOptionsWithThrows = PurlObjectOptions & {
117117 throws ?: true | undefined
118118}
119119
120- export type PurlOptionsNoThrows = PurlObjectOptions & { throws : false }
120+ type PurlOptionsNoThrows = PurlObjectOptions & { throws : false }
121121
122122export function getPurlObject (
123123 purl : string ,
0 commit comments