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

@bem/deps

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bem/deps - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

dist/formats/deps.js/normalize.js

@@ -83,2 +83,4 @@ 'use strict';

if (dep.elems) {
res.push({ block: dep.block });
dep.elems.forEach(function (elem, idx) {

@@ -107,2 +109,4 @@ if (elem === '') return;

if (dep.mods) {
res.push({ block: dep.block });
if (Array.isArray(dep.mods)) {

@@ -120,4 +124,5 @@ dep.mods.forEach(function (mod) {

dep.mods[mod].push(true);
dep.mods[mod].forEach(function (value) {
res.push(extend({ modName: mod, modVal: value }, dep));
value !== true && res.push(extend({ modName: mod, modVal: value }, dep));
});

@@ -124,0 +129,0 @@ });

4

dist/resolve/add-native-dependencies.js

@@ -180,3 +180,3 @@ 'use strict';

if (modifier.block === block && modifier.modName === modName && ignoreVals.indexOf(modifier.modVal) === -1) {
if (modifier.block === block && modifier.modName === modName && ignoreVals.indexOf(modifier.modVal) === -1 && modifier.modVal !== true) {
dependencyGraph.addDependency(modifier, booleanModifier, { order: 'blockBooleanModifierBeforeBlockModifier' });

@@ -328,3 +328,3 @@ }

if (modifier.block === block && elem && modifier.elem === elem && modifier.modName === modName && ignoreVals.indexOf(modifier.modVal) === -1) {
if (modifier.block === block && elem && modifier.elem === elem && modifier.modName === modName && ignoreVals.indexOf(modifier.modVal) === -1 && modifier.modVal !== true) {
dependencyGraph.addDependency(modifier, booleanModifier, { order: 'elementBooleanModifierBeforeElementModifier' });

@@ -331,0 +331,0 @@ }

@@ -127,2 +127,3 @@ 'use strict';

var declarationEntityId = (0, _bemNaming.stringify)(declarationEntity);
var entities = [];
var beforeEntities = [],

@@ -144,5 +145,5 @@ afterEntities = [];

if (declarationEntityId === entityId) continue;
if (visitedIds.has(entityId)) continue;
// if (visitedIds.has(entityId)) continue;
visitedIds.add(entityId);
// visitedIds.add(entityId);

@@ -149,0 +150,0 @@ if (order) {

{
"name": "@bem/deps",
"version": "0.0.2",
"version": "0.0.3",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [

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