Permalink
Browse files

chore(deps): update Reflect Metadata to 0.1.8 (#71)

  • Loading branch information...
1 parent de22f2f commit 09ce3448bad526ec5a50e971801e215c7d408eec @mlaval mlaval committed on GitHub Aug 19, 2016
Showing with 1 addition and 23 deletions.
  1. +1 −1 package.json
  2. +0 −22 tools/copy-dependencies.js
View
@@ -58,7 +58,7 @@
"@angular/router-deprecated": "v2.0.0-rc.2",
"hammerjs": "2.0.6",
"react-native": "0.31.0",
- "reflect-metadata": "0.1.3",
+ "reflect-metadata": "0.1.8",
"rxjs": "5.0.0-beta.6",
"zone.js": "mlaval/zone.js#prerelease0.6.13"
}
@@ -1,34 +1,12 @@
var gulp = require('gulp');
var filter = require('gulp-filter');
var strip = require('gulp-strip-comments');
-var through2 = require('through2');
exports.doCopy = function(source, destination) {
var filterJS= filter('@angular/**/*.js', {restore: true});
- var tmpHack = filter('reflect-metadata/Reflect.js', {restore: true});
return gulp.src(source, { base: './node_modules/' })
.pipe(filterJS)
.pipe(strip())
.pipe(filterJS.restore)
- .pipe(tmpHack)
- .pipe(transformReflect())
- .pipe(tmpHack.restore)
.pipe(gulp.dest(destination));
}
-
-function transformSymbolShim() {
- return through2.obj(function (file, encoding, done) {
- file.contents = new Buffer(fixedSymbolShim);
- this.push(file);
- done();
- });
-}
-
-function transformReflect() {
- return through2.obj(function (file, encoding, done) {
- var content = String(file.contents).replace('&& require("crypto")', '');
- file.contents = new Buffer(content);
- this.push(file);
- done();
- });
-}

0 comments on commit 09ce344

Please sign in to comment.