Sha256: e1670ebf8eaca28f8d7ed5885d97d2acc80bdd7a59133d273dfa935bc132e148

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 KB

Contents

{"version":3,"names":["Module","require","globalModuleCache","_cache","internalModuleCache","Object","create","node","smsPath","resolve","register","default","module","exports"],"sources":["../src/nodeWrapper.js"],"sourcesContent":["/**\n * This file wraps the implementation of register so all modules `require()`-ed\n * internally within register are stored in a separate module cache.\n * This prevents un-transformed modules being stored in global module cache,\n * and allows register to transform these modules if they are loaded externally.\n */\n\n// TODO: Remove this file in Babel 8\n\nconst Module = require(\"module\");\n\nconst globalModuleCache = Module._cache;\nconst internalModuleCache = Object.create(null);\n\nModule._cache = internalModuleCache;\nconst node = require(\"./node.js\");\n\n// NOTE: This Module._cache set is intercepted by the beforeEach hook in\n// packages/babel-register/test/index.js to install dependencies mocks.\nModule._cache = globalModuleCache;\n\n// Add source-map-support to global cache as it's stateful\nconst smsPath = require.resolve(\"source-map-support\");\nglobalModuleCache[smsPath] = internalModuleCache[smsPath];\n\nconst register = node.default;\nregister();\n\nmodule.exports = node;\n"],"mappings":"AASA,MAAMA,MAAM,GAAGC,OAAO,CAAC,QAAQ,CAAC;AAEhC,MAAMC,iBAAiB,GAAGF,MAAM,CAACG,MAAM;AACvC,MAAMC,mBAAmB,GAAGC,MAAM,CAACC,MAAM,CAAC,IAAI,CAAC;AAE/CN,MAAM,CAACG,MAAM,GAAGC,mBAAmB;AACnC,MAAMG,IAAI,GAAGN,OAAO,CAAC,WAAW,CAAC;AAIjCD,MAAM,CAACG,MAAM,GAAGD,iBAAiB;AAGjC,MAAMM,OAAO,GAAGP,OAAO,CAACQ,OAAO,CAAC,oBAAoB,CAAC;AACrDP,iBAAiB,CAACM,OAAO,CAAC,GAAGJ,mBAAmB,CAACI,OAAO,CAAC;AAEzD,MAAME,QAAQ,GAAGH,IAAI,CAACI,OAAO;AAC7BD,QAAQ,CAAC,CAAC;AAEVE,MAAM,CAACC,OAAO,GAAGN,IAAI"}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.39 node_modules/@babel/register/lib/nodeWrapper.js.map
immosquare-cleaner-0.1.38 node_modules/@babel/register/lib/nodeWrapper.js.map