Socket
Socket
Sign inDemoInstall

@jsenv/urls

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/urls - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

src/common_pathname.js

17

main.js

@@ -28,1 +28,18 @@ export { DataUrl } from "./src/data_url.js"

export { URL_META } from "./src/meta/url_meta.js"
export { fileSystemPathToUrl } from "./src/filesystem_path_to_url.js"
export { isFileSystemPath } from "./src/is_filesystem_path.js"
export { resolveDirectoryUrl } from "./src/resolve_directory_url.js"
export { moveUrl } from "./src/move_url.js"
export { resolveUrl } from "./src/resolve_url.js"
export { urlIsInsideOf } from "./src/url_is_inside_of.js"
export { urlToBasename } from "./src/url_to_basename.js"
export { urlToExtension } from "./src/url_to_extension.js"
export { urlToFilename } from "./src/url_to_filename.js"
export { urlToFileSystemPath } from "./src/url_to_filesystem_path.js"
export { urlToOrigin } from "./src/url_to_origin.js"
export { urlToParentUrl } from "./src/url_to_parent_url.js"
export { urlToPathname } from "./src/url_to_pathname.js"
export { urlToRelativeUrl } from "./src/url_to_relative_url.js"
export { urlToRessource } from "./src/url_to_ressource.js"
export { urlToScheme } from "./src/url_to_scheme.js"

18

package.json
{
"name": "@jsenv/urls",
"version": "1.0.0",
"version": "1.1.0",
"license": "MIT",

@@ -11,5 +11,9 @@ "repository": {

"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
"access": "public"
},
"author": {
"name": "dmail",
"email": "dmaillard06@gmail.com",
"url": "https://twitter.com/damienmaillard"
},
"type": "module",

@@ -22,2 +26,6 @@ "exports": {

},
"files": [
"/src/",
"/main.js"
],
"scripts": {

@@ -27,5 +35,5 @@ "test": "node --conditions=development ./test.mjs"

"dependencies": {
"@jsenv/filesystem": "3.1.0",
"@jsenv/filesystem": "4.0.0",
"@jsenv/log": "1.6.3"
}
}
}

@@ -1,2 +0,2 @@

import { isFileSystemPath, fileSystemPathToUrl } from "@jsenv/filesystem"
import { isFileSystemPath, fileSystemPathToUrl } from "@jsenv/urls"

@@ -3,0 +3,0 @@ export const getCallerPosition = () => {

@@ -1,2 +0,2 @@

import { urlToFilename } from "@jsenv/filesystem"
import { urlToFilename } from "./url_to_filename.js"

@@ -3,0 +3,0 @@ export const generateInlineContentUrl = ({

@@ -6,3 +6,3 @@ // consider switching to https://babeljs.io/docs/en/babel-code-frame

import { urlToFileSystemPath } from "@jsenv/filesystem"
import { urlToFileSystemPath } from "./url_to_filesystem_path.js"
import { ANSI } from "@jsenv/log"

@@ -9,0 +9,0 @@

@@ -1,2 +0,4 @@

import { urlToOrigin, urlToExtension, urlToRessource } from "@jsenv/filesystem"
import { urlToOrigin } from "./url_to_origin.js"
import { urlToExtension } from "./url_to_extension.js"
import { urlToRessource } from "./url_to_ressource.js"

@@ -3,0 +5,0 @@ export const asUrlWithoutSearch = (url) => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc