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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user