From f754eaad4452441e36c3cbc34842b4c99fafc036 Mon Sep 17 00:00:00 2001 From: Neek Sandhu Date: Tue, 30 May 2023 12:38:42 -0700 Subject: [PATCH] [LIBWEB-1399] Add support for filtering within arrays --- .changeset/flat-carrots-accept.md | 5 +++++ packages/browser/package.json | 2 +- yarn.lock | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/flat-carrots-accept.md diff --git a/.changeset/flat-carrots-accept.md b/.changeset/flat-carrots-accept.md new file mode 100644 index 000000000..fb4e11cd4 --- /dev/null +++ b/.changeset/flat-carrots-accept.md @@ -0,0 +1,5 @@ +--- +'@segment/analytics-next': minor +--- + +Device mode destination filters will now filter properties within arrays, just like they do in cloud mode diff --git a/packages/browser/package.json b/packages/browser/package.json index 96ae6ff70..4eff295de 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -51,7 +51,7 @@ "@segment/analytics-core": "1.2.5", "@segment/analytics.js-video-plugins": "^0.2.1", "@segment/facade": "^3.4.9", - "@segment/tsub": "1.0.1", + "@segment/tsub": "^2.0.0", "dset": "^3.1.2", "js-cookie": "3.0.1", "node-fetch": "^2.6.7", diff --git a/yarn.lock b/yarn.lock index 232dc9ec8..8a94c4939 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1737,7 +1737,7 @@ __metadata: "@segment/analytics.js-integration-amplitude": ^3.3.3 "@segment/analytics.js-video-plugins": ^0.2.1 "@segment/facade": ^3.4.9 - "@segment/tsub": 1.0.1 + "@segment/tsub": ^2.0.0 "@size-limit/preset-big-lib": ^7.0.8 "@types/flat": ^5.0.1 "@types/fs-extra": ^9.0.2 @@ -1914,9 +1914,9 @@ __metadata: languageName: node linkType: hard -"@segment/tsub@npm:1.0.1": - version: 1.0.1 - resolution: "@segment/tsub@npm:1.0.1" +"@segment/tsub@npm:^2.0.0": + version: 2.0.0 + resolution: "@segment/tsub@npm:2.0.0" dependencies: "@stdlib/math-base-special-ldexp": ^0.0.5 dlv: ^1.1.3 @@ -1924,7 +1924,7 @@ __metadata: tiny-hashes: ^1.0.1 bin: tsub: dist/index.js - checksum: a5a1cedcc98dc19e09a3cb806906a457ef956a592079a14c8f88041b95fc32c876bc7df04d8c6d34b905fef128fd6dfec7222cf7fbd3302e1a4a47dcd4b8fa1a + checksum: 28e27be4bb7d70ef9e74723b206ab0e6cc4764180c8f8e66266efc88bee6843042d4a969685603dd3ee9d3a5dfac987e7f3b76c0543a869d446d5e16cd960315 languageName: node linkType: hard