Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 2.2.3 to 2.2.4

7

CHANGELOG.md

@@ -7,9 +7,2 @@ ### Changelog

#### [v2.2.3](https://github.com/kaisermann/svelte-preprocess/compare/v2.2.2...v2.2.3)
> 24 July 2018
- Show a warning if 'transformers.postcss: true' and no 'postcss.config.js' file was found [`45c7d83`](https://github.com/kaisermann/svelte-preprocess/commit/45c7d83fcfe4d7960136c3ee1097d6b05d920a80)
- Update changelog [`18ce9a4`](https://github.com/kaisermann/svelte-preprocess/commit/18ce9a4a459740e16d8587e0533ba34e0e7a8789)
#### [v2.2.2](https://github.com/kaisermann/svelte-preprocess/compare/v2.2.1...v2.2.2)

@@ -16,0 +9,0 @@

2

package.json
{
"name": "svelte-preprocess",
"version": "2.2.3",
"version": "2.2.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -23,10 +23,7 @@ const postcss = require('postcss')

.then(options => process(options.plugins || [], content, filename, map))
/** No config object passed and no config file found, do nothing */
/** Something went wrong, do nothing */
.catch(e => {
console.warn(
'\x1b[33m%s\x1b[0m',
"[svelte-preprocess] Passed 'transformers.postcss: true' but no 'postcss.config.js' was found.",
)
console.error(e.message)
return { code: content, map }
})
}
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