Skip to content

Commit 19b79a9

Browse files
committed
drop ci support for < node8
1 parent f27bfb1 commit 19b79a9

File tree

3 files changed

+14
-37
lines changed

3 files changed

+14
-37
lines changed

.travis.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,5 @@
11
jobs:
22
include:
3-
- language: node_js
4-
node_js: 0.12
5-
6-
- name: "Node.js: 4"
7-
language: minimal
8-
install:
9-
- nvm install 4
10-
# Yarn v1.12.3 is last *known* version to work on node v4/v5
11-
# See: https://github.com/yarnpkg/yarn/issues/6914
12-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.3
13-
- export PATH="$HOME/.yarn/bin:$PATH"
14-
- yarn version
15-
script:
16-
- yarn
17-
- yarn run test
18-
19-
- name: "Node.js: 5"
20-
language: minimal
21-
install:
22-
- nvm install 5
23-
# Yarn v1.12.3 is last *known* version to work on node v4/v5
24-
# See: https://github.com/yarnpkg/yarn/issues/6914
25-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.3
26-
- export PATH="$HOME/.yarn/bin:$PATH"
27-
- yarn version
28-
script:
29-
- yarn
30-
- yarn run test
31-
32-
- language: node_js
33-
node_js: 6
34-
35-
- language: node_js
36-
node_js: 7
37-
383
- language: node_js
394
node_js: 8
405

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Yes, it's true that RFC2141 is deprecated (replaced by URI), but urn is still a
66

77
No dependencies. Has tests. PRs welcome.
88

9+
Should work in node v0.12-13+.
10+
911
## Getting started
1012

1113
```sh
@@ -137,3 +139,13 @@ console.log('valid', arn.validate(valid)); // => valid null
137139
var china = arn.parse('arn:aws-cn:autoscaling:us-east-1:123456789012:scalingPolicy:c7a27f55-d35e-4153-b044-8ca9155fc467:autoScalingGroupName/my-test-asg1:policyName/my-scaleout-policy');
138140
console.log('invalid', arn.validate(china)); // => invalid [ 'validation failed for partition: the China partition is unsupported' ]
139141
```
142+
143+
## Release notes
144+
145+
### `1.2.0`
146+
147+
Because of build changes and dropping support (in CI) for older node versions I did a minor bump. Nothing has really changed under the hood though.
148+
149+
- bumped dev dependencies
150+
- drop CI support for very old node. node versions: 0.12, 4, 5, 6, 7. (Note: urn-lib 1.1.x worked with those versions and nothing has changed to break that support. they're just no longer part of CI. if you find a problem with >= 0.12 open an issue)
151+
- improve build process

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"url": "http://www.mawhorter.net/"
1212
},
1313
"scripts": {
14-
"prebuild": "yarn run lint && yarn run test",
14+
"prebuild": "npm run lint && npm run test",
1515
"build": "rollup -c",
1616
"postbuild": "node ./scripts/assert-build.js",
1717
"lint": "eslint ./src",
18-
"coverage": "nyc --reporter=html yarn run test",
18+
"coverage": "nyc --reporter=html npm run test",
1919
"test": "mocha -r ./test/lib/helper test"
2020
},
2121
"repository": {

0 commit comments

Comments
 (0)