Skip to content

Releases: Siorki/RegPack

Bugfix release for js1024.fun , 2022 edition

10 Jul 08:45
Compare
Choose a tag to compare

Fixed bugs

  • #59 : Negated char class : optimal range merge
  • #74 : Line break removed, leaving no separator between instructions
  • #79 : Discard C-style and xml-style comments
  • #86 : Shorten context properties using available variable names
  • #96 : Do not remove newlines or trailing blanks in template literals
  • #97 : setTransform turns into getTransform on Chrome

Bugfix version for js1k 2019

04 Feb 22:34
Compare
Choose a tag to compare

Fixed bugs

  • #87 : Crusher always ignores first character when searching for patterns
  • #88 : Unable to allocate a variable name for setInterval()
  • #89 : Empty mapping crashes thermal viewer
  • #94 : Cannot read property 'first' of undefined

Bugfix version

31 Oct 18:14
Compare
Choose a tag to compare

Fixed bugs

  • #76 : Reassign variable names : still considering (but not replacing) text in strings
  • #82 : Nested backticks in template literal causes string renaming module to miss occurrences
  • #83 : Don't use "" as a token if avoiding it makes the output smaller
  • #85 : Suboptimal packing due to incorrect assumed length of escape sequence

Bugfix version for js1k 2017

25 Feb 11:31
Compare
Choose a tag to compare

Fixed bugs

  • #65 : RegPacked code contains invalid escape sequences
  • #70 : Line endings in bin/regpack
  • #72 : Optimization for refactor setInterval() when no initialization code
  • #73 : Unpacked source has "in" strings in wrong places
  • #75 : Variables leak into global space, should be declared local

Release for js1k 2017 - Thermal view and ES6

01 Feb 21:45
Compare
Choose a tag to compare

New features :

  • #26 : Add a heatmap vizualisation
  • #33 : [Online demo] Sync the input textarea with the URL's hash
  • #44 : Support for arrow function when refactoring setInterval
  • #47 : Support escaped characters in character class
  • #48 : Crusher phase - list patterns that are "almost" gains
  • #54 : Opt-out flag for ES6 features
  • #55 : Harmonize strings delimiters inside the code, to free " or ' as compression token
  • #56 : Support for default parameters when refactoring setInterval()
  • #63 : ES6 : Support syntax canvas.getContext2d in module "hash context"

Fixed bugs

  • #50 : Crusher splits Unicode high/low surrogate pairs, producing incorrect strings
  • #52 : regPack.html - Base64 output fails for chars outside of the Latin1 range
  • #57 : $ in template literals
  • #58 : Hash context module uses digit as loop variable

Bugfix version for js1k 2016

27 Feb 19:56
Compare
Choose a tag to compare

Fixed bugs

  • #39 : Rename variable in unpacking loop and protect variables d and g by default
  • #40 : Fix use in Node and Better CLI support
  • #41 : Visualization misses patterns that end at the last character
  • #45 : Closing bracket ] not allowed in character class range definition

Initial release for js1k 2016

21 Dec 10:02
Compare
Choose a tag to compare

New features :

  • #16 : Add an option for base64 encoded output
  • #19 : Use setInterval() to evaluate the unpacked code
  • #21 : Hash not only canvas functions, but also canvas properties
  • #25 : Visualize the compressed patterns inside the source code
  • #28 : Support for preprocessing with Node.js