Bump version to 2.32.0

Update Node.js dependencies

Migrate eslint config to a mjs file

Fix imports in tests

Bump to Node.js 20.x in workflows
This commit is contained in:
Shivam Mathur
2024-11-04 08:55:26 +05:30
parent 371ee9d086
commit 7f1cfc01ec
11 changed files with 1652 additions and 1190 deletions

View File

@ -1,5 +1,5 @@
import * as fetch from '../src/fetch';
import nock = require('nock');
import nock from 'nock';
it('checking fetch', async () => {
const host_url = 'https://example.com';

View File

@ -1,5 +1,5 @@
import * as packagist from '../src/packagist';
import nock = require('nock');
import nock from 'nock';
describe('search function', () => {
const mockResponse = {

View File

@ -1,4 +1,4 @@
import fs = require('fs');
import * as fs from 'fs';
import * as tools from '../src/tools';
interface IData {

View File

@ -1,4 +1,4 @@
import fs = require('fs');
import fs from 'fs';
import * as path from 'path';
import * as utils from '../src/utils';