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 3.1.0 to 3.1.1

7

CHANGELOG.md

@@ -1,4 +0,9 @@

# [3.1.0](https://github.com/kaisermann/svelte-preprocess/compare/v3.0.2...v3.1.0) (2019-09-03)
## [3.1.1](https://github.com/kaisermann/svelte-preprocess/compare/v3.0.2...v3.1.1) (2019-09-10)
### Bug Fixes
* 🐛 make [@keyframe](https://github.com/keyframe) at-rules global. ([#65](https://github.com/kaisermann/svelte-preprocess/issues/65)) ([0b6a87b](https://github.com/kaisermann/svelte-preprocess/commit/0b6a87b))
### Features

@@ -5,0 +10,0 @@

4

package.json
{
"name": "svelte-preprocess",
"version": "3.1.0",
"version": "3.1.1",
"license": "MIT",

@@ -56,3 +56,3 @@ "main": "src/index.js",

"eslint-plugin-standard": "^4.0.0",
"jest": "^24.1.0",
"jest": "^24.9.0",
"less": "^3.9.0",

@@ -59,0 +59,0 @@ "node-sass": "^4.12.0",

@@ -26,3 +26,5 @@ # Svelte Preprocess

- [`pug`](#pug)
- [FAQ](#FAQ)
- [FAQ](#faq)
- [My VS Code is displaying a lot of errors on my templates when I try to use `x`...](#my-vs-code-is-displaying-a-lot-of-errors-on-my-templates-when-i-try-to-use-x)
- [My `typescript` compilation is sloooooooow](#my-typescript-compilation-is-sloooooooow)

@@ -325,6 +327,9 @@ <!-- /code_chunk_output -->

* Define which tag should `svelte-preprocess` look for markup content.
*
* This is only used if you desire to define your markup between this tag
* or to import it from a external file.
*
* The example below means your markup can be defined inside a `<markup>` tag.
**/
markupTagName: 'template',
markupTagName: 'markup',
/**

@@ -331,0 +336,0 @@ * Extend the default language alias dictionary.

const postcss = require('postcss')
const globalifyPlugin = root =>
const globalifyPlugin = root => {
root.walkAtRules(/keyframes$/, atrule => {
if (!atrule.params.startsWith('-global-')) {
atrule.params = '-global-' + atrule.params
}
})
root.walkRules(rule => {

@@ -13,2 +19,3 @@ if (rule.parent && rule.parent.name === 'keyframes') {

})
}

@@ -15,0 +22,0 @@ module.exports = async ({ content, filename, map = undefined }) => {

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