Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 614160e

Browse files
authored
Merge pull request #14 from altmetric/upgrade-dependencies
Upgrade dev dependencies
2 parents b876e95 + 61512ee commit 614160e

9 files changed

Lines changed: 6328 additions & 3032 deletions

File tree

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["es2015"]
2+
"presets": ["@babel/preset-env"]
33
}

.eslintrc.js renamed to .eslintrc.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
module.exports = {
1+
{
22
"env": {
3-
"es6": true,
3+
"es2021": true,
44
"node": true,
55
"jest": true
66
},
77
"extends": "eslint:recommended",
8+
"overrides": [
9+
],
10+
"parserOptions": {
11+
"ecmaVersion": "latest",
12+
"sourceType": "module"
13+
},
814
"rules": {
915
"indent": [
1016
"error",
@@ -25,8 +31,5 @@ module.exports = {
2531
"no-console": [
2632
"warn"
2733
]
28-
},
29-
"parserOptions": {
30-
"sourceType": "module"
3134
}
32-
};
35+
}

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI for Identifiers
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [23, 22, 20, 18]
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'npm'
25+
26+
- name: Install dependencies
27+
run: npm install
28+
29+
- name: Run tests
30+
run: npm test

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 Altmetric LLP
3+
Copyright (c) 2017-2024 Altmetric LLP
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Identifiers - PubMed ID [![Build Status](https://travis-ci.org/altmetric/identifiers-pubmed.svg?branch=master)](https://travis-ci.org/altmetric/identifiers-pubmed)
1+
# Identifiers - PubMed ID
22

33
Extract, validate and normalize [PubMed IDs](http://www.ncbi.nlm.nih.gov/pubmed).
44

55
**Current version:** 0.1.1
6-
**Supported Node.js versions:** 4, 5, 6, 7
6+
**Supported Node.js versions:** 18, 20, 22, 23
77

88
## Installation
99

@@ -28,6 +28,6 @@ We also maintain versions of this library for [Ruby](https://github.com/altmetri
2828

2929
## License
3030

31-
Copyright © 2017 Altmetric LLP
31+
Copyright © 2017-2024 Altmetric LLP
3232

3333
Distributed under the [MIT License](http://opensource.org/licenses/MIT).

0 commit comments

Comments
 (0)