Sha256: 67988882b601ba93dd3dbc718e46f12fe854874a7534b212b9d9c789df53fcda

Contents?: true

Size: 735 Bytes

Versions: 11

Compression:

Stored size: 735 Bytes

Contents

"use strict";

exports.__esModule = true;
exports.stringifyTargetsMultiline = stringifyTargetsMultiline;
exports.stringifyTargets = stringifyTargets;
exports.presetEnvSilentDebugHeader = void 0;

var _helperCompilationTargets = require("@babel/helper-compilation-targets");

const presetEnvSilentDebugHeader = "#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";
exports.presetEnvSilentDebugHeader = presetEnvSilentDebugHeader;

function stringifyTargetsMultiline(targets) {
  return JSON.stringify((0, _helperCompilationTargets.prettifyTargets)(targets), null, 2);
}

function stringifyTargets(targets) {
  return JSON.stringify(targets).replace(/,/g, ", ").replace(/^\{"/, '{ "').replace(/"\}$/, '" }');
}

Version data entries

11 entries across 10 versions & 3 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
disco_app-0.15.2 test/dummy/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
disco_app-0.18.4 test/dummy/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
disco_app-0.18.1 test/dummy/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
disco_app-0.14.0 test/dummy/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/@babel/helper-define-polyfill-provider/lib/debug-utils.js