From d363f1cf6878e6e2d73606039741b479756b2c44 Mon Sep 17 00:00:00 2001 From: hyj1991 Date: Wed, 15 Dec 2021 04:17:47 +0800 Subject: [PATCH] release v1.3.0 Notable Changes: - Support new cpuprofile format - Support cpu_180, cpu_300 & cpu_600 Commits: - [1e3ddb7] feat: new cpuprofile format - [395a678] feat: support cpu_180, cpu_300 & cpu_600 - [430b13e] deps: update dependencies - [e6c60e6] feat: support node-v17.x - [383aacd] (origin/convert_to_typescript, convert_to_typescript) optimize: logic of dump actions - [d4265d2] deps: update dependencies - [5a95320] fix: potential memory leak (v8) when profiling PR-URL: https://github.com/X-Profiler/xprofiler/pull/114 Published-Reviewed-BY: hyj1991 --- package.json | 2 +- scripts/7u.js | 6 +++--- scripts/common.js | 6 +++--- test/fixtures/command.test.js | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index bcdf3aa..960d71c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xprofiler", - "version": "1.2.6", + "version": "1.3.0", "description": "node.js addon to output runtime logs", "bin": { "xprofctl": "bin/xprofctl" diff --git a/scripts/7u.js b/scripts/7u.js index 62a43df..00c60c8 100644 --- a/scripts/7u.js +++ b/scripts/7u.js @@ -5,10 +5,10 @@ const build = require('./build'); const nodeVersions = [ 'node-v12.22.7', 'node-v13.14.0', - 'node-v14.18.1', + 'node-v14.18.2', 'node-v15.14.0', - 'node-v16.13.0', - 'node-v17.0.1', + 'node-v16.13.1', + 'node-v17.2.0', ]; build(nodeVersions); \ No newline at end of file diff --git a/scripts/common.js b/scripts/common.js index ec49ca5..e38cd0b 100644 --- a/scripts/common.js +++ b/scripts/common.js @@ -9,10 +9,10 @@ const nodeVersions = [ 'node-v11.15.0', 'node-v12.22.7', 'node-v13.14.0', - 'node-v14.18.1', + 'node-v14.18.2', 'node-v15.14.0', - 'node-v16.13.0', - 'node-v17.0.1', + 'node-v16.13.1', + 'node-v17.2.0', ]; build(nodeVersions); \ No newline at end of file diff --git a/test/fixtures/command.test.js b/test/fixtures/command.test.js index 403d279..2e9123a 100644 --- a/test/fixtures/command.test.js +++ b/test/fixtures/command.test.js @@ -53,7 +53,7 @@ const cpuprofile = { id: /^\d+$/, hitCount: /^\d+$/, callFrame: { - functionName: /^([.\w\s()-_]+|)$/, + functionName: /^([$.\w\s()-_]+|)$/, scriptId: /^\d+$/, bailoutReason: /^([\w\s]+|)$/, url: /^([@.\w()/\\:_-]+|)$/, @@ -96,7 +96,7 @@ const heapsnapshot = { const heapprofile = { head: { callFrame: { - functionName: /^([.\w\s()-_]+|)$/, + functionName: /^([$.\w\s()-_]+|)$/, scriptId: /^\d+$/, url: /^([@.\w()/\\:_-]+|)$/, lineNumber: /^\d+$/,