New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlassian/clientside-extensions-registry

Package Overview
Dependencies
Maintainers
25
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlassian/clientside-extensions-registry - npm Package Compare versions

Comparing version 0.8.1-beta-1 to 0.8.1

4

dist/registry.d.ts

@@ -31,5 +31,5 @@ import { JSONSchema7 } from 'json-schema';

/**
* Plugin's resources use this API to register their attribute factories.
* Extension entry-points use this API to register their attribute providers.
*/
registerPlugin(key: string, attributesProvider: PluginAttributesProvider): void;
registerExtension(key: string, attributesProvider: PluginAttributesProvider): void;
saveSchema(locationName: string, schema: JSONSchema7): void;

@@ -36,0 +36,0 @@ getSchemaByKey(key: string): JSONSchema7 | null;

@@ -105,5 +105,5 @@ "use strict";

/**
* Plugin's resources use this API to register their attribute factories.
* Extension entry-points use this API to register their attribute providers.
*/
ClientPluginsRegistry.prototype.registerPlugin = function (key, attributesProvider) {
ClientPluginsRegistry.prototype.registerExtension = function (key, attributesProvider) {
var pluginDescriptor = ClientPluginsRegistry.getPluginsByKey(key, this.plugins);

@@ -126,5 +126,5 @@ if (!pluginDescriptor) {

// due to the fact that we will load all resources at once
// we can assume that all registerPlugin calls for a location come at the same time
// we can assume that all registerExtension calls for a location come at the same time
// this - combined with the 'deferred' calling nature of the `notify` method
// means we do not have to wait for the last registerPlugin call
// means we do not have to wait for the last registerExtension call
var loadingState = false;

@@ -131,0 +131,0 @@ // set location as initialized.

@@ -12,3 +12,6 @@ export interface BasePluginDescriptor {

};
export interface PluginAttributes {
interface PluginAction {
onAction?: (...args: unknown[]) => void;
}
export interface PluginAttributes extends PluginAction {
[key: string]: unknown;

@@ -15,0 +18,0 @@ }

{
"name": "@atlassian/clientside-extensions-registry",
"version": "0.8.1-beta-1",
"version": "0.8.1",
"description": "Implements the browser runtime for the client-side extensions.",

@@ -59,4 +59,4 @@ "license": "BSD-3-Clause",

"dependencies": {
"@atlassian/clientside-extensions-base": "^0.8.1-beta-1",
"@atlassian/clientside-extensions-debug": "^0.8.1-beta-1"
"@atlassian/clientside-extensions-base": "^0.8.1",
"@atlassian/clientside-extensions-debug": "^0.8.1"
},

@@ -69,3 +69,3 @@ "devDependencies": {

},
"gitHead": "4ea06ffb0a51978fbbc249167d04596f6554f227"
"gitHead": "33594312e0b384bcf92a87238b21ab5061690e5e"
}

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