Socket
Socket
Sign inDemoInstall

@microsoft/applicationinsights-shims

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/applicationinsights-shims - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

21

browser/applicationinsights-shims.js
/*!
* Application Insights JavaScript SDK - Shim functions, 1.0.1
* Application Insights JavaScript SDK - Shim functions, 1.0.2
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -103,8 +103,17 @@ */

// Assign the globally scoped versions of the functions -- used when consuming individual ts files
root.__assign = root.__assign || Object.assign || assignFn;
root.__extends = root.__extends || extendsFn;
// If check is to support NativeScript where these are marked as readonly
if (!root.__assign) {
root.__assign = Object.assign || assignFn;
}
if (!root.__extends) {
root.__extends = extendsFn;
}
})(globalObj, __assignFn, __extendsFn);
// Assign local variables that will be used for embedded scenarios
__assign = globalObj.__assign;
__extends = globalObj.__extends;
// Assign local variables that will be used for embedded scenarios, if check is to support NativeScript where these are marked as readonly
if (!__assign) {
__assign = globalObj.__assign;
}
if (!__extends) {
__extends = globalObj.__extends;
}

@@ -111,0 +120,0 @@ exports.strShimFunction = strShimFunction;

/*!
* Application Insights JavaScript SDK - Shim functions, 1.0.1
* Application Insights JavaScript SDK - Shim functions, 1.0.2
* Copyright (c) Microsoft and contributors. All rights reserved.
*/
var t=this,n=function(t){"use strict";var r="function",i="object",n="undefined",s="prototype",f="hasOwnProperty";function e(){return typeof globalThis!=n&&globalThis?globalThis:typeof self!=n&&self?self:typeof window!=n&&window?window:typeof global!=n&&global?global:null}function o(t){var n=Object.create;if(n)return n(t);if(null==t)return{};var e=typeof t;if(e!==i&&e!==r)throw new TypeError("Object prototype may only be an Object:"+t);function o(){}return o[s]=t,new o}function c(t){for(var n,e=1,o=arguments.length;e<o;e++)for(var r in n=arguments[e])Object[s][f].call(n,r)&&(t[r]=n[r]);return t}var a=function(t,n){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n[f](e)&&(t[e]=n[e])})(t,n)};function l(t,n){function e(){this.constructor=t}a(t,n),t[s]=null===n?o(n):(e[s]=n[s],new e)}var u=e()||{},p=l;__assign=u.__assign=u.__assign||Object.assign||c,__extends=u.__extends=u.__extends||p,t.strShimFunction=r,t.strShimObject=i,t.strShimUndefined=n,t.strShimPrototype=s,t.strShimHasOwnProperty=f,t.getGlobal=e,t.objCreateFn=o,t.__assignFn=c,t.__extendsFn=l,function(t,n,e){var o=Object.defineProperty;if(o)try{return o(t,n,e)}catch(r){}typeof e.value!==undefined&&(t[n]=e.value)}(t,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t.Microsoft=t.Microsoft||{},t.Microsoft.ApplicationInsights=t.Microsoft.ApplicationInsights||{},t.Microsoft.ApplicationInsights.Shims={}));
var t=this,n=function(t){"use strict";var i="function",r="object",n="undefined",s="prototype",f="hasOwnProperty";function e(){return typeof globalThis!=n&&globalThis?globalThis:typeof self!=n&&self?self:typeof window!=n&&window?window:typeof global!=n&&global?global:null}function o(t){var n=Object.create;if(n)return n(t);if(null==t)return{};var e=typeof t;if(e!==r&&e!==i)throw new TypeError("Object prototype may only be an Object:"+t);function o(){}return o[s]=t,new o}function a(t){for(var n,e=1,o=arguments.length;e<o;e++)for(var i in n=arguments[e])Object[s][f].call(n,i)&&(t[i]=n[i]);return t}var c=function(t,n){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n[f](e)&&(t[e]=n[e])})(t,n)};function l(t,n){function e(){this.constructor=t}c(t,n),t[s]=null===n?o(n):(e[s]=n[s],new e)}var u,_=e()||{},p=l;(u=_).__assign||(u.__assign=Object.assign||a),u.__extends||(u.__extends=p),__assign=__assign||_.__assign,__extends=__extends||_.__extends,t.strShimFunction=i,t.strShimObject=r,t.strShimUndefined=n,t.strShimPrototype=s,t.strShimHasOwnProperty=f,t.getGlobal=e,t.objCreateFn=o,t.__assignFn=a,t.__extendsFn=l,function(t,n,e){var o=Object.defineProperty;if(o)try{return o(t,n,e)}catch(i){}typeof e.value!==undefined&&(t[n]=e.value)}(t,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t.Microsoft=t.Microsoft||{},t.Microsoft.ApplicationInsights=t.Microsoft.ApplicationInsights||{},t.Microsoft.ApplicationInsights.Shims={}));

@@ -95,8 +95,17 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

