Skip to content

Commit 90bb8bc

Browse files
authored
Merge pull request #4794 from easyops-cn/zekun/v3-chore
chore(deps): Update dependency @easyops-cn/brick-next-pipes to ^0.7.6…
2 parents 06b46fd + d4e3411 commit 90bb8bc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

packages/pipes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"sideEffects": false,
4141
"dependencies": {
42-
"@easyops-cn/brick-next-pipes": "^0.7.3",
42+
"@easyops-cn/brick-next-pipes": "^0.7.6",
4343
"js-yaml": "^3.14.1",
4444
"lodash": "^4.17.21",
4545
"moment": "^2.30.1"

packages/pipes/src/index.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe("processPipes", () => {
116116
];
117117
it.each(stringCases)(
118118
"process %j with pipe %j should return %j",
119-
(value, parameter, result) => {
119+
(value, parameter) => {
120120
const [pipe, param1, param2] = parameter.split(":");
121121
expect(
122122
processPipes(value, [
@@ -133,7 +133,7 @@ describe("processPipes", () => {
133133
it.each([
134134
[[1, 2, 3, 4, 5], "slice:1:3", [2, 3]],
135135
[[1, 2, 3, 4, 5], "slice:1", [2, 3, 4, 5]],
136-
])("process %j with pipe %j should return %j", (value, parameter, result) => {
136+
])("process %j with pipe %j should return %j", (value, parameter) => {
137137
const [pipe, param1, param2] = parameter.split(":");
138138
expect(
139139
processPipes(value, [
@@ -266,8 +266,8 @@ describe("processPipes", () => {
266266
});
267267

268268
const unitFormatParams: [any, [Identifier, Parameters], any][] = [
269-
[1024.0, ["unitFormat", ["KBps"]], ["1.00", "MBps"]],
270-
[1024.0, ["unitFormat", ["KBps", 3]], ["1.000", "MBps"]],
269+
[1000.0, ["unitFormat", ["KBps"]], ["1.00", "MBps"]],
270+
[1000.0, ["unitFormat", ["KBps", 3]], ["1.000", "MBps"]],
271271
];
272272
it.each(unitFormatParams)(
273273
"pipeUnitFormat should work",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,10 +1464,10 @@
14641464
debug "^3.1.0"
14651465
lodash.once "^4.1.1"
14661466

1467-
"@easyops-cn/brick-next-pipes@^0.7.3":
1468-
version "0.7.3"
1469-
resolved "https://registry.npmjs.org/@easyops-cn/brick-next-pipes/-/brick-next-pipes-0.7.3.tgz#ac22c224010183ba9ad2d6cd6ce91649edeaec40"
1470-
integrity sha512-ydwJJlWbyYB0ZC0pbNAmJ6mIdh6ykizm+l7FvkKwdWq1lRdweXyybvG+GAK26coEkwxfm7x8yEB4FWyNKdpwqQ==
1467+
"@easyops-cn/brick-next-pipes@^0.7.6":
1468+
version "0.7.6"
1469+
resolved "https://registry.npmjs.org/@easyops-cn/brick-next-pipes/-/brick-next-pipes-0.7.6.tgz#adb4624b8f1dda0a114b19d3aad4b57ed2b48529"
1470+
integrity sha512-kpSU0lLJ78/E2v7aa3oG2IFvfxJtERjT0yjYje2p+oivUUDRy3Ydf1Rw2Kz20mlsfid9rKM7W6qcADiXfjX1tw==
14711471

14721472
"@emnapi/core@^1.4.3":
14731473
version "1.4.3"

0 commit comments

Comments
 (0)