New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blankscreen

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blankscreen - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md
# CHANGELOG
## 2018-08-01 v1.0.1
- fix: 没开始的实例(如异步实例),停止时不检查白屏。
## 2018-06-20 v1.0.0
发布第一个可用版本。

12

es/base.js

@@ -45,2 +45,6 @@ import _classCallCheck from 'babel-runtime/helpers/classCallCheck';

if (options.autoStart) {
this.start();
}
// 离开页面时,检查白屏。

@@ -53,6 +57,2 @@ window.addEventListener('beforeunload', function () {

}, false);
if (options.autoStart) {
this.start();
}
}

@@ -139,2 +139,6 @@

value: function stop() {
// 没开始的实例(如异步启动但未启动),离开页面时不检查白屏。
if (typeof this._state === 'undefined') {
return;
}
this._state = 'stop';

@@ -141,0 +145,0 @@ clearTimeout(this._timer);

@@ -54,2 +54,6 @@ 'use strict';

if (options.autoStart) {
this.start();
}
// 离开页面时,检查白屏。

@@ -62,6 +66,2 @@ window.addEventListener('beforeunload', function () {

}, false);
if (options.autoStart) {
this.start();
}
}

@@ -148,2 +148,6 @@

value: function stop() {
// 没开始的实例(如异步启动但未启动),离开页面时不检查白屏。
if (typeof this._state === 'undefined') {
return;
}
this._state = 'stop';

@@ -150,0 +154,0 @@ clearTimeout(this._timer);

{
"name": "blankscreen",
"version": "1.0.0",
"version": "1.0.1",
"description": "BlankScreen ",

@@ -5,0 +5,0 @@ "keywords": [ "BlankScreen", "Tracker", "白屏", "监控" ],

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