Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.1.1 to 1.1.2

6

package.json
{
"name": "@jsenv/urls",
"version": "1.1.1",
"version": "1.1.2",
"license": "MIT",

@@ -33,5 +33,3 @@ "repository": {

},
"dependencies": {
"@jsenv/log": "1.6.3"
}
"dependencies": {}
}

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

import { isFileSystemPath, fileSystemPathToUrl } from "@jsenv/urls"
import { isFileSystemPath } from "./is_filesystem_path.js"
import { fileSystemPathToUrl } from "./filesystem_path_to_url.js"

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

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

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

@@ -87,10 +86,9 @@ export const stringifyUrlTrace = (trace) => {

lineMaxLength = 120,
color = false,
} = {}) => {
let mark = (string) => string
let aside = (string) => string
if (color) {
mark = (string) => ANSI.color(string, ANSI.RED)
aside = (string) => ANSI.color(string, ANSI.GREY)
}
// if (color) {
// mark = (string) => ANSI.color(string, ANSI.RED)
// aside = (string) => ANSI.color(string, ANSI.GREY)
// }

@@ -97,0 +95,0 @@ const lines = content.split(/\r?\n/)

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