Giter Club home page Giter Club logo

safetree's Introduction

safetree

Travis AppVeyor David

学校安全教育平台全自动答题工具

安装

使用方式

  1. 启动桌面或者开始菜单中的safetree
  2. 在弹出的对话框中输入教师的用户名,如果强行使用学生账号登陆,将无法检查到未完成的专题作业
  3. 程序会全自动完成全班的作业

自定义专题作业答案

  • 下载示例配置文件到程序安装目录(%LOCALAPPDATA%\Programs\safetree),使用记事本编辑答案即可。

safetree's People

Contributors

greenkeeper[bot] avatar gucong3000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

safetree's Issues

An in-range update of eslint is breaking the build 🚨

Version 3.18.0 of eslint just got published.

Branch Build failing 🚨
Dependency eslint
Current Version 3.17.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes v3.18.0
  • 85f74ca Fix: broken code path of direct nested loops (fixes #8248) (#8274) (Toru Nagashima)
  • a61c359 Fix: Ignore hidden folders when resolving globs (fixes #8259) (#8270) (Ian VanSchooten)
  • 6f05546 Chore: convert StubModuleResolver in config tests to ES6 class (#8265) (Teddy Katz)
  • 0c0fc31 Fix: false positive of no-extra-parens about spread and sequense (#8275) (Toru Nagashima)
  • e104973 Docs: remove self-reference in no-restricted-syntax docs (#8277) (Vitor Balocco)
  • 23eca51 Update: Add allowTaggedTemplates to no-unused-expressions (fixes #7632) (#8253) (Kevin Partington)
  • f9ede3f Upgrade: doctrine to 2.0.0 (#8269) (alberto)
  • 1b678a6 New: allow rules to listen for AST selectors (fixes #5407) (#7833) (Teddy Katz)
  • 63ca0c5 Chore: use precalculated counts in stylish formatter (#8251) (alberto)
  • 47c3171 Fix: typo in console.error (#8258) (Jan Peer Stöcklmair)
  • e74ed6d Chore: convert Traverser to ES6 class (refs #7849) (#8232) (Teddy Katz)
  • 13eead9 Fix: sort-vars crash on mixed destructuring declarations (#8245) (Teddy Katz)
  • 133f489 Fix: func-name-matching crash on destructuring assignment to functions (#8247) (Teddy Katz)
  • a34b9c4 Fix: func-name-matching crash on non-string literal computed keys (#8246) (Teddy Katz)
  • 7276e6d Docs: remove unneeded semicolons in arrow-parens.md (#8249) (Dmitry Gershun)
  • 8c40a25 Upgrade: concat-stream known to be vulnerable prior 1.5.2 (#8228) (Samuel)
  • 149c055 Upgrade: mock-fs to v4.2.0 (fixes #8194) (#8243) (Teddy Katz)
  • a83bff9 Build: remove unneeded json config in demo (fixes #8237) (#8242) (alberto)
  • df12137 Docs: fix typos (#8235) (Gyandeep Singh)
  • b5e9788 Chore: rename no-extra-parens methods (#8225) (Vitor Balocco)
  • 7f8afe6 Update: no-extra-parens overlooked spread and superClass (fixes #8175) (#8209) (Toru Nagashima)
  • ce6ff56 Docs: set recommended true for no-global-assign (fixes #8215) (#8218) (BinYi LIU)
  • 5b5c236 Fix: wrong comment when module not found in config (fixes #8192) (#8196) (alberto)
Commits

The new version differs by 26 commits .

  • ca1d478 3.18.0
  • 3688024 Build: package.json and changelog update for 3.18.0
  • 85f74ca Fix: broken code path of direct nested loops (fixes #8248) (#8274)
  • a61c359 Fix: Ignore hidden folders when resolving globs (fixes #8259) (#8270)
  • 6f05546 Chore: convert StubModuleResolver in config tests to ES6 class (#8265)
  • 0c0fc31 Fix: false positive of no-extra-parens about spread and sequense (#8275)
  • e104973 Docs: remove self-reference in no-restricted-syntax docs (#8277)
  • 23eca51 Update: Add allowTaggedTemplates to no-unused-expressions (fixes #7632) (#8253)
  • f9ede3f Upgrade: doctrine to 2.0.0 (#8269)
  • 1b678a6 New: allow rules to listen for AST selectors (fixes #5407) (#7833)
  • 63ca0c5 Chore: use precalculated counts in stylish formatter (#8251)
  • 7d1af86 Update: fix false negative of no-useless-escape in template literal tags (#8238)
  • 47c3171 Fix: typo in console.error (#8258)
  • e74ed6d Chore: convert Traverser to ES6 class (refs #7849) (#8232)
  • 13eead9 Fix: sort-vars crash on mixed destructuring declarations (#8245)

There are 26 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

一次崩溃报告

C:\Users\stu\Desktop\st\safetree-master>npm start -- zhongshan --dev

> [email protected] start C:\Users\stu\Desktop\st\safetree-master
> electron . "zhongshan" "--dev"


A Parser-blocking, cross-origin script, http://s6.cnzz.com/stat.php?id=2583451, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A Parser-blocking, cross-origin script, http://s6.cnzz.com/stat.php?id=2583451, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A Parser-blocking, cross-origin script, http://c.cnzz.com/core.php?web_id=2583451&t=z, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A Parser-blocking, cross-origin script, http://c.cnzz.com/core.php?web_id=2583451&t=z, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A Parser-blocking, cross-origin script, http://s6.cnzz.com/stat.php?id=2583451, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A Parser-blocking, cross-origin script, http://s6.cnzz.com/stat.php?id=2583451, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A Parser-blocking, cross-origin script, http://c.cnzz.com/core.php?web_id=2583451&t=z, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A Parser-blocking, cross-origin script, http://c.cnzz.com/core.php?web_id=2583451&t=z, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" "--" "zhongshan" "--dev"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `electron . "zhongshan" "--dev"`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] start script 'electron . "zhongshan" "--dev"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the safetree package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron . "zhongshan" "--dev"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs safetree
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls safetree
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\stu\Desktop\st\safetree-master\npm-debug.log

C:\Users\stu\Desktop\st\safetree-master>

An in-range update of electron is breaking the build 🚨

Version 1.7.8 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.8.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • safetree@gucong Build failed on DaoCloud Details

Release Notes electron v1.7.8

Bug Fixes

  • [SECURITY] Fixed Chromium RCE vulnerability

Linux

  • Fixed app.makeSingleInstance hanging. #10586

macOS

  • Fixed missing extension when saving a file without filters #10586
Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

Version 4.3.0 of eslint just got published.

Branch Build failing 🚨
Dependency eslint
Current Version 4.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • safetree@gucong Build met error on DaoCloud Details

Release Notes v4.3.0
  • 91dccdf Update: support more options in prefer-destructuring (#8796) (Victor Hom)
  • 3bebcfd Update: Support generator yields in no constant condition (#8762) (Victor Hom)
  • 96df8c9 Fix: Handle fixing objects containing comments (fixes #8484) (#8944) (Brian Schemp)
  • e39d41d Docs: Make peerDependencies package.json snippet valid JSON (#8971) (Sam Adams)
  • a5fd101 Fix: duplicated error message if a crash occurs (fixes #8964) (#8965) (Teddy Katz)
  • f8d122c Docs: trailing commas not allowed in json (#8969) (Scott Fletcher)
  • d09288a Chore: Use output: null to assert that a test case is not autofixed. (#8960) (薛定谔的猫)
  • e639358 Update: add question to confirm downgrade (fixes #8870) (#8911) (Toru Nagashima)
  • 601039d Docs: fix badge in eslint-config-eslint readme (#8954) (Teddy Katz)
  • 3c231fa Update: add enforceInMethodNames to no-underscore-dangle (fixes #7065) (#7234) (Gabriele Petronella)
  • 128591f Update: prefer-numeric-literals warns Number.parseInt (fixes #8913) (#8929) (Kevin Partington)
  • 846f8b1 Docs: Clarified that core PRs require issue in maintainer guide (#8927) (Kevin Partington)
  • 55bc35d Fix: Avoid shell mangling during eslint --init (#8936) (Anders Kaseorg)
  • 10c3d78 Chore: fix misleading indent test (#8925) (Teddy Katz)
  • fb8005d Update: no-restricted-globals custom error messages (fixes #8315) (#8932) (Kevin Partington)
  • a747b6f Chore: make minor improvements to indent internals (#8947) (Teddy Katz)
  • 1ea3723 Update: fix indentation of parenthesized MemberExpressions (fixes #8924) (#8928) (Teddy Katz)
  • 9abc6f7 Update: fix BinaryExpression indentation edge case (fixes #8914) (#8930) (Teddy Katz)
  • 0e90453 Docs: Fixing broken cyclomatic complexity link (fixes #8396) (#8937) (Chris Bargren)
  • a8a8350 Chore: improve performance of indent rule (#8905) (Teddy Katz)
  • 764b2a9 Chore: update header info in indent (#8926) (Teddy Katz)
  • 597c217 Fix: confusing error if plugins from config is not an array (#8888) (Calvin Freitas)
  • 3c1dd6d Docs: add description of no-sync allowAtRootLevel option (fixes #8902) (#8906) (Teddy Katz)
  • 933a9cf Chore: add a fuzzer to detect bugs in core rules (#8422) (Teddy Katz)
  • 45f8cd9 Docs: fix verifyAndFix result property name (#8903) (Tino Vyatkin)
  • 1a89e1c Docs: Fix always-multiline example in multiline-ternary docs (#8904) (Nathan Woltman)
Commits

The new version differs by 28 commits.

  • 2874d75 4.3.0
  • 1c83662 Build: changelog update for 4.3.0
  • 91dccdf Update: support more options in prefer-destructuring (#8796)
  • 3bebcfd Update: Support generator yields in no constant condition (#8762)
  • 96df8c9 Fix: Handle fixing objects containing comments (fixes #8484) (#8944)
  • e39d41d Docs: Make peerDependencies package.json snippet valid JSON (#8971)
  • a5fd101 Fix: duplicated error message if a crash occurs (fixes #8964) (#8965)
  • f8d122c Docs: trailing commas not allowed in json (#8969)
  • d09288a Chore: Use output: null to assert that a test case is not autofixed. (#8960)
  • e639358 Update: add question to confirm downgrade (fixes #8870) (#8911)
  • 601039d Docs: fix badge in eslint-config-eslint readme (#8954)
  • 3c231fa Update: add enforceInMethodNames to no-underscore-dangle (fixes #7065) (#7234)
  • 128591f Update: prefer-numeric-literals warns Number.parseInt (fixes #8913) (#8929)
  • 846f8b1 Docs: Clarified that core PRs require issue in maintainer guide (#8927)
  • 55bc35d Fix: Avoid shell mangling during eslint --init (#8936)

There are 28 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of dialogs is breaking the build 🚨

Version 1.1.18 of dialogs just got published.

Branch Build failing 🚨
Dependency dialogs
Current Version 1.1.17
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As dialogs is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 6 commits .

  • de479db 1.1.18
  • 5231d35 revert insert-css (as faster)
  • 302f047 Merge branch 'greenkeeper-standard-9.0.0'
  • 25750e9 chore(package): update standard to version 9.0.0
  • f35b67f Merge branch 'greenkeeper-standard-8.6.0'
  • 99d2350 chore(package): update standard to version 8.6.0

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

phantomjs版本的功能需要移植过来

"use strict";
phantom.outputEncoding = "GBK";
var page = require("webpage").create();



function getRawContent() {

	var content = page.plainText;
	try {
		content = eval.call(0, content.replace(/^\s*\w*(\(.*?\));?\s*$/, "$1"));
	} catch (ex) {
		try {
			content = JSON.parse(content);
		} catch (ex) {

		}
	}

	content = content || page.content.replace(/^<html><head><\/head><body><pre\b.*?>(.*?)<\/pre><\/body><\/html>$/, "$1");
	return content;
}

function noop() {

}

/**
 * 登录操作
 * @param  {String}   userName 用户名挥着真实姓名
 * @param  {Function} resolve  登陆成功后回调
 * @param  {Function} [reject]   登录失败的回调,默认值为resolve代替
 */
function doLogin(userName, resolve, reject) {
	reject = reject || resolve;

	userName = userIdMap[userName] || userName;

	var data = {
		jsoncallback: "callPhantom",
		userName: userName,
		password: "123456",
		type: "login",
		loginType: "1"
	};

	data = require("query-string").stringify(data);

	function callback(data) {
		if (data && +data.ret === 1 && data.data && data.data.UserName) {
			resolve(data.data);
		} else {
			reject(data);
		}
	}

	page.open("http://chengdu.safetree.com.cn/jiating/LoginHandler.ashx?" + data, function(status) {
		if (status !== "success") {
			reject(status);
		} else {
			callback(getRawContent());
		}
	});
}

function getWorks(userData, resolve, reject) {

	// if (resolve) {
	// 	resolve(["http://chengdu.safetree.com.cn/jiating/EscapeSkill/SeeVideo.aspx?gid=485&li=922"]);
	// 	return;
	// }

	reject = reject || resolve;
	var timeoutTimer;
	var page = require("webpage").create();
	page.onCallback = function(data) {
		clearTimeout(timeoutTimer);
		page.close();

		try {
			resolve(data.map(function(args) {
				args = eval(args.replace(/^.+?.\((.+?)\).*?$/, "[$1]"));
				if (args[5]) {
					return args[5];
				}
				if (+args[0] > 0 && +args[3] > 0) {
					return "http://chengdu.safetree.com.cn/jiating/EscapeSkill/SeeVideo.aspx?gid=" + args[3] + "&li=" + args[0];
				}
			}).filter(function(url) {
				return url && !/#/.test(url) && url !== "http://119.safetree.com.cn";
			}).unique3());
		} catch (ex) {
			reject(ex);
		}
	};
	page.open("http://chengdu.safetree.com.cn/JiaTing/JtMyHomeWork.html", function(status) {
		if (status !== "success") {
			reject(status);
		} else {
			timeoutTimer = setTimeout(function() {
				page.close();
				reject("timeout");
			}, 30000);
			page.evaluate(browserGetWorks, userData);
		}
	});
}

var urlMap = {
	"http://firstclass2016.safetree.com.cn": "http://firstclass2016.safetree.com.cn/2016FirstClass_Test.html",
	"http://2016xcaq.safetree.com.cn/": "http://2016xcaq.safetree.com.cn/2016schoolbussafety_family.html",
};

/**
 * 完成作业
 * @param  {Object} userData 用户登录信息
 * @param  {String} url      作业页面的url
 * @param  {Function} resolve  成功完成作业后的回调
 * @param  {Function} [reject]   未能完成作业时的回调,默认值为resolve代替
 */
function doWork(userData, url, resolve, reject) {
	url = urlMap[url] || url;
	reject = reject || resolve;
	var page = require("webpage").create();
	var timeoutTimer;

	page.onAlert = function(msg) {
		log("ALERT: " + msg);
	};

	page.onCallback = function(data) {
		clearTimeout(timeoutTimer);
		setTimeout(function() {
			page.close();
		}, 3000);
		if (data === "ok") {
			resolve(data);
		} else {
			reject(data);
		}
	};

	page.open(url, function(status) {
		log(url);
		if (status !== "success") {
			page.close();
			reject(status);
		} else {
			timeoutTimer = setTimeout(function() {
				page.close();
				reject("timeout");
			}, 30000);
			page.evaluate(browserDoWork, userData);
		}
	});
}

function browserGetWorks() {
	var getWorksTimer;
	var cont = 0;
	if (window.callPhantom) {
		getWorksTimer = setInterval(function() {
			if (cont > 80 || $("a:[name^='workToUrl_']:contains('查看')").length) {
				clearInterval(getWorksTimer);
				window.callPhantom(
					$("a:[name^='workToUrl_']:contains('马上去完成')")
					.not("tr:contains('但不记录数据') a")
					.map(function(i, a) {
						return $(a).attr("onclick");
					}).toArray()
				);
			} else {
				cont++;
			}
		}, 100);

	}
}

// 在浏览器页面内运行的函数,用于答题
function browserDoWork(userData) {
	function callback(val) {
		if (window.callPhantom) {
			setTimeout(function() {
				window.callPhantom(val);
			}, 200);
		}
	}
	if (window.ShowTestPaper) {
		window.getAnswers = function(answers) {
			setTimeout(function() {
				$(".bto_testbox input[type=radio]").prop("checked", function(i) {
					return !!+answers.Rows[i].istrue;
				});
				$(".bto_testbox .btn_submit").click();
				callback("ok");
			}, 0);
		};

		eval(ShowTestPaper.toString().replace(/TestPaperThreelistGet2.*?\n?.*?if\s+\(.*?\b(\w+)\.Rows\.length.*?\)\s*\{/, function(s, dataVarName) {
			return s + "getAnswers(" + dataVarName + ");";
		}));
		ShowTestPaper();
	} else {
		var result;
		if (window.$ && $("a[onclick^='tijiao'], a.qdbtn, a:contains('请签名'), #student_qdbtn").click().length) {
			result = "ok";
		} else if (window.tijiao) {
			try {
				window.tijiao(0);
				result = "ok";
			} catch (ex) {

			}
		}
		if (location.pathname === "/2016schoolbussafety_family.html" || location.host === "2016xcaq.safetree.com.cn") {
			SubmitTest([{
				"ID": 1,
				"N": "1",
				"M": ""
			}, {
				"ID": 2,
				"N": "1",
				"M": ""
			}, {
				"ID": 3,
				"N": "1",
				"M": ""
			}, {
				"ID": 4,
				"N": "1",
				"M": ""
			}, {
				"ID": 5,
				"N": "1",
				"M": ""
			}, {
				"ID": 6,
				"N": "3",
				"M": ""
			}, {
				"ID": 7,
				"N": "3",
				"M": ""
			}, {
				"ID": 8,
				"N": "1",
				"M": ""
			}, {
				"ID": 9,
				"N": "2",
				"M": ""
			}, {
				"ID": 10,
				"N": 0,
				"M": ""
			}, {
				"ID": 11,
				"N": "2",
				"M": ""
			}, {
				"ID": 12,
				"N": "2",
				"M": ""
			}, {
				"ID": 13,
				"N": "2",
				"M": ""
			}, {
				"ID": 14,
				"N": "2",
				"M": ""
			}, {
				"ID": 15,
				"N": "3",
				"M": ""
			}, {
				"ID": 16,
				"N": "1",
				"M": ""
			}, {
				"ID": 17,
				"N": "4",
				"M": ""
			}, {
				"ID": 18,
				"N": "4",
				"M": ""
			}, {
				"ID": 19,
				"N": "2",
				"M": ""
			}, {
				"ID": 20,
				"N": "3",
				"M": ""
			}], function() {
				callback("ok");
			});
			return;
		} else if (location.pathname === "/2016SfetyDay_test.html" && window.loadQuestion && window.submitQ) {
			$("#radio_1_" + (+userData.Sex === 1 ? 1 : 2)).click();
			$("#radio_2_1").click();
			$("#radio_3_1").click();
			loadQuestion(3, 3, 1, true);
			$("input[type='checkbox']").click();
			$("#radio_5_3").click();
			$("#radio_7_3").click();
			loadQuestion(8, 3, 1, true);
			$("#radio_9_3").click();
			$("#radio_11_1").click();
			$("#radio_12_1").click();
			loadQuestion(12, 3, 1, true);
			$("#radio_13_2").click();
			$("#radio_14_2").click();
			$("#radio_15_1").click();
			loadQuestion(15, 3, 1, true);
			$("input[type='checkbox']").click();
			loadQuestion(18, 3, 1, true);
			$("input[type='checkbox']").click();
			loadQuestion(21, 3, 1, true);
			$("#radio_22_1").click();
			submitQ();
			result = "ok";
		} else if (location.pathname === "/2016FirstClass_Test.html") {
			$("#questionlist dl").each(function(i, dl) {
				$(dl).find("input[type=radio]").last().click();
			});
			$("#questionlist #Q1 input").eq(parseInt(Math.random() * 4)).click();
			$("#questionlist input[type=checkbox]").eq(parseInt(Math.random() * 8)).click();
			$("#questionlist input[type=checkbox]").not("#" + $("label:contains(其他)").prop("for")).each(function(i, input) {
				if (Math.random() > 0.7) {
					$(input).click();
				}
			});
			setTimeout(function() {
				submitQ();
				setTimeout(function() {
					callback("ok");
				}, 800);
			}, 800);
			return;
		}
		callback(result || "error");
	}
}


/**
 * 异步数组遍历
 * @param  {Array}   array    要遍历的数组
 * @param  {Function} callback(item, callnext, index) 接受遍历结果的函数,item为当前遍历到的数组项,callnext为回调,用来通知应该进行下一个遍历项目, index为当前数组下标
 * @param  {Function} [done]     遍历结束后的回调
 */
function loopAsync(array, callback, done) {
	var index = 0;

	function run() {
		callback(array[index], function() {
			if (++index < array.length) {
				run();
			} else if (done) {
				done();
			}
		}, index);
	}
	run();
}

function log(msg) {
	console.log(new Date().toString().replace(/^.+?(\d+(?:\:\d+)+).+?$/, "[$1] ") + msg);
}

var time = new Date();

var fs = require("fs");
var names;

try {
	names = fs.read("../学生账号.txt").trim();
} catch (ex) {

}
if (!names) {

}

names = names.split(/[\r\n\s]+/);

try {
	console.log(fs.read("./readme.txt").trim());
} catch (ex) {

}

loopAsync(names, function(name, nextUser, index) {
	console.log("");
	doLogin(name, function(userData) {
		log("******** " + index + " of " + names.length + ": " + userData.TrueName + " ********");
		getWorks(userData, function(urls) {
			if (urls.length) {
				log(urls);
				loopAsync(urls, function(url, nextWork) {
					doWork(userData, url, function() {
						log("作业提交成功: " + url);
						nextWork();
					}, function() {
						log("作业提交失败: " + url);
						nextWork();
					});
				}, nextUser);
			} else {
				log("没有发现未完成的作业");
				nextUser();
			}
		}, nextUser);
	}, nextUser);
}, function() {
	console.log("\n" + names.length + "个账号全部完成作业,用时: " + ((new Date() - time) / 1000) + "秒");
	phantom.exit(0);
});

Array.prototype.unique3 = function() {
	var res = [];
	var json = {};
	for (var i = 0; i < this.length; i++) {
		if (!json[this[i]]) {
			res.push(this[i]);
			json[this[i]] = 1;
		}
	}
	return res;
};

An in-range update of electron is breaking the build 🚨

Version 1.4.15 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.4.14
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes v1.4.15

1.4.15 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of electron is breaking the build 🚨

Version 1.6.11 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.7.3
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • safetree@gucong Build failed on DaoCloud Details
  • continuous-integration/travis-ci/push The Travis CI build passed Details

Release Notes electron v1.6.11 beta

1.6.11 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of electron-builder is breaking the build 🚨

Version 20.24.0 of electron-builder was just published.

Branch Build failing 🚨
Dependency electron-builder
Current Version 20.23.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

electron-builder is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch AppVeyor build failed Details

Release Notes 20.24.0

Bug Fixes

  • electron-builder-squirrel-windows: peer dependency version of 7zip-bin is not correct (f121f4b)
  • electron-updater: url parameters, search is inside (d553629)

Features

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of electron is breaking the build 🚨

Version 1.7.9 of electron was just published.

Branch Build failing 🚨
Dependency electron
Current Version 1.8.1
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

electron is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • safetree@gucong Build failed on DaoCloud Details

Release Notes electron v1.7.9

Bug Fixes

  • [SECURITY] Update to Chromium RCE vulnerability fix for older versions of Chromium.

macOS

Fixed issues around update permissions and non-admin users. #10071 #10298

Windows

  • Fixed downloading updates twice #5057
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

教师登陆问题

教师密码无法更改为123456,使用工具就无法正常登陆。
如果将源代码中的密码改为登录密码,登录成功后就无法给学生做题。
希望登录时可以自己输入教师密码的,而不要默认123456

An in-range update of electron-builder is breaking the build 🚨

The devDependency electron-builder was updated from 20.37.0 to 20.38.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

electron-builder is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • continuous-integration/appveyor/branch: AppVeyor build failed (Details).

Release Notes for 20.38.0

Bug Fixes

  • if cannot resolve win csc link, report as InvalidConfigurationError to make clear that it is user error (88d8a6b), closes #3502

Features

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

无法运行本项目

C:\Users\stu\Desktop\st\safetree-master>npm install

> [email protected] postinstall C:\Users\stu\Desktop\st\safetree-master\node_modules\electron
> node install.js

C:\Users\stu\Desktop\st\safetree-master\node_modules\electron\install.js:46
  throw err
  ^

Error: read ECONNRESET
    at exports._errnoException (util.js:1022:11)
    at TLSWrap.onread (net.js:569:26)
[email protected] C:\Users\stu\Desktop\st\safetree-master
`-- [email protected]
  +-- [email protected]
  | +-- [email protected]
  | | +-- [email protected]
  | | `-- [email protected]
  | +-- [email protected]
  | | `-- [email protected]
  | +-- [email protected]
  | | +-- [email protected]
  | | | +-- [email protected]
  | | | +-- [email protected]
  | | | | `-- [email protected]
  | | | `-- [email protected]
  | | +-- [email protected]
  | | | `-- [email protected]
  | | |   `-- [email protected]
  | | +-- [email protected]
  | | | +-- [email protected]
  | | | +-- [email protected]
  | | | +-- [email protected]
  | | | `-- [email protected]
  | | |   `-- [email protected]
  | | +-- [email protected]
  | | | +-- [email protected]
  | | | +-- [email protected]
  | | | +-- [email protected]
  | | | `-- [email protected]
  | | +-- [email protected]
  | | | `-- [email protected]
  | | +-- [email protected]
  | | +-- [email protected]
  | | | `-- [email protected]
  | | +-- [email protected]
  | | | +-- [email protected]
  | | | +-- [email protected]
  | | | `-- [email protected]
  | | +-- [email protected]
  | | +-- [email protected]
  | | | `-- [email protected]
  | | |   +-- [email protected]
  | | |   `-- [email protected]
  | | `-- [email protected]
  | |   `-- [email protected]
  | |     `-- [email protected]
  | `-- [email protected]
  |   `-- [email protected]
  |     +-- [email protected]
  |     +-- [email protected]
  |     +-- [email protected]
  |     `-- [email protected]
  +-- [email protected]
  | `-- [email protected]
  +-- [email protected]
  `-- [email protected]

npm WARN [email protected] No repository field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\stu\Desktop\st\safetree-master\npm-debug.log

C:\Users\stu\Desktop\st\safetree-master>

npm-debug.txt

An in-range update of eslint-plugin-import is breaking the build 🚨

Version 2.9.0 of eslint-plugin-import was just published.

Branch Build failing 🚨
Dependency eslint-plugin-import
Current Version 2.8.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch AppVeyor build succeeded Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 101 commits.

  • 180d71a bump plugin to v2.9.0
  • 0231c78 Merge pull request #1026 from isiahmeadows/patch-1
  • ae5a031 Missed a link
  • 5b0777d Add no-default-export + docs/tests (#936)
  • ff3d883 Merge pull request #1025 from patrick-steele-idem/update-dependencies
  • 654d284 Merge pull request #1024 from patrick-steele-idem/issue-1023
  • 9b20a78 Upgraded "find-root" and "lodash.get" for the webpack resolver
  • 8778d7c Fixes #1023 - Load exceptions in user resolvers are not reported
  • 91cfd6d Merge pull request #1022 from nevir/patch-1
  • 0e729c7 no-self-import is unreleased
  • 219a8d2 Merge pull request #1012 from silvenon/extensions-export
  • ab49972 Support export declarations in extensions rule
  • 3268a82 Merge pull request #1010 from silvenon/extensions
  • fdcd4d9 Add a .coffee test proving extension resolve order
  • bc50394 Merge pull request #1009 from silvenon/extensions

There are 101 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

Version 4.13.0 of eslint was just published.

Branch Build failing 🚨
Dependency eslint
Current Version 4.12.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
  • safetree@gucong Build met error on DaoCloud Details

Release Notes v4.13.0
  • 256481b Update: update handling of destructuring in camelcase (fixes #8511) (#9468) (Erin)
  • d067ae1 Docs: Don’t use undocumented array-style configuration for max-len (#9690) (Jed Fox)
  • 1ad3091 Chore: fix test-suite to work with node master (#9688) (Myles Borins)
  • cdb1488 Docs: Adds an example with try/catch. (#9672) (Jaap Taal)
Commits

The new version differs by 6 commits.

  • 29c3610 4.13.0
  • ac331bc Build: changelog update for 4.13.0
  • 256481b Update: update handling of destructuring in camelcase (fixes #8511) (#9468)
  • d067ae1 Docs: Don’t use undocumented array-style configuration for max-len (#9690)
  • 1ad3091 Chore: fix test-suite to work with node master (#9688)
  • cdb1488 Docs: Adds an example with try/catch. (#9672)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

Version 4.13.1 of eslint was just published.

Branch Build failing 🚨
Dependency eslint
Current Version 4.13.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • safetree@gucong DaoCloud builds completed Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v4.13.1
  • b72dc83 Fix: eol-last allow empty-string to always pass (refs #9534) (#9696) (Kevin Partington)
  • d80aa7c Fix: camelcase destructure leading/trailing underscore (fixes #9700) (#9701) (Kevin Partington)
  • d49d9d0 Docs: Add missing period to the README (#9702) (Kevin Partington)
  • 4564fe0 Chore: no-invalid-meta crash if no export assignment (refs #9534) (#9698) (Kevin Partington)
Commits

The new version differs by 6 commits.

  • 234cd26 4.13.1
  • 3b0833f Build: changelog update for 4.13.1
  • b72dc83 Fix: eol-last allow empty-string to always pass (refs #9534) (#9696)
  • d80aa7c Fix: camelcase destructure leading/trailing underscore (fixes #9700) (#9701)
  • d49d9d0 Docs: Add missing period to the README (#9702)
  • 4564fe0 Chore: no-invalid-meta crash if no export assignment (refs #9534) (#9698)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of electron is breaking the build 🚨

Version 1.6.9 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.7.1
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • safetree@gucong Building in progress on DaoCloud Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes electron v1.6.9 beta

1.6.9 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of electron is breaking the build 🚨

Version 1.7.5 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.7.4
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • safetree@gucong Build failed on DaoCloud Details

Release Notes electron v1.7.5 beta

1.7.5 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of electron is breaking the build 🚨

Version 1.6.2 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.6.3
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes electron v1.6.2 beta

1.6.2 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of dialogs is breaking the build 🚨

Version 1.1.19 of dialogs just got published.

Branch Build failing 🚨
Dependency dialogs
Current Version 1.1.18
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As dialogs is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 3 commits .

  • 23907a7 1.1.19
  • 8ac673a Merge branch 'greenkeeper-standard-9.0.2'
  • 01adbaa chore(package): update standard to version 9.0.2

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of electron-builder is breaking the build 🚨

Version 20.17.0 of electron-builder was just published.

Branch Build failing 🚨
Dependency [electron-builder](https://github.com/electron-userland/electron-builder)
Current Version 20.16.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

electron-builder is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch AppVeyor build succeeded Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes 20.17.0

Please try pre-release electron-updater 2.23.0.

Differential updates supported for NSIS (not only web installer). Please note — it is not delta, it is differential update. In short, it means that minimal update size it is block size of compression algo (LZMA2) but huge advantage is that updater is able to avoid full download to update to any version from any version. And this block size cannot be small because compression ratio will degrade.

So, if full installer size is 37 MB, and you simply change version, you can get results like (from electron-updater log):

File has 46 changed blocks
Full: 35,736.42 KB, To download: 917.08 KB (3%)

Please note — the same algo to compute blocks and download is used for all targets (AppImage, NSIS, NSIS Web Installer and soon DMG), but result varies because each target uses different compression algo and code signing algo (e.g. on Windows code signing can significantly change output file every time even if input file is the same).

Current implementation for NSIS has the one minor drawback — block map for current app version is downloaded every time and URL pattern should be the same (my-app-1.0.blockmap and my-app-1.1.blockmap, if you will change pattern for a new version to my-cool-app-1.1.blockmap, full download will be performed). WIll be addressed later.

Features

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

Version 5.0.1 of eslint was just published.

Branch Build failing 🚨
Dependency [eslint](https://github.com/eslint/eslint)
Current Version 5.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build passed Details
  • continuous-integration/appveyor/branch AppVeyor build failed Details

Release Notes v5.0.1
  • 196c102 Fix: valid-jsdoc should allow optional returns for async (fixes #10386) (#10480) (Mark Banner)
  • 4c823bd Docs: Fix max-lines-per-function correct code's max value (#10513) (Rhys Bower)
Commits

The new version differs by 4 commits.

  • caeb223 5.0.1
  • 125dc34 Build: changelog update for 5.0.1
  • 196c102 Fix: valid-jsdoc should allow optional returns for async (fixes #10386) (#10480)
  • 4c823bd Docs: Fix max-lines-per-function correct code's max value (#10513)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

成都安全教育平台?

下载软件后,安全教育平台是成都的,想问一下能不能换成承德的?联系QQ2458378521

An in-range update of electron-builder is breaking the build 🚨

Version 20.16.2 of electron-builder was just published.

Branch Build failing 🚨
Dependency [electron-builder](https://github.com/electron-userland/electron-builder)
Current Version 20.16.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

electron-builder is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch AppVeyor build succeeded Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of electron is breaking the build 🚨

Version 1.6.7 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.6.9
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details,- ❌ safetree@gucong Build failed on DaoCloud Details

Release Notes electron v1.6.7 beta

1.6.7 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of electron-builder is breaking the build 🚨

Version 19.56.0 of electron-builder was just published.

Branch Build failing 🚨
Dependency electron-builder
Current Version 19.56.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

electron-builder is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch AppVeyor build succeeded Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

Version 3.19.0 of eslint just got published.

Branch Build failing 🚨
Dependency eslint
Current Version 3.18.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Release Notes v3.19.0
  • e09132f Fix: no-extra-parens false positive with exports and object literals (#8359) (Teddy Katz)
  • 91baed4 Update: allow custom messages in no-restricted-syntax (fixes #8298) (#8357) (Vitor Balocco)
  • 35c93e6 Fix: prevent space-before-function-paren from checking type annotations (#8349) (Teddy Katz)
  • 3342e9f Fix: don't modify operator precedence in operator-assignment autofixer (#8358) (Teddy Katz)
  • f88375f Docs: clarify that no-unsafe-negation is in eslint:recommended (#8371) (Teddy Katz)
  • 02f0d27 Docs: Add soda0289 to Development Team (#8367) (Kai Cataldo)
  • 155424c Fix: ignore empty path in patterns (fixes #8362) (#8364) (alberto)
  • 27616a8 Fix: prefer-const false positive with object spread (fixes #8187) (#8297) (Vitor Balocco)
  • 8569a90 Docs: add note about git's linebreak handling to linebreak-style docs (#8361) (Teddy Katz)
  • 5878593 Chore: fix invalid syntax in no-param-reassign test (#8360) (Teddy Katz)
  • 1b1046b Fix: don't classify plugins that throw errors as "missing" (fixes #6874) (#8323) (Teddy Katz)
  • 29f4ba5 Fix: no-useless-computed-key invalid autofix for getters and setters (#8335) (Teddy Katz)
  • 0541eaf Fix: no-implicit-coercion invalid autofix with consecutive identifiers (#8340) (Teddy Katz)
  • 41b9786 Fix: no-extra-parens false positive with objects following arrows (#8339) (Teddy Katz)
  • 3146167 Fix: eslint.verify should not mutate config argument (fixes #8329) (#8334) (alberto)
  • 927de90 Fix: dot-notation autofix produces invalid syntax for integer properties (#8332) (Teddy Katz)
  • a9d1bea Fix: comma-style autofix produces errors on parenthesized elements (#8331) (Teddy Katz)
  • d52173f Fix: don't generate invalid options in config-rule (#8326) (Teddy Katz)
  • 6eda3b5 Fix: no-extra-parens invalid autofix in for-of statements (#8337) (Teddy Katz)
  • 6c819d8 Fix: dot-notation autofix produces errors on parenthesized computed keys (#8330) (Teddy Katz)
  • 2d883d7 Fix: object-shorthand autofix produces errors on parenthesized functions (#8328) (Teddy Katz)
  • cd9b774 Fix: quotes false positive with backtick option in method names (#8327) (Teddy Katz)
  • d064ba2 Fix: no-else-return false positive for ifs in single-statement position (#8338) (Teddy Katz)
  • 6a718ba Chore: enable max-statements-per-line on ESLint codebase (#8321) (Teddy Katz)
  • 614b62e Chore: update sinon calls to deprecated API. (#8310) (alberto)
  • 0491572 Chore: use precalculated counts in codeframe formatter (#8296) (Vitor Balocco)
  • 8733e6a Chore: Fix incorrect error location properties in tests (#8307) (alberto)
  • c4ffb49 Chore: Fix typos in test option assertions (#8305) (Teddy Katz)
  • 79a97cb Upgrade: devDependencies (#8303) (alberto)
  • e4da200 Upgrade: Mocha to 3.2.0 (#8299) (Ilya Volodin)
  • 2f144ca Fix: operator-assignment autofix errors with parentheses (fixes #8293) (#8294) (Teddy Katz)
  • 7521cd5 Chore: update token logic in rules to use ast-utils (#8288) (Teddy Katz)
  • 9b509ce Chore: refactor space-before-function-paren rule (#8284) (Teddy Katz)
  • ddc6350 Fix: no-param-reassign false positive on destructuring (fixes #8279) (#8281) (Teddy Katz)
  • f8176b3 Chore: improve test coverage for node-event-generator (#8287) (Teddy Katz)
  • 602e9c2 Docs: fix incorrect selector examples (#8278) (Teddy Katz)
Commits

The new version differs by 38 commits .

  • 421aab4 3.19.0
  • 26a4dd5 Build: changelog update for 3.19.0
  • e09132f Fix: no-extra-parens false positive with exports and object literals (#8359)
  • 91baed4 Update: allow custom messages in no-restricted-syntax (fixes #8298) (#8357)
  • 35c93e6 Fix: prevent space-before-function-paren from checking type annotations (#8349)
  • 3342e9f Fix: don't modify operator precedence in operator-assignment autofixer (#8358)
  • f88375f Docs: clarify that no-unsafe-negation is in eslint:recommended (#8371)
  • 02f0d27 Docs: Add soda0289 to Development Team (#8367)
  • 155424c Fix: ignore empty path in patterns (fixes #8362) (#8364)
  • 27616a8 Fix: prefer-const false positive with object spread (fixes #8187) (#8297)
  • 8569a90 Docs: add note about git's linebreak handling to linebreak-style docs (#8361)
  • 5878593 Chore: fix invalid syntax in no-param-reassign test (#8360)
  • 1b1046b Fix: don't classify plugins that throw errors as "missing" (fixes #6874) (#8323)
  • 29f4ba5 Fix: no-useless-computed-key invalid autofix for getters and setters (#8335)
  • 0541eaf Fix: no-implicit-coercion invalid autofix with consecutive identifiers (#8340)

There are 38 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

Version 4.7.2 of eslint just got published.

Branch Build failing 🚨
Dependency eslint
Current Version 4.7.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • safetree@gucong Build met error on DaoCloud Details

Release Notes v4.7.2
Commits

The new version differs by 3 commits.

  • e164397 4.7.2
  • b7818ba Build: changelog update for 4.7.2
  • 4f87732 Fix: Revert setting node.parent early (fixes #9331) (#9336)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of electron is breaking the build 🚨

Version 1.6.5 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.6.6
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As electron is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details

  • safetree@gucong Build met error on DaoCloud Details

Release Notes electron v1.6.5 beta

1.6.5 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of eslint is breaking the build 🚨

Version 4.12.1 of eslint was just published.

Branch Build failing 🚨
Dependency eslint
Current Version 4.12.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build passed Details
  • safetree@gucong DaoCloud builds completed Details
  • continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error Details

Release Notes v4.12.1
Commits

The new version differs by 3 commits.

  • 58216b6 4.12.1
  • fc9d27b Build: changelog update for 4.12.1
  • 1e362a0 Revert "Fix: Use XML 1.1 on XML formatters (fixes #9607) (#9608)" (#9667)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

2019年暑假专题跳过模块二

2019年暑假作业,模块一完成后
会直接跳过模块二

在模块二中 需要在页面中点击“开始答题”
才能开始答题

An in-range update of electron is breaking the build 🚨

The dependency electron was updated from 3.0.10 to 3.0.11.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

electron is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • continuous-integration/appveyor/branch: AppVeyor build failed (Details).

Release Notes for electron v3.0.11

Bug Fixes/Changes

  • fix: no longer require submenu for services menuitem. #15672

  • fix: ensure that file descriptors 0/1/2 are opened at startup (backport: 3-0-x). #15781

  • chore: bump libcc (3-0-x). #15850

  • ci: clean git before building. #15889

  • fix: schedule a paint after browserview's background is set. #15798

  • chore: expose release id for use in cleanup (#15845). #15949

  • fix: incorrect view ordering for customButtonsOnHover (#15564). #16002

  • fix: do not print an error for an expected condition (#15991). #15999

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of electron-builder is breaking the build 🚨

There have been updates to the electron-builder monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the electron-builder group definition.

electron-builder is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch: AppVeyor build succeeded (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for 22.2.0

Bug Fixes

  • dmg: correctly encode Unicode characters in DMG licenses (#4428) (ba92854)
  • Update deprecated CircleCI env var (#4451) (e182787)

Features

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.