Socket
Socket
Sign inDemoInstall

seng-device-state-tracker

Package Overview
Dependencies
5
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

2

lib/DataEvent.js

@@ -5,3 +5,3 @@ "use strict";

var AbstractEvent_1 = require("seng-event/lib/AbstractEvent");
var DataEvent = (function (_super) {
var DataEvent = /** @class */ (function (_super) {
tslib_1.__extends(DataEvent, _super);

@@ -8,0 +8,0 @@ /**

@@ -6,3 +6,3 @@ "use strict";

var DataEvent_1 = require("./DataEvent");
var DeviceStateEvent = (function (_super) {
var DeviceStateEvent = /** @class */ (function (_super) {
tslib_1.__extends(DeviceStateEvent, _super);

@@ -9,0 +9,0 @@ function DeviceStateEvent() {

@@ -10,3 +10,3 @@ "use strict";

*/
var DeviceStateTracker = (function (_super) {
var DeviceStateTracker = /** @class */ (function (_super) {
tslib_1.__extends(DeviceStateTracker, _super);

@@ -160,3 +160,3 @@ /**

style.setAttribute('type', 'text/css');
style.innerHTML = "\n\t\t\t.seng-state-indicator {\n\t\t\t position: fixed;\n\t\t\t top: 0;\n\t\t\t right: 0;\n\t\t\t background-color: #17a2b8;\n\t\t\t padding: 4px;\n\t\t\t text-transform: uppercase;\n\t\t\t font: normal small-caps bold 12px/1 monospace;\n\t\t\t border-radius: 0 0 0 2px;\n\t\t\t color: #fff;\n\t\t\t border-left: 1px solid #000;\n\t\t\t border-bottom: 1px solid #000;\n\t\t\t}\n\t\t";
style.innerHTML = "\n\t\t\t.seng-state-indicator {\n\t\t\t position: fixed;\n\t\t\t bottom: 0;\n\t\t\t left: 0;\n\t\t\t background-color: #f00;\n\t\t\t padding: 4px;\n\t\t\t text-transform: uppercase;\n\t\t\t font: normal small-caps 12px/1 monospace;\n\t\t\t border-radius: 0 3px 0 0;\n\t\t\t color: #fff;\n\t\t\t border-right: 1px solid #000;\n\t\t\t border-top: 1px solid #000;\n\t\t\t}\n\t\t";
// Always inject the CSS as first element in the document

@@ -163,0 +163,0 @@ // head so it can be easily overridden by other style sheets

{
"name": "seng-device-state-tracker",
"version": "1.1.2",
"version": "1.1.3",
"description": "DeviceStateTracker is a utility class that tracks which media query is currently active using the matchMedia API.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc