Commit graph

63 commits

Author SHA1 Message Date
Isiah Meadows
bd66955f1e Unbreak tests 2020-10-14 03:28:45 -07:00
Isiah Meadows
9f0dc2ab46
Runtime-deprecate ospec, change change-log to changelog, fix a few assorted bugs (#2578) 2020-09-29 13:27:07 -07:00
dependabot[bot]
0c16242f18
Bump acorn from 7.1.0 to 7.4.0 (#2630)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.4.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:53 -07:00
dependabot[bot]
ebd3cc180b
Bump handlebars from 4.4.2 to 4.7.6 (#2629)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.2 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.2...v4.7.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:45 -07:00
dependabot[bot]
46a518dcd0
Bump lodash from 4.17.15 to 4.17.20 (#2628)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:36 -07:00
dependabot[bot]
0fd8e230c3
Bump minimist from 1.2.0 to 1.2.3 (#2627)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 20:13:21 -07:00
Pierre-Yves Gérardy
4a3a486d80
Pimp the docs linter (and assorted changes) (#2553)
### Pimp the docs linter (and assorted changes)

 #### `scripts/lint-docs.js`

- Add an optional cache for faster runs
- Add a final report
- Don't return anything from `exec()`
- Cover more files

 #### `scripts/_command.js`

- Look for a "--cache" option

 #### `package.json` scripts

- Added `watch:lint-docs`
- Added `cleanup:lint` to remove the eslint and lint-docs cache files
- Changed `lint:docs` to use the `--cache` option
- Added `test:js` so that we can run the test suite without the linter
- Changed `test` to defer to `test:js`

 #### Actual lint fixes:

- Bad link in a migration guide
- The unicode dashes in the "https://en.wikipedia.org/wiki/Subject–verb–object" are not escaped by marked

### Some more lint-docs pimping

#### `scripts/lint-docs.js`

- some code reorg and cleanup (take a hint from the local coding conventions)
- fix misc bugs
- pass a User-Agent header to the requests
- even nicer reporting

#### `package.json`

- bump the @babel/parser dep to the latest

#### Docs

- tweaks based on lints missed due to previous bugs

### Docs: use the github page for velocity.js, the home page has too many errors.

Co-Authored-By: Isiah Meadows <contact@isiahmeadows.com>
2019-12-19 23:40:52 +01:00
Isiah Meadows
d4551f49f5
Add streams to releases again, include minified bundle, drop in… (#2539)
* Minify stream, add stream stuff to releases again

* Kill off a lot of tech debt, drop internal utilities from npm

1. Kill `module/`, internalize `bundler/`, privatize `test-utils/`

We've been telling people to move elsewhere from these for a while, and
it's about time we just pull the plug here and finally remove them.

- We officially removed the bundler from the public API in v2.0, and
  that was the only one of these that was ever publicly documented.
  Usage should be low enough by now it shouldn't break anyone- I'm not
  seeing bundler bugs being reported anymore, either.
- The `module/` utility was so narrow and caveat-filled that I'm not
  sure anyone really used it (even us core Mithril devs never really
  used it), and we only had it documented in the repo folder it lived
  in. I think only one bug was ever filed, and it's because it somehow
  ended up completely non-functional without any of us realizing it.
- The test utilities were meant to be internal from day 1, but people
  started using it despite us core developers constantly telling people
  to look elsewhere and even the docs recommending specific alternatives
  without mention of our internal mocks. (Now if people would RTFM,
  that'd be nice...)

2. Add dedicated HTML test files to verify ospec and the promise
   polyfill, and ensure the promise tests are in pure ES5.

These are made specially for those and should be much easier to just run
now.

3. Fix the benchmark script to use the real DOM in browsers and to not
   require as many dependencies to create. Also, tweak them to be much
   more effective and precise on what's being tested.

Previously, it was rendering to the HTML file itself, while now it's
rendering to the `body`. This means in browsers, it's triggering layout
and everything, benchmarking how well Mithril optimizes for style and
layout recalcs, too. It also puts some pressure on the hyperscript
parser attribute application, so that can be noticed as well.

* Update dependencies
2019-10-03 04:58:14 -04:00
Isiah Meadows
9a76b53baa Resolve a vulnerability alert [skip ci]
Skipping CI because it works locally and shouldn't have any impact on
tests.
2019-09-23 19:15:23 -04:00
Isiah Meadows
9b1155c4aa Fix a docs generation bug [skip ci] 2019-08-18 14:53:53 -04:00
Isiah Meadows
caef6a8f09 v2.0.4 2019-08-18 14:21:31 -04:00
Isiah Meadows
22e6d37a26 Refactor the scripts to work as advertised
- Correct docs generation to always fetch its dependency
- Don't try to close a handle that's already been closed by other methods
- Allow the release script to actually be testable.
2019-08-17 21:58:57 -04:00
Isiah Meadows
0d10dc2c89 v2.0.3 2019-07-27 20:57:02 -04:00
Isiah Meadows
9d3ce5fa6d v2.0.2 2019-07-27 20:29:19 -04:00
Isiah Meadows
48e7fd1711
Refactor scripts (#2465)
* Refactor all kinds of scripts

* Update docs to ensure linter passes
2019-07-27 15:12:49 -04:00
Isiah Meadows
516a3a6df6 v2.0.1 2019-07-24 05:24:31 -04:00
Isiah Meadows
1776366cf4 v2.0.0 2019-07-24 05:03:21 -04:00
Isiah Meadows
ae6b547673 v2.0.0-rc.9 2019-07-16 21:59:00 -04:00
Isiah Meadows
3f754dffaa v2.0.0-rc.8 2019-07-12 15:43:57 -04:00
Isiah Meadows
e6ab2ef982 Fix lint issues, run npm audit fix 2019-07-12 15:40:07 -04:00
dependabot[bot]
ace4e77ace Bump lodash from 4.17.11 to 4.17.14 (#2468)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-07-12 06:47:29 -04:00
Isiah Meadows
fecd262d0b v2.0.0-rc.7 2019-07-06 03:54:57 -04:00
Isiah Meadows
366f63391e Update package-lock.json 2019-07-06 03:54:38 -04:00
Isiah Meadows
e82f6d00c2 v2.0.0-rc.6 2019-05-31 12:14:27 -04:00
Isiah Meadows
f1d001cfcd v2.0.0-rc.5 2019-05-29 10:23:40 -04:00
Isiah Meadows
7fb47852c0 Run npm audit fix and prune 2019-05-29 10:23:18 -04:00
Isiah
44fac6c4ca Bundled output for commit 0707de5867 [skip ci] 2019-03-09 07:06:45 +00:00
Isiah Meadows
0707de5867
Swap out keys so they use mine (#2393) 2019-03-09 02:04:30 -05:00
Gandalf-the-Bot
a154ace889 Bundled output for commit b0e4f4f2f8 [skip ci] 2019-03-02 07:38:55 +00:00
Isiah Meadows
b0e4f4f2f8 Run npm audit fix 2019-03-02 02:37:08 -05:00
Gandalf-the-Bot
9550730e99 Bundled output for commit ddec23efe7 [skip ci] 2019-02-18 19:24:58 +00:00
Gandalf-the-Bot
194b767584 Bundled output for commit 99a61a09dc [skip ci] 2019-02-05 18:24:14 +00:00
Isiah Meadows
99a61a09dc
Update a few dependencies, update ospec to version 3.1.0 (#2370) 2019-02-05 13:20:55 -05:00
Isiah Meadows
c803918f00 v2.0.0-rc.4 2019-02-05 11:29:45 -05:00
Gandalf-the-Bot
3ecee10053 Bundled output for commit f09c84c369 [skip ci] 2018-12-06 05:38:48 +00:00
Isiah Meadows
f09c84c369 v2.0.0-rc.3 2018-12-06 00:36:12 -05:00
Isiah Meadows
8dbf63883b Update package-lock.json 2018-12-06 00:35:41 -05:00
Isiah Meadows
e31c06be3e v2.0.0-rc.2 2018-12-06 00:23:58 -05:00
Gandalf-the-Bot
86c16820f7 Bundled output for commit 7c5024f921 [skip ci] 2018-11-30 08:13:28 +00:00
Isiah Meadows
7c5024f921
Fix some linter issues, update ESLint (#2318)
* Fix linter issues, run `npm audit fix`

* Update ESLint to not be so ancient.
2018-11-30 03:11:07 -05:00
Isiah Meadows
c33621cd52
Simplify bundler a little (#2290)
- Remove a useless abstraction
- Remove a useless write + read
- Only read when generating the bundle
- Use one watcher instead of two
- Use Chokidar to simplify and make for a better experience
2018-11-27 18:02:35 -05:00
Isiah Meadows
232ff597a6
Switch to Terser (#2289)
1. It's actually supported
2. It's less buggy

https://twitter.com/dan_abramov/status/1060216917493981184
2018-11-09 13:55:25 -05:00
Gandalf-the-Bot
19ac08c7bc Bundled output for commit d6489e3b3f [skip ci] 2018-11-07 23:44:25 +00:00
Pierre-Yves Gérardy
d6489e3b3f Merge #2075 into next (#2175)
* fix: Access document.activeElement through a function that eats errors for IE (#2075)

* test: inline iframe.js so ospec doesn't try to run it
2018-11-07 18:42:50 -05:00
Isiah Meadows
1f18506de6 v2.0.0-rc.1 2018-11-07 12:37:22 -05:00
Scotty Simpson
843d7ad454 Abandon Closure Compiler in favor of UglifyES (#2285)
Moved to UglifyES, ditched async cruft, clarified responsibilities between cli & minify.

Makes for faster, more reliable, synchronous, non-Google-reliant minification.
2018-11-06 15:48:48 -05:00
Isiah Meadows
3e494583c6 v2.0.0-rc.0 2018-10-25 14:54:22 -04:00
Isiah Meadows
97b6125654 Fixing bugs introduced by the big next merge
- Update package-lock.json
- Remove (failing) dupe ospec suite

Git didn't *quite* do the right thing here, so I had to fix a few
things.
2018-10-25 14:35:05 -04:00
Gandalf-the-Bot
315b9f13fa Bundled output for commit 0484758837 [skip ci] 2018-05-29 20:44:39 +00:00
Pierre-Yves Gérardy
4922912bbb [chore] remove Danger for now 2018-05-16 01:09:49 +02:00