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.2 to 2.2.3

19

CHANGELOG.md

@@ -7,7 +7,22 @@ ### Changelog

#### [v2.2.0](https://github.com/kaisermann/svelte-preprocess/compare/v2.1.4...v2.2.0)
#### [v2.2.3](https://github.com/kaisermann/svelte-preprocess/compare/v2.2.2...v2.2.3)
> 17 July 2018
> 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)
> 18 July 2018
- Oops. Remove console.log [`8e8716b`](https://github.com/kaisermann/svelte-preprocess/commit/8e8716b1bad7a3a688f5886f7df1c122d7705d54)
#### [v2.2.1](https://github.com/kaisermann/svelte-preprocess/compare/v2.1.4...v2.2.1)
> 18 July 2018
- Use postcss-load-config instead of cosmiconfig [`21f72d5`](https://github.com/kaisermann/svelte-preprocess/commit/21f72d52f05f72e8a44ab2ecce690dd8efac52c4)
- Add changelog [`332e64f`](https://github.com/kaisermann/svelte-preprocess/commit/332e64f277601eb4d2f2ab66ec3a98f03bc42b85)
- Prioritize manual postcss config over config file [`05bb64e`](https://github.com/kaisermann/svelte-preprocess/commit/05bb64e543521524e0bdb10306a5a2ba94149a48)

@@ -14,0 +29,0 @@ #### [v2.1.4](https://github.com/kaisermann/svelte-preprocess/compare/v2.1.3...v2.1.4)

5

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

@@ -24,6 +24,7 @@ "main": "src/index.js",

"format": "prettier --loglevel silent --write \"*.js\" \"src/**/*.js\" && eslint --fix \"*.js\" \"src/**/*.js\"",
"prepublishOnly": "npm run format && npm run test",
"prepublishOnly": "npm run format && npm run test && auto-changelog",
"postinstall": "node -e \"console.log('\\u001b[36m\\u001b[1m[svelte-preprocess] Don\\'t forget to install the preprocessors packages that will be used: \\u001b[22m\\u001b[39m\\u001b[34mnode-sass, stylus, less, postcss, coffesscript, pug, etc...\\u001b[0m')\""
},
"devDependencies": {
"auto-changelog": "^1.7.2",
"autoprefixer": "^8.5.0",

@@ -30,0 +31,0 @@ "coffeescript": "^2.3.0",

@@ -24,3 +24,9 @@ const postcss = require('postcss')

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