Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

analytics-utils

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics-utils - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

dist/extendApi.js

11

dist/decodeUri.js
'use strict';
/*
Input > "Bought%20keyword
Output > "Bought keyword"
/**
* Decode URI string
*
* @param {String} s string to decode
* @returns {String} decoded string
* @example
* decode("Bought%20keyword)
* => "Bought keyword"
*/

@@ -7,0 +12,0 @@ module.exports = decode;

@@ -9,2 +9,4 @@ 'use strict';

var _extendApiJs = require('./extendApi.js');
var _getBrowserLocaleJs = require('./getBrowserLocale.js');

@@ -37,2 +39,3 @@

exports.extend = _extendJs;
exports.extendApi = _extendApiJs;
exports.getBrowserLocale = _getBrowserLocaleJs;

@@ -39,0 +42,0 @@ exports.getTimeZone = _getTimeZoneJs;

'use strict';
/**
* Check if browser has access to LocalStorage
*
* @returns {Boolean}
*/
module.exports = hasLocalStorage;

@@ -4,0 +9,0 @@ function hasLocalStorage() {

@@ -1,8 +0,12 @@

/*
Input > "Bought%20keyword
Output > "Bought keyword"
/**
* Decode URI string
*
* @param {String} s string to decode
* @returns {String} decoded string
* @example
* decode("Bought%20keyword)
* => "Bought keyword"
*/
export default function decode(s) {
return decodeURIComponent(s).replace(/\+/g, ' ')
}
}

@@ -6,2 +6,3 @@ // @create-index

export { default as extend } from './extend.js';
export { default as extendApi } from './extendApi.js';
export { default as getBrowserLocale } from './getBrowserLocale.js';

@@ -8,0 +9,0 @@ export { default as getTimeZone } from './getTimeZone.js';

@@ -0,1 +1,6 @@

/**
* Check if browser has access to LocalStorage
*
* @returns {Boolean}
*/
export default function hasLocalStorage() {

@@ -2,0 +7,0 @@ try {

{
"name": "analytics-utils",
"version": "0.0.8",
"version": "0.0.9",
"description": "",

@@ -49,4 +49,3 @@ "main": "dist/index.js",

]
},
"gitHead": "0d8e2b6e417b61f2b578bb7513526a636c889137"
}
}

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