Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@openctx/provider

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openctx/provider - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

4

dist/index.d.ts
import matchGlob from 'picomatch/lib/picomatch.js';
export type * from '@openctx/protocol';
export type * from '@openctx/schema';
export type { Provider } from './provider';
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position';
export type { Provider } from './provider.js';
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position.js';
export { matchGlob };
//# sourceMappingURL=index.d.ts.map
// Import from a subpackage because the main module calls `os.platform()`, which doesn't work on
// non-Node engines.
import matchGlob from 'picomatch/lib/picomatch.js';
export { createFilePositionCalculator } from './helpers/position';
export { createFilePositionCalculator } from './helpers/position.js';
// For convenience, since many providers need globs.
export { matchGlob };
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import type { AnnotationsParams, AnnotationsResult, CapabilitiesParams, CapabilitiesResult, ItemsParams, ItemsResult, ProviderSettings } from '@openctx/protocol';
import type { AnnotationsParams, AnnotationsResult, CapabilitiesParams, CapabilitiesResult, ItemsParams, ItemsResult, MentionsParams, MentionsResult, ProviderSettings } from '@openctx/protocol';
/**

@@ -12,2 +12,3 @@ * An OpenCtx provider implemented in TypeScript/JavaScript.

capabilities(params: CapabilitiesParams, settings: S): CapabilitiesResult | Promise<CapabilitiesResult>;
mentions?(params: MentionsParams, settings: S): MentionsResult | Promise<MentionsResult>;
/**

@@ -14,0 +15,0 @@ * Returns OpenCtx items.

{
"name": "@openctx/provider",
"version": "0.0.7",
"version": "0.0.8",
"description": "OpenCtx provider library",

@@ -22,4 +22,4 @@ "license": "Apache-2.0",

"picomatch": "^3.0.1",
"@openctx/protocol": "0.0.7",
"@openctx/schema": "0.0.6"
"@openctx/protocol": "0.0.8",
"@openctx/schema": "0.0.7"
},

@@ -26,0 +26,0 @@ "devDependencies": {

@@ -7,7 +7,7 @@ // Import from a subpackage because the main module calls `os.platform()`, which doesn't work on

export type * from '@openctx/schema'
export type { Provider } from './provider'
export type { Provider } from './provider.js'
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position'
export { createFilePositionCalculator, type PositionCalculator } from './helpers/position.js'
// For convenience, since many providers need globs.
export { matchGlob }

@@ -8,2 +8,4 @@ import type {

ItemsResult,
MentionsParams,
MentionsResult,
ProviderSettings,

@@ -26,2 +28,4 @@ } from '@openctx/protocol'

mentions?(params: MentionsParams, settings: S): MentionsResult | Promise<MentionsResult>
/**

@@ -28,0 +32,0 @@ * Returns OpenCtx items.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc