@rudderstack/analytics-js-cookies
Advanced tools
Comparing version 0.4.12 to 0.4.13
@@ -5,2 +5,7 @@ # Changelog | ||
## [0.4.13](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-cookies@0.4.12...@rudderstack/analytics-js-cookies@0.4.13) (2024-11-22) | ||
### Dependency Updates | ||
* `@rudderstack/analytics-js-common` updated to version `3.14.10` | ||
## [0.4.12](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-cookies@0.4.11...@rudderstack/analytics-js-cookies@0.4.12) (2024-11-22) | ||
@@ -7,0 +12,0 @@ |
@@ -98,3 +98,3 @@ (function (global, factory) { | ||
var getCircularReplacer=function getCircularReplacer(excludeNull,excludeKeys,logger){var ancestors=[];// Here we do not want to use arrow function to use "this" in function context | ||
var CIRCULAR_REFERENCE_PLACEHOLDER='[Circular Reference]';var getCircularReplacer=function getCircularReplacer(excludeNull,excludeKeys,logger){var ancestors=[];// Here we do not want to use arrow function to use "this" in function context | ||
// eslint-disable-next-line func-names | ||
@@ -104,3 +104,3 @@ return function(key,value){if(_typeof(value)!=='object'||isNull(value)){return value;}// `this` is the object that value is contained in, i.e., its direct parent. | ||
// @ts-ignore-next-line | ||
while(ancestors.length>0&&ancestors[ancestors.length-1]!==this){ancestors.pop();}if(ancestors.includes(value)){return '[Circular Reference]';}ancestors.push(value);return value;};};/** | ||
while(ancestors.length>0&&ancestors[ancestors.length-1]!==this){ancestors.pop();}if(ancestors.includes(value)){return CIRCULAR_REFERENCE_PLACEHOLDER;}ancestors.push(value);return value;};};/** | ||
* Utility method for JSON stringify object excluding null values & circular references | ||
@@ -107,0 +107,0 @@ * |
@@ -45,3 +45,3 @@ (function (global, factory) { | ||
const getCircularReplacer=(excludeNull,excludeKeys,logger)=>{const ancestors=[];// Here we do not want to use arrow function to use "this" in function context | ||
const CIRCULAR_REFERENCE_PLACEHOLDER='[Circular Reference]';const getCircularReplacer=(excludeNull,excludeKeys,logger)=>{const ancestors=[];// Here we do not want to use arrow function to use "this" in function context | ||
// eslint-disable-next-line func-names | ||
@@ -51,3 +51,3 @@ return function(key,value){if(typeof value!=='object'||isNull(value)){return value;}// `this` is the object that value is contained in, i.e., its direct parent. | ||
// @ts-ignore-next-line | ||
while(ancestors.length>0&&ancestors[ancestors.length-1]!==this){ancestors.pop();}if(ancestors.includes(value)){return '[Circular Reference]';}ancestors.push(value);return value;};};/** | ||
while(ancestors.length>0&&ancestors[ancestors.length-1]!==this){ancestors.pop();}if(ancestors.includes(value)){return CIRCULAR_REFERENCE_PLACEHOLDER;}ancestors.push(value);return value;};};/** | ||
* Utility method for JSON stringify object excluding null values & circular references | ||
@@ -54,0 +54,0 @@ * |
{ | ||
"name": "@rudderstack/analytics-js-cookies", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"description": "RudderStack JavaScript SDK Cookies Utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/npm/modern/cjs/index.cjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
79858
15
21