New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amplitude-js

Package Overview
Dependencies
Maintainers
5
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplitude-js - npm Package Compare versions

Comparing version 6.0.1 to 6.1.0-debug-cookie.1

22

CHANGELOG.md

@@ -0,2 +1,19 @@

### 7.0.0 (May 3, 2020)
* Sync with upstream ua-parser to detect more browsers and devices
#### Breaking Changes
* Windows Phone, IE Mobile, and Opera Mobile devices will be reported to amplitude slightly different. They will appear as "Windows Phone OS", "IEMobile", and "Opera Mobile" respectively.
### 6.2.0 (May 1, 2020)
* Invoke the logEvent callbacks when a request is actually sent or when we give up on sending a request.
* Pass the initialized amplitude instance to the `onInit` callback.
* Fix language validation issue that occured when language was undefined.
### 6.1.0 (April 23, 2020)
* Use a more compact format for newly generated device IDs
* Fix issue with react native failing to initialize metadatastorage
### 6.0.1 (April 17, 2020)
* Fix issue where the UMD module did not build.
### 6.0.0 (April 17, 2020)

@@ -12,3 +29,3 @@ * Use a more compact cookie format

### 5.12.0 (April 12, 2020)
* Use an IIFE build for the snippet. This will issues where the snippet wouldn't load for require js users.
* Use an IIFE build for the snippet. This will solve issues where the snippet wouldn't load for require js users.

@@ -18,5 +35,2 @@ ### 5.11.0 (April 6, 2020)

### 5.11.0 (April 6, 2020)
* Add a `sameSiteCookie` option to set the SameSite cookie. It is set to `None` by default
### 5.10.0 (March 10, 2020)

@@ -23,0 +37,0 @@ * `Library` field for event will include `amplitude-react-native` when using SDK in react native.

4

package.json
{
"name": "amplitude-js",
"author": "Amplitude <support@amplitude.com>",
"version": "6.0.1",
"version": "6.1.0-debug-cookie.1",
"license": "MIT",

@@ -15,3 +15,3 @@ "description": "Javascript library for Amplitude Analytics",

"dependencies": {
"@amplitude/ua-parser-js": "0.7.20",
"@amplitude/ua-parser-js": "0.7.21",
"blueimp-md5": "^2.10.0",

@@ -18,0 +18,0 @@ "query-string": "5"

@@ -8,11 +8,10 @@ <p align="center">

Amplitude-JavaScript
====================
# Amplitude-JavaScript
A JavaScript SDK for tracking events and revenue to [Amplitude](https://www.amplitude.com).
# Setup #
Please see our [installation guide](https://amplitude.zendesk.com/hc/en-us/articles/115001361248-JavaScript-SDK-Installation) for instructions on installing and using our JavaScript SDK.
## Setup
Please see our [installation guide](https://developers.amplitude.com/docs/javascript-setup) for instructions on installing and using our JavaScript SDK.
# Latest Version #
## Latest Version
[![Circle CI](https://circleci.com/gh/amplitude/Amplitude-JavaScript.svg?style=shield&circle-token=80de0dbb7632b2db13f76ccb20a79bbdfc50c215)](https://circleci.com/gh/amplitude/Amplitude-JavaScript)

@@ -22,9 +21,9 @@ [![npm version](https://badge.fury.io/js/amplitude-js.svg)](https://badge.fury.io/js/amplitude-js)

[6.0.0 - Released on April 17, 2020](https://github.com/amplitude/Amplitude-JavaScript/releases/latest)
[6.2.0 - Released on May 1, 2020](https://github.com/amplitude/Amplitude-JavaScript/releases/latest)
# JavaScript SDK Reference #
## JavaScript SDK Reference
See our [JavaScript SDK Reference](https://amplitude.zendesk.com/hc/en-us/articles/115002889587-JavaScript-SDK-Reference) for a list and description of all available SDK methods.
# Demo Pages #
## Demo Pages
* A [demo page](https://github.com/amplitude/Amplitude-JavaScript/blob/master/test/browser/amplitudejs.html) showing a simple integration on a web page.

@@ -34,6 +33,6 @@ * A [demo page](https://github.com/amplitude/Amplitude-JavaScript/blob/master/test/browser/amplitudejs-requirejs.html) showing an integration using RequireJS.

# Changelog #
## Changelog
Click [here](https://github.com/amplitude/Amplitude-JavaScript/blob/master/CHANGELOG.md) to view the JavaScript SDK Changelog.
# React Native #
## React Native
This library now supports react-native. It has two dependencies on react-native modules you will have to install yourself:

@@ -44,5 +43,5 @@

# Upgrading Major Versions and Breaking Changes #
## Upgrading Major Versions and Breaking Changes #
## 6.0
### 6.0
The cookie format has been changed to be more compact. If you use the same

@@ -58,3 +57,3 @@ Amplitude project(API key) across multiple applications, and you track

## 5.0
### 5.0
We stopped committing the generated amplitude.min.js and amplitude.js files to

@@ -67,3 +66,3 @@ the repository. This should only affect you if you load amplitude via github.

## 4.0
### 4.0
The library now defaults to sending requests to https://api.amplitude.com

@@ -73,30 +72,3 @@ instead of //api.amplitude.com. This should only affect you if your site does

# Need Help? #
## Need Help?
If you have any problems or issues over our SDK, feel free to create a github issue or submit a request on [Amplitude Help](https://help.amplitude.com/hc/en-us/requests/new).
# License #
```text
Amplitude
The MIT License (MIT)
Copyright (c) 2014 Amplitude
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```

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

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

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

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