@cypress/webpack-preprocessor
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -5,3 +5,3 @@ /// <reference types="node" /> | ||
import webpack from 'webpack'; | ||
declare type FilePath = string; | ||
type FilePath = string; | ||
/** | ||
@@ -25,4 +25,4 @@ * Configuration object for this Webpack preprocessor | ||
*/ | ||
declare type FilePreprocessor = (file: FileEvent) => Bluebird<FilePath>; | ||
declare type WebpackPreprocessorFn = (options: PreprocessorOptions) => FilePreprocessor; | ||
type FilePreprocessor = (file: FileEvent) => Bluebird<FilePath>; | ||
type WebpackPreprocessorFn = (options: PreprocessorOptions) => FilePreprocessor; | ||
/** | ||
@@ -29,0 +29,0 @@ * Cypress file preprocessor that can bundle specs |
@@ -26,2 +26,4 @@ "use strict"; | ||
debug('typescript found, overriding typescript.createProgram()'); | ||
// NOTE: typescript.createProgram is only called in typescript versions 4 and under | ||
// For Typescript 5, please see the @cypress/webpack-batteries-included-preprocessor package | ||
typescript_1.createProgram = function () { | ||
@@ -28,0 +30,0 @@ var args = []; |
{ | ||
"name": "@cypress/webpack-preprocessor", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Cypress preprocessor for bundling JavaScript via webpack", | ||
@@ -9,3 +9,5 @@ "private": false, | ||
"build": "rimraf dist && tsc || echo 'built, with errors'", | ||
"check-ts": "tsc --noEmit", | ||
"deps": "deps-ok && dependency-check --no-dev .", | ||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .", | ||
"secure": "nsp check", | ||
@@ -19,5 +21,3 @@ "semantic-release": "semantic-release", | ||
"test-watch": "yarn test-unit & chokidar '**/*.(js|ts)' 'test/unit/*.(js|ts)' -c 'yarn test-unit'", | ||
"check-ts": "tsc --noEmit", | ||
"watch": "rimraf dist && tsc --watch", | ||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ." | ||
"watch": "rimraf dist && tsc --watch" | ||
}, | ||
@@ -24,0 +24,0 @@ "dependencies": { |
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
29585
479