From e1eb4575dad6cca1d770df32f4cf18523d99c964 Mon Sep 17 00:00:00 2001 From: Timothy Chiao Date: Thu, 23 Oct 2025 17:30:44 -0400 Subject: [PATCH 1/3] release: v1.2.0-beta.2 --- package.json | 5 ++++- tests/AnalyticsEventReporter.test.ts | 26 +++++++++++++------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 17f19a3..d5d9a3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yext/analytics", - "version": "1.2.0-beta.1", + "version": "1.2.0-beta.2", "description": "An analytics library for Yext", "author": "fusion@yext.com", "license": "BSD-3-Clause", @@ -50,6 +50,9 @@ "typescript": "^4.1.5", "vite": "^4.4.9" }, + "optionalDependencies": { + "@esbuild/linux-x64": "0.18.20" + }, "overrides": { "@babel/helper-define-polyfill-provider": "0.4.3", "babel-plugin-polyfill-corejs2": "0.4.6", diff --git a/tests/AnalyticsEventReporter.test.ts b/tests/AnalyticsEventReporter.test.ts index 45cfa07..fb00ac5 100644 --- a/tests/AnalyticsEventReporter.test.ts +++ b/tests/AnalyticsEventReporter.test.ts @@ -118,7 +118,7 @@ describe('Test report function', () => { action: 'C_CUSTOM_ACTION', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', destinationUrl: 'https://google.com', @@ -162,7 +162,7 @@ describe('Test report function', () => { action: 'c_lowercase_custom_action', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, destinationUrl: 'https://google.com', pageUrl: 'http://localhost/', @@ -214,7 +214,7 @@ describe('Test report function', () => { referrerUrl: 'https://referrer-site.com', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, count: 1, sessionId: undefined @@ -279,7 +279,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -337,7 +337,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -392,7 +392,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'Bearer bearerToken', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -443,7 +443,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', count: 5 @@ -491,7 +491,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', count: 5 @@ -534,7 +534,7 @@ describe('Test report function', () => { { authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, pageUrl: 'http://localhost/', sessionId: undefined @@ -575,7 +575,7 @@ describe('Test report function', () => { { authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' } }, config @@ -618,7 +618,7 @@ describe('Test report function', () => { action: 'ADD_TO_CART', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1' + ANALYTICS: '1.2.0-beta.2' }, referrerUrl: 'https://yext.com', count: 5 @@ -649,7 +649,7 @@ describe('Test report function', () => { action: 'APPLY', authorization: 'KEY validKey', clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.1.0' }, destinationUrl: 'https://google.com', @@ -777,7 +777,7 @@ describe('Test report function', () => { responseId: 'responseId' }, clientSdk: { - ANALYTICS: '1.2.0-beta.1', + ANALYTICS: '1.2.0-beta.2', chat: '1.0.0' }, count: 5, From 9f4750b130a6e3d8189d4da0fdc28b6e89194e8d Mon Sep 17 00:00:00 2001 From: Timothy Chiao Date: Thu, 23 Oct 2025 17:52:52 -0400 Subject: [PATCH 2/3] edit package-lock.json --- package-lock.json | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3fd7944..64174e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@yext/analytics", - "version": "1.1.0", + "version": "1.2.0-beta.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@yext/analytics", - "version": "1.1.0", + "version": "1.2.0-beta.2", "license": "BSD-3-Clause", "dependencies": { "ulidx": "^2.0.0" @@ -30,6 +30,9 @@ "prettier": "^3.0.3", "typescript": "^4.1.5", "vite": "^4.4.9" + }, + "optionalDependencies": { + "@esbuild/linux-x64": "0.18.20" } }, "node_modules/@babel/code-frame": { @@ -1689,6 +1692,22 @@ "node": ">=12" } }, + "node_modules/@esbuild/linux-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", + "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", From 82f9dd051dab0af56a114667e6d90df6831bba82 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Oct 2025 21:53:54 +0000 Subject: [PATCH 3/3] Automated update to THIRD-PARTY-NOTICES from github action's 3rd party notices check --- THIRD-PARTY-NOTICES | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/THIRD-PARTY-NOTICES b/THIRD-PARTY-NOTICES index 5635b9d..13b5712 100644 --- a/THIRD-PARTY-NOTICES +++ b/THIRD-PARTY-NOTICES @@ -1,3 +1,15 @@ +The following NPM package may be included in this product: + + - @esbuild/linux-x64@0.18.20 + +This package contains the following license and notice below: + +# esbuild + +This is the Linux 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details. + +----------- + The following NPM package may be included in this product: - layerr@2.0.0