sass-embedded
Advanced tools
Comparing version 1.64.0 to 1.64.1
@@ -336,6 +336,11 @@ "use strict"; | ||
case 'clamp': | ||
if (calculation.arguments.length !== 3) { | ||
throw utils.compilerError('Value.Calculation.arguments must have exactly 3 arguments for clamp().'); | ||
if (calculation.arguments.length === 0 || | ||
calculation.arguments.length > 3) { | ||
throw utils.compilerError('Value.Calculation.arguments must have 1 to 3 arguments for clamp().'); | ||
} | ||
return calculations_1.SassCalculation.clamp(this.deprotofyCalculationValue(calculation.arguments[0]), this.deprotofyCalculationValue(calculation.arguments[1]), this.deprotofyCalculationValue(calculation.arguments[2])); | ||
return calculations_1.SassCalculation.clamp(this.deprotofyCalculationValue(calculation.arguments[0]), calculation.arguments.length > 1 | ||
? this.deprotofyCalculationValue(calculation.arguments[1]) | ||
: undefined, calculation.arguments.length > 2 | ||
? this.deprotofyCalculationValue(calculation.arguments[2]) | ||
: undefined); | ||
case 'min': | ||
@@ -342,0 +347,0 @@ if (calculation.arguments.length === 0) { |
{ | ||
"name": "sass-embedded", | ||
"version": "1.64.0", | ||
"version": "1.64.1", | ||
"protocol-version": "2.1.0", | ||
"compiler-version": "1.64.0", | ||
"compiler-version": "1.64.1", | ||
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol", | ||
@@ -34,10 +34,10 @@ "repository": "sass/embedded-host-node", | ||
"optionalDependencies": { | ||
"sass-embedded-darwin-arm64": "1.64.0", | ||
"sass-embedded-darwin-x64": "1.64.0", | ||
"sass-embedded-linux-arm": "1.64.0", | ||
"sass-embedded-linux-arm64": "1.64.0", | ||
"sass-embedded-linux-ia32": "1.64.0", | ||
"sass-embedded-linux-x64": "1.64.0", | ||
"sass-embedded-win32-ia32": "1.64.0", | ||
"sass-embedded-win32-x64": "1.64.0" | ||
"sass-embedded-darwin-arm64": "1.64.1", | ||
"sass-embedded-darwin-x64": "1.64.1", | ||
"sass-embedded-linux-arm": "1.64.1", | ||
"sass-embedded-linux-arm64": "1.64.1", | ||
"sass-embedded-linux-ia32": "1.64.1", | ||
"sass-embedded-linux-x64": "1.64.1", | ||
"sass-embedded-win32-ia32": "1.64.1", | ||
"sass-embedded-win32-x64": "1.64.1" | ||
}, | ||
@@ -44,0 +44,0 @@ "dependencies": { |
{ | ||
"name": "sass-embedded", | ||
"version": "1.64.0", | ||
"version": "1.64.1", | ||
"protocol-version": "2.1.0", | ||
"compiler-version": "1.64.0", | ||
"compiler-version": "1.64.1", | ||
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol", | ||
@@ -34,10 +34,10 @@ "repository": "sass/embedded-host-node", | ||
"optionalDependencies": { | ||
"sass-embedded-darwin-arm64": "1.64.0", | ||
"sass-embedded-darwin-x64": "1.64.0", | ||
"sass-embedded-linux-arm": "1.64.0", | ||
"sass-embedded-linux-arm64": "1.64.0", | ||
"sass-embedded-linux-ia32": "1.64.0", | ||
"sass-embedded-linux-x64": "1.64.0", | ||
"sass-embedded-win32-ia32": "1.64.0", | ||
"sass-embedded-win32-x64": "1.64.0" | ||
"sass-embedded-darwin-arm64": "1.64.1", | ||
"sass-embedded-darwin-x64": "1.64.1", | ||
"sass-embedded-linux-arm": "1.64.1", | ||
"sass-embedded-linux-arm64": "1.64.1", | ||
"sass-embedded-linux-ia32": "1.64.1", | ||
"sass-embedded-linux-x64": "1.64.1", | ||
"sass-embedded-win32-ia32": "1.64.1", | ||
"sass-embedded-win32-x64": "1.64.1" | ||
}, | ||
@@ -44,0 +44,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
648235
11390