@secretlint/profiler
Advanced tools
Comparing version 6.2.4 to 7.0.0-beta.64
119
package.json
{ | ||
"name": "@secretlint/profiler", | ||
"version": "6.2.4", | ||
"description": "Profile manager for Secretlint.", | ||
"keywords": [ | ||
"secretlint" | ||
], | ||
"homepage": "https://github.com/secretlint/secretlint/tree/master/packages/@secretlint/profiler/", | ||
"bugs": { | ||
"url": "https://github.com/secretlint/secretlint/issues" | ||
"name": "@secretlint/profiler", | ||
"version": "7.0.0-beta.64+e3cb33d1", | ||
"description": "Profile manager for Secretlint.", | ||
"keywords": [ | ||
"secretlint" | ||
], | ||
"homepage": "https://github.com/secretlint/secretlint/tree/master/packages/@secretlint/profiler/", | ||
"bugs": { | ||
"url": "https://github.com/secretlint/secretlint/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/secretlint/secretlint.git" | ||
}, | ||
"license": "MIT", | ||
"author": "azu", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./module/node.d.ts", | ||
"default": "./module/node.js" | ||
}, | ||
"default": "./module/node.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/secretlint/secretlint.git" | ||
}, | ||
"license": "MIT", | ||
"author": "azu", | ||
"main": "lib/node.js", | ||
"browser": "lib/browser.js", | ||
"types": "lib/node.d.ts", | ||
"directories": { | ||
"lib": "lib", | ||
"test": "test" | ||
}, | ||
"files": [ | ||
"bin/", | ||
"lib/", | ||
"src/" | ||
], | ||
"scripts": { | ||
"build": "tsc -p .", | ||
"clean": "rimraf lib/", | ||
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", | ||
"prepublish": "npm run --if-present build", | ||
"watch": "tsc -p . --watch" | ||
}, | ||
"prettier": { | ||
"printWidth": 120, | ||
"singleQuote": false, | ||
"tabWidth": 4 | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^18.16.18", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.8.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.9.1", | ||
"ts-node-test-register": "^10.0.0", | ||
"typescript": "^4.9.4" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "0b3c044ebe7db12d9e1e1dea53369ba050483a4b" | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "./module/node.js", | ||
"browser": "lib/browser.js", | ||
"types": "./module/node.d.ts", | ||
"directories": { | ||
"lib": "lib", | ||
"test": "test" | ||
}, | ||
"files": [ | ||
"bin/", | ||
"module/", | ||
"src/" | ||
], | ||
"scripts": { | ||
"build": "tsc --build", | ||
"clean": "tsc --build --clean", | ||
"prepublishOnly": "npm run clean && npm run build", | ||
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", | ||
"prepublish": "npm run --if-present build", | ||
"test": "mocha", | ||
"watch": "tsc --build --watch" | ||
}, | ||
"prettier": { | ||
"printWidth": 120, | ||
"singleQuote": false, | ||
"tabWidth": 4 | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^20.3.2", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.8.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.6" | ||
}, | ||
"packageManager": "yarn@1.22.19", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "e3cb33d11295d44ed17cf5129294bd09ce70c792" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { SecretLintProfiler } from "./index"; | ||
import { SecretLintProfiler } from "./index.js"; | ||
@@ -3,0 +3,0 @@ export { SecretLintProfiler }; |
@@ -1,2 +0,2 @@ | ||
import perf_hooks from "perf_hooks"; | ||
import perf_hooks from "node:perf_hooks"; | ||
@@ -116,3 +116,3 @@ type Performance = typeof perf_hooks.performance | typeof performance; | ||
const suffix = match && match[2] ? match[2] : ""; | ||
// if mark already {mark}}::start, measure start to end | ||
// if mark already {mark}::start, measure start to end | ||
if (endIdentifier) { | ||
@@ -119,0 +119,0 @@ const startIdentifier = `${endIdentifier}::start`; |
@@ -1,3 +0,3 @@ | ||
import { SecretLintProfiler } from "./index"; | ||
import perf_hooks from "perf_hooks"; | ||
import { SecretLintProfiler } from "./index.js"; | ||
import perf_hooks from "node:perf_hooks"; | ||
@@ -4,0 +4,0 @@ export { SecretLintProfiler }; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
19570
7
19
0
Yes
337
1
2