svelte-preprocess
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -1,2 +0,2 @@ | ||
# [4.0.0](https://github.com/sveltejs/svelte-preprocess/compare/v4.0.0-alpha.2...v4.0.0) (2020-07-07) | ||
## [4.0.1](https://github.com/sveltejs/svelte-preprocess/compare/v3.9.12...v4.0.1) (2020-07-07) | ||
@@ -6,14 +6,45 @@ | ||
* ๐ try to use sass before node-sass ([89aba0e](https://github.com/sveltejs/svelte-preprocess/commit/89aba0e6f03208787cdb7e212979634089405c15)), closes [#163](https://github.com/sveltejs/svelte-preprocess/issues/163) | ||
* ๐ bump minimum node version to 9.11.2 ([b8e0568](https://github.com/sveltejs/svelte-preprocess/commit/b8e05688d8a2bcc390abd262cfe5e3338b06cc2b)) | ||
* ๐ postcss installation check ([7df673a](https://github.com/sveltejs/svelte-preprocess/commit/7df673a73ae2b12b89c174046b833bace7d97297)) | ||
* ๐ prevent globalify to wrongly split escaped selectors ([e9c4031](https://github.com/sveltejs/svelte-preprocess/commit/e9c4031835ac18d713b5b50d909995677d516959)), closes [#191](https://github.com/sveltejs/svelte-preprocess/issues/191) | ||
* ๐ rename scss prepend option from `data` to `prependData` ([bd1caca](https://github.com/sveltejs/svelte-preprocess/commit/bd1caca79d863cf08de353ed837de42b5ec063a1)) | ||
* ๐ try to use sass before node-sass ([10af027](https://github.com/sveltejs/svelte-preprocess/commit/10af027bbff20ce5bb3a8e9829bba5cf9c461b98)), closes [#163](https://github.com/sveltejs/svelte-preprocess/issues/163) | ||
### Code Refactoring | ||
# [4.0.0-alpha.2](https://github.com/sveltejs/svelte-preprocess/compare/v3.9.12...v4.0.0-alpha.2) (2020-07-06) | ||
* ๐ก remove deprecated autoProcess props ([7fbff08](https://github.com/sveltejs/svelte-preprocess/commit/7fbff088f08039cee25534385dfaebc590a0d813)) | ||
### Features | ||
* ๐ธ add sourceMap prop to configuration object ([9156efc](https://github.com/sveltejs/svelte-preprocess/commit/9156efc0d25e0a3642bf66e931b310eb62c4ec2f)) | ||
* ๐ธ support defining default languages ([6483879](https://github.com/sveltejs/svelte-preprocess/commit/6483879e4a316d60a2e0655746a342c6debb90be)), closes [#189](https://github.com/sveltejs/svelte-preprocess/issues/189) | ||
* ๐ธ support markup preprocessing with no tags ([a1a3360](https://github.com/sveltejs/svelte-preprocess/commit/a1a33602bf1badd49e01188a9d63b8ef653a13a9)) | ||
* ๐ธ support prependData for almost every preprocessor ([b80ca90](https://github.com/sveltejs/svelte-preprocess/commit/b80ca90802d2c17fa249b06fb17e678fff443656)) | ||
### BREAKING CHANGES | ||
* ๐งจ This is a general evolution of the specific `scss.data` property that | ||
was used to prepend data to components written in scss. | ||
`{preprocessorOptions}.prependData` is now the way to prepend some | ||
string to any preprocessor. | ||
* ๐งจ Node versions below 9.11.2 won't be supported anymore | ||
* ๐งจ Uses Lookbehind assertions, so Node 9.11.2+ is needed | ||
* ๐งจ Content passed through the `data` property won't be prepended anymore. | ||
* ๐งจ `onBefore` and `transformers` were removed | ||
# [4.0.0](https://github.com/sveltejs/svelte-preprocess/compare/v4.0.0-alpha.2...v4.0.0) (2020-07-07) | ||
### Bug Fixes | ||
- ๐ bump minimum node version to 9.11.2 ([0befa7f](https://github.com/sveltejs/svelte-preprocess/commit/0befa7f4ff2aa3ba9f0129c3ed3994dd29fb991b)) | ||
- ๐ prevent globalify to wrongly split escaped selectors ([f461320](https://github.com/sveltejs/svelte-preprocess/commit/f461320ec05a534021afbe20de0fe097d1016871)), closes [#191](https://github.com/sveltejs/svelte-preprocess/issues/191) | ||
- ๐ rename scss prepend option from `data` to `prependData` ([16b1325](https://github.com/sveltejs/svelte-preprocess/commit/16b13253bdf19073c084cb1590ed527695133836)) | ||
- ๐ try to use sass before node-sass ([89aba0e](https://github.com/sveltejs/svelte-preprocess/commit/89aba0e6f03208787cdb7e212979634089405c15)), closes [#163](https://github.com/sveltejs/svelte-preprocess/issues/163) | ||
* ๐ bump minimum node version to 9.11.2 ([0befa7f](https://github.com/sveltejs/svelte-preprocess/commit/0befa7f4ff2aa3ba9f0129c3ed3994dd29fb991b)) | ||
* ๐ prevent globalify to wrongly split escaped selectors ([f461320](https://github.com/sveltejs/svelte-preprocess/commit/f461320ec05a534021afbe20de0fe097d1016871)), closes [#191](https://github.com/sveltejs/svelte-preprocess/issues/191) | ||
* ๐ rename scss prepend option from `data` to `prependData` ([16b1325](https://github.com/sveltejs/svelte-preprocess/commit/16b13253bdf19073c084cb1590ed527695133836)) | ||
### Code Refactoring | ||
@@ -20,0 +51,0 @@ |
@@ -1,1 +0,1 @@ | ||
export declare function hasDepInstalled(dep: string): Promise<boolean | Record<string, boolean>>; | ||
export declare function hasDepInstalled(dep: string): Promise<boolean>; |
@@ -26,3 +26,3 @@ "use strict"; | ||
if (cachedResult[dep] != null) { | ||
return cachedResult; | ||
return cachedResult[dep]; | ||
} | ||
@@ -35,2 +35,3 @@ let result = false; | ||
catch (e) { | ||
console.log(e); | ||
result = false; | ||
@@ -37,0 +38,0 @@ } |
{ | ||
"name": "svelte-preprocess", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"license": "MIT", | ||
@@ -39,3 +39,3 @@ "main": "dist/index.js", | ||
"release": "npm run version && yarn && git add package.json yarn.lock && git commit -m \"chore(release): v$npm_package_version :tada:\"", | ||
"prepublishOnly": "npm run test -- --no-cache && npm run build && npm run release && npm run tag" | ||
"prepublishOnly": "npm run test && npm run build && npm run release && npm run tag" | ||
}, | ||
@@ -42,0 +42,0 @@ "jest": { |
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
100688
1591