@lwc/sfdc-compiler-utils
Advanced tools
Comparing version 2.20.0 to 2.20.2
@@ -98,2 +98,6 @@ "use strict"; | ||
}); | ||
test('should return undefined when namespace mapping "webstore"', () => { | ||
const actual = (0, namespace_utils_1.getNamespacedIdForType)('@salesforce/webstore/Id', 'webstore', DEFAULT_NAMESPACE_MAPPING); | ||
expect(actual).toBeUndefined(); | ||
}); | ||
}); | ||
@@ -100,0 +104,0 @@ describe('namespace resource', () => { |
@@ -195,2 +195,3 @@ "use strict"; | ||
case 'userPermission': | ||
case 'webstore': | ||
return undefined; | ||
@@ -284,2 +285,3 @@ default: | ||
case 'userPermission': | ||
case 'webstore': | ||
break; | ||
@@ -286,0 +288,0 @@ default: |
{ | ||
"name": "@lwc/sfdc-compiler-utils", | ||
"description": "LWC Compiler Utilities. This software is provided as-is with no support provided.", | ||
"version": "2.20.0", | ||
"version": "2.20.2", | ||
"main": "dist/index.js", | ||
@@ -9,3 +9,3 @@ "typings": "dist/index.d.ts", | ||
"scripts": { | ||
"clean": "rimraf dist/", | ||
"clean": "rimraf dist/ && rimraf node_modules/", | ||
"build": "tsc" | ||
@@ -12,0 +12,0 @@ }, |
@@ -184,2 +184,11 @@ import { getNamespacedIdForResource, getNamespacedIdForType } from '../namespace-utils'; | ||
}); | ||
test('should return undefined when namespace mapping "webstore"', () => { | ||
const actual = getNamespacedIdForType( | ||
'@salesforce/webstore/Id', | ||
'webstore', | ||
DEFAULT_NAMESPACE_MAPPING | ||
); | ||
expect(actual).toBeUndefined(); | ||
}); | ||
}); | ||
@@ -186,0 +195,0 @@ |
@@ -239,2 +239,3 @@ // Copyright (c) 2022, Salesforce, Inc., | ||
case 'userPermission': | ||
case 'webstore': | ||
return undefined; | ||
@@ -361,2 +362,3 @@ default: | ||
case 'userPermission': | ||
case 'webstore': | ||
break; | ||
@@ -363,0 +365,0 @@ default: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
166591
2353
1