1
0
mirror of https://github.com/badges/shields.git synced 2025-07-05 13:41:14 +03:00

Migrate from CommonJS to ESM (#6651)

This commit is contained in:
Pierre-Yves B
2021-07-09 12:53:55 +01:00
committed by GitHub
parent 23678fe2f5
commit 23c0406bed
1130 changed files with 4457 additions and 6711 deletions

View File

@ -1,7 +1,6 @@
'use strict'
const Joi = require('joi')
const t = (module.exports = require('../tester').createServiceTester())
import Joi from 'joi'
import { createServiceTester } from '../tester.js'
export const t = await createServiceTester()
const isPipeSeparatedPythonVersions = Joi.string().regex(
/^([1-9]\.[0-9]+(?: \| )?)+$/