@adobe/helix-shared-config
Advanced tools
Comparing version 10.0.0 to 10.0.1
{ | ||
"name": "@adobe/helix-shared-config", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"description": "Shared modules of the Helix Project - config", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -51,3 +51,3 @@ /* | ||
return prev; | ||
}, {}); | ||
}, Object.create(null)); | ||
} | ||
@@ -92,3 +92,3 @@ | ||
/** @type ModifierMap */ | ||
const res = {}; | ||
const res = Object.create(null); | ||
for (let row of sheet) { | ||
@@ -163,5 +163,5 @@ row = ModifiersConfig.toLowerKeys(row); | ||
if (!this.modifiers) { | ||
return {}; | ||
return Object.create(null); | ||
} | ||
const modifiers = {}; | ||
const modifiers = Object.create(null); | ||
for (const { pat, mods } of this.modifiers) { | ||
@@ -168,0 +168,0 @@ if (pat === path || (pat instanceof RegExp && pat.test(path))) { |
Sorry, the diff of this file is too big to display
179029