![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@vscode-logging/types
Advanced tools
Types used by @vscode-logging/logger extracted to a separate package to enable in-direct dependents to type check against the correct interfaces.
For example imagine a VSCode extension called Foo
which uses an npm package called Bar
as a dependency and Bar
APIs can accept an optional logger implementation:
// Code in `Bar` npm package
// -------------------------------------------------------
// By defining the `IChildLogger` interface` in `@vscode-logging/types`
// `Bar` only depends (dev dependency) on the interface **not** the implementation.
import { IChildLogger } from "@vscode-logging/types";
export function add(lhs: number, rhs: number, logger: IChildLogger): number {
logger.info("Entering <add> function with params:", { lhs: lhs, rhs: rhs });
return lhs + rhs;
}
With npm:
npm install @vscode-logging/types --save-dev
With Yarn:
yarn add @vscode-logging/types --dev
As shown above, simply import the IChildLogger
interface and use it to define
the type of your injected logger implementation.
Please open issues on github.
See CONTRIBUTING.md.
Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.
2.0.0 (2024-01-05)
getConfigurations
and onDidChangeConfiguration
properties
were removed from the configureLogger
public APIFAQs
Common Type Signatures for @vscode-logging/logger
The npm package @vscode-logging/types receives a total of 0 weekly downloads. As such, @vscode-logging/types popularity was classified as not popular.
We found that @vscode-logging/types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.