Socket
Socket
Sign inDemoInstall

ufo

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ufo - npm Package Versions

23
6

1.5.4

Diff

Changelog

Source

v1.5.4

compare changes

🩹 Fixes

  • parseURL: Only normalize windows drive letters with file:// protocol (#246)
  • withProtocol: Consider relative protocol (#242)

🏡 Chore

🎨 Styles

  • Lint with prettier defaults (666091d)

❤️ Contributors

pi0
published 1.5.3 •

Changelog

Source

v1.5.3

compare changes

🩹 Fixes

  • joinRelativeURL: Avoid lookbehind regex for browser compatibility (#228)

❤️ Contributors

pi0
published 1.5.2 •

Changelog

Source

v1.5.2

compare changes

🩹 Fixes

  • Use lookbehind regex only inside joinRelativeURL (#226)

❤️ Contributors

pi0
published 1.5.1 •

Changelog

Source

v1.5.1

compare changes

🩹 Fixes

  • joinRelativeURL: Handle base with protocol (#222)

🏡 Chore

❤️ Contributors

pi0
published 1.5.0 •

Changelog

Source

v1.5.0

compare changes

🚀 Enhancements

  • Add withoutHost utility (#212)
  • joinURL: Handle segments with ../ (#217)
  • joinRelativeURL (#220)

🩹 Fixes

  • withoutTrailingSlash: Consider qurry param (#219)

💅 Refactors

  • joinURL: Rewrite with clear syntax and relative ../ support (#218)

📖 Documentation

🏡 Chore

❤️ Contributors

pi0
published 1.4.0 •

Changelog

Source

v1.4.0

compare changes

🚀 Enhancements

  • Add withFragment utility (#193)
  • Add withoutFragment util (#199)

🔥 Performance

  • withFragment: Early return when no hash changes required (d6ce037)

🩹 Fixes

  • encodeQueryValue: Encode the slash character (#198)
  • Stringify protocol-relative URLs (#207)
  • withFragment: Use encodeHash for encoding (48237ab)

💅 Refactors

  • resolveUrl: Decouple from $URL (#186)
  • Deprecate $URL and createURL (f1af9b3)
  • normalizeURL: Decouple from $URL (9013029)
  • withoutFragment: Decouple from withFragment (712b8d5)

📖 Documentation

  • Remove mentioning $URL (65e6be8)
  • Update normalizeURL example (011777a)
  • Use jsdocs and automd (#209)

🏡 Chore

❤️ Contributors

pi0
published 1.3.2 •

Changelog

Source

v1.3.2

compare changes

🩹 Fixes

  • parseURL: Parse protocol case-insensitively (#188)
  • Respect fragment in trailing slash utils (#175)

🏡 Chore

❤️ Contributors

pi0
published 1.3.1 •

Changelog

Source

v1.3.1

compare changes

🩹 Fixes

  • Test script protocols insensitively (#180)

🏡 Chore

❤️ Contributors

pi0
published 1.3.0 •

Changelog

Source

v1.3.0

compare changes

🚀 Enhancements

  • stringifyParsedURL: Support partial url inputs (#166)

🩹 Fixes

  • parseURL: Handle data: and blob protocols (#159)
  • parseURL, hasProtocol, isScriptProtocol: Ignore leading whitespaces (#170)

🏡 Chore

🤖 CI

  • Use conventional commit message (#157)

❤️ Contributors

pi0
published 1.2.0 •

Changelog

Source

v1.2.0

compare changes

🚀 Enhancements

  • Add isScriptProtocol util (#156)
  • Generic types for getQuery and parseQuery (#131)
  • Add parseFilename utility (#125)

🩹 Fixes

  • parseQuery: Decode space in query keys (#150)
  • Parsed query types should be string only (#139)
  • stringifyQuery: Filter out empty values (#148)
  • joinURL: Handle leading dot (#35)

🏡 Chore

❤️ Contributors

23
6
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