Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

applicationinsights

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

applicationinsights - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

.npmignore

28

install.js

@@ -23,2 +23,3 @@ /**

// Download the core browser JS
http.get("http://az639152.vo.msecnd.net/cdntest/a/ai.0.10.0.js", function (response) {

@@ -29,3 +30,3 @@ var r = response.pipe(file);

//append node required exports to ai.js
// Append required exports to ai.js to convert the core browser JS into a CommonJS module
function addExports() {

@@ -36,17 +37,14 @@ var exportString = "\r\nmodule.exports = {\r\niKey: appInsights.iKey, context: appInsights.context,\r\nTraceTelemetry: Microsoft.ApplicationInsights.TraceTelemetry,\r\nExceptionTelemetry: Microsoft.ApplicationInsights.ExceptionTelemetry,\r\nRequestTelemetry: Microsoft.ApplicationInsights.RequestTelemetry,\r\nRequestData: Microsoft.ApplicationInsights.RequestData,\r\nExceptionData: Microsoft.ApplicationInsights.ExceptionData,\r\n}";

//create full ai.d.ts file locally from cdn
var dfile = fs.createWriteStream("ai.d.ts");
http.get("http://az639152.vo.msecnd.net/cdntest/ai.d.ts", function (response) {
var r = response.pipe(dfile);
});
// Create ai.config.json file in user's project file if one does not already existt
var outputFilename = '../../ai.config.json';
if (!fs.existsSync(outputFilename)) {
fs.writeFile(outputFilename, JSON.stringify(config, null, 4), function(err) {
if (err) {
console.log(err);
} else {
console.log("ai.config.json created");
}
});
}
//create ai.config.json file in user's project file
var outputFilename = '../../ai.config.json';
fs.writeFile(outputFilename, JSON.stringify(config, null, 4), function (err) {
if (err) {
console.log(err);
} else {
console.log("ai.config.json created");
}
});
console.log("installed!");

@@ -5,36 +5,38 @@ {

"bugs": "https://github.com/Microsoft/AppInsights-node.js/issues",
"version": "0.10.0",
"version": "0.10.1",
"description": "Microsoft Application Insights module for Node.JS",
"repository" : {
"type" : "git",
"url" : "https://github.com/Microsoft/AppInsights-node.js"
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/AppInsights-node.js"
},
"main": "appInsights",
"keywords": ["request", "request monitoring", "monitoring", "application insights", "microsoft", "azure"],
"main": "applicationInsights",
"keywords": [
"request",
"request monitoring",
"monitoring",
"application insights",
"microsoft",
"azure"
],
"contributors": [
{ "name": "t-hajohn", "email": "t-hajohn@microsoft.com" },
{ "name": "t-andrea", "email": "t-andrea@microsoft.com" },
{ "name": "scsouthw", "email": "scsouthw@microsoft.com" }
{
"name": "t-hajohn",
"email": "t-hajohn@microsoft.com"
},
{
"name": "t-andrea",
"email": "t-andrea@microsoft.com"
},
{
"name": "scsouthw",
"email": "scsouthw@microsoft.com"
}
],
"files": [
"config.json",
"README.md",
"License.txt",
"install.js",
"appInsights.js",
"Util.js",
"NodeSender.js",
"Context/ApplicationContext.js",
"Context/DeviceContext.js",
"Context/LocationContext.js",
"Context/UserContext.js",
"Context/SessionContext.js"
],
"scripts": {
"postinstall": "node install.js"
"postinstall": "node install.js"
},
"dependencies": {
"node-uuid": "",
"cookies": ""
"node-uuid": "",
"cookies": ""
}
}
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