Socket
Socket
Sign inDemoInstall

@babel/register

Package Overview
Dependencies
77
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-alpha.2 to 8.0.0-alpha.3

2

lib/cache.js

@@ -1,3 +0,3 @@

module.exports = require("./worker/cache");
module.exports = require("./worker/cache.js");
//# sourceMappingURL=cache.js.map

@@ -7,6 +7,6 @@ "use strict";

}
const hook = require("./hook");
const hook = require("./hook.js");
const {
WorkerClient
} = require("./worker-client");
} = require("./worker-client.js");
let client;

@@ -22,3 +22,3 @@ function register(opts) {

});
if (!require("./is-in-register-worker").isInRegisterWorker) {
if (!require("./is-in-register-worker.js").isInRegisterWorker) {
register();

@@ -25,0 +25,0 @@ }

{
module.exports = require("./experimental-worker");
module.exports = require("./experimental-worker.js");
}
//# sourceMappingURL=index.js.map
"use strict";
const hook = require("./hook");
const hook = require("./hook.js");
const {
LocalClient
} = require("./worker-client");
} = require("./worker-client.js");
const client = new LocalClient();

@@ -8,0 +8,0 @@ function register(opts = {}) {

@@ -5,3 +5,3 @@ const Module = require("module");

Module._cache = internalModuleCache;
const node = require("./node");
const node = require("./node.js");
Module._cache = globalModuleCache;

@@ -8,0 +8,0 @@ const smsPath = require.resolve("source-map-support");

@@ -32,3 +32,3 @@ const path = require("path");

static get #markInRegisterWorker() {
return require("./is-in-register-worker").markInRegisterWorker;
return require("./is-in-register-worker.js").markInRegisterWorker;
}

@@ -35,0 +35,0 @@ #worker = new WorkerClient.#worker_threads.Worker(path.resolve(__dirname, "./worker/index.js"), {

@@ -1,2 +0,2 @@

const cache = require("./cache");
const cache = require("./cache.js");
function initialize(babel) {

@@ -3,0 +3,0 @@ exports.init = null;

@@ -13,3 +13,3 @@ "use strict";

};
const babel = require("./babel-core");
const babel = require("./babel-core.js");
let data = {};

@@ -16,0 +16,0 @@ let cacheDirty = false;

@@ -1,2 +0,2 @@

const babel = require("./babel-core");
const babel = require("./babel-core.js");
const {

@@ -6,3 +6,3 @@ setOptions,

transformSync
} = require("./transform");
} = require("./transform.js");
module.exports = function handleMessage(action, payload) {

@@ -9,0 +9,0 @@ switch (action) {

@@ -1,3 +0,3 @@

const babel = require("./babel-core");
const handleMessage = require("./handle-message");
const babel = require("./babel-core.js");
const handleMessage = require("./handle-message.js");
const {

@@ -4,0 +4,0 @@ parentPort

@@ -6,4 +6,4 @@ "use strict";

const fs = require("fs");
const babel = require("./babel-core");
const registerCache = require("../cache");
const babel = require("./babel-core.js");
const registerCache = require("../cache.js");
const nmRE = escapeRegExp(path.sep + "node_modules" + path.sep);

@@ -10,0 +10,0 @@ function escapeRegExp(string) {

{
"name": "@babel/register",
"version": "8.0.0-alpha.2",
"version": "8.0.0-alpha.3",
"description": "babel require hook",

@@ -27,8 +27,8 @@ "license": "MIT",

"peerDependencies": {
"@babel/core": "^8.0.0-alpha.2"
"@babel/core": "^8.0.0-alpha.3"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.2",
"@babel/plugin-transform-arrow-functions": "^8.0.0-alpha.2",
"@babel/plugin-transform-modules-commonjs": "^8.0.0-alpha.2",
"@babel/core": "^8.0.0-alpha.3",
"@babel/plugin-transform-arrow-functions": "^8.0.0-alpha.3",
"@babel/plugin-transform-modules-commonjs": "^8.0.0-alpha.3",
"browserify": "^16.5.2"

@@ -35,0 +35,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc