confluence.js 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.6.2
4
+
5
+ - Badge fixed
6
+ - Dependencies updated
7
+
3
8
  ### 1.6.1
4
9
 
5
10
  `AuthenticationService` added to export facade. Thanks to [Andrew McClenaghan](https://github.com/andymac4182) for this improvement.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  <a href="https://www.npmjs.com/package/confluence.js"><img alt="NPM version" src="https://img.shields.io/npm/v/confluence.js.svg?maxAge=3600&style=flat-square" /></a>
5
5
  <a href="https://www.npmjs.com/package/confluence.js"><img alt="NPM downloads per month" src="https://img.shields.io/npm/dm/confluence.js.svg?maxAge=3600&style=flat-square" /></a>
6
- <a href="https://github.com/MrRefactoring/confluence.js"><img alt="build status" src="https://img.shields.io/github/workflow/status/mrrefactoring/confluence.js/CI?style=flat-square"></a>
6
+ <a href="https://github.com/MrRefactoring/confluence.js"><img alt="build status" src="https://img.shields.io/github/actions/workflow/status/mrrefactoring/confluence.js/ci.yaml?style=flat-square"></a>
7
7
  <a href="https://github.com/mrrefactoring/confluence.js/blob/develop/LICENSE"><img alt="license" src="https://img.shields.io/github/license/mrrefactoring/confluence.js?color=green&style=flat-square"/></a>
8
8
 
9
9
  <span>JavaScript / TypeScript library for Node.JS and browsers to easily interact with Atlassian Confluence API</span>
@@ -1,2 +1,2 @@
1
1
  import { AccountIdEmailRecord } from './accountIdEmailRecord';
2
- export declare type AccountIdEmailRecordArray = AccountIdEmailRecord[];
2
+ export type AccountIdEmailRecordArray = AccountIdEmailRecord[];
@@ -1,2 +1,2 @@
1
1
  import { AddContentRestriction } from './addContentRestriction';
2
- export declare type AddContentRestrictionUpdateArray = AddContentRestriction[];
2
+ export type AddContentRestrictionUpdateArray = AddContentRestriction[];
@@ -3,4 +3,4 @@ import { AppDescriptor } from './appDescriptor';
3
3
  * A list of app modules in the same format as the `modules` property in the [app
4
4
  * descriptor](https://developer.atlassian.com/cloud/confluence/app-descriptor/).
5
5
  */
6
- export declare type ConnectModules = AppDescriptor[];
6
+ export type ConnectModules = AppDescriptor[];
@@ -2,4 +2,4 @@
2
2
  * Container for content. This can be either a space (containing a page or blogpost)* or a page/blog post (containing an
3
3
  * attachment or comment)
4
4
  */
5
- export declare type Container = Record<string, any>;
5
+ export type Container = Record<string, any>;
@@ -1,2 +1,2 @@
1
1
  import { ContentRestrictionUpdate } from './contentRestrictionUpdate';
2
- export declare type ContentRestrictionUpdateArray = ContentRestrictionUpdate[];
2
+ export type ContentRestrictionUpdateArray = ContentRestrictionUpdate[];
@@ -1 +1 @@
1
- export declare type Embeddable = Record<string, any>;
1
+ export type Embeddable = Record<string, any>;
@@ -1,4 +1,4 @@
1
- export declare type GenericLinks = {
1
+ export type GenericLinks = {
2
2
  [key: string]: any;
3
3
  self: string;
4
4
  next?: string;
@@ -1,2 +1,2 @@
1
1
  import { LabelCreate } from './labelCreate';
2
- export declare type LabelCreateArray = LabelCreate[];
2
+ export type LabelCreateArray = LabelCreate[];
@@ -7,4 +7,4 @@
7
7
  * "example3": 123
8
8
  * }
9
9
  */
10
- export declare type PropertyValue = Record<string, any>;
10
+ export type PropertyValue = Record<string, any>;
@@ -1,2 +1,2 @@
1
1
  import { ConnectModules } from '../models';
2
- export declare type RegisterModules = ConnectModules;
2
+ export type RegisterModules = ConnectModules;
package/out/callback.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import { AxiosError } from 'axios';
2
- export declare type Callback<T> = (err: AxiosError | null, data?: T) => void;
2
+ export type Callback<T> = (err: AxiosError | null, data?: T) => void;
@@ -1,2 +1,2 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export declare type RequestConfig = AxiosRequestConfig;
2
+ export type RequestConfig = AxiosRequestConfig;
@@ -2,4 +2,4 @@
2
2
  * Container for content. This can be either a space (containing a page or blogpost)* or a page/blog post (containing an
3
3
  * attachment or comment)
4
4
  */
5
- export declare type Container = Record<string, any>;
5
+ export type Container = Record<string, any>;
@@ -1 +1 @@
1
- export declare type Embeddable = Record<string, any>;
1
+ export type Embeddable = Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "confluence.js",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "confluence.js is a powerful Node.JS/Browser module that allows you to interact with the Confluence API very easily",
5
5
  "author": "Vladislav Tupikin <mrrefactoring@yandex.ru>",
6
6
  "license": "MIT",
@@ -43,30 +43,30 @@
43
43
  ],
44
44
  "devDependencies": {
45
45
  "@swc-node/register": "^1.5.4",
46
- "@types/express": "^4.17.14",
46
+ "@types/express": "^4.17.15",
47
47
  "@types/oauth": "^0.9.1",
48
48
  "@types/sinon": "^10.0.13",
49
- "@typescript-eslint/eslint-plugin": "^5.41.0",
50
- "@typescript-eslint/parser": "^5.41.0",
51
- "ava": "^5.0.1",
49
+ "@typescript-eslint/eslint-plugin": "^5.48.0",
50
+ "@typescript-eslint/parser": "^5.48.0",
51
+ "ava": "^5.1.0",
52
52
  "dotenv": "^16.0.3",
53
- "eslint": "^8.26.0",
53
+ "eslint": "^8.31.0",
54
54
  "eslint-config-airbnb": "^19.0.4",
55
55
  "eslint-config-airbnb-typescript": "^17.0.0",
56
56
  "eslint-import-resolver-typescript": "^3.5.2",
57
57
  "eslint-plugin-import": "^2.26.0",
58
- "prettier": "^2.7.1",
58
+ "prettier": "^2.8.1",
59
59
  "prettier-plugin-jsdoc": "^0.4.2",
60
- "sinon": "^14.0.1",
61
- "typedoc": "^0.23.19",
62
- "typedoc-plugin-extras": "^2.3.0",
63
- "typescript": "^4.8.4"
60
+ "sinon": "^15.0.1",
61
+ "typedoc": "^0.23.23",
62
+ "typedoc-plugin-extras": "^2.3.1",
63
+ "typescript": "^4.9.4"
64
64
  },
65
65
  "dependencies": {
66
66
  "atlassian-jwt": "^2.0.2",
67
67
  "axios": "^0.27.2",
68
68
  "form-data": "^4.0.0",
69
69
  "oauth": "^0.10.0",
70
- "tslib": "^2.4.0"
70
+ "tslib": "^2.4.1"
71
71
  }
72
72
  }