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

devtools-modules

Package Overview
Dependencies
Maintainers
12
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devtools-modules - npm Package Compare versions

Comparing version 0.0.40 to 1.0.1

2

package.json
{
"name": "devtools-modules",
"version": "0.0.40",
"version": "1.0.1",
"description": "DevTools Modules from M-C",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -175,8 +175,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

*
* @param {String} category
* The telemetry event category e.g. "devtools.main"
* @param {Boolean} enabled
* Enabled: true or false.
*/
setEventRecordingEnabled(category, enabled) {
setEventRecordingEnabled(enabled) {
return enabled;

@@ -195,5 +193,6 @@ }

*
* @param {String} category
* The telemetry event category (a group name for events and helps to
* avoid name conflicts) e.g. "devtools.main"
* @param {Object} obj
* The telemetry event or ping is associated with this object, meaning
* that multiple events or pings for the same histogram may be run
* concurrently, as long as they are associated with different objects.
* @param {String} method

@@ -216,3 +215,3 @@ * The telemetry event method (describes the type of event that

*/
preparePendingEvent(category, method, object, value, expected = []) {}
preparePendingEvent(obj, method, object, value, expected = []) {}

@@ -224,5 +223,6 @@ /**

*
* @param {String} category
* The telemetry event category (a group name for events and helps to
* avoid name conflicts) e.g. "devtools.main"
* @param {Object} obj
* The telemetry event or ping is associated with this object, meaning
* that multiple events or pings for the same histogram may be run
* concurrently, as long as they are associated with different objects.
* @param {String} method

@@ -242,10 +242,3 @@ * The telemetry event method (describes the type of event that

*/
addEventProperty(
category,
method,
object,
value,
pendingPropName,
pendingPropValue
) {}
addEventProperty(obj, method, object, value, pendingPropName, pendingPropValue) {}

@@ -257,5 +250,6 @@ /**

*
* @param {String} category
* The telemetry event category (a group name for events and helps to
* avoid name conflicts) e.g. "devtools.main"
* @param {Object} obj
* The telemetry event or ping is associated with this object, meaning
* that multiple events or pings for the same histogram may be run
* concurrently, as long as they are associated with different objects.
* @param {String} method

@@ -274,3 +268,3 @@ * The telemetry event method (describes the type of event that

*/
addEventProperties(category, method, object, value, pendingObject) {}
addEventProperties(obj, method, object, value, pendingObject) {}

@@ -282,5 +276,6 @@ /**

*
* @param {String} category
* The telemetry event category (a group name for events and helps to
* avoid name conflicts) e.g. "devtools.main"
* @param {Object} obj
* The telemetry event or ping is associated with this object, meaning
* that multiple events or pings for the same histogram may be run
* concurrently, as long as they are associated with different objects.
* @param {String} method

@@ -296,3 +291,3 @@ * The telemetry event method (describes the type of event that

*/
_sendPendingEvent(category, method, object, value) {}
_sendPendingEvent(obj, method, object, value) {}

@@ -302,5 +297,2 @@ /**

*
* @param {String} category
* The telemetry event category (a group name for events and helps to
* avoid name conflicts) e.g. "devtools.main"
* @param {String} method

@@ -323,3 +315,3 @@ * The telemetry event method (describes the type of event that

*/
recordEvent(category, method, object, value, extra) {}
recordEvent(method, object, value, extra) {}

@@ -331,4 +323,11 @@ /**

* The ID of the tool opened.
* @param {String} sessionId
* Toolbox session id used when we need to ensure a tool really has a
* timer before calculating a delta.
* @param {Object} obj
* The telemetry event or ping is associated with this object, meaning
* that multiple events or pings for the same histogram may be run
* concurrently, as long as they are associated with different objects.
*/
toolOpened(id) {}
toolOpened(id, sessionId, obj) {}

@@ -341,5 +340,5 @@ /**

*/
toolClosed(id) {}
toolClosed(id, sessionId, obj) {}
}
module.exports = Telemetry;
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