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

karma-es6-shim

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-es6-shim - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "karma-es6-shim",
"version": "0.1.2",
"version": "0.1.3",
"description": "es6-shim adapter for Karma",

@@ -5,0 +5,0 @@ "keywords": [

@@ -8,12 +8,8 @@ karma-es6-shim

[es6-shim][] for [Karma][] including [es5-shim][]
[es6-shim](https://github.com/paulmillr/es6-shim/) for [karma](http://karma-runner.github.io) including [es5-shim](https://github.com/es5-shim/es5-shim/).
[es6-shim]: https://github.com/paulmillr/es6-shim/
[es5-shim]: https://github.com/es5-shim/es5-shim/
[karma]: http://karma-runner.github.io
Motivation
----------
Most versions of PhantomJS do not support ES5, let alone ES6. This meant that you got all sorts of errors when you tried to test ES6 features, even if you had used the [Babel (AKA 6to5 ) transpiler](https://babeljs.io/).
Most versions of PhantomJS do not support ES5, let alone ES6. This meant that you got all sorts of errors when you tried to test ES6 features, even if you had used the [Babel/6to5 transpiler](https://babeljs.io/).

@@ -68,3 +64,3 @@ Therefore, we have modified [pokehanai/karma-es5-shim](https://github.com/pokehanai/karma-es5-shim) in the following ways:

* You use the es6-shim polyfill in your HTML
* You need to use AMD-based module loading
* You need to use AMD-based module loading, e.g. RequireJS (see [Babel's docs](https://babeljs.io/docs/usage/runtime/) for more information)

@@ -75,2 +71,1 @@ Do not use it if:

* You are polyfilling in some other way that is accessible to PhantomJS in Karma

Sorry, the diff of this file is not supported yet

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