projectEndings / staticSearch

A codebase to support a pure JSON search engine requiring no backend for any XHTML5 document collection
https://endings.uvic.ca/staticSearch/docs/index.html
Mozilla Public License 2.0
46 stars 21 forks source link

`String.prototype.substr()` is deprecated: Fix in 1.4 branch #258

Closed martindholmes closed 1 year ago

martindholmes commented 1 year ago

I noticed we're using substr() instead of substring() in StaticSearch.js. This should be fixed quickly, in both dev and main. We should backport this fix to the 1.4 release too.

martindholmes commented 1 year ago

Fixed in commit #115f9da.

martindholmes commented 1 year ago

Reopened this on reflection because I believe we should also fix it in the 1.4 branch and do a bugfix release.

martindholmes commented 1 year ago

Fixed, and release 1.4.4 is now out.