@babel/plugin-transform-classes
Advanced tools
Comparing version 7.0.0-beta.32 to 7.0.0-beta.33
{ | ||
"name": "@babel/plugin-transform-classes", | ||
"version": "7.0.0-beta.32", | ||
"version": "7.0.0-beta.33", | ||
"description": "Compile ES2015 classes to ES5", | ||
@@ -9,7 +9,7 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-classes", | ||
"dependencies": { | ||
"@babel/helper-annotate-as-pure": "7.0.0-beta.32", | ||
"@babel/helper-define-map": "7.0.0-beta.32", | ||
"@babel/helper-function-name": "7.0.0-beta.32", | ||
"@babel/helper-optimise-call-expression": "7.0.0-beta.32", | ||
"@babel/helper-replace-supers": "7.0.0-beta.32" | ||
"@babel/helper-annotate-as-pure": "7.0.0-beta.33", | ||
"@babel/helper-define-map": "7.0.0-beta.33", | ||
"@babel/helper-function-name": "7.0.0-beta.33", | ||
"@babel/helper-optimise-call-expression": "7.0.0-beta.33", | ||
"@babel/helper-replace-supers": "7.0.0-beta.33" | ||
}, | ||
@@ -20,8 +20,8 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@babel/core": "7.0.0-beta.32" | ||
"@babel/core": "7.0.0-beta.33" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.32", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.32" | ||
"@babel/core": "7.0.0-beta.33", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.33" | ||
} | ||
} |
@@ -9,3 +9,3 @@ # @babel/plugin-transform-classes | ||
due to limitations in ES5 (for the [classes](http://babeljs.io/docs/plugins/transform-classes) plugin). | ||
You can try to use [babel-plugin-transform-builtin-extend](https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend) based on `Object.setPrototypeOf` and `Reflect.construct`, but it also has some limitations. | ||
You can try to use [@babel/plugin-transform-builtin-extend](https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend) based on `Object.setPrototypeOf` and `Reflect.construct`, but it also has some limitations. | ||
@@ -63,3 +63,3 @@ ## Examples | ||
{ | ||
"plugins": ["@babel/transform-classes"] | ||
"plugins": ["@babel/plugin-transform-classes"] | ||
} | ||
@@ -70,3 +70,3 @@ | ||
"plugins": [ | ||
["@babel/transform-classes", { | ||
["@babel/plugin-transform-classes", { | ||
"loose": true | ||
@@ -81,3 +81,3 @@ }] | ||
```sh | ||
babel --plugins @babel/transform-classes script.js | ||
babel --plugins @babel/plugin-transform-classes script.js | ||
``` | ||
@@ -89,3 +89,3 @@ | ||
require("@babel/core").transform("code", { | ||
plugins: ["@babel/transform-classes"] | ||
plugins: ["@babel/plugin-transform-classes"] | ||
}); | ||
@@ -92,0 +92,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26093
+ Added@babel/code-frame@7.0.0-beta.33(transitive)
+ Added@babel/core@7.0.0-beta.33(transitive)
+ Added@babel/generator@7.0.0-beta.33(transitive)
+ Added@babel/helper-annotate-as-pure@7.0.0-beta.33(transitive)
+ Added@babel/helper-define-map@7.0.0-beta.33(transitive)
+ Added@babel/helper-function-name@7.0.0-beta.33(transitive)
+ Added@babel/helper-get-function-arity@7.0.0-beta.33(transitive)
+ Added@babel/helper-optimise-call-expression@7.0.0-beta.33(transitive)
+ Added@babel/helper-replace-supers@7.0.0-beta.33(transitive)
+ Added@babel/helpers@7.0.0-beta.33(transitive)
+ Added@babel/template@7.0.0-beta.33(transitive)
+ Added@babel/traverse@7.0.0-beta.33(transitive)
+ Added@babel/types@7.0.0-beta.33(transitive)
+ Addedbabylon@7.0.0-beta.33(transitive)
- Removed@babel/code-frame@7.0.0-beta.32(transitive)
- Removed@babel/core@7.0.0-beta.32(transitive)
- Removed@babel/generator@7.0.0-beta.32(transitive)
- Removed@babel/helper-annotate-as-pure@7.0.0-beta.32(transitive)
- Removed@babel/helper-define-map@7.0.0-beta.32(transitive)
- Removed@babel/helper-function-name@7.0.0-beta.32(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.32(transitive)
- Removed@babel/helper-optimise-call-expression@7.0.0-beta.32(transitive)
- Removed@babel/helper-replace-supers@7.0.0-beta.32(transitive)
- Removed@babel/helpers@7.0.0-beta.32(transitive)
- Removed@babel/template@7.0.0-beta.32(transitive)
- Removed@babel/traverse@7.0.0-beta.32(transitive)
- Removed@babel/types@7.0.0-beta.32(transitive)
- Removedbabylon@7.0.0-beta.32(transitive)