@lwc/sfdc-compiler-utils 2.19.0
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/LICENSE.txt +21 -0
- package/dist/__tests__/namespace.spec.d.ts +1 -0
- package/dist/__tests__/namespace.spec.js +462 -0
- package/dist/__tests__/namespace.spec.js.map +1 -0
- package/dist/__tests__/no-explicit-namespace.spec.d.ts +1 -0
- package/dist/__tests__/no-explicit-namespace.spec.js +258 -0
- package/dist/__tests__/no-explicit-namespace.spec.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/namespace-utils.d.ts +23 -0
- package/dist/namespace-utils.js +290 -0
- package/dist/namespace-utils.js.map +1 -0
- package/jest.config.js +6 -0
- package/package.json +15 -0
- package/src/__tests__/namespace.spec.ts +760 -0
- package/src/__tests__/no-explicit-namespace.spec.ts +350 -0
- package/src/index.ts +9 -0
- package/src/namespace-utils.ts +366 -0
- package/tsconfig.json +8 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Terms of Use
|
|
2
|
+
|
|
3
|
+
Copyright 2022 Salesforce, Inc. All rights reserved.
|
|
4
|
+
|
|
5
|
+
These Terms of Use govern the download, installation, and/or use of this software provided by Salesforce, Inc. (“Salesforce”) (the “Software”), were last updated on April 15, 2022, ** and constitute a legally binding agreement between you and Salesforce. If you do not agree to these Terms of Use, do not install or use the Software.
|
|
6
|
+
|
|
7
|
+
Salesforce grants you a worldwide, non-exclusive, no-charge, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the Software and derivative works subject to these Terms. These Terms shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
Subject to the limited rights expressly granted hereunder, Salesforce reserves all rights, title, and interest in and to all intellectual property subsisting in the Software. No rights are granted to you hereunder other than as expressly set forth herein. Users residing in countries on the United States Office of Foreign Assets Control sanction list, or which are otherwise subject to a US export embargo, may not use the Software.
|
|
10
|
+
|
|
11
|
+
Implementation of the Software may require development work, for which you are responsible. The Software may contain bugs, errors and incompatibilities and is made available on an AS IS basis without support, updates, or service level commitments.
|
|
12
|
+
|
|
13
|
+
Salesforce reserves the right at any time to modify, suspend, or discontinue, the Software (or any part thereof) with or without notice. You agree that Salesforce shall not be liable to you or to any third party for any modification, suspension, or discontinuance.
|
|
14
|
+
|
|
15
|
+
You agree to defend Salesforce against any claim, demand, suit or proceeding made or brought against Salesforce by a third party arising out of or accruing from (a) your use of the Software, and (b) any application you develop with the Software that infringes any copyright, trademark, trade secret, trade dress, patent, or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy (each a “Claim Against Salesforce”), and will indemnify Salesforce from any damages, attorney fees, and costs finally awarded against Salesforce as a result of, or for any amounts paid by Salesforce under a settlement approved by you in writing of, a Claim Against Salesforce, provided Salesforce (x) promptly gives you written notice of the Claim Against Salesforce, (y) gives you sole control of the defense and settlement of the Claim Against Salesforce (except that you may not settle any Claim Against Salesforce unless it unconditionally releases Salesforce of all liability), and (z) gives you all reasonable assistance, at your expense.
|
|
16
|
+
|
|
17
|
+
WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, THE SOFTWARE IS NOT SUPPORTED AND IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL SALESFORCE HAVE ANY LIABILITY FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, OR DAMAGES BASED ON LOST PROFITS, DATA, OR USE, IN CONNECTION WITH THE SOFTWARE, HOWEVER CAUSED AND WHETHER IN CONTRACT, TORT, OR UNDER ANY OTHER THEORY OF LIABILITY, WHETHER OR NOT YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
18
|
+
|
|
19
|
+
These Terms of Use shall be governed exclusively by the internal laws of the State of California, without regard to its conflicts of laws rules. Each party hereby consents to the exclusive jurisdiction of the state and federal courts located in San Francisco County, California to adjudicate any dispute arising out of or relating to these Terms of Use and the download, installation, and/or use of the Software. Except as expressly stated herein, these Terms of Use constitute the entire agreement between the parties, and supersede all prior and contemporaneous agreements, proposals, or representations, written or oral, concerning their subject matter. No modification, amendment, or waiver of any provision of these Terms of Use shall be effective unless it is by an update to these Terms of Use that Salesforce makes available, or is in writing and signed by the party against whom the modification, amendment, or waiver is to be asserted.
|
|
20
|
+
|
|
21
|
+
Data Privacy: Salesforce may collect, process, and store device, system, and other information related to your use of the Software. This information includes, but is not limited to, IP address, user metrics, and other data (“Usage Data”). Salesforce may use Usage Data for analytics, product development, and marketing purposes. You acknowledge that files generated in conjunction with the Software may contain sensitive or confidential data, and you are solely responsible for anonymizing and protecting such data.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const namespace_utils_1 = require("../namespace-utils");
|
|
4
|
+
const DEFAULT_NAMESPACE_MAPPING = { c: 'nsC' };
|
|
5
|
+
describe('namespace', () => {
|
|
6
|
+
describe('invalid getNamespacedIdForType invocation', () => {
|
|
7
|
+
test('should error if "namespaceMapping" is not provided', () => {
|
|
8
|
+
expect(() => {
|
|
9
|
+
return (0, namespace_utils_1.getNamespacedIdForType)('x/foo', 'module', undefined);
|
|
10
|
+
}).toThrowError('Failed to apply namespace mapping to "x/foo". Missing required "namespaceMapping" parameter');
|
|
11
|
+
});
|
|
12
|
+
test('should error if "moduleName" is not provided', () => {
|
|
13
|
+
expect(() => {
|
|
14
|
+
return (0, namespace_utils_1.getNamespacedIdForType)(undefined, 'module', DEFAULT_NAMESPACE_MAPPING);
|
|
15
|
+
}).toThrowError('Failed to apply namespace mapping to "undefined". Missing required "moduleName" parameter');
|
|
16
|
+
});
|
|
17
|
+
test('should return undefined if resource is missing an "id"', () => {
|
|
18
|
+
expect((0, namespace_utils_1.getNamespacedIdForType)('apex', 'apex', DEFAULT_NAMESPACE_MAPPING)).toBeUndefined();
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
describe('invalid getNamespacedIdForResource invocation', () => {
|
|
22
|
+
test('should error if "moduleName" is missing', () => {
|
|
23
|
+
expect(() => {
|
|
24
|
+
return (0, namespace_utils_1.getNamespacedIdForResource)(undefined, DEFAULT_NAMESPACE_MAPPING);
|
|
25
|
+
}).toThrowError('Failed to apply namespace mapping to "undefined". Missing required "moduleName" parameter');
|
|
26
|
+
});
|
|
27
|
+
test('should error if "namespaceMapping" is missing', () => {
|
|
28
|
+
expect(() => {
|
|
29
|
+
return (0, namespace_utils_1.getNamespacedIdForResource)('c/foo', undefined);
|
|
30
|
+
}).toThrowError('Failed to apply namespace mapping to "c/foo". Missing required "namespaceMapping" parameter');
|
|
31
|
+
});
|
|
32
|
+
test('should return undefined if no namespace mapping was matched', () => {
|
|
33
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('x/foo', DEFAULT_NAMESPACE_MAPPING);
|
|
34
|
+
expect(actual).toBeUndefined();
|
|
35
|
+
});
|
|
36
|
+
test('should return undefined if value contains extra separator', () => {
|
|
37
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('x//foo', DEFAULT_NAMESPACE_MAPPING);
|
|
38
|
+
expect(actual).toBeUndefined();
|
|
39
|
+
});
|
|
40
|
+
test('should return undefined if namespaceMapping does not have "c"', () => {
|
|
41
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('x/foo', { b: 'nsB' });
|
|
42
|
+
expect(actual).toBeUndefined();
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
describe('test noop resources', () => {
|
|
46
|
+
test('should return undefined when namespace mapping "accessCheck"', () => {
|
|
47
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/accessCheck', 'accessCheck', DEFAULT_NAMESPACE_MAPPING);
|
|
48
|
+
expect(actual).toBeUndefined();
|
|
49
|
+
});
|
|
50
|
+
test('should return undefined when namespace mapping "client"', () => {
|
|
51
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/client', 'client', DEFAULT_NAMESPACE_MAPPING);
|
|
52
|
+
expect(actual).toBeUndefined();
|
|
53
|
+
});
|
|
54
|
+
test('should return undefined when namespace mapping "commerce"', () => {
|
|
55
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/commerce/webstoreId', 'commerce', DEFAULT_NAMESPACE_MAPPING);
|
|
56
|
+
expect(actual).toBeUndefined();
|
|
57
|
+
});
|
|
58
|
+
test('should return undefined when namespace mapping "community"', () => {
|
|
59
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/community/Id', 'community', DEFAULT_NAMESPACE_MAPPING);
|
|
60
|
+
expect(actual).toBeUndefined();
|
|
61
|
+
});
|
|
62
|
+
test('should return undefined when namespace mapping "cssvars"', () => {
|
|
63
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/cssvars/id', 'cssvars', DEFAULT_NAMESPACE_MAPPING);
|
|
64
|
+
expect(actual).toBeUndefined();
|
|
65
|
+
});
|
|
66
|
+
test('should return undefined when namespace mapping "gate"', () => {
|
|
67
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/gate/foo.bar', 'gate', DEFAULT_NAMESPACE_MAPPING);
|
|
68
|
+
expect(actual).toBeUndefined();
|
|
69
|
+
});
|
|
70
|
+
test('should return undefined when namespace mapping "i18n"', () => {
|
|
71
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/i18n/timezone', 'i18n', DEFAULT_NAMESPACE_MAPPING);
|
|
72
|
+
expect(actual).toBeUndefined();
|
|
73
|
+
});
|
|
74
|
+
test('should return undefined when namespace mapping "metric"', () => {
|
|
75
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/metric/foo.bar', 'metric', DEFAULT_NAMESPACE_MAPPING);
|
|
76
|
+
expect(actual).toBeUndefined();
|
|
77
|
+
});
|
|
78
|
+
test('should return undefined when namespace mapping "internal"', () => {
|
|
79
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/internal/core.appVersion', 'internal', DEFAULT_NAMESPACE_MAPPING);
|
|
80
|
+
expect(actual).toBeUndefined();
|
|
81
|
+
});
|
|
82
|
+
test('should return undefined when namespace mapping "site"', () => {
|
|
83
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/site/Id', 'site', DEFAULT_NAMESPACE_MAPPING);
|
|
84
|
+
expect(actual).toBeUndefined();
|
|
85
|
+
});
|
|
86
|
+
test('should return undefined when namespace mapping "slds"', () => {
|
|
87
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/slds/index.css', 'slds', DEFAULT_NAMESPACE_MAPPING);
|
|
88
|
+
expect(actual).toBeUndefined();
|
|
89
|
+
});
|
|
90
|
+
test('should return undefined when namespace mapping "user"', () => {
|
|
91
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/user/id', 'user', DEFAULT_NAMESPACE_MAPPING);
|
|
92
|
+
expect(actual).toBeUndefined();
|
|
93
|
+
});
|
|
94
|
+
test('should return undefined when namespace mapping "userPermission"', () => {
|
|
95
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/userPermission/perm', 'userPermission', DEFAULT_NAMESPACE_MAPPING);
|
|
96
|
+
expect(actual).toBeUndefined();
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
describe('namespace resource', () => {
|
|
100
|
+
test('should return namespacedId for non-salesforce resource', () => {
|
|
101
|
+
const expected = 'nsC/foo';
|
|
102
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('c/foo', undefined, DEFAULT_NAMESPACE_MAPPING);
|
|
103
|
+
expect(actual).toBe(expected);
|
|
104
|
+
});
|
|
105
|
+
test('should return "undefined" when namespace does not fully match "c"', () => {
|
|
106
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('abc-utils', 'module', DEFAULT_NAMESPACE_MAPPING);
|
|
107
|
+
expect(actual).toBeUndefined();
|
|
108
|
+
});
|
|
109
|
+
test('should return undefined if namespace match is not at the beginning of the module name', () => {
|
|
110
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('./module/c-inner/property', undefined, DEFAULT_NAMESPACE_MAPPING);
|
|
111
|
+
expect(actual).toBeUndefined();
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
describe('namespace label resource', () => {
|
|
115
|
+
test('should return undefined if type is undefined for salesforce resource', () => {
|
|
116
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('c.foo', undefined, DEFAULT_NAMESPACE_MAPPING);
|
|
117
|
+
expect(actual).toBeUndefined();
|
|
118
|
+
});
|
|
119
|
+
test('should return undefined if namespace value is empty', () => {
|
|
120
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('.foo', 'label', DEFAULT_NAMESPACE_MAPPING);
|
|
121
|
+
expect(actual).toBeUndefined();
|
|
122
|
+
});
|
|
123
|
+
test('should return undefined if namespace contains extra separator', () => {
|
|
124
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('c..foo', 'label', DEFAULT_NAMESPACE_MAPPING);
|
|
125
|
+
expect(actual).toBeUndefined();
|
|
126
|
+
});
|
|
127
|
+
test('should return undefined if resource has namespace but map does not have "c" mapping', () => {
|
|
128
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForType)('c.foo', 'label', { abc: 'nsC' });
|
|
129
|
+
expect(actual).toBe('c.foo');
|
|
130
|
+
});
|
|
131
|
+
test('should return existing namespace if default namespace has no mapping', () => {
|
|
132
|
+
const expected = '@salesforce/label/c.label';
|
|
133
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/label/c.label', { b: 'nsC' });
|
|
134
|
+
expect(actual).toBe(expected);
|
|
135
|
+
});
|
|
136
|
+
test('should replace default namespace', () => {
|
|
137
|
+
const expected = '@salesforce/label/nsC.label';
|
|
138
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/label/c.label', DEFAULT_NAMESPACE_MAPPING);
|
|
139
|
+
expect(actual).toBe(expected);
|
|
140
|
+
});
|
|
141
|
+
test('should replace non-default namespace', () => {
|
|
142
|
+
const expected = '@salesforce/label/nsC.label';
|
|
143
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/label/custom.label', {
|
|
144
|
+
custom: 'nsC',
|
|
145
|
+
});
|
|
146
|
+
expect(actual).toBe(expected);
|
|
147
|
+
});
|
|
148
|
+
test('should return namespace if already present', () => {
|
|
149
|
+
const expected = '@salesforce/label/othernamespace.label';
|
|
150
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/label/othernamespace.label', DEFAULT_NAMESPACE_MAPPING);
|
|
151
|
+
expect(actual).toBe(expected);
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
describe('namespace resourceUrl resource', () => {
|
|
155
|
+
test('should add namespace if not present', () => {
|
|
156
|
+
const expected = '@salesforce/resourceUrl/nsC__resource';
|
|
157
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/resourceUrl/resource', DEFAULT_NAMESPACE_MAPPING);
|
|
158
|
+
expect(actual).toBe(expected);
|
|
159
|
+
});
|
|
160
|
+
test('should return undefined if namespace value is empty', () => {
|
|
161
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/resourceUrl/__resource', DEFAULT_NAMESPACE_MAPPING);
|
|
162
|
+
expect(actual).toBeUndefined();
|
|
163
|
+
});
|
|
164
|
+
test('should return undefined if namespace contains extra separator', () => {
|
|
165
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/resourceUrl/c____resource', DEFAULT_NAMESPACE_MAPPING);
|
|
166
|
+
expect(actual).toBeUndefined();
|
|
167
|
+
});
|
|
168
|
+
test('should replace default namespace', () => {
|
|
169
|
+
const expected = '@salesforce/resourceUrl/nsC__resource';
|
|
170
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/resourceUrl/c__resource', DEFAULT_NAMESPACE_MAPPING);
|
|
171
|
+
expect(actual).toBe(expected);
|
|
172
|
+
});
|
|
173
|
+
test('should return existing namespace if default namespace has no mapping', () => {
|
|
174
|
+
const expected = '@salesforce/resourceUrl/c__resource';
|
|
175
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/resourceUrl/c__resource', {
|
|
176
|
+
b: 'nsC',
|
|
177
|
+
});
|
|
178
|
+
expect(actual).toBe(expected);
|
|
179
|
+
});
|
|
180
|
+
test('should replace non-default namespace', () => {
|
|
181
|
+
const expected = '@salesforce/resourceUrl/nsC__resource';
|
|
182
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/resourceUrl/abc__resource', {
|
|
183
|
+
abc: 'nsC',
|
|
184
|
+
});
|
|
185
|
+
expect(actual).toBe(expected);
|
|
186
|
+
});
|
|
187
|
+
test('should return namespace if already present', () => {
|
|
188
|
+
const expected = '@salesforce/resourceUrl/anotherNs__resource';
|
|
189
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/resourceUrl/anotherNs__resource', { c: 'anotherNs' });
|
|
190
|
+
expect(actual).toBe(expected);
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
describe('namespace contentAssetUrl resource', () => {
|
|
194
|
+
test('should add namespace if not present', () => {
|
|
195
|
+
const expected = '@salesforce/contentAssetUrl/nsC__asset';
|
|
196
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/contentAssetUrl/asset', DEFAULT_NAMESPACE_MAPPING);
|
|
197
|
+
expect(actual).toBe(expected);
|
|
198
|
+
});
|
|
199
|
+
test('should return namespace if already present', () => {
|
|
200
|
+
const expected = '@salesforce/contentAssetUrl/anotherNs__asset';
|
|
201
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/contentAssetUrl/anotherNs__asset', { c: 'anotherNs' });
|
|
202
|
+
expect(actual).toBe(expected);
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
describe('namespaced messageChannel resource', () => {
|
|
206
|
+
test('should return undefined if a non-custom (no __c) messageChannel is missing a namespace', () => {
|
|
207
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/messageChannel/message', DEFAULT_NAMESPACE_MAPPING);
|
|
208
|
+
expect(actual).toBe(undefined);
|
|
209
|
+
});
|
|
210
|
+
test('should return namespace when present for non-custom (no __c) messageChannels', () => {
|
|
211
|
+
const expected = '@salesforce/messageChannel/anotherNs__message';
|
|
212
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/messageChannel/anotherNs__message', { c: 'anotherNs' });
|
|
213
|
+
expect(actual).toBe(expected);
|
|
214
|
+
});
|
|
215
|
+
test('should add namespace for custom message (__c) types if no namespace present', () => {
|
|
216
|
+
const expected = '@salesforce/messageChannel/nsC__message__c';
|
|
217
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/messageChannel/message__c', DEFAULT_NAMESPACE_MAPPING);
|
|
218
|
+
expect(actual).toBe(expected);
|
|
219
|
+
});
|
|
220
|
+
test('should return namespace when present for custom (__c) messageChannels', () => {
|
|
221
|
+
const expected = '@salesforce/messageChannel/anotherNs__message__c';
|
|
222
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/messageChannel/anotherNs__message__c', { c: 'anotherNs' });
|
|
223
|
+
expect(actual).toBe(expected);
|
|
224
|
+
});
|
|
225
|
+
});
|
|
226
|
+
describe('namespace customPermission resource', () => {
|
|
227
|
+
test('should add namespace if not present', () => {
|
|
228
|
+
const expected = '@salesforce/customPermission/nsC__perm';
|
|
229
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/customPermission/perm', DEFAULT_NAMESPACE_MAPPING);
|
|
230
|
+
expect(actual).toBe(expected);
|
|
231
|
+
});
|
|
232
|
+
test('should return namespace if already present', () => {
|
|
233
|
+
const expected = '@salesforce/customPermission/anotherNs__perm';
|
|
234
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/customPermission/anotherNs__perm', { c: 'anotherNs' });
|
|
235
|
+
expect(actual).toBe(expected);
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
describe('namespace komaci resource', () => {
|
|
239
|
+
test('should add namespace if not present', () => {
|
|
240
|
+
const expected = '@salesforce/komaci/nsC__resource';
|
|
241
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/komaci/resource', DEFAULT_NAMESPACE_MAPPING);
|
|
242
|
+
expect(actual).toBe(expected);
|
|
243
|
+
});
|
|
244
|
+
test('should return namespace if already present', () => {
|
|
245
|
+
const expected = '@salesforce/komaci/anotherNs__resource';
|
|
246
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/komaci/anotherNs__resource', {
|
|
247
|
+
c: 'anotherNs',
|
|
248
|
+
});
|
|
249
|
+
expect(actual).toBe(expected);
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
describe('namespace apex resource', () => {
|
|
253
|
+
test('should return undefined if the namespace map is missing the default namespace', () => {
|
|
254
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/MyClass.methodA', {
|
|
255
|
+
b: 'bNs',
|
|
256
|
+
});
|
|
257
|
+
expect(actual).toBeUndefined();
|
|
258
|
+
});
|
|
259
|
+
test('should return undefined if namespace value is empty', () => {
|
|
260
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/.methodA', { b: 'bNs' });
|
|
261
|
+
expect(actual).toBeUndefined();
|
|
262
|
+
});
|
|
263
|
+
test('should return undefined if namespace contains extra separator', () => {
|
|
264
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/MyClass..methodA', {
|
|
265
|
+
b: 'bNs',
|
|
266
|
+
});
|
|
267
|
+
expect(actual).toBeUndefined();
|
|
268
|
+
});
|
|
269
|
+
test('should return undefined if apex resource does not have a method', () => {
|
|
270
|
+
expect((0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/MyClass', { c: 'bNs' })).toBeUndefined();
|
|
271
|
+
});
|
|
272
|
+
test('should add namespace if not present', () => {
|
|
273
|
+
const expected = '@salesforce/apex/nsC.MyClass.methodA';
|
|
274
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/MyClass.methodA', DEFAULT_NAMESPACE_MAPPING);
|
|
275
|
+
expect(actual).toBe(expected);
|
|
276
|
+
});
|
|
277
|
+
test('should replace default namespace', () => {
|
|
278
|
+
const expected = '@salesforce/apex/nsC.MyClass.methodA';
|
|
279
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/c.MyClass.methodA', DEFAULT_NAMESPACE_MAPPING);
|
|
280
|
+
expect(actual).toBe(expected);
|
|
281
|
+
});
|
|
282
|
+
test('c with no mapping', () => {
|
|
283
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/c.MyClass.methodA', {});
|
|
284
|
+
expect(actual).toBe('@salesforce/apex/c.MyClass.methodA');
|
|
285
|
+
});
|
|
286
|
+
test('should replace non-default namespace', () => {
|
|
287
|
+
const expected = '@salesforce/apex/nsC.MyClass.methodA';
|
|
288
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/abc.MyClass.methodA', {
|
|
289
|
+
abc: 'nsC',
|
|
290
|
+
});
|
|
291
|
+
expect(actual).toBe(expected);
|
|
292
|
+
});
|
|
293
|
+
test('should return namespace if already present', () => {
|
|
294
|
+
const expected = '@salesforce/apex/anotherNamespace.MyClass.methodA';
|
|
295
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/anotherNamespace.MyClass.methodA', { c: 'anotherNamespace' });
|
|
296
|
+
expect(actual).toBe(expected);
|
|
297
|
+
});
|
|
298
|
+
test('should return namespace if already present in resource and map', () => {
|
|
299
|
+
const expected = '@salesforce/apex/anotherNamespace.MyClass.methodA';
|
|
300
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/anotherNamespace.MyClass.methodA', { anotherNamespace: 'anotherNamespace' });
|
|
301
|
+
expect(actual).toBe(expected);
|
|
302
|
+
});
|
|
303
|
+
test('should return namespace if already present and map contains default mapping', () => {
|
|
304
|
+
const expected = '@salesforce/apex/anotherNamespace.MyClass.methodA';
|
|
305
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/anotherNamespace.MyClass.methodA', DEFAULT_NAMESPACE_MAPPING);
|
|
306
|
+
expect(actual).toBe(expected);
|
|
307
|
+
});
|
|
308
|
+
test('should return undefined when provided empty namespace mapping', () => {
|
|
309
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apex/MyClass.methodA', {});
|
|
310
|
+
expect(actual).toBeUndefined();
|
|
311
|
+
});
|
|
312
|
+
});
|
|
313
|
+
describe('namespace apexContinuation resource', () => {
|
|
314
|
+
test('should return undefined if the namespace map is missing the default namespace', () => {
|
|
315
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/MyClass.methodA', { b: 'bNs' });
|
|
316
|
+
expect(actual).toBeUndefined();
|
|
317
|
+
});
|
|
318
|
+
test('should return undefined if namespace value is empty', () => {
|
|
319
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/.methodA', {
|
|
320
|
+
b: 'bNs',
|
|
321
|
+
});
|
|
322
|
+
expect(actual).toBeUndefined();
|
|
323
|
+
});
|
|
324
|
+
test('should return undefined if namespace contains extra separator', () => {
|
|
325
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/MyClass..methodA', { b: 'bNs' });
|
|
326
|
+
expect(actual).toBeUndefined();
|
|
327
|
+
});
|
|
328
|
+
test('should return undefined if apex resource does not have a method', () => {
|
|
329
|
+
expect((0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/MyClass', { c: 'bNs' })).toBeUndefined();
|
|
330
|
+
});
|
|
331
|
+
test('should add namespace if not present', () => {
|
|
332
|
+
const expected = '@salesforce/apexContinuation/nsC.MyClass.methodA';
|
|
333
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/MyClass.methodA', DEFAULT_NAMESPACE_MAPPING);
|
|
334
|
+
expect(actual).toBe(expected);
|
|
335
|
+
});
|
|
336
|
+
test('should replace default namespace', () => {
|
|
337
|
+
const expected = '@salesforce/apexContinuation/nsC.MyClass.methodA';
|
|
338
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/c.MyClass.methodA', DEFAULT_NAMESPACE_MAPPING);
|
|
339
|
+
expect(actual).toBe(expected);
|
|
340
|
+
});
|
|
341
|
+
test('c with no mapping', () => {
|
|
342
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/c.MyClass.methodA', {});
|
|
343
|
+
expect(actual).toBe('@salesforce/apexContinuation/c.MyClass.methodA');
|
|
344
|
+
});
|
|
345
|
+
test('should replace non-default namespace', () => {
|
|
346
|
+
const expected = '@salesforce/apexContinuation/nsC.MyClass.methodA';
|
|
347
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/abc.MyClass.methodA', { abc: 'nsC' });
|
|
348
|
+
expect(actual).toBe(expected);
|
|
349
|
+
});
|
|
350
|
+
test('should return namespace if already present', () => {
|
|
351
|
+
const expected = '@salesforce/apexContinuation/anotherNamespace.MyClass.methodA';
|
|
352
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/anotherNamespace.MyClass.methodA', { c: 'anotherNamespace' });
|
|
353
|
+
expect(actual).toBe(expected);
|
|
354
|
+
});
|
|
355
|
+
test('should return namespace if already present in resource and map', () => {
|
|
356
|
+
const expected = '@salesforce/apexContinuation/anotherNamespace.MyClass.methodA';
|
|
357
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/anotherNamespace.MyClass.methodA', { anotherNamespace: 'anotherNamespace' });
|
|
358
|
+
expect(actual).toBe(expected);
|
|
359
|
+
});
|
|
360
|
+
test('should return namespace if already present and map contains default mapping', () => {
|
|
361
|
+
const expected = '@salesforce/apexContinuation/anotherNamespace.MyClass.methodA';
|
|
362
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/anotherNamespace.MyClass.methodA', DEFAULT_NAMESPACE_MAPPING);
|
|
363
|
+
expect(actual).toBe(expected);
|
|
364
|
+
});
|
|
365
|
+
test('should return undefined when provided empty namespace mapping', () => {
|
|
366
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/apexContinuation/MyClass.methodA', {});
|
|
367
|
+
expect(actual).toBeUndefined();
|
|
368
|
+
});
|
|
369
|
+
});
|
|
370
|
+
describe('namespace schema resource', () => {
|
|
371
|
+
test('should add namespace if not present', () => {
|
|
372
|
+
const expected = '@salesforce/schema/nsC__CustomObject__c';
|
|
373
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/CustomObject__c', DEFAULT_NAMESPACE_MAPPING);
|
|
374
|
+
expect(actual).toBe(expected);
|
|
375
|
+
});
|
|
376
|
+
test('should return undefined if namespace value is empty', () => {
|
|
377
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/__CustomObject__c', DEFAULT_NAMESPACE_MAPPING);
|
|
378
|
+
expect(actual).toBeUndefined();
|
|
379
|
+
});
|
|
380
|
+
test('should return undefined if namespace contains extra separator', () => {
|
|
381
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/c____CustomObject__c', DEFAULT_NAMESPACE_MAPPING);
|
|
382
|
+
expect(actual).toBeUndefined();
|
|
383
|
+
});
|
|
384
|
+
test('should add namespace on custom fields on standard objects', () => {
|
|
385
|
+
const expected = '@salesforce/schema/Account.nsC__CustomField__c';
|
|
386
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Account.CustomField__c', DEFAULT_NAMESPACE_MAPPING);
|
|
387
|
+
expect(actual).toBe(expected);
|
|
388
|
+
});
|
|
389
|
+
test('should add namespace on custom relationships on standard object', () => {
|
|
390
|
+
const expected = '@salesforce/schema/Account.nsC__Relation__r.Name';
|
|
391
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Account.Relation__r.Name', DEFAULT_NAMESPACE_MAPPING);
|
|
392
|
+
expect(actual).toBe(expected);
|
|
393
|
+
});
|
|
394
|
+
test('should ignore standard object and relationships', () => {
|
|
395
|
+
const expected = '@salesforce/schema/Contact.Account.Name';
|
|
396
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Contact.Account.Name', DEFAULT_NAMESPACE_MAPPING);
|
|
397
|
+
expect(actual).toBe(expected);
|
|
398
|
+
});
|
|
399
|
+
test('should handle mixed standard and custom relationships', () => {
|
|
400
|
+
const expected = '@salesforce/schema/nsC__CustomObject__c.nsC__parentContact__r.Account.Name';
|
|
401
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/CustomObject__c.parentContact__r.Account.Name', DEFAULT_NAMESPACE_MAPPING);
|
|
402
|
+
expect(actual).toBe(expected);
|
|
403
|
+
});
|
|
404
|
+
test('should not add a namespace to a custom object with an existing namespace', () => {
|
|
405
|
+
const expected = '@salesforce/schema/ns__CustomObject__c';
|
|
406
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/ns__CustomObject__c', DEFAULT_NAMESPACE_MAPPING);
|
|
407
|
+
expect(actual).toBe(expected);
|
|
408
|
+
});
|
|
409
|
+
test('should replace namespace in a custom object with non-default namespace', () => {
|
|
410
|
+
const expected = '@salesforce/schema/nsC__CustomObject__c';
|
|
411
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/ns__CustomObject__c', {
|
|
412
|
+
ns: 'nsC',
|
|
413
|
+
});
|
|
414
|
+
expect(actual).toBe(expected);
|
|
415
|
+
});
|
|
416
|
+
test('should not add a namespace to a custom field with an existing namespace', () => {
|
|
417
|
+
const expected = '@salesforce/schema/Account.ns__CustomField__c';
|
|
418
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Account.ns__CustomField__c', DEFAULT_NAMESPACE_MAPPING);
|
|
419
|
+
expect(actual).toBe(expected);
|
|
420
|
+
});
|
|
421
|
+
test('should replace namespace in a custom field with a non-default namespace', () => {
|
|
422
|
+
const expected = '@salesforce/schema/Account.nsC__CustomField__c';
|
|
423
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Account.ns__CustomField__c', { ns: 'nsC' });
|
|
424
|
+
expect(actual).toBe(expected);
|
|
425
|
+
});
|
|
426
|
+
test('should not add a namespace to a custom relationship with an existing namespace', () => {
|
|
427
|
+
const expected = '@salesforce/schema/Account.ns__Relation__r.Name';
|
|
428
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Account.ns__Relation__r.Name', DEFAULT_NAMESPACE_MAPPING);
|
|
429
|
+
expect(actual).toBe(expected);
|
|
430
|
+
});
|
|
431
|
+
test('should replace namespace om a custom relationship with a non-default namespace', () => {
|
|
432
|
+
const expected = '@salesforce/schema/Account.nsC__Relation__r.Name';
|
|
433
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Account.ns__Relation__r.Name', { ns: 'nsC' });
|
|
434
|
+
expect(actual).toBe(expected);
|
|
435
|
+
});
|
|
436
|
+
test('should return undefined if specified map is empty for one custom object', () => {
|
|
437
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Order_Item__c', {});
|
|
438
|
+
expect(actual).toBeUndefined();
|
|
439
|
+
});
|
|
440
|
+
test('should return undefined if specified map is empty for one custom object', () => {
|
|
441
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Order_Item__c', {});
|
|
442
|
+
expect(actual).toBeUndefined();
|
|
443
|
+
});
|
|
444
|
+
test('should return undefined if specified map is empty for two custom objects', () => {
|
|
445
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Product__c.MSRP__c', {});
|
|
446
|
+
expect(actual).toBeUndefined();
|
|
447
|
+
});
|
|
448
|
+
test('should return undefined if specified map is empty for two custom objects', () => {
|
|
449
|
+
expect(() => {
|
|
450
|
+
(0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Product__c.MSRP__c', undefined);
|
|
451
|
+
}).toThrow('Failed to apply namespace mapping to "@salesforce/schema/Product__c.MSRP__c".' +
|
|
452
|
+
' Missing required "namespaceMapping" parameter');
|
|
453
|
+
});
|
|
454
|
+
test('should return undefined if namespace map does not contain the match for two custom objects', () => {
|
|
455
|
+
const actual = (0, namespace_utils_1.getNamespacedIdForResource)('@salesforce/schema/Product__c.MSRP__c', {
|
|
456
|
+
abd: 'nsC',
|
|
457
|
+
});
|
|
458
|
+
expect(actual).toBeUndefined();
|
|
459
|
+
});
|
|
460
|
+
});
|
|
461
|
+
});
|
|
462
|
+
//# sourceMappingURL=namespace.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespace.spec.js","sourceRoot":"","sources":["../../src/__tests__/namespace.spec.ts"],"names":[],"mappings":";;AAAA,wDAAwF;AAExF,MAAM,yBAAyB,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC;AAE/C,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACvB,QAAQ,CAAC,2CAA2C,EAAE,GAAG,EAAE;QACvD,IAAI,CAAC,oDAAoD,EAAE,GAAG,EAAE;YAC5D,MAAM,CAAC,GAAG,EAAE;gBACR,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