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

@objectiv/plugin-application-context

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@objectiv/plugin-application-context - npm Package Compare versions

Comparing version 0.0.27-experimental.5 to 0.0.27-experimental.6

2

dist/esm/index.js

@@ -1,1 +0,1 @@

function e(e,i){if(!(e instanceof i)){throw new TypeError("Cannot call a class as a function")}}function i(e,i){for(var t=0;t<i.length;t++){var o=i[t];o.enumerable=o.enumerable||false;o.configurable=true;if("value"in o)o.writable=true;Object.defineProperty(e,o.key,o)}}function t(e,t,o){if(t)i(e.prototype,t);if(o)i(e,o);return e}var o={name:"@objectiv/plugin-application-context",version:"0.0.27-experimental.5",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --target es5 --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.27-experimental.5","@objectiv/testing-tools":"^0.0.27-experimental.5",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.27-experimental.5","@objectiv/tracker-core":"^0.0.27-experimental.5"}};import{makeApplicationContext as n}from"@objectiv/schema";var s=function(){"use strict";function i(){e(this,i);this.pluginName="ApplicationContextPlugin";this.initialized=!1}t(i,[{key:"initialize",value:function e(e){this.applicationContext=n({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed("「objectiv:".concat(this.pluginName,"」 Initialized")),globalThis.objectiv.devTools.TrackerConsole.log("Application ID: ".concat(e.applicationId)),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}},{key:"enrich",value:function e(e){var i;this.initialized||((i=globalThis.objectiv.devTools)===null||i===void 0?void 0:i.TrackerConsole.error("「objectiv:".concat(this.pluginName,"」 Cannot enrich. Make sure to initialize the plugin first."))),this.applicationContext&&e.global_contexts.push(this.applicationContext)}},{key:"isUsable",value:function e(){return!0}}]);return i}();var a;globalThis.objectiv=(a=globalThis.objectiv)!==null&&a!==void 0?a:{};var l;globalThis.objectiv.versions=(l=globalThis.objectiv.versions)!==null&&l!==void 0?l:new Map;globalThis.objectiv.versions.set(o.name,o.version);export{s as ApplicationContextPlugin};//# sourceMappingURL=index.js.map
function e(e,i){if(!(e instanceof i)){throw new TypeError("Cannot call a class as a function")}}function i(e,i){for(var t=0;t<i.length;t++){var o=i[t];o.enumerable=o.enumerable||false;o.configurable=true;if("value"in o)o.writable=true;Object.defineProperty(e,o.key,o)}}function t(e,t,o){if(t)i(e.prototype,t);if(o)i(e,o);return e}var o={name:"@objectiv/plugin-application-context",version:"0.0.27-experimental.6",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --target es5 --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.27-experimental.6","@objectiv/testing-tools":"^0.0.27-experimental.6",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.27-experimental.6","@objectiv/tracker-core":"^0.0.27-experimental.6"}};import{makeApplicationContext as n}from"@objectiv/schema";var s=function(){"use strict";function i(){e(this,i);this.pluginName="ApplicationContextPlugin";this.initialized=!1}t(i,[{key:"initialize",value:function e(e){this.applicationContext=n({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed("「objectiv:".concat(this.pluginName,"」 Initialized")),globalThis.objectiv.devTools.TrackerConsole.log("Application ID: ".concat(e.applicationId)),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}},{key:"enrich",value:function e(e){var i;this.initialized||((i=globalThis.objectiv.devTools)===null||i===void 0?void 0:i.TrackerConsole.error("「objectiv:".concat(this.pluginName,"」 Cannot enrich. Make sure to initialize the plugin first."))),this.applicationContext&&e.global_contexts.push(this.applicationContext)}},{key:"isUsable",value:function e(){return!0}}]);return i}();var a;globalThis.objectiv=(a=globalThis.objectiv)!==null&&a!==void 0?a:{};var l;globalThis.objectiv.versions=(l=globalThis.objectiv.versions)!==null&&l!==void 0?l:new Map;globalThis.objectiv.versions.set(o.name,o.version);export{s as ApplicationContextPlugin};//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

"use strict";function e(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function t(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||false;o.configurable=true;if("value"in o)o.writable=true;Object.defineProperty(e,o.key,o)}}function i(e,i,o){if(i)t(e.prototype,i);if(o)t(e,o);return e}var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var l=function(e,t){for(var i in t)o(e,i,{get:t[i],enumerable:!0})},s=function(e,t,i,l){var s=true,c=false,p=undefined;if(t&&typeof t=="object"||typeof t=="function")try{var u=function(){var a=b.value;!r.call(e,a)&&a!==i&&o(e,a,{get:function(){return t[a]},enumerable:!(l=n(t,a))||l.enumerable})};for(var v=a(t)[Symbol.iterator](),b;!(s=(b=v.next()).done);s=true)u()}catch(d){c=true;p=d}finally{try{if(!s&&v.return!=null){v.return()}}finally{if(c){throw p}}}return e};var c=function(e){return s(o({},"__esModule",{value:!0}),e)};var p={};l(p,{ApplicationContextPlugin:function(){return b}});module.exports=c(p);var u={name:"@objectiv/plugin-application-context",version:"0.0.27-experimental.5",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --target es5 --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.27-experimental.5","@objectiv/testing-tools":"^0.0.27-experimental.5",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.27-experimental.5","@objectiv/tracker-core":"^0.0.27-experimental.5"}};var v=require("@objectiv/schema"),b=function(){function t(){e(this,t);this.pluginName="ApplicationContextPlugin";this.initialized=!1}i(t,[{key:"initialize",value:function e(e){this.applicationContext=(0,v.makeApplicationContext)({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed("「objectiv:".concat(this.pluginName,"」 Initialized")),globalThis.objectiv.devTools.TrackerConsole.log("Application ID: ".concat(e.applicationId)),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}},{key:"enrich",value:function e(e){var t;this.initialized||((t=globalThis.objectiv.devTools)===null||t===void 0?void 0:t.TrackerConsole.error("「objectiv:".concat(this.pluginName,"」 Cannot enrich. Make sure to initialize the plugin first."))),this.applicationContext&&e.global_contexts.push(this.applicationContext)}},{key:"isUsable",value:function e(){return!0}}]);return t}();var d;globalThis.objectiv=(d=globalThis.objectiv)!==null&&d!==void 0?d:{};var g;globalThis.objectiv.versions=(g=globalThis.objectiv.versions)!==null&&g!==void 0?g:new Map;globalThis.objectiv.versions.set(u.name,u.version);0&&(module.exports={ApplicationContextPlugin:ApplicationContextPlugin});//# sourceMappingURL=index.js.map
"use strict";function e(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function t(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||false;o.configurable=true;if("value"in o)o.writable=true;Object.defineProperty(e,o.key,o)}}function i(e,i,o){if(i)t(e.prototype,i);if(o)t(e,o);return e}var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var l=function(e,t){for(var i in t)o(e,i,{get:t[i],enumerable:!0})},s=function(e,t,i,l){var s=true,c=false,p=undefined;if(t&&typeof t=="object"||typeof t=="function")try{var u=function(){var a=b.value;!r.call(e,a)&&a!==i&&o(e,a,{get:function(){return t[a]},enumerable:!(l=n(t,a))||l.enumerable})};for(var v=a(t)[Symbol.iterator](),b;!(s=(b=v.next()).done);s=true)u()}catch(d){c=true;p=d}finally{try{if(!s&&v.return!=null){v.return()}}finally{if(c){throw p}}}return e};var c=function(e){return s(o({},"__esModule",{value:!0}),e)};var p={};l(p,{ApplicationContextPlugin:function(){return b}});module.exports=c(p);var u={name:"@objectiv/plugin-application-context",version:"0.0.27-experimental.6",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --target es5 --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.27-experimental.6","@objectiv/testing-tools":"^0.0.27-experimental.6",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.27-experimental.6","@objectiv/tracker-core":"^0.0.27-experimental.6"}};var v=require("@objectiv/schema"),b=function(){function t(){e(this,t);this.pluginName="ApplicationContextPlugin";this.initialized=!1}i(t,[{key:"initialize",value:function e(e){this.applicationContext=(0,v.makeApplicationContext)({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed("「objectiv:".concat(this.pluginName,"」 Initialized")),globalThis.objectiv.devTools.TrackerConsole.log("Application ID: ".concat(e.applicationId)),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}},{key:"enrich",value:function e(e){var t;this.initialized||((t=globalThis.objectiv.devTools)===null||t===void 0?void 0:t.TrackerConsole.error("「objectiv:".concat(this.pluginName,"」 Cannot enrich. Make sure to initialize the plugin first."))),this.applicationContext&&e.global_contexts.push(this.applicationContext)}},{key:"isUsable",value:function e(){return!0}}]);return t}();var d;globalThis.objectiv=(d=globalThis.objectiv)!==null&&d!==void 0?d:{};var g;globalThis.objectiv.versions=(g=globalThis.objectiv.versions)!==null&&g!==void 0?g:new Map;globalThis.objectiv.versions.set(u.name,u.version);0&&(module.exports={ApplicationContextPlugin:ApplicationContextPlugin});//# sourceMappingURL=index.js.map
{
"name": "@objectiv/plugin-application-context",
"version": "0.0.27-experimental.5",
"version": "0.0.27-experimental.6",
"description": "Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",

@@ -54,4 +54,4 @@ "license": "Apache-2.0",

"devDependencies": {
"@objectiv/developer-tools": "^0.0.27-experimental.5",
"@objectiv/testing-tools": "^0.0.27-experimental.5",
"@objectiv/developer-tools": "^0.0.27-experimental.6",
"@objectiv/testing-tools": "^0.0.27-experimental.6",
"jest": "^28.1.3",

@@ -64,5 +64,5 @@ "prettier": "^2.7.1",

"peerDependencies": {
"@objectiv/schema": "^0.0.27-experimental.5",
"@objectiv/tracker-core": "^0.0.27-experimental.5"
"@objectiv/schema": "^0.0.27-experimental.6",
"@objectiv/tracker-core": "^0.0.27-experimental.6"
}
}
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