shipped-proposals.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.proposalSyntaxPlugins = exports.proposalPlugins = exports.pluginSyntaxMap = void 0;
  6. const proposalPlugins = new Set();
  7. exports.proposalPlugins = proposalPlugins;
  8. const proposalSyntaxPlugins = ["syntax-import-assertions"];
  9. exports.proposalSyntaxPlugins = proposalSyntaxPlugins;
  10. const pluginSyntaxObject = {
  11. "transform-async-generator-functions": "syntax-async-generators",
  12. "transform-class-properties": "syntax-class-properties",
  13. "transform-class-static-block": "syntax-class-static-block",
  14. "transform-json-strings": "syntax-json-strings",
  15. "transform-nullish-coalescing-operator": "syntax-nullish-coalescing-operator",
  16. "transform-numeric-separator": "syntax-numeric-separator",
  17. "transform-object-rest-spread": "syntax-object-rest-spread",
  18. "transform-optional-catch-binding": "syntax-optional-catch-binding",
  19. "transform-optional-chaining": "syntax-optional-chaining",
  20. "transform-private-methods": "syntax-class-properties",
  21. "transform-private-property-in-object": "syntax-private-property-in-object",
  22. "transform-unicode-property-regex": null
  23. };
  24. const pluginSyntaxEntries = Object.keys(pluginSyntaxObject).map(function (key) {
  25. return [key,
  26. pluginSyntaxObject[key]];
  27. });
  28. const pluginSyntaxMap = new Map(pluginSyntaxEntries);
  29. exports.pluginSyntaxMap = pluginSyntaxMap;
  30. //# sourceMappingURL=shipped-proposals.js.map