Skip to content

issues Search Results · repo:jsbin/loop-protect language:JavaScript

Filter by

10 results
 (80 ms)

10 results

injsbin/loop-protect (press backspace or delete to remove)

Could the latest version be published to npm? It would great if the changes in https://github.com/jsbin/loop-protect/pull/21 were available in a package.
  • ojeytonwilliams
  • Opened 
    on Nov 27, 2019
  • #24

@remy Is there any updated library that I am missing?
  • siddhant1
  • 1
  • Opened 
    on Mar 18, 2019
  • #23

It appears that receiving the second argument is broken with 7.0.0-rc3. const Babel = require( @babel/standalone ); const protect = require( loop-protect ); const userCode = while(true) { console.log( ...
  • sradu
  • 1
  • Opened 
    on Aug 25, 2018
  • #20

In some use cases, it might be handy to have loop-protect throw an error instead of cleanly exiting. If you have a coding app, for example, and you want to warn a user of their infinite loop, this feature ...
  • no-stack-dub-sack
  • 2
  • Opened 
    on Feb 8, 2018
  • #18

Hi, Thanks for the useful library! I have come across a case where infinite loops are not broken: for (var i = 0; i 10; i = i + 1) { for (var j = 0; j 10; i = i + 1) { } } I haven’t had ...
  • outoftime
  • Opened 
    on Mar 1, 2017
  • #16

reference: issue: FreeCodeCamp/FreeCodeCamp#5341 pull request: FreeCodeCamp/FreeCodeCamp#5726 This issue occurs in comments that are formatted as a single line like /* comment */ that also contains a ...
  • patsul12
  • Opened 
    on Jan 7, 2016
  • #10

The readme seems outdated since the actual call syntax is to call loopProtect.rewriteLoops instead of just loopProtect
  • matthiasg
  • 4
  • Opened 
    on Nov 10, 2015
  • #6

Hi Remy! Thanks for the sweet utility. I wanted to report an issue I came across today: while (1) { console.log( Hello ) } becomes: ;loopProtect.protect({ line: 1, reset: true }); while (1) {; if ...
  • jdan
  • 1
  • Opened 
    on Sep 1, 2014
  • #5

Have a look at this JS Bin: http://jsbin.com/milox/2/edit?js,console,output. It demonstrates the following bug: Start with this JS (the error shouldn t throw): if (false) for (var i = 1; i--;) { ...
bug
  • Daniel-Hug
  • 1
  • Opened 
    on May 22, 2014
  • #3

Currently loop-protect offers a heuristic-style protection pattern. Should we make it perfect through actual JavaScript parsing? References: - http://esprima.org/ - https://github.com/jsbin/jsbin/issues/1425 ...
  • nathanhammond
  • 4
  • Opened 
    on Apr 18, 2014
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub