New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

karma-riot

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-riot - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

polyfill.js

11

index.js

@@ -39,3 +39,3 @@ var riot = require('riot')

var riotPath = path.dirname(require.resolve('riot')) // lib/server/index.js
var pattern = {
files.unshift({
pattern: riotPath + '/../../riot.js',

@@ -45,4 +45,9 @@ included: true,

watched: false
}
files.unshift(pattern)
})
files.unshift({
pattern: __dirname + '/polyfill.js',
included: true,
served: true,
watched: false
})
}

@@ -49,0 +54,0 @@ initRiot.$inject = ['config.files']

{
"name": "karma-riot",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Karma plugin. Compile and test HTML and JS in Riot tag files.",

@@ -26,8 +26,8 @@ "main": "index.js",

"expect.js": "^0.3.1",
"karma": "^0.13.9",
"karma": "^0.13.15",
"karma-mocha": "^0.2.0",
"karma-mocha-reporter": "^1.1.1",
"karma-phantomjs-launcher": "^0.2.1",
"riot": "^2.2.4"
"riot": "^2.3.1"
}
}

@@ -56,4 +56,16 @@ # karma-riot

See [our example](https://github.com/riot/examples/karma-mocha) for Mocha spec config.
## Options
```js
riotPreprocessor: {
options: {
type: 'es6'
}
}
```
[Read the docs](http://riotjs.com/guide/compiler/#pre-processors) for more info on available options.
See [our example](./test/specs.js) for Mocha spec config.
----

@@ -60,0 +72,0 @@

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