1
0
mirror of https://github.com/badges/shields.git synced 2025-11-09 12:40:59 +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,9 +1,7 @@
'use strict'
import PypiBase from './pypi-base.js'
import { parseClassifiers } from './pypi-helpers.js'
const PypiBase = require('./pypi-base')
const { parseClassifiers } = require('./pypi-helpers')
module.exports = class PypiImplementation extends PypiBase {
export default class PypiImplementation extends PypiBase {
static category = 'platform-support'
static route = this.buildRoute('pypi/implementation')