| Server IP : 74.208.250.37 / Your IP : 216.73.216.233 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/node_modules/@babel/plugin-proposal-pipeline-operator/lib/ |
Upload File : |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _pluginSyntaxPipelineOperator = require("@babel/plugin-syntax-pipeline-operator");
var _minimalVisitor = require("./minimalVisitor");
var _hackVisitor = require("./hackVisitor");
var _fsharpVisitor = require("./fsharpVisitor");
var _smartVisitor = require("./smartVisitor");
const visitorsPerProposal = {
minimal: _minimalVisitor.default,
hack: _hackVisitor.default,
fsharp: _fsharpVisitor.default,
smart: _smartVisitor.default
};
var _default = (0, _helperPluginUtils.declare)((api, options) => {
api.assertVersion(7);
const {
proposal
} = options;
if (proposal === "smart") {
console.warn(`The smart-mix pipe operator is deprecated. Use "proposal": "hack" instead.`);
}
return {
name: "proposal-pipeline-operator",
inherits: _pluginSyntaxPipelineOperator.default,
visitor: visitorsPerProposal[options.proposal]
};
});
exports.default = _default;
//# sourceMappingURL=index.js.map