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

sass-embedded

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-embedded - npm Package Compare versions

Comparing version 1.82.0 to 1.83.0

18

dist/lib/src/utils.js

@@ -75,2 +75,5 @@ "use strict";

}
// Node changed its implementation of pathToFileURL:
// https://github.com/nodejs/node/pull/54545
const unsafePathToFileURL = url.pathToFileURL('~').pathname.endsWith('~');
/** Converts a (possibly relative) path on the local filesystem to a URL. */

@@ -81,6 +84,13 @@ function pathToUrlString(path) {

// percent encode relative path like `pathToFileURL`
return encodeURI(path)
.replace(/[#?]/g, encodeURIComponent)
.replace(process.platform === 'win32' ? /%(5B|5C|5D|5E|7C)/g : /%(5B|5D|5E|7C)/g, decodeURIComponent)
.replace(/\\/g, '/');
let fileUrl = encodeURI(path).replace(/[#?]/g, encodeURIComponent);
if (unsafePathToFileURL) {
fileUrl = fileUrl.replace(/%(5B|5D|5E|7C)/g, decodeURIComponent);
}
else {
fileUrl = fileUrl.replace(/~/g, '%7E');
}
if (process.platform === 'win32') {
fileUrl = fileUrl.replace(/%5C/g, '/');
}
return fileUrl;
}

@@ -87,0 +97,0 @@ /**

{
"name": "sass-embedded",
"version": "1.82.0",
"version": "1.83.0",
"protocol-version": "3.1.0",
"compiler-version": "1.82.0",
"compiler-version": "1.83.0",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",

@@ -41,22 +41,22 @@ "repository": "sass/embedded-host-node",

"optionalDependencies": {
"sass-embedded-android-arm": "1.82.0",
"sass-embedded-android-arm64": "1.82.0",
"sass-embedded-android-ia32": "1.82.0",
"sass-embedded-android-riscv64": "1.82.0",
"sass-embedded-android-x64": "1.82.0",
"sass-embedded-darwin-arm64": "1.82.0",
"sass-embedded-darwin-x64": "1.82.0",
"sass-embedded-linux-arm": "1.82.0",
"sass-embedded-linux-arm64": "1.82.0",
"sass-embedded-linux-ia32": "1.82.0",
"sass-embedded-linux-riscv64": "1.82.0",
"sass-embedded-linux-x64": "1.82.0",
"sass-embedded-linux-musl-arm": "1.82.0",
"sass-embedded-linux-musl-arm64": "1.82.0",
"sass-embedded-linux-musl-ia32": "1.82.0",
"sass-embedded-linux-musl-riscv64": "1.82.0",
"sass-embedded-linux-musl-x64": "1.82.0",
"sass-embedded-win32-arm64": "1.82.0",
"sass-embedded-win32-ia32": "1.82.0",
"sass-embedded-win32-x64": "1.82.0"
"sass-embedded-android-arm": "1.83.0",
"sass-embedded-android-arm64": "1.83.0",
"sass-embedded-android-ia32": "1.83.0",
"sass-embedded-android-riscv64": "1.83.0",
"sass-embedded-android-x64": "1.83.0",
"sass-embedded-darwin-arm64": "1.83.0",
"sass-embedded-darwin-x64": "1.83.0",
"sass-embedded-linux-arm": "1.83.0",
"sass-embedded-linux-arm64": "1.83.0",
"sass-embedded-linux-ia32": "1.83.0",
"sass-embedded-linux-riscv64": "1.83.0",
"sass-embedded-linux-x64": "1.83.0",
"sass-embedded-linux-musl-arm": "1.83.0",
"sass-embedded-linux-musl-arm64": "1.83.0",
"sass-embedded-linux-musl-ia32": "1.83.0",
"sass-embedded-linux-musl-riscv64": "1.83.0",
"sass-embedded-linux-musl-x64": "1.83.0",
"sass-embedded-win32-arm64": "1.83.0",
"sass-embedded-win32-ia32": "1.83.0",
"sass-embedded-win32-x64": "1.83.0"
},

@@ -63,0 +63,0 @@ "dependencies": {

{
"name": "sass-embedded",
"version": "1.82.0",
"version": "1.83.0",
"protocol-version": "3.1.0",
"compiler-version": "1.82.0",
"compiler-version": "1.83.0",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",

@@ -41,22 +41,22 @@ "repository": "sass/embedded-host-node",

"optionalDependencies": {
"sass-embedded-android-arm": "1.82.0",
"sass-embedded-android-arm64": "1.82.0",
"sass-embedded-android-ia32": "1.82.0",
"sass-embedded-android-riscv64": "1.82.0",
"sass-embedded-android-x64": "1.82.0",
"sass-embedded-darwin-arm64": "1.82.0",
"sass-embedded-darwin-x64": "1.82.0",
"sass-embedded-linux-arm": "1.82.0",
"sass-embedded-linux-arm64": "1.82.0",
"sass-embedded-linux-ia32": "1.82.0",
"sass-embedded-linux-riscv64": "1.82.0",
"sass-embedded-linux-x64": "1.82.0",
"sass-embedded-linux-musl-arm": "1.82.0",
"sass-embedded-linux-musl-arm64": "1.82.0",
"sass-embedded-linux-musl-ia32": "1.82.0",
"sass-embedded-linux-musl-riscv64": "1.82.0",
"sass-embedded-linux-musl-x64": "1.82.0",
"sass-embedded-win32-arm64": "1.82.0",
"sass-embedded-win32-ia32": "1.82.0",
"sass-embedded-win32-x64": "1.82.0"
"sass-embedded-android-arm": "1.83.0",
"sass-embedded-android-arm64": "1.83.0",
"sass-embedded-android-ia32": "1.83.0",
"sass-embedded-android-riscv64": "1.83.0",
"sass-embedded-android-x64": "1.83.0",
"sass-embedded-darwin-arm64": "1.83.0",
"sass-embedded-darwin-x64": "1.83.0",
"sass-embedded-linux-arm": "1.83.0",
"sass-embedded-linux-arm64": "1.83.0",
"sass-embedded-linux-ia32": "1.83.0",
"sass-embedded-linux-riscv64": "1.83.0",
"sass-embedded-linux-x64": "1.83.0",
"sass-embedded-linux-musl-arm": "1.83.0",
"sass-embedded-linux-musl-arm64": "1.83.0",
"sass-embedded-linux-musl-ia32": "1.83.0",
"sass-embedded-linux-musl-riscv64": "1.83.0",
"sass-embedded-linux-musl-x64": "1.83.0",
"sass-embedded-win32-arm64": "1.83.0",
"sass-embedded-win32-ia32": "1.83.0",
"sass-embedded-win32-x64": "1.83.0"
},

@@ -63,0 +63,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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