Skip to content

Commit

Permalink
fix(airlight-resolve): upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Jun 15, 2024
1 parent 46d2cca commit 4f5e4fa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 46 deletions.
4 changes: 2 additions & 2 deletions packages/airlight-resolve/bench/bench-1.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// eslint-disable-next-line eslint-comments/disable-enable-pair
/* eslint-disable filename-rules/match, no-console */
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
/* eslint-disable no-console */

const resolve = require('../resolve.cjs');

Expand Down
2 changes: 1 addition & 1 deletion packages/airlight-resolve/examples/basic.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import resolve from '../resolve.mjs';
import resolve from '../resolve.js';

// eslint-disable-next-line no-console
console.log(
Expand Down
17 changes: 9 additions & 8 deletions packages/airlight-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,29 @@
"version": "0.0.1",
"description": "[WIP] `require.resolve` faster implementation based on oxc-resolver",
"type": "module",
"main": "resolve.mjs",
"files": ["resolve.cjs", "resolve.mjs"],
"main": "resolve.js",
"files": [
"resolve.js"
],
"typings": "interface.d.ts",
"exports": {
"default": "./resolve.mjs",
"require": "./resolve.cjs"
},
"engines": {
"node": ">=18.19.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dalisoft/airlight.git"
},
"keywords": ["resolve", "require"],
"keywords": [
"resolve",
"require"
],
"author": "dalisoft",
"license": "MIT",
"bugs": {
"url": "https://github.com/dalisoft/airlight/issues"
},
"homepage": "https://github.com/dalisoft/airlight#readme",
"dependencies": {
"oxc-resolver": "^0.2.0"
"oxc-resolver": "^1.8.1"
}
}
35 changes: 0 additions & 35 deletions packages/airlight-resolve/resolve.cjs

This file was deleted.

File renamed without changes.

0 comments on commit 4f5e4fa

Please sign in to comment.