rollup-plugin-visualizer
Advanced tools
Comparing version 5.3.2 to 5.3.3
# Changelog | ||
## 5.3.3 | ||
* Fix node10 compatability | ||
## 5.3.2 | ||
@@ -4,0 +8,0 @@ |
@@ -85,2 +85,8 @@ #!/usr/bin/env node | ||
await fs_1.promises.mkdir(path_1.default.dirname(filename), { recursive: true }); | ||
try { | ||
await fs_1.promises.unlink(filename); | ||
} | ||
catch (err) { | ||
// ignore | ||
} | ||
await fs_1.promises.writeFile(filename, fileContent); | ||
@@ -87,0 +93,0 @@ }; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ModuleMapper = void 0; | ||
const object_fromentries_1 = __importDefault(require("object.fromentries")); | ||
const non_secure_1 = require("nanoid/non-secure"); | ||
@@ -59,5 +63,5 @@ const nanoid = non_secure_1.customAlphabet("1234567890abcdef", 4); | ||
getNodeParts() { | ||
return Object.fromEntries(Object.values(this.nodeIds).map((val) => [val.uid, val.bundles])); | ||
return object_fromentries_1.default(Object.values(this.nodeIds).map((val) => [val.uid, val.bundles])); | ||
} | ||
} | ||
exports.ModuleMapper = ModuleMapper; |
{ | ||
"name": "rollup-plugin-visualizer", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"main": "./dist/plugin/index.js", | ||
@@ -5,0 +5,0 @@ "author": "Denis Bardadym <bardadymchik@gmail.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1995356
13254