Sha256: 54b98bda4fb8aeebf2d0a5044e2babb102e0afd6f05de3400cc5adf77039db0a

Contents?: true

Size: 1.09 KB

Versions: 23

Compression:

Stored size: 1.09 KB

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
class PluginPass {
  constructor(file, key, options) {
    this._map = new Map();
    this.key = void 0;
    this.file = void 0;
    this.opts = void 0;
    this.cwd = void 0;
    this.filename = void 0;
    this.key = key;
    this.file = file;
    this.opts = options || {};
    this.cwd = file.opts.cwd;
    this.filename = file.opts.filename;
  }
  set(key, val) {
    this._map.set(key, val);
  }
  get(key) {
    return this._map.get(key);
  }
  availableHelper(name, versionRange) {
    return this.file.availableHelper(name, versionRange);
  }
  addHelper(name) {
    return this.file.addHelper(name);
  }
  buildCodeFrameError(node, msg, _Error) {
    return this.file.buildCodeFrameError(node, msg, _Error);
  }
}
exports.default = PluginPass;
{
  PluginPass.prototype.getModuleName = function getModuleName() {
    return this.file.getModuleName();
  };
  PluginPass.prototype.addImport = function addImport() {
    this.file.addImport();
  };
}
0 && 0;

//# sourceMappingURL=plugin-pass.js.map

Version data entries

23 entries across 16 versions & 3 rubygems

Version Path
trusty-cms-6.3.1 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.51 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.50 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.49 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.48 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.47 node_modules/jscodeshift/node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.47 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.46 node_modules/jscodeshift/node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.46 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.45 node_modules/jscodeshift/node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.45 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.44 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.43 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.42 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.41 node_modules/@babel/core/lib/transformation/plugin-pass.js
immosquare-cleaner-0.1.40 node_modules/@babel/core/lib/transformation/plugin-pass.js