@salesforce/ts-types 1.5.19 → 1.5.21

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,288 +1,167 @@
1
- # Change Log
1
+ # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
5
4
 
6
- ## [1.5.19](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.18...@salesforce/ts-types@1.5.19) (2021-07-08)
5
+ ### 1.5.21 (2022-09-16)
7
6
 
8
- **Note:** Version bump only for package @salesforce/ts-types
7
+ ### Features
9
8
 
9
+ - code refactoring ([4a4efbb](https://github.com/forcedotcom/ts-types/commit/4a4efbb62ea58bb4396839449182be4217dbcbf2))
10
10
 
11
+ ### Bug Fixes
11
12
 
13
+ - publish api docs ([533448e](https://github.com/forcedotcom/ts-types/commit/533448e70c5416a974340e7449077a0f3288358d))
14
+ - updated nycrc ([6f1df04](https://github.com/forcedotcom/ts-types/commit/6f1df04ffcc8c8bcdc4cf9d890d911ba938386d3))
12
15
 
13
-
14
- ## [1.5.18](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.17...@salesforce/ts-types@1.5.18) (2021-07-08)
16
+ ## [1.5.20](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.19...@salesforce/ts-types@1.5.20) (2021-07-09)
15
17
 
16
18
  **Note:** Version bump only for package @salesforce/ts-types
17
19
 
20
+ ## [1.5.19](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.18...@salesforce/ts-types@1.5.19) (2021-07-08)
18
21
 
22
+ **Note:** Version bump only for package @salesforce/ts-types
19
23
 
24
+ ## [1.5.18](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.17...@salesforce/ts-types@1.5.18) (2021-07-08)
20
25
 
26
+ **Note:** Version bump only for package @salesforce/ts-types
21
27
 
22
28
  ## [1.5.17](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.16...@salesforce/ts-types@1.5.17) (2021-06-07)
23
29
 
24
-
25
30
  ### Bug Fixes
26
31
 
27
- * pin typedoc at v0.18.0 due to breaking changes ([#164](https://github.com/forcedotcom/sfdx-dev-packages/issues/164)) ([dd7f90c](https://github.com/forcedotcom/sfdx-dev-packages/commit/dd7f90cb7b5c9a2508ac0f10ba4b6ec54d262165))
28
-
29
-
30
-
31
-
32
+ - pin typedoc at v0.18.0 due to breaking changes ([#164](https://github.com/forcedotcom/sfdx-dev-packages/issues/164)) ([dd7f90c](https://github.com/forcedotcom/sfdx-dev-packages/commit/dd7f90cb7b5c9a2508ac0f10ba4b6ec54d262165))
32
33
 
33
34
  ## [1.5.16](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.15...@salesforce/ts-types@1.5.16) (2021-06-07)
34
35
 
35
36
  **Note:** Version bump only for package @salesforce/ts-types
36
37
 
37
-
38
-
39
-
40
-
41
38
  ## [1.5.15](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.14...@salesforce/ts-types@1.5.15) (2021-06-04)
42
39
 
43
40
  **Note:** Version bump only for package @salesforce/ts-types
44
41
 
45
-
46
-
47
-
48
-
49
42
  ## [1.5.14](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.13...@salesforce/ts-types@1.5.14) (2021-06-03)
50
43
 
51
44
  **Note:** Version bump only for package @salesforce/ts-types
52
45
 
53
-
54
-
55
-
56
-
57
46
  ## [1.5.13](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.12...@salesforce/ts-types@1.5.13) (2021-05-20)
58
47
 
59
-
60
48
  ### Bug Fixes
61
49
 
62
- * allow periods in key names @W-9225317@ ([#129](https://github.com/forcedotcom/sfdx-dev-packages/issues/129)) ([e5817a0](https://github.com/forcedotcom/sfdx-dev-packages/commit/e5817a0624b15e6b353c610e92205426af773884))
63
-
64
-
65
-
66
-
50
+ - allow periods in key names @W-9225317@ ([#129](https://github.com/forcedotcom/sfdx-dev-packages/issues/129)) ([e5817a0](https://github.com/forcedotcom/sfdx-dev-packages/commit/e5817a0624b15e6b353c610e92205426af773884))
67
51
 
68
52
  ## [1.5.12](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.11...@salesforce/ts-types@1.5.12) (2021-05-12)
69
53
 
70
54
  **Note:** Version bump only for package @salesforce/ts-types
71
55
 
72
-
73
-
74
-
75
-
76
56
  ## [1.5.11](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.10...@salesforce/ts-types@1.5.11) (2021-05-11)
77
57
 
78
58
  **Note:** Version bump only for package @salesforce/ts-types
79
59
 
80
-
81
-
82
-
83
-
84
60
  ## [1.5.10](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.9...@salesforce/ts-types@1.5.10) (2021-05-11)
85
61
 
86
62
  **Note:** Version bump only for package @salesforce/ts-types
87
63
 
88
-
89
-
90
-
91
-
92
64
  ## [1.5.9](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.8...@salesforce/ts-types@1.5.9) (2021-04-29)
93
65
 
94
66
  **Note:** Version bump only for package @salesforce/ts-types
95
67
 
96
-
97
-
98
-
99
-
100
68
  ## [1.5.8](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.7...@salesforce/ts-types@1.5.8) (2021-04-29)
101
69
 
102
70
  **Note:** Version bump only for package @salesforce/ts-types
103
71
 
104
-
105
-
106
-
107
-
108
72
  ## [1.5.7](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.6...@salesforce/ts-types@1.5.7) (2021-04-29)
109
73
 
110
74
  **Note:** Version bump only for package @salesforce/ts-types
111
75
 
112
-
113
-
114
-
115
-
116
76
  ## [1.5.6](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.5-testing...@salesforce/ts-types@1.5.6) (2021-04-19)
117
77
 
118
78
  **Note:** Version bump only for package @salesforce/ts-types
119
79
 
120
-
121
-
122
-
123
-
124
80
  ## [1.5.5](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.4...@salesforce/ts-types@1.5.5) (2021-02-26)
125
81
 
126
82
  **Note:** Version bump only for package @salesforce/ts-types
127
83
 
128
-
129
-
130
-
131
-
132
84
  ## [1.5.4](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.3...@salesforce/ts-types@1.5.4) (2021-02-26)
133
85
 
134
86
  **Note:** Version bump only for package @salesforce/ts-types
135
87
 
136
-
137
-
138
-
139
-
140
88
  ## [1.5.3](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.2...@salesforce/ts-types@1.5.3) (2021-02-19)
141
89
 
142
90
  **Note:** Version bump only for package @salesforce/ts-types
143
91
 
144
-
145
-
146
-
147
-
148
92
  ## [1.5.2](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.1...@salesforce/ts-types@1.5.2) (2021-02-19)
149
93
 
150
94
  **Note:** Version bump only for package @salesforce/ts-types
151
95
 
152
-
153
-
154
-
155
-
156
96
  ## [1.5.1](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.5.0...@salesforce/ts-types@1.5.1) (2021-02-19)
157
97
 
158
98
  **Note:** Version bump only for package @salesforce/ts-types
159
99
 
160
-
161
-
162
-
163
-
164
100
  # [1.5.0](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.4.4...@salesforce/ts-types@1.5.0) (2021-01-28)
165
101
 
166
-
167
102
  ### Features
168
103
 
169
- * update typescript version ([#109](https://github.com/forcedotcom/sfdx-dev-packages/issues/109)) ([399a0b0](https://github.com/forcedotcom/sfdx-dev-packages/commit/399a0b03aa831f25511bb3391702c10dc5c4a488))
170
-
171
-
172
-
173
-
104
+ - update typescript version ([#109](https://github.com/forcedotcom/sfdx-dev-packages/issues/109)) ([399a0b0](https://github.com/forcedotcom/sfdx-dev-packages/commit/399a0b03aa831f25511bb3391702c10dc5c4a488))
174
105
 
175
106
  ## [1.4.4](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.4.3...@salesforce/ts-types@1.4.4) (2021-01-22)
176
107
 
177
108
  **Note:** Version bump only for package @salesforce/ts-types
178
109
 
179
-
180
-
181
-
182
-
183
110
  ## [1.4.3](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.4.2...@salesforce/ts-types@1.4.3) (2020-09-14)
184
111
 
185
112
  **Note:** Version bump only for package @salesforce/ts-types
186
113
 
187
-
188
-
189
-
190
-
191
114
  ## [1.4.2](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.4.1...@salesforce/ts-types@1.4.2) (2020-07-23)
192
115
 
193
116
  **Note:** Version bump only for package @salesforce/ts-types
194
117
 
195
-
196
-
197
-
198
-
199
118
  ## [1.4.1](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.4.0...@salesforce/ts-types@1.4.1) (2020-07-21)
200
119
 
201
-
202
120
  ### Bug Fixes
203
121
 
204
- * correct some dictionary typings, more complete object fns and typings ([aef5822](https://github.com/forcedotcom/sfdx-dev-packages/commit/aef5822ea24b15a4a2f40612ef5e7f6a71a9397a))
205
- * export assert lib from ts-types ([d72ef50](https://github.com/forcedotcom/sfdx-dev-packages/commit/d72ef50b32ad2055b1175dd61499a649f4d18ac2))
206
-
207
-
208
-
209
-
122
+ - correct some dictionary typings, more complete object fns and typings ([aef5822](https://github.com/forcedotcom/sfdx-dev-packages/commit/aef5822ea24b15a4a2f40612ef5e7f6a71a9397a))
123
+ - export assert lib from ts-types ([d72ef50](https://github.com/forcedotcom/sfdx-dev-packages/commit/d72ef50b32ad2055b1175dd61499a649f4d18ac2))
210
124
 
211
125
  # [1.4.0](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.3.0...@salesforce/ts-types@1.4.0) (2020-07-21)
212
126
 
213
-
214
127
  ### Features
215
128
 
216
- * add eslint and use it in all packages ([0165cc8](https://github.com/forcedotcom/sfdx-dev-packages/commit/0165cc8853079c7f987dddfb60ced3efb00deea0))
217
- * add javascipt eslint rules that typescript extends ([135ac73](https://github.com/forcedotcom/sfdx-dev-packages/commit/135ac73b8c513d8950ac69373349361d9f600a8c))
218
- * add salesforce license linting ([3213135](https://github.com/forcedotcom/sfdx-dev-packages/commit/3213135f34956335ef2c123ec680c2de2bc7f10f))
219
-
220
-
221
-
222
-
129
+ - add eslint and use it in all packages ([0165cc8](https://github.com/forcedotcom/sfdx-dev-packages/commit/0165cc8853079c7f987dddfb60ced3efb00deea0))
130
+ - add javascipt eslint rules that typescript extends ([135ac73](https://github.com/forcedotcom/sfdx-dev-packages/commit/135ac73b8c513d8950ac69373349361d9f600a8c))
131
+ - add salesforce license linting ([3213135](https://github.com/forcedotcom/sfdx-dev-packages/commit/3213135f34956335ef2c123ec680c2de2bc7f10f))
223
132
 
224
133
  # [1.3.0](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.2.2...@salesforce/ts-types@1.3.0) (2020-07-02)
225
134
 
226
-
227
135
  ### Features
228
136
 
229
- * add conveniences to ts-types ([b1814d6](https://github.com/forcedotcom/sfdx-dev-packages/commit/b1814d6))
230
-
231
-
232
-
233
-
137
+ - add conveniences to ts-types ([b1814d6](https://github.com/forcedotcom/sfdx-dev-packages/commit/b1814d6))
234
138
 
235
139
  ## [1.2.2](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.2.1...@salesforce/ts-types@1.2.2) (2020-03-03)
236
140
 
237
141
  **Note:** Version bump only for package @salesforce/ts-types
238
142
 
239
-
240
-
241
-
242
-
243
143
  ## [1.2.1](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.2.0...@salesforce/ts-types@1.2.1) (2019-08-30)
244
144
 
245
145
  **Note:** Version bump only for package @salesforce/ts-types
246
146
 
247
-
248
-
249
-
250
-
251
147
  # [1.2.0](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.1.4...@salesforce/ts-types@1.2.0) (2019-07-17)
252
148
 
253
-
254
149
  ### Features
255
150
 
256
- * package updates ([69f3d02](https://github.com/forcedotcom/sfdx-dev-packages/commit/69f3d02))
257
-
258
-
259
-
260
-
151
+ - package updates ([69f3d02](https://github.com/forcedotcom/sfdx-dev-packages/commit/69f3d02))
261
152
 
262
153
  ## [1.1.4](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.1.3...@salesforce/ts-types@1.1.4) (2019-05-01)
263
154
 
264
155
  **Note:** Version bump only for package @salesforce/ts-types
265
156
 
266
-
267
-
268
-
269
-
270
157
  ## [1.1.3](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.1.2...@salesforce/ts-types@1.1.3) (2019-03-22)
271
158
 
272
159
  **Note:** Version bump only for package @salesforce/ts-types
273
160
 
274
-
275
-
276
-
277
-
278
161
  ## [1.1.2](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.1.1...@salesforce/ts-types@1.1.2) (2019-03-12)
279
162
 
280
163
  **Note:** Version bump only for package @salesforce/ts-types
281
164
 
282
-
283
-
284
-
285
-
286
165
  ## [1.1.1](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.1.0...@salesforce/ts-types@1.1.1) (2019-01-31)
287
166
 
288
167
  **Note:** Version bump only for package @salesforce/ts-types
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018, Salesforce.com, Inc.
1
+ Copyright (c) 2022, Salesforce.com, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
package/README.md CHANGED
@@ -7,7 +7,7 @@ This is a simple TypeScript-oriented library developed for use in Salesforce Typ
7
7
  1. A collection of commonly desired types.
8
8
  1. A collection of type-narrowing convenience functions for writing concise type-guards.
9
9
 
10
- See the [API documentation](https://forcedotcom.github.io/sfdx-dev-packages/ts-types) for more details on each of the utilities that `ts-types` provides.
10
+ See the [API documentation](https://forcedotcom.github.io/ts-types) for more details on each of the utilities that `ts-types` provides.
11
11
 
12
12
  ## Why did we create it?
13
13
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@salesforce/ts-types",
3
- "version": "1.5.19",
3
+ "version": "1.5.21",
4
4
  "description": "Types and related utilities for TypeScript",
5
5
  "main": "lib/index.js",
6
- "repository": "https://github.com/forcedotcom/sfdx-dev-packages",
6
+ "repository": "forcedotcom/ts-types",
7
7
  "author": "Salesforce",
8
8
  "license": "BSD-3-Clause",
9
9
  "types": "lib/index.d.ts",
@@ -13,13 +13,15 @@
13
13
  ],
14
14
  "scripts": {
15
15
  "build": "sf-build",
16
- "clean": "sf-clean",
16
+ "ci-docs": "yarn sf-ci-docs",
17
17
  "clean-all": "sf-clean all",
18
+ "clean": "sf-clean",
18
19
  "compile": "sf-compile",
19
20
  "docs": "sf-docs",
20
21
  "format": "sf-format",
21
22
  "lint": "sf-lint",
22
- "prepack": "sf-build",
23
+ "prepack": "sf-prepack",
24
+ "prepare": "sf-install",
23
25
  "pretest": "sf-compile-test",
24
26
  "test": "sf-test"
25
27
  },
@@ -27,23 +29,24 @@
27
29
  "tslib": "^2.2.0"
28
30
  },
29
31
  "devDependencies": {
30
- "@salesforce/dev-config": "^2.1.2",
31
- "@salesforce/dev-scripts": "^0.9.17",
32
+ "@salesforce/dev-config": "^3.0.0",
33
+ "@salesforce/dev-scripts": "^2.0.0",
32
34
  "@salesforce/prettier-config": "^0.0.2",
33
35
  "@typescript-eslint/eslint-plugin": "^4.2.0",
34
36
  "@typescript-eslint/parser": "^4.2.0",
35
37
  "chai": "^4.2.0",
36
38
  "eslint": "^7.27.0",
37
39
  "eslint-config-prettier": "^6.11.0",
38
- "eslint-config-salesforce": "^0.1.7",
40
+ "eslint-config-salesforce": "^0.1.6",
39
41
  "eslint-config-salesforce-license": "^0.1.6",
40
- "eslint-config-salesforce-typescript": "^0.2.8",
42
+ "eslint-config-salesforce-typescript": "^0.2.7",
41
43
  "eslint-plugin-header": "^3.0.0",
42
- "eslint-plugin-import": "2.23.4",
44
+ "eslint-plugin-import": "2.26.0",
43
45
  "eslint-plugin-jsdoc": "^35.1.2",
44
46
  "eslint-plugin-prefer-arrow": "^1.2.1",
45
47
  "eslint-plugin-prettier": "^3.1.3",
46
- "mocha": "^8.4.0",
48
+ "husky": "^7.0.4",
49
+ "mocha": "^9.1.3",
47
50
  "nyc": "^15.1.0",
48
51
  "prettier": "^2.0.5",
49
52
  "pretty-quick": "^3.1.0",