Commit Graph

50 Commits

Author SHA1 Message Date
Abijeet
bc84f23fb0 Node: Update dependencies
* eslint-config-wikimedia: 0.27.0 --> 0.28.2
* mocha: 10.4.0 --> 10.6.0

Bug: https://phabricator.wikimedia.org/T369065
2024-07-11 10:26:59 -04:00
Abijeet
f311e83d9e Add release notes and update npm versions
Bug: https://phabricator.wikimedia.org/T360422
2024-04-15 17:12:15 +03:00
Abijeet
1ee116b1d8 Update npm dependencies, drop Node.js 14 support
* eslint 8.56.0 --> 8.57.0 (No longer supports Node.js 14)
* eslint-config-wikimedia 0.26.0 --> 0.27.0
* mocha 10.2.0 --> 10.4.0

Drop Node.js 14 support, and add support for Node.js 20.

Bug: https://phabricator.wikimedia.org/T360422
2024-04-12 21:13:13 +05:30
Abijeet Patro
2806ecdb86 Node: Update dependencies (#329)
Package                  Current  Wanted  Latest
eslint                    8.52.0  8.52.0  8.56.0
eslint-config-wikimedia   0.25.1  0.25.1  0.26.0

Bug: https://phabricator.wikimedia.org/T355106
2024-01-24 21:16:40 +05:30
Abijeet Patro
07053fa8c0 Add release notes and update npm versions (#330)
Bug: https://phabricator.wikimedia.org/T355106
2024-01-24 21:14:31 +05:30
Abijeet Patro
bbdf55c114 Add release notes and update npm versions (#320)
Bug: https://phabricator.wikimedia.org/T347849
2023-10-25 17:58:35 +05:30
Abijeet
10718b6a44 Node: Update eslint to 8.52.0 2023-10-25 11:13:48 +03:00
Amir E. Aharoni
91844c17e5 Remove assert from package.json (#309)
It appears to be included in Mocha.

Co-authored-by: Abijeet Patro <abijeetpatro@gmail.com>
2023-07-24 13:07:54 +05:30
Abijeet
02902425b8 Add release notes and update npm versions
Bug: https://phabricator.wikimedia.org/T340730
2023-07-17 13:07:41 +03:00
Abijeet
6cfc8f11ee Node: Update dependencies
Fixes some audit issues, some remain but that's OK since these are
just dev dependencies.

Remaining issue:

```
semver  7.0.0 - 7.5.1
Severity: moderate
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
fix available via `npm audit fix --force`
Will install eslint-config-wikimedia@0.17.0, which is a breaking change
```
Bug: https://phabricator.wikimedia.org/T340730
2023-07-17 12:59:13 +03:00
Abijeet
dc85045298 Update Changelog file and version in package.json
Bug: https://phabricator.wikimedia.org/T333823
2023-04-18 20:34:19 +03:00
Abijeet
75bd6a4d59 Node: Update dependencies
npm outdated

Package  Current  Wanted  Latest  Location             Depended by
eslint    8.32.0  8.32.0  8.38.0  node_modules/eslint  language-data

npm update output:

added 1 package, removed 3 packages, changed 23 packages, and audited
262 packages in 2s

Bug: https://phabricator.wikimedia.org/T333823
2023-04-18 14:46:47 +03:00
Abijeet
37e096a7ad Add MLEB release notes 2023.01
Bug: https://phabricator.wikimedia.org/T326539
2023-01-25 12:50:59 +05:30
Abijeet
3d68489a08 Update npm dependencies
npm outdated showed the following:

* eslint - 8.26.0 --> 8.32.0
* eslint-config-wikimedia - 0.23.0 --> 0.24.0
* mocha - 10.1.0 --> 10.2.0
2023-01-22 07:14:39 +05:30
Abijeet
1def6a83a9 Bump minimum supported Node.js version to 14.0.0
Latest version of ESLint no longer supports v12.0.0 that went EOL
in April, 2022

Add Node.js 18.0.0 to CI
2023-01-22 07:14:39 +05:30
Abijeet Patro
b2e4a3a4d6 Release notes for 1.1.1 (2022-10-27) (#257) 2022-10-27 21:29:21 +05:30
Abijeet Patro
d53c2429b5 Update NPM dependencies (#255)
Updated as per output of npm outdated. Also ran npm update
2022-10-27 21:27:02 +05:30
Abijeet
a029addbc1 Release notes for 1.1.0 (2022-07-07) 2022-07-08 21:02:54 +05:30
Abijeet
d078c170d8 Update NPM dependencies
Updated as per the output for npm outdated
2022-07-08 16:47:49 +05:30
Abijeet Patro
b1fd23de1e Release notes for 1.0.9 (2022-04-20) (#221) 2022-04-21 11:27:49 +05:30
Amir E. Aharoni
c8830f0657 Update npm packages using npm audit fix 2022-01-31 11:08:20 +02:00
Abijeet Patro
e63398559f Add release notes for 2022.01 (#198)
Update Node.js package version to 1.0.8 to be same as PHP library

Bug: T298891
2022-01-20 01:05:30 +05:30
Abijeet Patro
b25ce367fb Update npm modules and drop support for Node.js 10 (#196)
Following packages have been updated:

* eslint
* eslint-config-wikimedia
* mocha
2022-01-18 19:56:41 +05:30
Abijeet Patro
f86cab48f3 Add MLEB release notes 2021.10 (#182)
Changes from: https://github.com/wikimedia/language-data/compare/1.0.6...master
2021-10-25 15:48:39 +05:30
Abijeet
ba2be5c72b Security fix: Update ansi-regex for CVE-2021-3807 2021-10-25 08:29:30 +03:00
Santhosh Thottingal
3762fb7b94 Update CI and dependencies for latest node versions (#173)
* Update dependencies

* Test in latest node versions
2021-09-07 21:24:56 +05:30
Abijeet Patro
c338401525 Add release notes 2021.07 (#167)
Bug: T286476
2021-07-19 20:33:31 +05:30
Abijeet
f692c69a9f Update Node.js versions to 1.0.2 2021-04-01 11:28:45 +03:00
Abijeet
3a0ca41914 Update node package.json version 2021-01-28 10:40:22 +02:00
Abijeet Patro
6c6d02b153 Bump Node.js package version to 1.0.0 (#123)
Update the major version as we are dropping support for Node 8.x

Bug: T266462
2020-10-27 17:16:31 +05:30
Abijeet Patro
61d3d26e4c Bump eslint-config-wikimedia to 0.17.0 (#120)
Had to update eslint to ^7.9.0 since we are using new rules:
* no-loss-of-precision
* no-unreachable-loop

Bug: T266462
2020-10-27 17:09:39 +05:30
Abijeet Patro
3ef31ed26a Bump minimum Node.js version to 10.x (#122)
In a subsequent patch #120, we bump eslint-config-wikimedia to
0.17.0, which also requires bumping eslint to 7.9.0 which drops
support for Node.js 8.x

Bug: T266462
2020-10-27 17:03:00 +05:30
Santhosh Thottingal
e7be264b43 Version update: 0.2.2 (#117) 2020-07-28 10:55:19 +05:30
Abijeet Patro
6e978475da Add entrypoint in package.json
Fixes: #115
2020-07-28 10:08:08 +05:30
Abijeet
762dd9c5f0 Add Changelog for 2020-07 release
Also update npm package version to 0.2.1

Few tweaks to the CHANGELOG introduction section
2020-07-23 17:40:55 +03:00
Abijeet
a19900efef Unify package.json and composer.json, update version before release 2020-05-20 16:54:32 +03:00
Abijeet
936c0e8ee2 Add Abijeet as a contributor in package.json and composer.json 2020-05-19 11:08:50 +03:00
Abijeet
8b0ca32167 Move documentation to Read the Docs
Read the docs is used to host the documentation.
https://language-data.readthedocs.io/en/latest/

The following documentation has been moved,

* Introduction
* Using the PHP / Node.js libraries
* Adding new languages
* PHP API documentation

Updated the README.md to point to the new documentation.

Doxygen is used to pull out the PHPDoc comments into XML.
This is parsed via doxyphp2sphinx into Sphinx which is
then used by Read the docs to generate the documentation.

Read the docs has been configured to update the code documentation
under the docs/api folder automatically whenever a commit is made
so no manual work is needed.

Bug: T218639
2020-05-12 16:00:25 +03:00
Amir Aharoni
cbeb0b7150 Set latest and specific versions of devDependencies
This fixes all npm audit warnings.
2020-04-01 09:03:21 +03:00
Abijeet
a182ddb215 Add users with more than 5 commits to credits / authors
Also update authors to be alphabetically ordered.
2020-02-24 16:35:43 +02:00
Abijeet Patro
c57a3a28ad Update minimum supported node.js version to 8.x (#83)
Fixes failing test case on node.js version 6
2020-02-03 14:23:37 -08:00
Abijeet
7c970cb247 Replace Travis with Github actions
Two workflows have been added,

  * PHP build - Runs tests on version 7.2, 7.3, also runs phpcs
  * Node.js build - Runs tests on version 8.x, 10.x, 12.x, also
    runs ESLint

Bug: T218639
2020-01-31 23:06:26 +05:30
Abijeet
09ab6024fe Add a PHP interface to work with the language data
Additional changes in this PR include,

  * Added composer.json
  * Refactored the folder structure.
  * Added editorconfig.
  * Added PHPCS and formatted existing code.
  * Changes to use a single license - GPL-2.0-or-later
  * ESLint related fixes

Bug: T218639
2020-01-31 23:00:46 +05:30
Santhosh Thottingal
59c70bd917 Minor version update 2019-11-08 16:51:55 +05:30
Santhosh Thottingal
e53d7d1250 Move to @wikimedia, version update, dependecy updates 2019-08-29 16:58:54 +05:30
Amir Aharoni
d7b731df5c Update package.json to fix npm audit recommendations
* Update version of eslint from 2.9.0 to 5.16.0.
* Update version of mocha from 2.5.3 to 6.1.4.
2019-04-20 14:20:14 +03:00
Amir Aharoni
87b3fd8666 Add the Ol Chiki script (Olck), add getLanguages(), and fix the tests
The tests were using languageData.languages, which was undefined.
This patch adds a method to get all the languages to be able to test.
2018-08-12 21:09:50 +03:00
Santhosh Thottingal
e6a4fcb383 Correct the repository URL in package.json 2017-10-04 09:34:00 +05:30
Santhosh Thottingal
246f9925bd URL corrections for repository 2017-08-01 13:51:27 +05:30
Santhosh Thottingal
9ed4cff140 first commit 2017-08-01 13:49:03 +05:30