Socket
Socket
Sign inDemoInstall

svelte-preprocess

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-preprocess - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

43

CHANGELOG.md

@@ -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 @@

2

dist/modules/hasDepInstalled.d.ts

@@ -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": {

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