sass-embedded
Advanced tools
Comparing version 1.69.2 to 1.69.4
{ | ||
"name": "sass-embedded", | ||
"version": "1.69.2", | ||
"version": "1.69.4", | ||
"protocol-version": "2.3.0", | ||
"compiler-version": "1.69.2", | ||
"compiler-version": "1.69.4", | ||
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol", | ||
@@ -12,6 +12,6 @@ "repository": "sass/embedded-host-node", | ||
"import": { | ||
"types": "./dist/lib/index.m.d.ts", | ||
"types": "./dist/types/index.m.d.ts", | ||
"default": "./dist/lib/index.mjs" | ||
}, | ||
"types": "./dist/lib/index.d.ts", | ||
"types": "./dist/types/index.d.ts", | ||
"default": "./dist/lib/index.js" | ||
@@ -39,10 +39,10 @@ }, | ||
"optionalDependencies": { | ||
"sass-embedded-darwin-arm64": "1.69.2", | ||
"sass-embedded-darwin-x64": "1.69.2", | ||
"sass-embedded-linux-arm": "1.69.2", | ||
"sass-embedded-linux-arm64": "1.69.2", | ||
"sass-embedded-linux-ia32": "1.69.2", | ||
"sass-embedded-linux-x64": "1.69.2", | ||
"sass-embedded-win32-ia32": "1.69.2", | ||
"sass-embedded-win32-x64": "1.69.2" | ||
"sass-embedded-darwin-arm64": "1.69.4", | ||
"sass-embedded-darwin-x64": "1.69.4", | ||
"sass-embedded-linux-arm": "1.69.4", | ||
"sass-embedded-linux-arm64": "1.69.4", | ||
"sass-embedded-linux-ia32": "1.69.4", | ||
"sass-embedded-linux-x64": "1.69.4", | ||
"sass-embedded-win32-ia32": "1.69.4", | ||
"sass-embedded-win32-x64": "1.69.4" | ||
}, | ||
@@ -49,0 +49,0 @@ "dependencies": { |
@@ -15,6 +15,7 @@ "use strict"; | ||
console.log('Transpiling TS into dist.'); | ||
shell.exec('tsc'); | ||
shell.exec('tsc -p tsconfig.build.json'); | ||
shell.cp('lib/index.mjs', 'dist/lib/index.mjs'); | ||
console.log('Copying JS API types to dist.'); | ||
shell.cp('-R', 'lib/src/vendor/sass', 'dist/types'); | ||
shell.cp('dist/types/index.d.ts', 'dist/types/index.m.d.ts'); | ||
await fs_1.promises.unlink('dist/types/README.md'); | ||
@@ -21,0 +22,0 @@ console.log('Ready for publishing to npm.'); |
@@ -47,2 +47,7 @@ import {RawSourceMap} from 'source-map-js'; | ||
* | ||
* **Heads up!** When using the `sass-embedded` npm package, | ||
* **{@link compileAsync} is almost always faster than {@link compile}**, due to | ||
* the overhead of emulating synchronous messaging with worker threads and | ||
* concurrent compilations being blocked on main thread. | ||
* | ||
* @example | ||
@@ -70,5 +75,5 @@ * | ||
* | ||
* **Heads up!** When using Dart Sass, **{@link compile} is almost twice as fast | ||
* as {@link compileAsync}**, due to the overhead of making the entire | ||
* evaluation process asynchronous. | ||
* **Heads up!** When using the `sass` npm package, **{@link compile} is almost | ||
* twice as fast as {@link compileAsync}**, due to the overhead of making the | ||
* entire evaluation process asynchronous. | ||
* | ||
@@ -99,2 +104,8 @@ * @example | ||
* | ||
* **Heads up!** When using the `sass-embedded` npm package, | ||
* **{@link compileStringAsync} is almost always faster than | ||
* {@link compileString}**, due to the overhead of emulating synchronous | ||
* messaging with worker threads and concurrent compilations being blocked on | ||
* main thread. | ||
* | ||
* @example | ||
@@ -131,5 +142,5 @@ * | ||
* | ||
* **Heads up!** When using Dart Sass, **{@link compile} is almost twice as fast | ||
* as {@link compileAsync}**, due to the overhead of making the entire | ||
* evaluation process asynchronous. | ||
* **Heads up!** When using the `sass` npm package, **{@link compileString} is | ||
* almost twice as fast as {@link compileStringAsync}**, due to the overhead | ||
* of making the entire evaluation process asynchronous. | ||
* | ||
@@ -136,0 +147,0 @@ * @example |
@@ -99,2 +99,7 @@ import {LegacyException} from './exception'; | ||
* | ||
* **Heads up!** When using the `sass-embedded` npm package, **{@link render} | ||
* is almost always faster than {@link renderSync}**, due to the overhead of | ||
* emulating synchronous messaging with worker threads and concurrent | ||
* compilations being blocked on main thread. | ||
* | ||
* @example | ||
@@ -120,5 +125,5 @@ * | ||
* | ||
* **Heads up!** When using Dart Sass, **{@link renderSync} is almost twice as | ||
* fast as {@link render}** by default, due to the overhead of making the entire | ||
* evaluation process asynchronous. | ||
* **Heads up!** When using the `sass` npm package, **{@link renderSync} is | ||
* almost twice as fast as {@link render}** by default, due to the overhead of | ||
* making the entire evaluation process asynchronous. | ||
* | ||
@@ -125,0 +130,0 @@ * ```js |
{ | ||
"name": "sass-embedded", | ||
"version": "1.69.2", | ||
"version": "1.69.4", | ||
"protocol-version": "2.3.0", | ||
"compiler-version": "1.69.2", | ||
"compiler-version": "1.69.4", | ||
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol", | ||
@@ -12,6 +12,6 @@ "repository": "sass/embedded-host-node", | ||
"import": { | ||
"types": "./dist/lib/index.m.d.ts", | ||
"types": "./dist/types/index.m.d.ts", | ||
"default": "./dist/lib/index.mjs" | ||
}, | ||
"types": "./dist/lib/index.d.ts", | ||
"types": "./dist/types/index.d.ts", | ||
"default": "./dist/lib/index.js" | ||
@@ -39,10 +39,10 @@ }, | ||
"optionalDependencies": { | ||
"sass-embedded-darwin-arm64": "1.69.2", | ||
"sass-embedded-darwin-x64": "1.69.2", | ||
"sass-embedded-linux-arm": "1.69.2", | ||
"sass-embedded-linux-arm64": "1.69.2", | ||
"sass-embedded-linux-ia32": "1.69.2", | ||
"sass-embedded-linux-x64": "1.69.2", | ||
"sass-embedded-win32-ia32": "1.69.2", | ||
"sass-embedded-win32-x64": "1.69.2" | ||
"sass-embedded-darwin-arm64": "1.69.4", | ||
"sass-embedded-darwin-x64": "1.69.4", | ||
"sass-embedded-linux-arm": "1.69.4", | ||
"sass-embedded-linux-arm64": "1.69.4", | ||
"sass-embedded-linux-ia32": "1.69.4", | ||
"sass-embedded-linux-x64": "1.69.4", | ||
"sass-embedded-win32-ia32": "1.69.4", | ||
"sass-embedded-win32-x64": "1.69.4" | ||
}, | ||
@@ -49,0 +49,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
17
675302
142
11864