Socket
Socket
Sign inDemoInstall

@web/test-runner-core

Package Overview
Dependencies
Maintainers
7
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/test-runner-core - npm Package Compare versions

Comparing version 0.10.6 to 0.10.7

8

CHANGELOG.md
# @web/test-runner-core
## 0.10.7
### Patch Changes
- 6a62b4ee: filter out internal stack traces
- Updated dependencies [6a62b4ee]
- @web/browser-logs@0.2.1
## 0.10.6

@@ -4,0 +12,0 @@

3

dist/server/plugins/serveTestFrameworkPlugin.js

@@ -11,3 +11,2 @@ "use strict";

const TEST_FRAMEWORK_IMPORT_ROOT = '/__web-test-runner__/test-framework/';
const REGEXP_SOURCE_MAP = /\/\/# sourceMappingURL=.*/;
async function readFile(codePath) {

@@ -18,3 +17,3 @@ if (!fs_1.default.existsSync(codePath)) {

}
return (await util_1.promisify(fs_1.default.readFile)(codePath, 'utf-8')).replace(REGEXP_SOURCE_MAP, '');
return await util_1.promisify(fs_1.default.readFile)(codePath, 'utf-8');
}

@@ -21,0 +20,0 @@ /**

{
"name": "@web/test-runner-core",
"version": "0.10.6",
"version": "0.10.7",
"publishConfig": {

@@ -54,3 +54,3 @@ "access": "public"

"@babel/code-frame": "^7.12.11",
"@web/browser-logs": "^0.2.0",
"@web/browser-logs": "^0.2.1",
"@web/dev-server-core": "^0.3.4",

@@ -57,0 +57,0 @@ "chalk": "^4.1.0",

@@ -8,3 +8,2 @@ import fs from 'fs';

const TEST_FRAMEWORK_IMPORT_ROOT = '/__web-test-runner__/test-framework/';
const REGEXP_SOURCE_MAP = /\/\/# sourceMappingURL=.*/;

@@ -19,3 +18,3 @@ async function readFile(codePath: string) {

return (await promisify(fs.readFile)(codePath, 'utf-8')).replace(REGEXP_SOURCE_MAP, '');
return await promisify(fs.readFile)(codePath, 'utf-8');
}

@@ -44,2 +43,3 @@

}
const body = await readFile(filePath);

@@ -46,0 +46,0 @@ return { body, type: 'js', headers: { 'cache-control': 'public, max-age=31536000' } };

Sorry, the diff of this file is not supported yet

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