dots-wrapper 3.7.3 → 3.7.6

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/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "dots-wrapper",
3
- "version": "3.7.3",
3
+ "version": "3.7.6",
4
4
  "description": "Digital Ocean v2 api wrapper - javascript - typescript - nodejs",
5
5
  "main": "dist/index.js",
6
6
  "browser": "dist/index-browser.min.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
9
9
  "build:browser": "webpack --mode=production",
10
- "build:test": "jest",
10
+ "build:test": "jest --silent",
11
11
  "build": "rm -rf ./dist && tsc",
12
- "install_latest_dev": "npm install --save-dev @babel/core@latest @babel/preset-env@latest @babel/preset-typescript@latest @types/jest@latest @types/node@latest axios-mock-adapter@latest babel-jest@latest jest@latest license-webpack-plugin@latest ts-jest@latest typescript@latest webpack@latest webpack-cli@latest",
12
+ "install_latest_dev": "npm install --force --save-dev @babel/core@latest @babel/preset-env@latest @babel/preset-typescript@latest @types/jest@latest @types/node@latest axios-mock-adapter@latest babel-jest@latest jest@latest license-webpack-plugin@latest ts-jest@latest typescript@latest webpack@latest webpack-cli@latest",
13
13
  "install_latest": "npm install --save axios@latest",
14
14
  "test": "export TEST_TOKEN=bearer-token && jest",
15
15
  "version": "npm version --no-git-tag-version "
@@ -28,21 +28,21 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "axios": "^0.26.1"
31
+ "axios": "^0.27.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/core": "^7.17.8",
35
- "@babel/preset-env": "^7.16.11",
34
+ "@babel/core": "^7.17.10",
35
+ "@babel/preset-env": "^7.17.10",
36
36
  "@babel/preset-typescript": "^7.16.7",
37
- "@types/jest": "^27.4.1",
38
- "@types/node": "^17.0.23",
37
+ "@types/jest": "^27.5.0",
38
+ "@types/node": "^17.0.31",
39
39
  "axios-mock-adapter": "^1.20.0",
40
- "babel-jest": "^27.5.1",
41
- "jest": "^27.5.1",
40
+ "babel-jest": "^28.1.0",
41
+ "jest": "^28.1.0",
42
42
  "license-webpack-plugin": "^4.0.2",
43
- "ts-jest": "^27.1.4",
44
- "typescript": "^4.6.3",
45
- "webpack": "^5.70.0",
43
+ "ts-jest": "^28.0.1",
44
+ "typescript": "^4.6.4",
45
+ "webpack": "^5.72.0",
46
46
  "webpack-cli": "^4.9.2"
47
47
  },
