@humany/serviceclient
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -0,0 +0,0 @@ declare module '@humany/serviceclient' { |
@@ -0,0 +0,0 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; |
@@ -0,0 +0,0 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); |
@@ -134,3 +134,5 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
var setCookie = function setCookie(cookieName, value, days) { | ||
var cookie = cookieName + '=' + JSON.stringify(value).trim() + ';'; | ||
var cookieValue = JSON.stringify(value).trim().replace(/^"+|"+$/g, ''); | ||
var cookie = cookieName + '=' + cookieValue + ';'; | ||
var expiration = 'expires=' + createExpirationDate(days) + ';'; | ||
@@ -137,0 +139,0 @@ var path = 'path=/'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -142,3 +142,5 @@ 'use strict'; | ||
var setCookie = function setCookie(cookieName, value, days) { | ||
var cookie = cookieName + '=' + JSON.stringify(value).trim() + ';'; | ||
var cookieValue = JSON.stringify(value).trim().replace(/^"+|"+$/g, ''); | ||
var cookie = cookieName + '=' + cookieValue + ';'; | ||
var expiration = 'expires=' + createExpirationDate(days) + ';'; | ||
@@ -145,0 +147,0 @@ var path = 'path=/'; |
@@ -0,0 +0,0 @@ Copyright © 2021, Telia Company AB. All rights reserved. |
{ | ||
"name": "@humany/serviceclient", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "humany", |
@@ -0,0 +0,0 @@ # @humany/serviceclient |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
2960
129003
3