You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

collect-v8-coverage

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

7

CHANGELOG.md

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

## [1.0.2](https://github.com/SimenB/collect-v8-coverage/compare/v1.0.1...v1.0.2) (2023-07-05)
### Bug Fixes
* workaround for networked filesystems on Windows ([#174](https://github.com/SimenB/collect-v8-coverage/issues/174)) ([4de72ea](https://github.com/SimenB/collect-v8-coverage/commit/4de72ea976228d6d8b7fb78207c1187aa58ddf50))
## [1.0.1](https://github.com/SimenB/collect-v8-coverage/compare/v1.0.0...v1.0.1) (2020-04-02)

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

@@ -33,2 +33,17 @@ 'use strict';

// When using networked filesystems on Windows, v8 sometimes returns URLs
// of the form file:////<host>/path. These URLs are not well understood
// by NodeJS (see https://github.com/nodejs/node/issues/48530).
// We circumvent this issue here by fixing these URLs.
// FWIW, Python has special code to deal with URLs like this
// https://github.com/python/cpython/blob/bef1c8761e3b0dfc5708747bb646ad8b669cbd67/Lib/nturl2path.py#L22C1-L22C1
if (process.platform === 'win32') {
const prefix = 'file:////';
result.forEach(res => {
if (res.url.startsWith(prefix)) {
res.url = 'file://' + res.url.slice(prefix.length);
}
})
}
return result;

@@ -35,0 +50,0 @@ }

38

package.json
{
"name": "collect-v8-coverage",
"version": "1.0.1",
"version": "1.0.2",
"main": "index.js",

@@ -14,10 +14,10 @@ "types": "index.d.ts",

"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^7.0.18",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"prettier": "^1.19.1",
"semantic-release": "^15.13.31"
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.0",
"prettier": "^2.2.1",
"semantic-release": "^21.0.0"
},

@@ -29,6 +29,3 @@ "prettier": {

"lint-staged": {
"*.{js,ts,md,json}": [
"prettier --write",
"git add"
]
"*.{js,ts,md,json}": "prettier --write"
},

@@ -40,9 +37,6 @@ "commitlint": {

},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"release": {
"branches": [
"main"
],
"plugins": [

@@ -56,3 +50,7 @@ "@semantic-release/commit-analyzer",

]
}
},
"scripts": {
"prepare": "husky install"
},
"packageManager": "yarn@3.6.0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc