UNPKG

@cyclonedx/cyclonedx-library

Version:

Core functionality of CycloneDX for JavaScript (Node.js or WebBrowser).

61 lines (57 loc) 2.39 kB
/*! This file is part of CycloneDX JavaScript Library. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. SPDX-License-Identifier: Apache-2.0 Copyright (c) OWASP Foundation. All Rights Reserved. */ /** * This module tries to be as compatible as possible, it only uses basic methods that are known to be working in all FileSystem abstraction-layers. * In addition, we use type parameters for all `PathLike`s, so downstream users can utilize their implementations accordingly. * * @module */ import type { ErrorReporter as _ErrorReporter, FileAttachment as _FileAttachment, FsUtils as _FsUtils, PathUtils as _PathUtils } from '../contrib/license/utils.node'; import { LicenseEvidenceGatherer as _LicenseEvidenceGatherer } from '../contrib/license/utils.node'; /** * Deprecated — TypeAlias of {@link Contrib.License.Utils.FsUtils}. * * @deprecated Use `Contrib.License.Utils.FsUtils` instead. */ export interface FsUtils<P extends string> extends _FsUtils<P> { } /** * Deprecated — TypeAlias of {@link Contrib.License.Utils.PathUtils}. * * @deprecated Use `Contrib.License.Utils.PathUtils` instead. */ export interface PathUtils<P extends string> extends _PathUtils<P> { } /** * Deprecated — TypeAlias of {@link Contrib.License.Utils.FileAttachment}. * * @deprecated Use `Contrib.License.Utils.FileAttachment` instead. */ export interface FileAttachment<P extends string> extends _FileAttachment<P> { } /** * Deprecated — TypeAlias of {@link Contrib.License.Utils.ErrorReporter}. * * @deprecated Use `Contrib.License.Utils.ErrorReporter` instead. */ export type ErrorReporter = _ErrorReporter; /** * Deprecated — Alias of {@link Contrib.License.Utils.LicenseEvidenceGatherer}. * * @deprecated Use `Contrib.License.Utils.LicenseEvidenceGatherer` instead. */ export declare class LicenseEvidenceGatherer extends _LicenseEvidenceGatherer { } //# sourceMappingURL=licenseUtility.node.d.ts.map