// Assign the globally scoped versions of the functions -- used when consuming individual ts files
root.__assign = root.__assign || Object.assign || assignFn;
root.__extends = root.__extends || extendsFn;
// If check is to support NativeScript where these are marked as readonly
if (!root.__assign) {
root.__assign = Object.assign || assignFn;
}
if (!root.__extends) {
root.__extends = extendsFn;
}
})(globalObj, __assignFn, __extendsFn);
// Assign local variables that will be used for embedded scenarios
__assign = globalObj.__assign;
__extends = globalObj.__extends;
// Assign local variables that will be used for embedded scenarios, if check is to support NativeScript where these are marked as readonly
if (!__assign) {
__assign = globalObj.__assign;
}
if (!__extends) {
__extends = globalObj.__extends;
}
//# sourceMappingURL=applicationinsights-shims.js.map
/*!
* Application Insights JavaScript SDK - Shim functions, 1.0.1
* Application Insights JavaScript SDK - Shim functions, 1.0.2
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -97,9 +97,18 @@ */

// Assign the globally scoped versions of the functions -- used when consuming individual ts files
root.__assign = root.__assign || Object.assign || assignFn;
root.__extends = root.__extends || extendsFn;
// If check is to support NativeScript where these are marked as readonly
if (!root.__assign) {
root.__assign = Object.assign || assignFn;
}
if (!root.__extends) {
root.__extends = extendsFn;
}
})(globalObj, __assignFn, __extendsFn);
// Assign local variables that will be used for embedded scenarios
__assign = globalObj.__assign;
__extends = globalObj.__extends;
// Assign local variables that will be used for embedded scenarios, if check is to support NativeScript where these are marked as readonly
if (!__assign) {
__assign = globalObj.__assign;
}
if (!__extends) {
__extends = globalObj.__extends;
}
export { strShimFunction, strShimObject, strShimUndefined, strShimPrototype, strShimHasOwnProperty, getGlobal, objCreateFn, __assignFn, __extendsFn };
/*!
* Application Insights JavaScript SDK - Shim functions, 1.0.1
* Application Insights JavaScript SDK - Shim functions, 1.0.2
* Copyright (c) Microsoft and contributors. All rights reserved.
*/
var n="function",t="object",e="undefined",o="prototype",r="hasOwnProperty";function i(){return typeof globalThis!==e&&globalThis?globalThis:typeof self!==e&&self?self:typeof window!==e&&window?window:typeof global!==e&&global?global:null}function f(e){var r=Object.create;if(r)return r(e);if(null==e)return{};var i=typeof e;if(i!==t&&i!==n)throw new TypeError("Object prototype may only be an Object:"+e);function f(){}return f[o]=e,new f}function a(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var f in t=arguments[e])Object[o][r].call(t,f)&&(n[f]=t[f]);return n}var l=function(n,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t[r](e)&&(n[e]=t[e])})(n,t)};function s(n,t){function e(){this.constructor=n}l(n,t),n[o]=null===t?f(t):(e[o]=t[o],new e)}var _,c,u,p=i()||{};c=a,u=s,(_=p).__assign=_.__assign||Object.assign||c,_.__extends=_.__extends||u,__assign=p.__assign,__extends=p.__extends;export{n as strShimFunction,t as strShimObject,e as strShimUndefined,o as strShimPrototype,r as strShimHasOwnProperty,i as getGlobal,f as objCreateFn,a as __assignFn,s as __extendsFn};
var n="function",t="object",e="undefined",o="prototype",r="hasOwnProperty";function i(){return typeof globalThis!==e&&globalThis?globalThis:typeof self!==e&&self?self:typeof window!==e&&window?window:typeof global!==e&&global?global:null}function s(e){var r=Object.create;if(r)return r(e);if(null==e)return{};var i=typeof e;if(i!==t&&i!==n)throw new TypeError("Object prototype may only be an Object:"+e);function s(){}return s[o]=e,new s}function _(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var s in t=arguments[e])Object[o][r].call(t,s)&&(n[s]=t[s]);return n}var a=function(n,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t[r](e)&&(n[e]=t[e])})(n,t)};function f(n,t){function e(){this.constructor=n}a(n,t),n[o]=null===t?s(t):(e[o]=t[o],new e)}var l,c,u,p=i()||{};c=_,u=f,(l=p).__assign||(l.__assign=Object.assign||c),l.__extends||(l.__extends=u),__assign||(__assign=p.__assign),__extends||(__extends=p.__extends);export{n as strShimFunction,t as strShimObject,e as strShimUndefined,o as strShimPrototype,r as strShimHasOwnProperty,i as getGlobal,s as objCreateFn,_ as __assignFn,f as __extendsFn};
/*!
* Application Insights JavaScript SDK - Shim functions, 1.0.1
* Application Insights JavaScript SDK - Shim functions, 1.0.2
* Copyright (c) Microsoft and contributors. All rights reserved.

@@ -103,8 +103,17 @@ */

