Socket
Socket
Sign inDemoInstall

@cypress/webpack-preprocessor

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress/webpack-preprocessor - npm Package Compare versions

Comparing version 5.10.0 to 5.11.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [@cypress/webpack-preprocessor-v5.11.0](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v5.10.0...@cypress/webpack-preprocessor-v5.11.0) (2021-12-16)
### Features
* use hoisted yarn install in binary build ([#17285](https://github.com/cypress-io/cypress/issues/17285)) ([e4f5b10](https://github.com/cypress-io/cypress/commit/e4f5b106d49d6ac0857c5fdac886f83b99558c88))
# [@cypress/webpack-preprocessor-v5.10.0](https://github.com/cypress-io/cypress/compare/@cypress/webpack-preprocessor-v5.9.1...@cypress/webpack-preprocessor-v5.10.0) (2021-11-10)

@@ -2,0 +9,0 @@

8

dist/index.js

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

// disable any overrides if we've explictly turned off sourcemaps
typescript_overrides_1.overrideSourceMaps(false, options.typescript);
(0, typescript_overrides_1.overrideSourceMaps)(false, options.typescript);
return;

@@ -140,3 +140,3 @@ }

// override typescript to always generate proper source maps
typescript_overrides_1.overrideSourceMaps(true, options.typescript);
(0, typescript_overrides_1.overrideSourceMaps)(true, options.typescript);
})

@@ -151,3 +151,3 @@ .value();

var compiler = webpack(webpackOptions);
var firstBundle = deferred_1.createDeferred();
var firstBundle = (0, deferred_1.createDeferred)();
// cache the bundle promise, so it can be returned if this function

@@ -216,3 +216,3 @@ // is invoked again with the same filePath

debug('compile', filePath);
var nextBundle = deferred_1.createDeferred();
var nextBundle = (0, deferred_1.createDeferred)();
bundles[filePath].promise = nextBundle.promise;

@@ -219,0 +219,0 @@ bundles[filePath].deferreds.push(nextBundle);

@@ -16,3 +16,10 @@ "use strict";

}
var typescript_1 = require(typescriptPath || 'typescript');
// when using webpack-preprocessor as a local filesystem dependency (`file:...`),
// require(typescript) will resolve to this repo's `typescript` devDependency, not the
// targeted project's `typescript`, which breaks monkeypatching. resolving from the
// CWD avoids this issue.
var projectTsPath = require.resolve(typescriptPath || 'typescript', {
paths: [process.cwd()],
});
var typescript_1 = require(projectTsPath);
var createProgram_1 = typescript_1.createProgram;

@@ -19,0 +26,0 @@ debug('typescript found, overriding typescript.createProgram()');

{
"name": "@cypress/webpack-preprocessor",
"version": "5.10.0",
"version": "5.11.0",
"description": "Cypress preprocessor for bundling JavaScript via webpack",

@@ -23,4 +23,4 @@ "private": false,

"dependencies": {
"bluebird": "^3.7.1",
"debug": "4.3.2",
"bluebird": "3.7.1",
"debug": "^4.3.2",
"lodash": "^4.17.20"

@@ -57,3 +57,3 @@ },

"react-scripts": "3.2",
"semantic-release": "17.0.4",
"semantic-release": "17.2.3",
"shx": "0.3.3",

@@ -60,0 +60,0 @@ "sinon": "^9.0.0",

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