Skip to content

Commit

Permalink
Drop support for node < 10
Browse files Browse the repository at this point in the history
  • Loading branch information
simonepri committed Jul 2, 2020
1 parent 71a1e4f commit 8badb26
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 6
node-version: 10
- name: Install dev dependencies
run: |
npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14, 12, 10, 8, 6]
node: [14, 12, 10]
steps:
- name: Setup repo
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14, 12, 10, 8, 6]
node: [14, 12, 10]
steps:
- name: Setup repo
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14, 12, 10, 8, 6]
node: [14, 12, 10]
steps:
- name: Setup repo
uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"index.js"
],
"engines": {
"node": ">=6"
"node": ">=10"
},
"scripts": {
"lint": "xo",
Expand All @@ -60,9 +60,9 @@
},
"devDependencies": {
"@turf/helpers": "^6.1.4",
"ava": "^1.4.1",
"nyc": "^14.1.1",
"xo": "~0.24.0"
"ava": "^3.9.0",
"nyc": "^15.1.0",
"xo": "~0.27.2"
},
"ava": {
"verbose": true
Expand Down
6 changes: 3 additions & 3 deletions test/line-in-line.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
const test = require('ava');

import {lineString, featureCollection} from '@turf/helpers';
const {lineString, featureCollection} = require('@turf/helpers');

import M from '..';
const M = require('..');

test('exports a constructor.', t => {
t.is(typeof M, 'function');
Expand Down
6 changes: 3 additions & 3 deletions test/line-in-polygon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
const test = require('ava');

import {lineString, polygon, featureCollection} from '@turf/helpers';
const {lineString, polygon, featureCollection} = require('@turf/helpers');

import M from '..';
const M = require('..');

test('exports a constructor.', t => {
t.is(typeof M, 'function');
Expand Down
6 changes: 3 additions & 3 deletions test/point-in-line.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
const test = require('ava');

import {point, lineString, featureCollection} from '@turf/helpers';
const {point, lineString, featureCollection} = require('@turf/helpers');

import M from '..';
const M = require('..');

test('exports a constructor.', t => {
t.is(typeof M, 'function');
Expand Down
6 changes: 3 additions & 3 deletions test/point-in-point.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
const test = require('ava');

import {point, featureCollection} from '@turf/helpers';
const {point, featureCollection} = require('@turf/helpers');

import M from '..';
const M = require('..');

test('exports a constructor.', t => {
t.is(typeof M, 'function');
Expand Down
6 changes: 3 additions & 3 deletions test/point-in-polygon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
const test = require('ava');

import {point, polygon, featureCollection} from '@turf/helpers';
const {point, polygon, featureCollection} = require('@turf/helpers');

import M from '..';
const M = require('..');

test('exports a constructor.', t => {
t.is(typeof M, 'function');
Expand Down
6 changes: 3 additions & 3 deletions test/polygon-in-polygon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import test from 'ava';
const test = require('ava');

import {polygon, featureCollection} from '@turf/helpers';
const {polygon, featureCollection} = require('@turf/helpers');

import M from '..';
const M = require('..');

test('exports a constructor.', t => {
t.is(typeof M, 'function');
Expand Down

0 comments on commit 8badb26

Please sign in to comment.