constructor-utils
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -1,2 +0,1 @@ | ||
import "reflect-metadata"; | ||
/** | ||
@@ -3,0 +2,0 @@ * Specifies a type of the property. |
"use strict"; | ||
require("reflect-metadata"); | ||
var MetadataStorage_1 = require("./metadata/MetadataStorage"); | ||
@@ -4,0 +3,0 @@ var TypeMetadata_1 = require("./metadata/TypeMetadata"); |
{ | ||
"name": "constructor-utils", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Constructor utilities to simplify work with classes and constructors. Provides plain javascript objects to classes transformation utilities.", | ||
@@ -27,2 +27,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"es6-shim": "^0.35.0", | ||
"reflect-metadata": "^0.1.3" | ||
@@ -29,0 +30,0 @@ }, |
@@ -8,2 +8,7 @@ # constructor-utils | ||
**0.0.14** | ||
* removed `import "reflect-metadata"` from source code. Now reflect metadata should be included like any other | ||
user's shims. | ||
**0.0.13** | ||
@@ -25,8 +30,11 @@ | ||
3. ES6 features are used, so you may want to install [es6-shim](https://github.com/paulmillr/es6-shim) too: | ||
3. ES6 features are used, so you may want to install [es6-shim](https://github.com/paulmillr/es6-shim) too. You also | ||
need to install [reflect-metadata](https://www.npmjs.com/package/reflect-metadata) package. | ||
`npm install es6-shim --save` | ||
`npm install reflect-metadata --save` | ||
if you are building nodejs app, you may want to `require("es6-shim");` in your app. | ||
or if you are building web app, you man want to add `<script src="path-to-shim/es6-shim.js">` on your page. | ||
if you are building nodejs app, you may want to `require("es6-shim");` and `require("reflect-metadata")` in your app. | ||
or if you are building web app, you man want to add `<script src="path-to-es6-shim/es6-shim.js">` on your page. | ||
or if you are building web app, you man want to add `<script src="path-to-reflect-metadata-shim/reflect-metadata.js">` on your page. | ||
@@ -33,0 +41,0 @@ ## Transform plain object to constructor and versa |
Sorry, the diff of this file is not supported yet
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
38221
253
2
440
+ Addedes6-shim@^0.35.0
+ Addedes6-shim@0.35.8(transitive)