Sha256: 1ba885b6a801b0ddf437cbbcb424236bd8e0db88d74a528fc2a2644218564fb9

Contents?: true

Size: 1.49 KB

Versions: 22

Compression:

Stored size: 1.49 KB

Contents

{"version":3,"names":["transformFile","exports","filename","opts","callback","Error","transformFileSync","transformFileAsync","Promise","reject"],"sources":["../src/transform-file-browser.ts"],"sourcesContent":["// duplicated from transform-file so we do not have to import anything here\ntype TransformFile = {\n  (filename: string, callback: (error: Error, file: null) => void): void;\n  (\n    filename: string,\n    opts: any,\n    callback: (error: Error, file: null) => void,\n  ): void;\n};\n\nexport const transformFile: TransformFile = function transformFile(\n  filename,\n  opts,\n  callback?: (error: Error, file: null) => void,\n) {\n  if (typeof opts === \"function\") {\n    callback = opts;\n  }\n\n  callback(new Error(\"Transforming files is not supported in browsers\"), null);\n};\n\nexport function transformFileSync(): never {\n  throw new Error(\"Transforming files is not supported in browsers\");\n}\n\nexport function transformFileAsync() {\n  return Promise.reject(\n    new Error(\"Transforming files is not supported in browsers\"),\n  );\n}\n"],"mappings":";;;;;;;;AAUO,MAAMA,aAA4B,GAAAC,OAAA,CAAAD,aAAA,GAAG,SAASA,aAAaA,CAChEE,QAAQ,EACRC,IAAI,EACJC,QAA6C,EAC7C;EACA,IAAI,OAAOD,IAAI,KAAK,UAAU,EAAE;IAC9BC,QAAQ,GAAGD,IAAI;EACjB;EAEAC,QAAQ,CAAC,IAAIC,KAAK,CAAC,iDAAiD,CAAC,EAAE,IAAI,CAAC;AAC9E,CAAC;AAEM,SAASC,iBAAiBA,CAAA,EAAU;EACzC,MAAM,IAAID,KAAK,CAAC,iDAAiD,CAAC;AACpE;AAEO,SAASE,kBAAkBA,CAAA,EAAG;EACnC,OAAOC,OAAO,CAACC,MAAM,CACnB,IAAIJ,KAAK,CAAC,iDAAiD,CAC7D,CAAC;AACH;AAAC","ignoreList":[]}

Version data entries

22 entries across 15 versions & 2 rubygems

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