File tree Expand file tree Collapse file tree 5 files changed +27
-7
lines changed Expand file tree Collapse file tree 5 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,3 @@ export type NotUndefined<T> = T extends undefined ? never : T
2222export function isNotUndefined < T > ( value : T | undefined ) : value is NotUndefined < T > {
2323 return value !== undefined
2424}
25-
26- export interface Stringable {
27- toString : ( ) => string
28- }
Original file line number Diff line number Diff line change 1+ /*!
2+ This file is part of CycloneDX JavaScript Library.
3+
4+ Licensed under the Apache License, Version 2.0 (the "License");
5+ you may not use this file except in compliance with the License.
6+ You may obtain a copy of the License at
7+
8+ http://www.apache.org/licenses/LICENSE-2.0
9+
10+ Unless required by applicable law or agreed to in writing, software
11+ distributed under the License is distributed on an "AS IS" BASIS,
12+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ See the License for the specific language governing permissions and
14+ limitations under the License.
15+
16+ SPDX-License-Identifier: Apache-2.0
17+ Copyright (c) OWASP Foundation. All Rights Reserved.
18+ */
19+
20+ export interface Stringable {
21+ toString : ( ) => string
22+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ SPDX-License-Identifier: Apache-2.0
1717Copyright (c) OWASP Foundation. All Rights Reserved.
1818*/
1919
20- import { isNotUndefined , Stringable } from '../../helpers/types'
20+ import { isNotUndefined } from '../../helpers/notUndefined'
21+ import { Stringable } from '../../helpers/stringable'
2122import * as Models from '../../models'
2223import { Protocol as Spec , Version as SpecVersion } from '../../spec'
2324import { NormalizerOptions } from '../types'
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ SPDX-License-Identifier: Apache-2.0
1717Copyright (c) OWASP Foundation. All Rights Reserved.
1818*/
1919
20- import { isNotUndefined , Stringable } from '../../helpers/types'
20+ import { isNotUndefined } from '../../helpers/notUndefined'
21+ import { Stringable } from '../../helpers/stringable'
2122import * as Models from '../../models'
2223import { Protocol as Spec , Version as SpecVersion } from '../../spec'
2324import { NormalizerOptions } from '../types'
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ SPDX-License-Identifier: Apache-2.0
1717Copyright (c) OWASP Foundation. All Rights Reserved.
1818*/
1919
20- import { isNotUndefined } from '../helpers/types '
20+ import { isNotUndefined } from '../helpers/notUndefined '
2121import { SerializerOptions } from './types'
2222import { XmlBaseSerializer } from './xmlBaseSerializer'
2323import { SimpleXml } from './xml/types'
You can’t perform that action at this time.
0 commit comments