Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/helper-fixtures

Package Overview
Dependencies
Maintainers
4
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-fixtures - npm Package Compare versions

Comparing version 8.0.0-alpha.11 to 8.0.0-alpha.12

4

lib/index.d.ts

@@ -58,5 +58,5 @@ import { InputOptions } from '@babel/core';

* @param {string} optionsDir the directory where options.json is placed
* @returns {{}} options whose plugins/presets are resolved
* @returns {any} options whose plugins/presets are resolved
*/
declare function resolveOptionPluginOrPreset(options: any, optionsDir: string): {};
declare function resolveOptionPluginOrPreset(options: any, optionsDir: string): any;
declare function get(entryLoc: string): Suite[];

@@ -63,0 +63,0 @@ declare function multiple(entryLoc: string, ignore?: Array<string>): Record<string, unknown>;

@@ -15,3 +15,3 @@ import semver from "semver";

return require.resolve(module);
} catch (e) {
} catch (_) {
return null;

@@ -26,3 +26,3 @@ }

function shouldIgnore(name, ignore) {
if (ignore && ignore.indexOf(name) >= 0) {
if (ignore?.includes(name)) {
return true;

@@ -96,3 +96,3 @@ }

const ext = path.extname(taskDir);
if (EXTENSIONS.indexOf(ext) === -1) return;
if (!EXTENSIONS.includes(ext)) return;
execLoc = taskDir;

@@ -214,3 +214,3 @@ execLocAlias = suiteName + "/" + taskName;

let name = val[0];
const match = name.match(/^(@babel\/(?:plugin-|preset-)?)(.*)$/);
const match = /^(@babel\/(?:plugin-|preset-)?)(.*)$/.exec(name);
if (match) {

@@ -217,0 +217,0 @@ name = match[2];

{
"name": "@babel/helper-fixtures",
"version": "8.0.0-alpha.11",
"version": "8.0.0-alpha.12",
"description": "Helper function to support fixtures",

@@ -22,7 +22,7 @@ "author": "The Babel Team (https://babel.dev/team)",

"devDependencies": {
"@babel/core": "^8.0.0-alpha.11",
"@babel/core": "^8.0.0-alpha.12",
"@types/semver": "^7.3.4"
},
"peerDependencies": {
"@babel/core": "^8.0.0-alpha.11"
"@babel/core": "^8.0.0-alpha.12"
},

@@ -29,0 +29,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc