зеркало из
1
0
Форкнуть 0
Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
Frederik 0b5680023c Try checking AssignmentExpression, not :exit. 2017-03-17 14:30:15 +01:00
Frederik c72d1bf94b Fix #18: remove whitelisting through comments (#20) 2017-03-17 14:24:20 +01:00
Frederik Braun b073e18b70 releasing version 1.0.16 2017-03-06 10:03:14 +01:00
Christopher Grebs 0f2a40a75c Allow linting of function invalid / unexpected arguments. (#16) 2017-03-06 10:01:15 +01:00
Frederik Braun 04221cd49e update package.json 2017-02-07 09:02:19 +01:00
Greenkeeper 86c6d45289 chore(package): update eslint to version 3.7.1 (#15)
https:.io/
2016-10-04 11:09:07 +02:00
Greenkeeper 64db99656a Update all dependencies 🌴 (#11)
* chore(package): update dependencies

https://greenkeeper.io/

* update tests for eslint 3.6.x
2016-10-04 10:53:26 +02:00
Frederik 3a0ff0635a Prepare 1.0.15 (#12)
* add support for arrowfunctions, add test case for #7
* insert a TODO, bump version
* run tests on different versions, enable greenkeeper
* remove super-old nodejs version
2016-09-30 13:22:50 +02:00
LockeLamora 5aebdb0b96 support for arrow funcion expressions as caller/sanitizers (fixes #7)
* check that expression.callee.property exists
* when defining funcName, check that either one of its possible values exist first. left out that it was an OR condition. also check that funcName is valid afterwards
2016-09-30 13:01:29 +02:00
Frederik Braun cf8039a19a jsdoc for allowedExpression 2015-11-06 15:52:01 +01:00
Frederik Braun 13a36c50fe create .eslintrc, re-indent and fix some other minor issues 2015-11-05 12:30:07 +01:00
Frederik Braun a8a91093d0 merge conflict 2015-11-05 12:01:01 +01:00
Frederik Braun dc5be3c59d add note to NOTES 2015-11-05 11:59:36 +01:00
Frederik Braun ce0b7b55c3 stable enough to call this a 1.0 kind of software 2015-11-05 11:58:25 +01:00
Frederik Braun b8ccf82f9c stable enough to call this a 1.0 kind of software 2015-11-05 11:57:50 +01:00
Frederik 54abdfe316 travis ci image in readme 2015-11-05 11:41:48 +01:00
Frederik Braun 349053c19c Allow expressions within template strings, as long as they are allowed on their own (literals, etc.). Adding bailout in allowedExpression when used improperly. This has bitten mee way too often 2015-11-05 11:39:45 +01:00
Frederik Braun 215ba0ad3b Bump to 0.1.13 2015-10-30 14:07:55 +01:00
Frederik Braun 3beea71b34 Allowing spread syntax, additional test for unwrapping spread 2015-09-21 12:03:17 +02:00
Frederik Braun 8e29bae5ee lint rule was slightly borked 2015-09-14 11:49:39 +02:00
Frederik 60853f37ce Merge pull request #6 from mozfreddyb/travis-updates
Travis updates
2015-09-10 13:33:15 +02:00
Frederik Braun 8754950a6d travis also lint pls 2015-09-10 12:55:44 +02:00
Frederik Braun 75c695b558 make ourselves eslint-testable 2015-09-10 12:46:42 +02:00
Frederik Braun a14599cb3c bump to 0.1.11 2015-09-10 10:01:32 +02:00
Frederik Braun a8f9e0e2b3 addressing unsafe uses of the sanitizer, bug 1192595 2015-09-10 10:01:15 +02:00
Frederik 2dfe4eb430 Merge pull request #5 from mozfreddyb/bug-1198200
Bug 1198200: eslint gives up on some simple innerHTML assignments
2015-09-09 11:29:56 +02:00
Frederik Braun c1315eb25b Bug 1198200: eslint gives up on some simple innerHTML assignments 2015-09-09 11:25:11 +02:00
Frederik Braun 9e5f487971 bump version 2015-09-09 10:44:52 +02:00
Frederik Braun 11da08e579 bump version 2015-09-09 10:44:10 +02:00
Frederik 0c172c9654 Merge pull request #4 from mozfreddyb/document.write
disallow document.write and document.writeln (fixes #2)
2015-09-08 12:44:09 +02:00
Frederik Braun 3fbbdd72c6 disallow document.write and document.writeln (fixes #2) 2015-09-08 12:38:16 +02:00
Frederik 2e3c48638a Merge pull request #3 from mozfreddyb/allow-binary-expressions
try allowing binary expressions (being careful about recent changes to upstream eslint)
2015-09-08 12:26:51 +02:00
Frederik Braun e694feac4a update to eslint 1.1.0 compatibility 2015-09-08 12:26:05 +02:00
Frederik Braun f2fdbd1a10 try allowing binary expressions (being careful about recent changes to upstream eslint) 2015-09-08 12:19:23 +02:00
Frederik Braun ec1e2122fc improve dependency tracking from '^' to '>' 2015-07-03 10:46:26 +02:00
Frederik Braun e21287c386 immediately releasing 0.1.6, to fix a bug that ignored outerHTML 2015-06-30 15:04:18 +02:00
Frederik Braun ab77e646a6 version 0.1.5 2015-06-09 14:58:31 +02:00
Frederik 62f470fa30 Merge pull request #1 from KevinGrandon/bug_1172446_tagged_library_rename
Rename Tagged library to Sanitizer
2015-06-09 08:42:13 +02:00
Kevin Grandon 8f8432ce6d Rename Tagged library to Sanitizer 2015-06-08 21:20:57 -07:00
Frederik Braun 6b5fb215dc travis ci 2015-06-05 15:14:04 +02:00
Frederik Braun 992ac2e30a making 0.1.4 2015-06-05 12:01:42 +02:00
Frederik Braun b12c5317e6 adding call to unwrapper to allowed right-hand side 2015-06-05 12:00:59 +02:00
Frederik Braun 623a9c19fb bump 2015-05-27 13:16:58 +02:00
Frederik Braun 03bdceecd4 bump for real -.- 2015-05-13 12:02:01 +02:00
Frederik Braun 9a5b346375 bump version 2015-05-13 11:53:39 +02:00
Frederik Braun 5c40b54711 eslint version 2015-05-13 11:52:58 +02:00
Frederik Braun d08c6f4bd1 package.json version number 2015-05-13 11:19:13 +02:00
Frederik Braun 818f5d504d fix urls 2015-05-13 11:16:49 +02:00
Frederik Braun ed03d4b0c3 fixing package.json 2015-05-13 11:14:50 +02:00
Frederik Braun e506a06035 first commit 2015-05-13 11:13:15 +02:00