penneo-uri-utils
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,3 +0,8 @@ | ||
let _penneo = { | ||
stringify: data => { | ||
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _penneo = { | ||
stringify: function stringify(data) { | ||
try { | ||
@@ -11,3 +16,3 @@ return JSON.stringify(data); | ||
browserEncode: str => { | ||
browserEncode: function browserEncode(str) { | ||
return encodeURIComponent(str); | ||
@@ -23,4 +28,4 @@ } | ||
function createHref(data) { | ||
const prefix = 'penneo:browser,'; | ||
let str = _penneo.stringify(data); | ||
var prefix = 'penneo:browser,'; | ||
var str = _penneo.stringify(data); | ||
@@ -47,3 +52,3 @@ if (!str) { | ||
export default { | ||
exports.default = { | ||
createLink: penneoLink | ||
@@ -50,0 +55,0 @@ }; |
{ | ||
"name": "penneo-uri-utils", | ||
"title": "Penneo - Javascript Utilities", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Utilities for integrating browsers with Penneo", | ||
@@ -11,4 +11,3 @@ "author": "Jesús Otero <jo@penneo.com> - http://penneo.com", | ||
"babel": "^5.8.2", | ||
"babel-preset-es2015": "^6.0.12", | ||
"babelify": "^6.1.2", | ||
"babel-preset-env": "^1.6.0", | ||
"eslint": "^1.8.0" | ||
@@ -15,0 +14,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21018
3
9
165