Socket
Socket
Sign inDemoInstall

@mparticle/web-sdk

Package Overview
Dependencies
Maintainers
7
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mparticle/web-sdk - npm Package Compare versions

Comparing version 2.9.15-rc.1 to 2.9.16-rc.1

6

CHANGELOG.md

@@ -5,5 +5,9 @@ ## Releases

#### 2.9.16 - 2019-11-06
- Bugfix - Parse string in shouldEnableBatching
#### 2.9.15 - 2019-11-06
- Deprecate Cart - The mParticle functionality will be removed in a future release, please
- Deprecate Cart - The mParticle functionality will be removed in a future release, please
- Bugfix - Self hosting namespaces storage with workspaceToken again

@@ -10,0 +14,0 @@

2

package.json
{
"name": "@mparticle/web-sdk",
"version": "2.9.15-rc.1",
"version": "2.9.16-rc.1",
"description": "mParticle core SDK for web applications",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -28,11 +28,14 @@ import Helpers from './helpers';

}
var eventsV3Percentage = Helpers.getFeatureFlag(
Constants.FeatureFlags.EventsV3
// Returns a string of a number that must be parsed
// Invalid strings will be parsed to NaN which is falsey
var eventsV3Percentage = parseInt(
Helpers.getFeatureFlag(Constants.FeatureFlags.EventsV3),
10
);
if (
!eventsV3Percentage ||
!Helpers.Validators.isNumber(eventsV3Percentage)
) {
if (!eventsV3Percentage) {
return false;
}
var rampNumber = Helpers.getRampNumber(mParticle.Store.deviceId);

@@ -39,0 +42,0 @@ return eventsV3Percentage >= rampNumber;

var Constants = {
sdkVersion: '2.9.15',
sdkVersion: '2.9.16',
sdkVendor: 'mparticle',

@@ -4,0 +4,0 @@ platform: 'web',

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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