// Assign the globally scoped versions of the functions -- used when consuming individual ts files
root.__assign = root.__assign || Object.assign || assignFn;
root.__extends = root.__extends || extendsFn;
// If check is to support NativeScript where these are marked as readonly
if (!root.__assign) {
root.__assign = Object.assign || assignFn;
}
if (!root.__extends) {
root.__extends = extendsFn;
}
})(globalObj, __assignFn, __extendsFn);
// Assign local variables that will be used for embedded scenarios
__assign = globalObj.__assign;
__extends = globalObj.__extends;
// Assign local variables that will be used for embedded scenarios, if check is to support NativeScript where these are marked as readonly
if (!__assign) {
__assign = globalObj.__assign;
}
if (!__extends) {
__extends = globalObj.__extends;
}

@@ -111,0 +120,0 @@ exports.strShimFunction = strShimFunction;

/*!
* Application Insights JavaScript SDK - Shim functions, 1.0.1
* Application Insights JavaScript SDK - Shim functions, 1.0.2
* Copyright (c) Microsoft and contributors. All rights reserved.
*/
var t=this,n=function(t){"use strict";var r="function",i="object",n="undefined",s="prototype",f="hasOwnProperty";function e(){return typeof globalThis!=n&&globalThis?globalThis:typeof self!=n&&self?self:typeof window!=n&&window?window:typeof global!=n&&global?global:null}function o(t){var n=Object.create;if(n)return n(t);if(null==t)return{};var e=typeof t;if(e!==i&&e!==r)throw new TypeError("Object prototype may only be an Object:"+t);function o(){}return o[s]=t,new o}function c(t){for(var n,e=1,o=arguments.length;e<o;e++)for(var r in n=arguments[e])Object[s][f].call(n,r)&&(t[r]=n[r]);return t}var a=function(t,n){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n[f](e)&&(t[e]=n[e])})(t,n)};function l(t,n){function e(){this.constructor=t}a(t,n),t[s]=null===n?o(n):(e[s]=n[s],new e)}var u=e()||{},p=l;__assign=u.__assign=u.__assign||Object.assign||c,__extends=u.__extends=u.__extends||p,t.strShimFunction=r,t.strShimObject=i,t.strShimUndefined=n,t.strShimPrototype=s,t.strShimHasOwnProperty=f,t.getGlobal=e,t.objCreateFn=o,t.__assignFn=c,t.__extendsFn=l,function(t,n,e){var o=Object.defineProperty;if(o)try{return o(t,n,e)}catch(r){}typeof e.value!==undefined&&(t[n]=e.value)}(t,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t.Microsoft=t.Microsoft||{},t.Microsoft.ApplicationInsights=t.Microsoft.ApplicationInsights||{},t.Microsoft.ApplicationInsights.Shims={}));
var t=this,n=function(t){"use strict";var i="function",r="object",n="undefined",s="prototype",f="hasOwnProperty";function e(){return typeof globalThis!=n&&globalThis?globalThis:typeof self!=n&&self?self:typeof window!=n&&window?window:typeof global!=n&&global?global:null}function o(t){var n=Object.create;if(n)return n(t);if(null==t)return{};var e=typeof t;if(e!==r&&e!==i)throw new TypeError("Object prototype may only be an Object:"+t);function o(){}return o[s]=t,new o}function a(t){for(var n,e=1,o=arguments.length;e<o;e++)for(var i in n=arguments[e])Object[s][f].call(n,i)&&(t[i]=n[i]);return t}var c=function(t,n){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n[f](e)&&(t[e]=n[e])})(t,n)};function l(t,n){function e(){this.constructor=t}c(t,n),t[s]=null===n?o(n):(e[s]=n[s],new e)}var u,_=e()||{},p=l;(u=_).__assign||(u.__assign=Object.assign||a),u.__extends||(u.__extends=p),__assign=__assign||_.__assign,__extends=__extends||_.__extends,t.strShimFunction=i,t.strShimObject=r,t.strShimUndefined=n,t.strShimPrototype=s,t.strShimHasOwnProperty=f,t.getGlobal=e,t.objCreateFn=o,t.__assignFn=a,t.__extendsFn=l,function(t,n,e){var o=Object.defineProperty;if(o)try{return o(t,n,e)}catch(i){}typeof e.value!==undefined&&(t[n]=e.value)}(t,"__esModule",{value:!0})};"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t.Microsoft=t.Microsoft||{},t.Microsoft.ApplicationInsights=t.Microsoft.ApplicationInsights||{},t.Microsoft.ApplicationInsights.Shims={}));
{
"name": "@microsoft/applicationinsights-shims",
"author": "Microsoft Corporation",
"version": "1.0.1",
"version": "1.0.2",
"description": "Microsoft Application Insights JavaScript SDK - Shim functions",

@@ -32,7 +32,7 @@ "keywords": [

"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.1.2",
"@microsoft/applicationinsights-rollup-es3" : "1.1.3",
"grunt": "1.0.1",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-uglify": "3.1.0",
"grunt-contrib-qunit": "2.0.0",
"grunt-contrib-qunit": "^3.1.0",
"grunt-ts": "^6.0.0-beta.15",

@@ -39,0 +39,0 @@ "grunt-tslint": "^5.0.2",

Sorry, the diff of this file is not supported yet

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