Skip to content

Commit

Permalink
remove semver as dev dependency (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Jun 23, 2023
1 parent f0b5949 commit 58d091d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"@fastify/pre-commit": "^2.0.2",
"@types/node": "^20.1.0",
"express": "^4.17.1",
"semver": "^7.1.3",
"standard": "^17.0.0",
"tap": "^16.0.0",
"typescript": "^5.0.2"
Expand Down
3 changes: 1 addition & 2 deletions test/esm.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
'use strict'

const { test } = require('tap')
const semver = require('semver')

test('support import', { skip: semver.lt(process.versions.node, '13.3.0') }, (t) => {
test('support esm import', (t) => {
import('./esm.mjs').then(() => {
t.pass('esm is supported')
t.end()
Expand Down

0 comments on commit 58d091d

Please sign in to comment.