New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.74.1 to 1.75.0

38

dist/package.json
{
"name": "sass-embedded",
"version": "1.74.1",
"version": "1.75.0",
"protocol-version": "2.6.0",
"compiler-version": "1.74.1",
"compiler-version": "1.75.0",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",

@@ -38,19 +38,19 @@ "repository": "sass/embedded-host-node",

"optionalDependencies": {
"sass-embedded-android-arm": "1.74.1",
"sass-embedded-android-arm64": "1.74.1",
"sass-embedded-android-ia32": "1.74.1",
"sass-embedded-android-x64": "1.74.1",
"sass-embedded-darwin-arm64": "1.74.1",
"sass-embedded-darwin-x64": "1.74.1",
"sass-embedded-linux-arm": "1.74.1",
"sass-embedded-linux-arm64": "1.74.1",
"sass-embedded-linux-ia32": "1.74.1",
"sass-embedded-linux-x64": "1.74.1",
"sass-embedded-linux-musl-arm": "1.74.1",
"sass-embedded-linux-musl-arm64": "1.74.1",
"sass-embedded-linux-musl-ia32": "1.74.1",
"sass-embedded-linux-musl-x64": "1.74.1",
"sass-embedded-win32-arm64": "1.74.1",
"sass-embedded-win32-ia32": "1.74.1",
"sass-embedded-win32-x64": "1.74.1"
"sass-embedded-android-arm": "1.75.0",
"sass-embedded-android-arm64": "1.75.0",
"sass-embedded-android-ia32": "1.75.0",
"sass-embedded-android-x64": "1.75.0",
"sass-embedded-darwin-arm64": "1.75.0",
"sass-embedded-darwin-x64": "1.75.0",
"sass-embedded-linux-arm": "1.75.0",
"sass-embedded-linux-arm64": "1.75.0",
"sass-embedded-linux-ia32": "1.75.0",
"sass-embedded-linux-x64": "1.75.0",
"sass-embedded-linux-musl-arm": "1.75.0",
"sass-embedded-linux-musl-arm64": "1.75.0",
"sass-embedded-linux-musl-ia32": "1.75.0",
"sass-embedded-linux-musl-x64": "1.75.0",
"sass-embedded-win32-arm64": "1.75.0",
"sass-embedded-win32-ia32": "1.75.0",
"sass-embedded-win32-x64": "1.75.0"
},

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

@@ -45,3 +45,3 @@ import {Syntax} from './options';

* rules](https://sass-lang.com/documentation/at-rules/import). It can be passed
* to {@link Options.importers} or {@link StringOptionsWithImporter.importer}.
* to {@link Options.importers} or {@link StringOptions.importer}.
*

@@ -126,3 +126,3 @@ * @typeParam sync - A `FileImporter<'sync'>`'s {@link findFileUrl} must return

* rules](https://sass-lang.com/documentation/at-rules/import). It can be passed
* to {@link Options.importers} or {@link StringOptionsWithImporter.importer}.
* to {@link Options.importers} or {@link StringOptions.importer}.
*

@@ -129,0 +129,0 @@ * Importers that simply redirect to files on disk are encouraged to use the

@@ -295,6 +295,6 @@ import {DeprecationOrId, Version} from './deprecations';

* **Heads up!** If {@link compileString} or {@link compileStringAsync} is
* called without {@link StringOptionsWithoutImporter.url}, <em>all</em>
* stylesheets it loads will be considered dependencies. Since it doesn’t have
* a path of its own, everything it loads is coming from a load path rather
* than a relative import.
* called without {@link StringOptions.url}, <em>all</em> stylesheets it loads
* will be considered dependencies. Since it doesn’t have a path of its own,
* everything it loads is coming from a load path rather than a relative
* import.
*

@@ -392,5 +392,6 @@ * @defaultValue `false`

*
* If the {@link StringOptionsWithImporter.importer} field isn't passed, the
* entrypoint file can load files relative to itself if a `file://` URL is
* passed to the {@link url} field.
* If the {@link StringOptions.importer} field isn't passed, the entrypoint file
* can load files relative to itself if a `file://` URL is passed to the {@link
* url} field. If it is passed, the entrypoint file uses it to load files
* relative to itself.
*

@@ -403,3 +404,3 @@ * @typeParam sync - This lets the TypeScript checker verify that asynchronous

*/
export interface StringOptionsWithoutImporter<sync extends 'sync' | 'async'>
export interface StringOptions<sync extends 'sync' | 'async'>
extends Options<sync> {

@@ -416,2 +417,15 @@ /**

/**
* The importer to use to handle loads that are relative to the entrypoint
* stylesheet.
*
* A relative load's URL is first resolved relative to {@link url}, then
* passed to {@link importer}. (It's passed as-is if {@link url} isn't
* passed.) If the importer doesn't recognize it, it's then passed to {@link
* importers} and {@link loadPaths}.
*
* @category Input
*/
importer?: Importer<sync> | FileImporter<sync>;
/**
* The canonical URL of the entrypoint stylesheet.

@@ -425,2 +439,6 @@ *

* @category Input
* @compatibility feature: "Undefined URL with importer", dart: "1.75.0", node: false
*
* Earlier versions of Dart Sass required {@link url} to be defined when
* passing {@link StringOptions.importer}.
*/

@@ -431,55 +449,13 @@ url?: URL;

/**
* Options that can be passed to {@link compileString} or {@link
* compileStringAsync}.
*
* If the {@link StringOptionsWithImporter.importer} field is passed, the
* entrypoint file uses it to load files relative to itself and the {@link url}
* field is mandatory.
*
* @typeParam sync - This lets the TypeScript checker verify that asynchronous
* {@link Importer}s, {@link FileImporter}s, and {@link CustomFunction}s aren't
* passed to {@link compile} or {@link compileString}.
*
* @category Options
* @deprecated Use {@link StringOptions} instead.
*/
export interface StringOptionsWithImporter<sync extends 'sync' | 'async'>
extends StringOptionsWithoutImporter<sync> {
/**
* The importer to use to handle loads that are relative to the entrypoint
* stylesheet.
*
* A relative load's URL is first resolved relative to {@link url}, then
* passed to {@link importer}. If the importer doesn't recognize it, it's then
* passed to {@link importers} and {@link loadPaths}.
*
* @category Input
*/
importer: Importer<sync> | FileImporter<sync>;
type StringOptionsWithoutImporter<sync extends 'sync' | 'async'> =
StringOptions<sync>;
/**
* The canonical URL of the entrypoint stylesheet. If this is passed along
* with {@link importer}, it's used to resolve relative loads in the
* entrypoint stylesheet.
*
* @category Input
*/
url: URL;
}
/**
* Options that can be passed to {@link compileString} or {@link
* compileStringAsync}.
*
* This is a {@link StringOptionsWithImporter} if it has a {@link
* StringOptionsWithImporter.importer} field, and a {@link
* StringOptionsWithoutImporter} otherwise.
*
* @typeParam sync - This lets the TypeScript checker verify that asynchronous
* {@link Importer}s, {@link FileImporter}s, and {@link CustomFunction}s aren't
* passed to {@link compile} or {@link compileString}.
*
* @category Options
* @deprecated Use {@link StringOptions} instead.
*/
export type StringOptions<sync extends 'sync' | 'async'> =
| StringOptionsWithImporter<sync>
| StringOptionsWithoutImporter<sync>;
type StringOptionsWithImporter<sync extends 'sync' | 'async'> =
StringOptions<sync>;
{
"name": "sass-embedded",
"version": "1.74.1",
"version": "1.75.0",
"protocol-version": "2.6.0",
"compiler-version": "1.74.1",
"compiler-version": "1.75.0",
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol",

@@ -38,19 +38,19 @@ "repository": "sass/embedded-host-node",

"optionalDependencies": {
"sass-embedded-android-arm": "1.74.1",
"sass-embedded-android-arm64": "1.74.1",
"sass-embedded-android-ia32": "1.74.1",
"sass-embedded-android-x64": "1.74.1",
"sass-embedded-darwin-arm64": "1.74.1",
"sass-embedded-darwin-x64": "1.74.1",
"sass-embedded-linux-arm": "1.74.1",
"sass-embedded-linux-arm64": "1.74.1",
"sass-embedded-linux-ia32": "1.74.1",
"sass-embedded-linux-x64": "1.74.1",
"sass-embedded-linux-musl-arm": "1.74.1",
"sass-embedded-linux-musl-arm64": "1.74.1",
"sass-embedded-linux-musl-ia32": "1.74.1",
"sass-embedded-linux-musl-x64": "1.74.1",
"sass-embedded-win32-arm64": "1.74.1",
"sass-embedded-win32-ia32": "1.74.1",
"sass-embedded-win32-x64": "1.74.1"
"sass-embedded-android-arm": "1.75.0",
"sass-embedded-android-arm64": "1.75.0",
"sass-embedded-android-ia32": "1.75.0",
"sass-embedded-android-x64": "1.75.0",
"sass-embedded-darwin-arm64": "1.75.0",
"sass-embedded-darwin-x64": "1.75.0",
"sass-embedded-linux-arm": "1.75.0",
"sass-embedded-linux-arm64": "1.75.0",
"sass-embedded-linux-ia32": "1.75.0",
"sass-embedded-linux-x64": "1.75.0",
"sass-embedded-linux-musl-arm": "1.75.0",
"sass-embedded-linux-musl-arm64": "1.75.0",
"sass-embedded-linux-musl-ia32": "1.75.0",
"sass-embedded-linux-musl-x64": "1.75.0",
"sass-embedded-win32-arm64": "1.75.0",
"sass-embedded-win32-ia32": "1.75.0",
"sass-embedded-win32-x64": "1.75.0"
},

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

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