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

@locker/ast-lib-maker

Package Overview
Dependencies
Maintainers
6
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/ast-lib-maker - npm Package Compare versions

Comparing version 0.12.3 to 0.12.4

6

dist/index.cjs.js

@@ -93,3 +93,3 @@ /**

function stringPatternStartsWithByAliases(stringPattern, aliases) {
return aliases.some(alias => stringPatternStartsWith(stringPattern, alias));
return aliases.some((alias) => stringPatternStartsWith(stringPattern, alias));
}

@@ -136,3 +136,3 @@ function isNodeByAsteriskOrName(node, name) {

}
const expandedPatterns = patterns.map(pattern => rehydratePattern(normalizePattern(pattern))
const expandedPatterns = patterns.map((pattern) => rehydratePattern(normalizePattern(pattern))
// eslint-disable-next-line function-paren-newline

@@ -237,2 +237,2 @@ );

exports.createLib = createLib;
/** version: 0.12.3 */
/** version: 0.12.4 */

@@ -89,3 +89,3 @@ /**

function stringPatternStartsWithByAliases(stringPattern, aliases) {
return aliases.some(alias => stringPatternStartsWith(stringPattern, alias));
return aliases.some((alias) => stringPatternStartsWith(stringPattern, alias));
}

@@ -132,3 +132,3 @@ function isNodeByAsteriskOrName(node, name) {

}
const expandedPatterns = patterns.map(pattern => rehydratePattern(normalizePattern(pattern))
const expandedPatterns = patterns.map((pattern) => rehydratePattern(normalizePattern(pattern))
// eslint-disable-next-line function-paren-newline

@@ -233,2 +233,2 @@ );

export { createLib };
/** version: 0.12.3 */
/** version: 0.12.4 */
{
"name": "@locker/ast-lib-maker",
"version": "0.12.3",
"version": "0.12.4",
"license": "Salesforce Developer Agreement",

@@ -24,3 +24,3 @@ "author": "Salesforce UI Security Team",

"dependencies": {
"@locker/shared": "0.12.3"
"@locker/shared": "0.12.4"
},

@@ -33,3 +33,3 @@ "devDependencies": {

],
"gitHead": "04a89b8ef9516c8ebc5f38a1bb2d93b04deba348"
"gitHead": "d3260278d9ca591eb39a5085ca1332d9ceac7546"
}

@@ -15,3 +15,2 @@ # @locker/ast-lib-maker

optional `overrides` object to override specific methods.
<!-- eslint-disable import/no-extraneous-dependencies -->
```js

@@ -18,0 +17,0 @@ const { createLib } = require('@locker/ast-lib-maker');

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