Skip to content

Commit

Permalink
Switch to bare-url
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Oct 1, 2024
1 parent a4a2108 commit 17971c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* global Bare */
const path = require('bare-path')
const resolve = require('bare-module-resolve')
const { fileURLToPath, pathToFileURL } = require('bare-url')
const Bundle = require('bare-bundle')
const { parse } = require('cjs-module-lexer')
const { fileURLToPath, pathToFileURL } = require('url-file-url')
const Protocol = require('./lib/protocol')
const constants = require('./lib/constants')
const errors = require('./lib/errors')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"bare-bundle": "^1.0.0",
"bare-module-resolve": "^1.6.0",
"bare-path": "^3.0.0",
"cjs-module-lexer": "^1.2.3",
"url-file-url": "^1.0.2"
"bare-url": "^2.0.1",
"cjs-module-lexer": "^1.2.3"
},
"devDependencies": {
"brittle": "^3.1.1",
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global Bare */
const test = require('brittle')
const { pathToFileURL } = require('url-file-url')
const { pathToFileURL } = require('bare-url')
const Module = require('.')

const isWindows = Bare.platform === 'win32'
Expand Down

0 comments on commit 17971c0

Please sign in to comment.