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

broccoli-babel-transpiler

Package Overview
Dependencies
Maintainers
7
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-babel-transpiler - npm Package Compare versions

Comparing version 7.1.0 to 7.1.1

4

lib/parallel-api.js

@@ -37,3 +37,3 @@ 'use strict';

const type = typeof object;
const hasProperties = type === 'function' || type === 'object' || Array.isArray(object);
const hasProperties = type === 'function' || (type === 'object' && object !== null) || Array.isArray(object);

@@ -200,3 +200,3 @@ return hasProperties &&

if (optionsType === 'object' ||
if ((optionsType === 'object' && options !== null) ||
optionsType === 'function' ||

@@ -203,0 +203,0 @@ Array.isArray(options)) {

{
"name": "broccoli-babel-transpiler",
"version": "7.1.0",
"version": "7.1.1",
"description": "A Broccoli plugin which transpile ES6 to readable ES5 by using babel.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,4 +20,4 @@ # broccoli-babel-transpiler

```js
const esTranspiler = require('broccoli-babel-transpiler');
const scriptTree = esTranspiler(inputTree, babelOptions);
const babel = require('broccoli-babel-transpiler');
const scriptTree = babel(inputTree, babelOptions);
```

@@ -41,2 +41,3 @@

```js
const babel = require('broccoli-babel-transpiler');
let scriptTree = babel(inputTree, {

@@ -43,0 +44,0 @@ presets: [

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