124 Commits

Author SHA1 Message Date
Mikhail
817c39a130 Update flatten helper without recursion (#5454) 2023-09-19 08:59:28 -07:00
Mikhail
0f02c50834 Optimize split in checkShebangLine (#5452)
* Optimize split in checkShebangLine

* Update build

* Update build
2023-09-07 22:49:34 -07:00
Erik Demaine
8984dd3eaf Fix line-height change from hover (#5449)
* Fix line-height change from hover

Partial solution to #5448.  Fixes changing `line-height`
but there are still tiny discrepancies in overall size.

* Rebuild for 2023
2023-05-11 10:11:31 -07:00
Daniel X Moore
98a23315d7 Simplified number regexes (#5430) 2022-10-25 09:23:39 -07:00
Daniel X Moore
5748210ea8 Support 1_000.toString(); fixes #5427 (#5429)
Support calling methods on numbers with separators.
2022-10-14 10:06:28 -07:00
Geoffrey Booth
1dfa23b049 Fix #5421, docs code snippets not running (#5422) 2022-08-02 09:23:31 -07:00
Robert de Forest
ae946308d7 Issue 5164: Allow capital E in scientific notation (#5242)
* Remove prohibition of capital E exponent signifier

* Remove exponent error format test

* Add test for lowercase 'e' in exponent notation

* Update output

Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com>
2022-04-25 23:41:09 -07:00
Daniel X Moore
d3f06e3b43 Fixes #5410 (#5413) 2022-04-25 20:54:06 -07:00
Geoffrey Booth
feaea21c47 Update dependencies (#5416)
* Update dependencies

* Test in Node 18

* Install dependencies as part of release

* Update output

* Give the browser tests three attempts
2022-04-25 20:09:26 -07:00
Geoffrey Booth
519248fc7d 2.7.0 (#5412) 2022-04-23 19:19:19 -07:00
Geoffrey Booth
6b4f166eb9 Add patchStackTrace export; test that all named exports are detected by Node (#5411) 2022-04-19 09:58:30 -07:00
Geoffrey Booth
4f365524d7 Update output 2022-04-19 09:03:13 -07:00
Daniel X Moore
8d32c713c5 Don’t patch Error.prepareStackTrace if --enable-source-maps is used. (#5403)
Co-authored-by: Geoffrey Booth <456802+GeoffreyBooth@users.noreply.github.com>
2022-04-18 20:10:55 -07:00
Geoffrey Booth
d535a78e32 Update dependencies (#5405) 2022-04-02 20:00:56 -07:00
Daniel X Moore
3ad26de8f0 Fix CI for Node 16.14.x (#5404)
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com>
2022-04-02 16:53:05 -07:00
Erik Demaine
3d39d205d8 Fix continuing first line of explicit [/{ literal (#5397) 2022-01-26 09:29:01 -08:00
Geoffrey Booth
f557c0579b Import assertions (#5391) 2022-01-20 11:40:13 -08:00
Daniel Bayley
726c0858e4 Add Integrations section to docs (#5334)
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com>
2021-11-29 11:04:47 -08:00
Julian Rosse
887a6174e9 Handle triple-quoted JSX attribute values (#5353)
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com>
2021-11-26 20:26:02 -08:00
Geoffrey Booth
ed6733d177 2.6.1 (#5381) 2021-10-04 20:50:11 -07:00
Geoffrey Booth
d572d744eb Fix #5378, stack overflow on large files (#5380) 2021-10-02 16:24:32 -07:00
Geoffrey Booth
f9c3316aa5 2.6.0 (#5374) 2021-09-19 14:15:00 -07:00
Erik Demaine
c4f1fe7132 Support top-level await (#5371)
* Support top-level await

* Remove code duplication

* Avoid use of trimEnd so tests pass in old Node

* Proposed rewrite of tests

* startsWith tests; revert eqJS

* build:browser
2021-09-15 10:40:18 -07:00
Erik Demaine
b0946c3c60 Fix documentation links to try/catch section (#5349)
* Fix documentation links to try/catch section

Consistently use `#try-catch` for the section (and `#try` for the demo)

* Fix documentation source
2021-09-15 10:39:38 -07:00
Geoffrey Booth
b90bc2459a Add Node 16 to CI (#5372) 2021-09-14 21:39:11 -07:00
Geoffrey Booth
389ce89555 Run browser tests in headless Chrome; replace Travis and AppVeyor with GitHub Actions (#5298) 2020-05-25 21:03:49 -07:00
Geoffrey Booth
26a7ba1659 2.5.1 (#5297)
* Bump version to 2.5.1

* Changelog for 2.5.1

* Update output for 2.5.1
2020-01-30 22:38:10 -08:00
Daniel Bayley
bb8df1e052 Fix typos (#5287) 2020-01-16 09:54:12 -08:00
Geoffrey Booth
61d408f093 2.5.0 (#5284)
* 2.5.0 changelog

* Update dependencies

* Colors are expected to be globals by the new AST test helpers

* Disable testing of deepStrictIncludeExpectedProperties in browsers for now

* Update output of compiler only

* Update browser compiler output

* Update docs output

* Document ast option

* Update output

* Fix and reenable deepStrict test for browser test suite

* Update output
2019-12-31 22:19:32 -08:00
Geoffrey Booth
92f69b2bca Release 2.4.1 (#5195)
* Fix #5133: Document that braces are required for object shorthand.

* Changelog for 2.4.1

* Update output
2019-04-07 20:41:37 -07:00
Geoffrey Booth
742224471f Actually publish the browser compilers to NPM (#5186)
* Actually publish the browser compilers to NPM

* Transpile and minify modern browser compiler; add to lib/ folder; update docs
2019-04-07 16:09:44 -07:00
Geoffrey Booth
c09d8fbedb Release 2.4.0 (#5182)
* cake doc:site:watch should also watch the changelog files

* Changelog for 2.4.0

* 2.4.0 output
2019-03-30 11:31:22 -07:00
Geoffrey Booth
f6d63776c3 ES module version of compiler for use in browsers; dynamic import() docs; revised Stage 3 policy (#5177)
* Build both a legacy and modern browser compiler

* Dynamic import example and documentation

* Update the docs to use the modern browser compiler if the browser supports it

* Update policy regarding Stage 3 features

* This never made sense, and assigning a string to index 0 *of a string* throws in Module mode (and silently does nothing in Script mode) so remove this unneeded code that throws when compiling `fn for i from from iterable` in Module mode

* Have browser-based tests use the ES module version if supported

* Simplify building logic

* Update output

* For the ES module version of the browser compiler, don't automatically attach the runScripts event handler

* Consistent comments

* Fix comment
2019-03-26 23:55:31 -07:00
Ruben Bridgewater
41b31c7293 Fix repl.rli deprecation (#5178)
The `rli` property is just a reference to itself. It still exists
for legacy reasons but it will likely be removed in a future major
version. This makes sure everything works as expected.
2019-03-24 19:12:32 -07:00
Geoffrey Booth
6e86b67818 Release 2.3.2 (#5110)
* Bump version to 2.3.2

* 2.3.2 changelog

* Update output for 2.3.2
2018-09-19 23:53:49 -07:00
Geoffrey Booth
c4245e50c2 Babel 7 (#5105)
* Port to Babel 7

Use the Babel 7 @babel/core transpiler, falling back to the older babel-core version if possible.

* Use Babel 7 and preset-env 7 to build the browser compiler and test Babel transpilation

* Update docs for Babel 7
2018-09-09 13:41:49 -07:00
Geoffrey Booth
98b2a69416 Update dependencies; disable some babel-minify transforms to work around https://github.com/babel/minify/issues/893 (#5095) 2018-08-14 08:47:38 -07:00
Geoffrey Booth
7f8b36a8bd Revert "fix momentum scrolling on iOS (#5083)" (#5084)
This reverts commit 812571843c.
2018-06-16 15:35:34 -07:00
Paul Nta
812571843c fix momentum scrolling on iOS (#5083) 2018-06-16 15:32:16 -07:00
Geoffrey Booth
be702d67f3 2.3.1 (#5069)
* Update links to use https://coffeescript.org

* 2.3.1 changelog

* Bump version to 2.3.1; update output

* Forgot one

* Another one

* Lock Babel versions for Node 6 build to succeed, until Babel 7 is out
2018-05-21 22:14:34 -07:00
Geoffrey Booth
68302e6da7 Docs headings and changelog refactor (#5067)
* Changelog sub-sections should use h3, not h2; no need for hack anchor tag anymore

* Internationalize dates to user’s locale

* Consistent names

* Split up the changelog into separate files per version; make HTML markup consistent with the other sections in the docs

* Fix sidebar links for introduction and overview
2018-05-20 09:39:53 -07:00
Jeremy Ashkenas
7beb631694 Create CNAME 2018-05-03 15:51:03 -07:00
Jeremy Ashkenas
c2792e4840 Delete CNAME 2018-05-03 15:50:54 -07:00
Geoffrey Booth
d82272b6c2 Fix #1832: Browser compiler should run code using globally-scoped eval (#5047)
* Explicitly turn off minify mangling, because it was previously implicitly disabled by the existence of the `eval` call we’re about to remove

* Update babel-core

* Run browser-compiled scripts using window.eval rather than just eval, to use a clean scope (many times faster)

* Update output

* Fix browser-based test broken by #5028

* Update output
2018-05-01 08:11:40 -07:00
Geoffrey Booth
8061ecf0e2 2.3.0 (#5043)
* Move analytics initialization into docs.coffee

* Bump Bootstrap and CodeMirror versions

* Update output

* Merge CodeMirror styles

* Update CodeMirror styles

* Better flexbox layout for docs, including flex auto-sized sidebar and main column

* Minor styling fixes for Edge

* Fix scrollspy for new layout

* Update output

* Clicking on the CoffeeScript logo in the navbar should scroll to top; fix main column width on mobile

* Update output

* 2.3.0 changelog

* Update operators section for **

* Update docs for ES2018 object rest/spread

* Remove references to Node's experimental modules support

* Move the README coffee cup to the right side, so our name isn't cut off on the NPM page; update README and CONTRIBUTING text

* Update dependencies

* Add compatibility note for async generators

* Bump version to 2.3.0 and update output

* Have CI test in Node 10 instead of 9

* Somehow this gets generated slightly differently in Node 10

* Fix #4042: Update broken link
2018-04-28 18:57:15 -07:00
Geoffrey Booth
6df8f5ff17 Remove references to Node's experimental modules support 2018-04-27 10:27:20 -07:00
Geoffrey Booth
776e7e5328 Docs improvements (#5042)
* Move analytics initialization into docs.coffee

* Bump Bootstrap and CodeMirror versions

* Update output

* Merge CodeMirror styles

* Update CodeMirror styles

* Better flexbox layout for docs, including flex auto-sized sidebar and main column

* Minor styling fixes for Edge

* Fix scrollspy for new layout

* Update output

* Clicking on the CoffeeScript logo in the navbar should scroll to top; fix main column width on mobile

* Update output
2018-04-27 10:07:01 -07:00
Geoffrey Booth
e5aa758dda 2.2.4 (#5025)
* Update changelog for 2.2.4

* Bump version to 2.2.4; update output
2018-03-29 20:00:45 -07:00
Geoffrey Booth
820942c3d0 2.2.3 (#5010)
* Bump version to 2.2.3; update packages

* Update output

* Update changelog
2018-03-11 13:48:14 -07:00
Geoffrey Booth
63b8543d73 Update output 2018-02-25 01:09:52 -08:00