48
48
  "keywords": [
package/CHANGELOG.md DELETED
@@ -1,230 +0,0 @@
1
- # changelog
2
-
3
- ## **2022-03-26** - new version 3.7.3
4
-
5
- * npm audit + dependencies updates
6
-
7
- ## **2022-03-13** - new version 3.7.2
8
-
9
- * npm audit + dependencies updates
10
-
11
- ## **2022-02-26** - new version 3.7.1
12
-
13
- * npm audit + dependencies updates
14
-
15
- ## **2022-02-16** - new version 3.7.0
16
-
17
- * npm audit + dependencies updates
18
- * add module dots.monitoring
19
- * breaking change: removed dots.util, now it's called dots.modules.common
20
-
21
- ## **2022-02-10** - new version 3.6.3
22
-
23
- * npm audit + dependencies updates
24
- * fix dots.action.getAction(input) (https://github.com/pjpimentel/dots/issues/186)
25
-
26
- ## **2021-10-30** - new version 3.6.2
27
-
28
- * npm audit + dependencies updates
29
-
30
- ## **2021-10-05** - new version 3.6.1
31
-
32
- * readme update + docs update thanks ([@codyogden](https://github.com/codyogden))
33
-
34
- ## **2021-10-04** - new version 3.6.0
35
-
36
- * add "force_build" input to dots.app.createAppDeployment
37
-
38
- ## **2021-09-25** - new version 3.5.9
39
-
40
- * npm audit + dependencies updates
41
-
42
- ## **2021-09-04** - new version 3.5.8
43
-
44
- * npm audit + dependencies updates
45
-
46
- ## **2021-06-14** - new version 3.5.7
47
-
48
- * npm audit + dependencies updates
49
-
50
- ## **2021-05-29** - new version 3.5.6
51
-
52
- * npm audit + dependencies updates
53
- * security update, https://github.com/advisories/GHSA-6fc8-4gx4-v693
54
-
55
- ## **2021-05-17**
56
-
57
- * fixed domain module docs
58
-
59
- ## **2021-05-06** - new version: 3.5.5
60
-
61
- * npm audit + dependencies updates
62
- * security update, https://github.com/advisories/GHSA-35jh-r3h4-6jhm
63
-
64
- ## **2021-05-01** - new version: 3.5.4
65
-
66
- * npm audit + dependencies updates
67
- * add method volume.deleteVolumeByName
68
-
69
- ## **2021-03-29** - new version: 3.5.3
70
-
71
- * npm audit + dependencies updates
72
-
73
- ## **2020-12-22** - new version: 3.5.2
74
-
75
- * npm audit + dependencies updates
76
-
77
- ## **2020-12-03** - new version: 3.5.1
78
-
79
- * app platform type fixes (thanks ([@rijkvanzanten](https://github.com/rijkvanzanten)))
80
-
81
- ## **2020-11-21** - new version: 3.5.0
82
-
83
- * npm audit + dependencies updates
84
- * add app module
85
- * removed node 8 test support
86
- * add k8s container registry methods
87
-
88
- ## **2020-11-01** - new version: 3.4.0
89
-
90
- * add missing attributes to firewall type
91
- * npm audit + dependencies updates
92
- * add list domain record filters
93
- * add k8s node pool taints
94
- * add droplet.destroyDropletAndAllAssociatedResources
95
- * add droplet.destroyDropletAndAssociatedResources
96
- * add droplet.getDropletDestroyStatus
97
- * add droplet.listDropletAssociatedResources
98
- * add droplet.retryDropletDestroy
99
- * "add is_default" parameter to vpc.updateVpc and vpc.createVpc
100
- * removed "id" field compatibility, see 3.1.0
101
-
102
- ## **2020-08-10** - new version: 3.3.3
103
-
104
- * load balancer types
105
- * npm audit + dependencies updates
106
-
107
- ## **2020-07-22** - new version: 3.3.2
108
-
109
- * pkg.json homepage
110
-
111
- ## **2020-07-15** - new version: 3.3.1
112
-
113
- * npm audit + dependencies updates
114
-
115
- ## **2020-06-20** - new version: 3.3.0
116
-
117
- * add listInvoices, downloadInvoice, getInvoiceSummary, getInvoice to customer module
118
- * npm audit + dependencies updates
119
- ## **2020-05-22** - new version: 3.2.1
120
-
121
- * ICreateDropletsApiRequest && ICreateDropletApiRequest ssh_keys attr
122
-
123
- ## **2020-05-03** - new version: 3.2.0
124
-
125
- * add vpc module
126
- * add kubernetes node pool labels
127
- * add mysql_settings to createDatabaseClusterUser
128
- * npm audit
129
-
130
- ## **2020-04-30** - new version: 3.1.10
131
-
132
- * add customer.getBalance
133
- * add customer.listBillingHistory
134
- * fix dev dependencies security issue GHSA-jpcq-cgw6-v4j6
135
- * fix DO changed list-all-droplet-neighbors behavior https://developers.digitalocean.com/documentation/changelog/api-v2/changes-to-the-droplet-neighbors-report/
136
-
137
- ## **2020-04-27** - new version: 3.1.9
138
-
139
- * IKubernetesClusterStatus type
140
- * npm audit
141
-
142
- ## **2020-04-18** - new version: 3.1.8
143
-
144
- * IDroplet type
145
-
146
- ## **2020-03-17** - new version: 3.1.7
147
-
148
- * packages update
149
- * npm audit
150
-
151
- ## **2020-03-15** - new version: 3.1.6
152
-
153
- * automatic update package acorn from 5.7.3 to 5.7.4
154
-
155
- ## **2019-12-15** - new version: 3.1.5
156
-
157
- * fix quality gate issues
158
-
159
- ## **2019-12-15** - new version: 3.1.4
160
-
161
- * add **cdn-endpoints** module
162
- * add **container-registry** module
163
- * fix list-available-options-of-kubernetes url path
164
-
165
- ## **2019-12-14** - new version: 3.1.3
166
-
167
- * add **kubernetes** module
168
- * fix updateLoadBalancer test
169
-
170
- ## **2019-12-12** - new version: 3.1.2
171
-
172
- * add **project** module
173
-
174
- ## **2019-12-10** - new version: 3.1.1
175
-
176
- * add **droplet**.deleteDropletsByTag ([@Cosmic-Goat](https://github.com/Cosmic-Goat))
177
-
178
- ## **2019-12-08** - new version: 3.1.0
179
-
180
- the `id` input was removed from the following methods to avoid missunderstands.
181
- now it is `{entity}_id`.
182
- (to allow backward compatibility the `id` field still accepted but will be removed in future versions)
183
-
184
- the following methods were affected:
185
- * add **database** module
186
- * **loadBalancer**.addDropletsToLoadBalancer >> id -> load_balancer_id
187
- * **loadBalancer**.addRulesToLoadBalancer >> id -> load_balancer_id
188
- * **loadBalancer**.deleteLoadBalancer >> id -> load_balancer_id
189
- * **loadBalancer**.getLoadBalancer >> id -> load_balancer_id
190
- * **loadBalancer**.removeDropletsFromLoadBalancer >> id -> load_balancer_id
191
- * **loadBalancer**.removeRulesFromLoadBalancer >> id -> load_balancer_id
192
- * **loadBalancer**.updateLoadBalancer >> id -> load_balancer_id
193
- * **snapshot**.deleteSnapshot >> id -> snapshot_id
194
- * **snapshot**.getSnapshot >> id -> snapshot_id
195
- * **sshKey**.destroySshKey >> id -> ssh_key_id
196
- * **sshKey**.getSshKey >> id -> ssh_key_id
197
- * **sshKey**.updateSshKey >> id -> ssh_key_id
198
- * **volume**.attachVolumeToDroplet >> id -> volume_id
199
- * **volume**.createVolumeSnapshot >> id -> volume_id
200
- * **volume**.deleteVolume >> id -> volume_id
201
- * **volume**.detachVolumeFromDroplet >> id -> volume_id
202
- * **volume**.getVolume >> id -> volume_id
203
- * **volume**.listVolumeActions >> id -> volume_id
204
- * **volume**.listVolumeSnapshots >> id -> volume_id
205
- * **volume**.resizeVolume >> id -> volume_id
206
-
207
- ## **2019-11-20** - new version: 3.0.2
208
-
209
- * browser build
210
-
211
- ## **2019-11-17** - new version: 3.0.1
212
-
213
- * updated main readme
214
-
215
- ## **2019-11-09** - new version: 3.0.0
216
-
217
- project refactor to make it (simple and better) to (use and mantain).
218
-
219
- if you are using the 2.6.0 and migrate to 3.0.0 you will need to change the inputs/outputs to fit the new pattern.
220
-
221
- the main changes are:
222
-
223
- * not using rxjs anymore, just simple promises.
224
- * the return signature contain the full http response.
225
- * as DO use snake_case, ALL camelCase properties were removed.
226
- * unit tests with 100% code coverage.
227
-
228
- ## version 2.6.0
229
-
230
- * initial stable version