Sha256: ca53dcc940ded4d9a329afe0c285d7d9a9be1d35afc655734cf527fe277cf0bb

Contents?: true

Size: 1.09 KB

Versions: 9

Compression:

Stored size: 1.09 KB

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.pluginsBugfixes = exports.plugins = void 0;

var _plugins = _interopRequireDefault(require("@babel/compat-data/plugins"));

var _pluginBugfixes = _interopRequireDefault(require("@babel/compat-data/plugin-bugfixes"));

var _availablePlugins = _interopRequireDefault(require("./available-plugins"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const pluginsFiltered = {};
exports.plugins = pluginsFiltered;
const bugfixPluginsFiltered = {};
exports.pluginsBugfixes = bugfixPluginsFiltered;

for (const plugin of Object.keys(_plugins.default)) {
  if (Object.hasOwnProperty.call(_availablePlugins.default, plugin)) {
    pluginsFiltered[plugin] = _plugins.default[plugin];
  }
}

for (const plugin of Object.keys(_pluginBugfixes.default)) {
  if (Object.hasOwnProperty.call(_availablePlugins.default, plugin)) {
    bugfixPluginsFiltered[plugin] = _pluginBugfixes.default[plugin];
  }
}

pluginsFiltered["proposal-class-properties"] = pluginsFiltered["proposal-private-methods"];

Version data entries

9 entries across 8 versions & 4 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/preset-env/lib/plugins-compat-data.js
tang-0.2.1 spec/tang_app/node_modules/@babel/preset-env/lib/plugins-compat-data.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/@babel/preset-env/lib/plugins-compat-data.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/@babel/preset-env/lib/plugins-compat-data.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/@babel/preset-env/lib/plugins-compat-data.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/@babel/preset-env/lib/plugins-compat-data.js
tang-0.2.0 spec/tang_app/node_modules/@babel/preset-env/lib/plugins-compat-data.js
tang-0.1.0 spec/tang_app/node_modules/@babel/preset-env/lib/plugins-compat-data.js
tang-0.0.9 spec/tang_app/node_modules/@babel/preset-env/lib/plugins-compat-data.js