New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

css-urls

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-urls - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

<a name="2.0.1"></a>
## 2.0.1 (2019-01-02)
* Fix interface ([7fa296c](https://github.com/Kikobeats/css-urls/commit/7fa296c))
<a name="2.0.0"></a>

@@ -2,0 +9,0 @@ # 2.0.0 (2019-01-02)

2

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://documentup.com/Kikobeats/css-urls",
"version": "2.0.0",
"version": "2.0.1",
"main": "src/index.js",

@@ -8,0 +8,0 @@ "author": {

@@ -9,5 +9,7 @@ 'use strict'

const { origin: baseUrl } = new URL(url)
const urls = parseCssUrls(text)
const normalizedUrl = urls.map(url => normalizeUrl(baseUrl, url))
return { urls, normalizedUrl }
return parseCssUrls(text).map(url => ({
url,
normalizeUrl: normalizeUrl(baseUrl, 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