@adonisjs/profiler
Advanced tools
Comparing version 5.0.4 to 6.0.0
@@ -17,3 +17,3 @@ "use strict"; | ||
const jest_worker_1 = __importDefault(require("jest-worker")); | ||
const utils_1 = require("@poppinss/utils"); | ||
const helpers_1 = require("@poppinss/utils/build/helpers"); | ||
const Row_1 = require("../Row"); | ||
@@ -108,3 +108,3 @@ const Action_1 = require("../Action"); | ||
} | ||
this.worker = new jest_worker_1.default(utils_1.resolveFrom(this.appRoot, fn)); | ||
this.worker = new jest_worker_1.default(helpers_1.resolveFrom(this.appRoot, fn)); | ||
this.worker.getStdout().pipe(process.stdout); | ||
@@ -111,0 +111,0 @@ this.worker.getStderr().pipe(process.stderr); |
@@ -10,9 +10,6 @@ "use strict"; | ||
*/ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProfilerRow = void 0; | ||
/// <reference path="../../adonis-typings/profiler.ts" /> | ||
const cuid_1 = __importDefault(require("cuid")); | ||
const helpers_1 = require("@poppinss/utils/build/helpers"); | ||
const utils_1 = require("@poppinss/utils"); | ||
@@ -33,3 +30,3 @@ const Action_1 = require("../Action"); | ||
this.parentId = parentId; | ||
this.id = cuid_1.default(); | ||
this.id = helpers_1.cuid(); | ||
this.timestamp = Date.now(); | ||
@@ -36,0 +33,0 @@ this.start = process.hrtime(); |
{ | ||
"name": "@adonisjs/profiler", | ||
"version": "5.0.4", | ||
"version": "6.0.0", | ||
"description": "Profiler to time function calls in AdonisJs with context", | ||
@@ -36,22 +36,21 @@ "main": "build/index.js", | ||
"devDependencies": { | ||
"@adonisjs/logger": "^3.0.4", | ||
"@adonisjs/mrm-preset": "^2.4.0", | ||
"@adonisjs/require-ts": "^1.1.0", | ||
"@poppinss/dev-utils": "^1.0.11", | ||
"@types/node": "^14.14.9", | ||
"commitizen": "^4.2.2", | ||
"@adonisjs/logger": "^4.0.0", | ||
"@adonisjs/mrm-preset": "^3.0.0", | ||
"@adonisjs/require-ts": "^2.0.2", | ||
"@poppinss/dev-utils": "^1.1.0", | ||
"@types/node": "^14.14.25", | ||
"commitizen": "^4.2.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"del-cli": "^3.0.1", | ||
"eslint": "^7.14.0", | ||
"eslint-config-prettier": "^6.15.0", | ||
"eslint-plugin-adonis": "^1.0.15", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint": "^7.19.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-adonis": "^1.2.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"github-label-sync": "^2.0.0", | ||
"husky": "^4.3.0", | ||
"husky": "^5.0.9", | ||
"japa": "^3.1.1", | ||
"mrm": "^2.5.12", | ||
"np": "^7.0.0", | ||
"npm-audit-html": "^1.5.0", | ||
"prettier": "^2.2.0", | ||
"typescript": "^4.1.2" | ||
"mrm": "^2.5.18", | ||
"np": "^7.3.0", | ||
"prettier": "^2.2.1", | ||
"typescript": "^4.1.4" | ||
}, | ||
@@ -68,3 +67,2 @@ "nyc": { | ||
"hooks": { | ||
"pre-commit": "npm audit --production --json | ./node_modules/.bin/npm-audit-html && git add npm-audit.html", | ||
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" | ||
@@ -79,4 +77,3 @@ } | ||
"dependencies": { | ||
"@poppinss/utils": "^2.5.9", | ||
"cuid": "^2.1.8", | ||
"@poppinss/utils": "^3.0.2", | ||
"jest-worker": "^26.6.2" | ||
@@ -83,0 +80,0 @@ }, |
@@ -16,3 +16,3 @@ <div align="center"> | ||
[![circleci-image]][circleci-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![audit-report-image]][audit-report-url] | ||
[![circleci-image]][circleci-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url] | ||
@@ -53,3 +53,3 @@ </div> | ||
[audit-report-image]: https://img.shields.io/badge/-Audit%20Report-blueviolet?style=for-the-badge | ||
[audit-report-url]: https://htmlpreview.github.io/?https://github.com/adonisjs/profiler/blob/develop/npm-audit.html "audit-report" | ||
[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/adonisjs/profiler?label=Synk%20Vulnerabilities&style=for-the-badge | ||
[synk-url]: https://snyk.io/test/github/adonisjs/profiler?targetFile=package.json "synk" |
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
3
19
29579
737
+ Added@poppinss/utils@3.3.1(transitive)
+ Added@types/bytes@3.1.4(transitive)
+ Added@types/he@1.2.3(transitive)
+ Addedbytes@3.1.2(transitive)
+ Addedcamel-case@4.1.2(transitive)
+ Addedcapital-case@1.0.4(transitive)
+ Addedchange-case@4.1.2(transitive)
+ Addedconstant-case@3.0.4(transitive)
+ Addeddot-case@3.0.4(transitive)
+ Addedflattie@1.1.1(transitive)
+ Addedhe@1.2.0(transitive)
+ Addedheader-case@2.0.4(transitive)
+ Addedkind-of@6.0.3(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlower-case@2.0.2(transitive)
+ Addedno-case@3.0.4(transitive)
+ Addedparam-case@3.0.4(transitive)
+ Addedpascal-case@3.1.2(transitive)
+ Addedpath-case@3.0.4(transitive)
+ Addedpluralize@8.0.0(transitive)
+ Addedsentence-case@3.0.4(transitive)
+ Addedslugify@1.6.6(transitive)
+ Addedsnake-case@3.0.4(transitive)
+ Addedtruncatise@0.0.8(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedupper-case@2.0.2(transitive)
+ Addedupper-case-first@2.0.2(transitive)
- Removedcuid@^2.1.8
Updated@poppinss/utils@^3.0.2