test/dummy/node_modules/@babel/template/lib/index.js in disco_app-0.18.1 vs test/dummy/node_modules/@babel/template/lib/index.js in disco_app-0.18.2

- old
+ new

@@ -3,12 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.program = exports.expression = exports.statements = exports.statement = exports.smart = void 0; -var formatters = require("./formatters"); +var formatters = _interopRequireWildcard(require("./formatters")); -var _builder = require("./builder"); +var _builder = _interopRequireDefault(require("./builder")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } const smart = (0, _builder.default)(formatters.smart); exports.smart = smart; const statement = (0, _builder.default)(formatters.statement); exports.statement = statement; \ No newline at end of file