@cypress/browserify-preprocessor
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -120,3 +120,3 @@ 'use strict' | ||
const transform = browserifyOptions.transform | ||
const hasTsifyTransform = transform.some(([name]) => name.includes('tsify')) | ||
const hasTsifyTransform = transform.some((stage) => Array.isArray(stage) && stage[0].includes('tsify')) | ||
const hastsifyPlugin = browserifyOptions.plugin.includes('tsify') | ||
@@ -140,3 +140,3 @@ | ||
// remove babelify setting | ||
browserifyOptions.transform = transform.filter(([name]) => !name.includes('babelify')) | ||
browserifyOptions.transform = transform.filter((stage) => !Array.isArray(stage) || !stage[0].includes('babelify')) | ||
// add typescript compiler | ||
@@ -143,0 +143,0 @@ browserifyOptions.transform.push([ |
{ | ||
"name": "@cypress/browserify-preprocessor", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Cypress preprocessor for bundling JavaScript via browserify", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20211