Socket
Socket
Sign inDemoInstall

@segment/analytics-core

Package Overview
Dependencies
Maintainers
275
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/analytics-core - npm Package Compare versions

Comparing version 1.2.5 to 1.3.0

6

CHANGELOG.md
# @segment/analytics-core
## 1.3.0
### Minor Changes
- [#864](https://github.com/segmentio/analytics-next/pull/864) [`6cba535`](https://github.com/segmentio/analytics-next/commit/6cba5356c5f751e3edb30f7f524d4498600895b0) Thanks [@danieljackins](https://github.com/danieljackins)! - Add Client Hints API support
## 1.2.5

@@ -4,0 +10,0 @@

@@ -103,2 +103,24 @@ import { CoreContext } from '../context';

/**
* User agent data returned by the Client Hints API
*/
userAgentData?: {
brands?: {
brand: string;
version: string;
}[];
mobile?: boolean;
platform?: string;
architecture?: string;
bitness?: string;
model?: string;
platformVersion?: string;
/** @deprecated in favour of fullVersionList */
uaFullVersion?: string;
fullVersionList?: {
brand: string;
version: string;
}[];
wow64?: boolean;
};
/**
* Information about the current library.

@@ -105,0 +127,0 @@ *

2

package.json
{
"name": "@segment/analytics-core",
"version": "1.2.5",
"version": "1.3.0",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -122,2 +122,25 @@ import { CoreContext } from '../context'

/**
* User agent data returned by the Client Hints API
*/
userAgentData?: {
brands?: {
brand: string
version: string
}[]
mobile?: boolean
platform?: string
architecture?: string
bitness?: string
model?: string
platformVersion?: string
/** @deprecated in favour of fullVersionList */
uaFullVersion?: string
fullVersionList?: {
brand: string
version: string
}[]
wow64?: boolean
}
/**
* Information about the current library.

@@ -124,0 +147,0 @@ *

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc