Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lwc/sfdc-compiler-utils

Package Overview
Dependencies
Maintainers
14
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/sfdc-compiler-utils - npm Package Compare versions

Comparing version 2.20.0 to 2.20.2

4

dist/__tests__/namespace.spec.js

@@ -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:

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc