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

adf-builder

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adf-builder - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

3

dist/marks/action.d.ts

@@ -9,4 +9,5 @@ import { Mark } from './mark';

private readonly target;
constructor(title: string, target: ActionTarget);
private readonly actionParameters;
constructor(title: string, target: ActionTarget, actionParameters?: object | undefined);
toJSON(): any;
}

@@ -5,6 +5,7 @@ "use strict";

class Action extends mark_1.Mark {
constructor(title, target) {
constructor(title, target, actionParameters) {
super('action');
this.title = title;
this.target = target;
this.actionParameters = actionParameters;
}

@@ -19,2 +20,5 @@ toJSON() {

};
if (this.actionParameters) {
actionMark.attrs.parameters = this.actionParameters;
}
return actionMark;

@@ -21,0 +25,0 @@ }

@@ -13,3 +13,3 @@ import { ActionTarget } from './action';

underline(): this;
action(title: string, target: ActionTarget): this;
action(title: string, target: ActionTarget, actionParameters?: object): this;
toJSON(): {

@@ -16,0 +16,0 @@ type: string;

@@ -43,4 +43,4 @@ "use strict";

}
action(title, target) {
return this.add(new action_1.Action(title, target));
action(title, target, actionParameters) {
return this.add(new action_1.Action(title, target, actionParameters));
}

@@ -47,0 +47,0 @@ toJSON() {

{
"name": "adf-builder",
"version": "3.0.0",
"version": "3.0.1",
"description": "Atlassian Document Format Builder",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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