@contrast/common 1.41.0 → 1.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -45,4 +45,5 @@ export interface FrameInfo {
45
45
  type: string | null;
46
46
  }
47
47
  export declare function parseStackTraceLines(lines: string[]): FrameInfo[];
48
+ export declare function identity(v: any): any;
48
49
  //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -44,6 +44,7 @@ exports.safeConsoleError = safeConsoleError;
44
44
  exports.safeConsoleWarn = safeConsoleWarn;
45
45
  exports.normalizeURI = normalizeURI;
46
46
  exports.parseStackTraceLines = parseStackTraceLines;
47
+ exports.identity = identity;
47
48
  const constants_1 = require("./constants");
48
49
  const primordials_1 = require("./primordials");
49
50
  __exportStar(require("./constants"), exports);
@@ -261,4 +262,7 @@ function parseStackTraceLines(lines) {
261
262
  }
262
263
  return ret;
263
264
  }
265
+ function identity(v) {
266
+ return v;
267
+ }
264
268
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/common",
3
- "version": "1.41.0",
3
+ "version": "1.41.1",
4
4
  "description": "Shared constants and utilities for all Contrast Agent modules",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",