Commit graph

15 commits

Author SHA1 Message Date
Doug Aitken
754caeb4bb update package-lock hopefully? 2021-08-05 17:31:43 +01:00
dependabot[bot]
78f5a703e8
Bump lodash from 4.17.19 to 4.17.21 (#1177) 2021-05-06 21:35:18 +01:00
dependabot[bot]
fd47927a97
Bump y18n from 4.0.0 to 4.0.1 (#1165) 2021-04-02 17:12:18 +01:00
Aiden Threadgoode
9245328bca
Updating Upworthy and Intevity (twin technologies) (#973)
* adding content for company

* removing warning emoji from upworthy

* Twin Technologies is Now Intevity

* adding location

* renaming & updating info

* reorganizing

* Removing double h

* updating dependencies
2020-10-25 13:33:42 +00:00
dependabot[bot]
8dae54b732
Bump http-proxy from 1.17.0 to 1.18.1 (#793)
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 06:16:54 +01:00
dependabot[bot]
fa57e8b29a
Bump lodash from 4.17.15 to 4.17.19 (#780)
* Bump lodash from 4.17.15 to 4.17.19

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-19 21:30:09 +00:00
James Nylen
dac8b04fc8
Add full profile search (#763)
* Prevent duplicate company names

* Fix output indentation

* Search full profile content using lunr.js

* Remove extra stop words

This wasn't really working correctly - the stop word 'work' would leave
instances of 'working' and 'works' in the index for example.

* Change company name description from "Name" to "Company name"

* Pre-process query:

- Search for terms in AND mode, per
  https://lunrjs.com/guides/searching.html#term-presence
- Discard non-alphanumeric characters from the search
- Better handling of contractions and searching for stop words

* Display search query and results in the console

* Add special search token: _incomplete

* Add a link to search for incomplete profiles

* Revert "Add a link to search for incomplete profiles"

This reverts commit f6384c90cb.

* Add link to search documentation

* Improve search explanation appearance when it spans multiple lines

* Fix searching for contractions

Previously, searching for e.g. "don't" wasn't working correctly. After
trimming the contraction, "do" is a stop word, so it should be ignored.

* Improve "empty search" message

* Prefer matches other than "company name" in search excerpts

* Move inline scripts before external scripts

This probably doesn't matter right now due to the way the scripts are
currently structured, but it might matter one day and it's more logical
this way.

* Fix search engine index progress

* Improve script indentation

* I got 99 problems and they're all bots

* Update script exit code

When a Node.js error occurs the exit code is probably going to be 1, so
we should use a different code.

* Fix the tests

* Update documentation

This was wrong (out of date), but the correct version is obvious from
reading the code.

* Make download progress work in both Chrome and Firefox

See https://stackoverflow.com/a/32799706
2020-05-06 07:42:21 +01:00
James Nylen
88d2932e18
Update npm packages (#695) 2019-10-31 23:37:35 -04:00
dependabot[bot]
4e4089b839 Bump lodash from 4.17.11 to 4.17.14 (#586)
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>
2019-07-11 13:10:30 +01:00
dependabot[bot]
d690814fb7
Bump lodash from 4.17.10 to 4.17.11 (#580) 2019-06-11 15:30:22 +00:00
dependabot[bot]
040cf817f4 Bump ecstatic from 3.2.1 to 3.3.2 (#576)
Bumps [ecstatic](https://github.com/jfhbrook/node-ecstatic) from 3.2.1 to 3.3.2.
- [Release notes](https://github.com/jfhbrook/node-ecstatic/releases)
- [Changelog](https://github.com/jfhbrook/node-ecstatic/blob/3.3.2/CHANGELOG.md)
- [Commits](https://github.com/jfhbrook/node-ecstatic/compare/3.2.1...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-10 13:16:20 +01:00
James Nylen
4ee26500e3
Make the listing site work on Netlify (#460) 2018-08-11 20:41:11 -05:00
James Nylen
8942a91a85
Add automated tests for validation script (#438)
* Update node

* Add mocha and chai

* Fix npm audit issue

https://nodesecurity.io/advisories/577

* Skip some redundant errors

* Catch duplicate headings

* Update the wording of a few errors

* Detect when headings are wrapped inside another element

* Build and validate the content of each profile section

* Add tests for validation script

* Remove empty sections in existing profiles
2018-06-22 23:50:06 -05:00
James Nylen
5ba395bdc7 Upgrade marked to 0.3.12 (#387) 2018-01-11 20:53:40 +00:00
James Nylen
c7dfcb8ffd Add initial validation script (#375)
Let's do this
2017-12-17 14:31:37 +00:00