@salesforce/ts-types 1.5.20 → 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 +188 -0
- package/LICENSE.txt +1 -1
- package/README.md +1 -1
- package/package.json +13 -10
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
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.
|
|
4
|
+
|
|
5
|
+
### 1.5.21 (2022-09-16)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- code refactoring ([4a4efbb](https://github.com/forcedotcom/ts-types/commit/4a4efbb62ea58bb4396839449182be4217dbcbf2))
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
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))
|
|
15
|
+
|
|
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)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
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)
|
|
21
|
+
|
|
22
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
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)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
27
|
+
|
|
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)
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
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))
|
|
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)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
37
|
+
|
|
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)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
41
|
+
|
|
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)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
45
|
+
|
|
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)
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
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))
|
|
51
|
+
|
|
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)
|
|
53
|
+
|
|
54
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
55
|
+
|
|
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)
|
|
57
|
+
|
|
58
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
59
|
+
|
|
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)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
63
|
+
|
|
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)
|
|
65
|
+
|
|
66
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
67
|
+
|
|
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)
|
|
69
|
+
|
|
70
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
71
|
+
|
|
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)
|
|
73
|
+
|
|
74
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
75
|
+
|
|
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)
|
|
77
|
+
|
|
78
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
79
|
+
|
|
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)
|
|
81
|
+
|
|
82
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
83
|
+
|
|
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)
|
|
85
|
+
|
|
86
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
87
|
+
|
|
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)
|
|
89
|
+
|
|
90
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
91
|
+
|
|
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)
|
|
93
|
+
|
|
94
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
95
|
+
|
|
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)
|
|
97
|
+
|
|
98
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
99
|
+
|
|
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)
|
|
101
|
+
|
|
102
|
+
### Features
|
|
103
|
+
|
|
104
|
+
- update typescript version ([#109](https://github.com/forcedotcom/sfdx-dev-packages/issues/109)) ([399a0b0](https://github.com/forcedotcom/sfdx-dev-packages/commit/399a0b03aa831f25511bb3391702c10dc5c4a488))
|
|
105
|
+
|
|
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)
|
|
107
|
+
|
|
108
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
109
|
+
|
|
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)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
113
|
+
|
|
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)
|
|
115
|
+
|
|
116
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
117
|
+
|
|
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)
|
|
119
|
+
|
|
120
|
+
### Bug Fixes
|
|
121
|
+
|
|
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))
|
|
124
|
+
|
|
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)
|
|
126
|
+
|
|
127
|
+
### Features
|
|
128
|
+
|
|
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))
|
|
132
|
+
|
|
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)
|
|
134
|
+
|
|
135
|
+
### Features
|
|
136
|
+
|
|
137
|
+
- add conveniences to ts-types ([b1814d6](https://github.com/forcedotcom/sfdx-dev-packages/commit/b1814d6))
|
|
138
|
+
|
|
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)
|
|
140
|
+
|
|
141
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
142
|
+
|
|
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)
|
|
144
|
+
|
|
145
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
146
|
+
|
|
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)
|
|
148
|
+
|
|
149
|
+
### Features
|
|
150
|
+
|
|
151
|
+
- package updates ([69f3d02](https://github.com/forcedotcom/sfdx-dev-packages/commit/69f3d02))
|
|
152
|
+
|
|
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)
|
|
154
|
+
|
|
155
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
156
|
+
|
|
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)
|
|
158
|
+
|
|
159
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
160
|
+
|
|
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)
|
|
162
|
+
|
|
163
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
164
|
+
|
|
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)
|
|
166
|
+
|
|
167
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
168
|
+
|
|
169
|
+
# [1.1.0](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.0.1...@salesforce/ts-types@1.1.0) (2019-01-09)
|
|
170
|
+
|
|
171
|
+
### Features
|
|
172
|
+
|
|
173
|
+
- **ts-types:** add isTypeOf and fix isObject ([e9a5314](https://github.com/forcedotcom/sfdx-dev-packages/commit/e9a5314))
|
|
174
|
+
- **ts-types:** use more explicit name for isType; update docs ([60453cf](https://github.com/forcedotcom/sfdx-dev-packages/commit/60453cf))
|
|
175
|
+
|
|
176
|
+
## [1.0.1](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@1.0.0...@salesforce/ts-types@1.0.1) (2018-12-21)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @salesforce/ts-types
|
|
179
|
+
|
|
180
|
+
# [1.0.0](https://github.com/forcedotcom/sfdx-dev-packages/compare/@salesforce/ts-types@0.20.2...@salesforce/ts-types@1.0.0) (2018-12-21)
|
|
181
|
+
|
|
182
|
+
### Features
|
|
183
|
+
|
|
184
|
+
- **ts-types:** bump to v1 ([ae694bd](https://github.com/forcedotcom/sfdx-dev-packages/commit/ae694bd))
|
|
185
|
+
|
|
186
|
+
### BREAKING CHANGES
|
|
187
|
+
|
|
188
|
+
- **ts-types:** bumping to v1.0.0
|
package/LICENSE.txt
CHANGED
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/
|
|
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.
|
|
3
|
+
"version": "1.5.21",
|
|
4
4
|
"description": "Types and related utilities for TypeScript",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
|
-
"repository": "
|
|
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
|
-
"
|
|
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-
|
|
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": "^
|
|
31
|
-
"@salesforce/dev-scripts": "^0.
|
|
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.
|
|
40
|
+
"eslint-config-salesforce": "^0.1.6",
|
|
39
41
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
40
|
-
"eslint-config-salesforce-typescript": "^0.2.
|
|
42
|
+
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
41
43
|
"eslint-plugin-header": "^3.0.0",
|
|
42
|
-
"eslint-plugin-import": "2.
|
|
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
|
-
"
|
|
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",
|