Sha256: b3ec5d2dff38dc7bf38dd752fc15d7158ac002790458355f5e26c53f1d1a9f93
Contents?: true
Size: 687 Bytes
Versions: 26
Compression:
Stored size: 687 Bytes
Contents
"use strict"; var _minify = _interopRequireDefault(require("./minify")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = (options, callback) => { try { // 'use strict' => this === undefined (Clean Scope) // Safer for possible security issues, albeit not critical at all here // eslint-disable-next-line no-new-func, no-param-reassign options = new Function('exports', 'require', 'module', '__filename', '__dirname', `'use strict'\nreturn ${options}`)(exports, require, module, __filename, __dirname); callback(null, (0, _minify.default)(options)); } catch (errors) { callback(errors); } };
Version data entries
26 entries across 25 versions & 8 rubygems