Sha256: 7c34b7adfc3ea8e7abf637a1c4f5d06caa5eabfaf79365101a14516fb952f474

Contents?: true

Size: 1.08 KB

Versions: 23

Compression:

Stored size: 1.08 KB

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.transformFile = transformFile;
exports.transformFileAsync = transformFileAsync;
exports.transformFileSync = transformFileSync;
function _gensync() {
  const data = require("gensync");
  _gensync = function () {
    return data;
  };
  return data;
}
var _index = require("./config/index.js");
var _index2 = require("./transformation/index.js");
var fs = require("./gensync-utils/fs.js");
({});
const transformFileRunner = _gensync()(function* (filename, opts) {
  const options = Object.assign({}, opts, {
    filename
  });
  const config = yield* (0, _index.default)(options);
  if (config === null) return null;
  const code = yield* fs.readFile(filename, "utf8");
  return yield* (0, _index2.run)(config, code);
});
function transformFile(...args) {
  transformFileRunner.errback(...args);
}
function transformFileSync(...args) {
  return transformFileRunner.sync(...args);
}
function transformFileAsync(...args) {
  return transformFileRunner.async(...args);
}
0 && 0;

//# sourceMappingURL=transform-file.js.map

Version data entries

23 entries across 16 versions & 3 rubygems

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