Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 09ce344

Browse files
authored
chore(deps): update Reflect Metadata to 0.1.8 (#71)
1 parent de22f2f commit 09ce344

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@angular/router-deprecated": "v2.0.0-rc.2",
5959
"hammerjs": "2.0.6",
6060
"react-native": "0.31.0",
61-
"reflect-metadata": "0.1.3",
61+
"reflect-metadata": "0.1.8",
6262
"rxjs": "5.0.0-beta.6",
6363
"zone.js": "mlaval/zone.js#prerelease0.6.13"
6464
}

tools/copy-dependencies.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
11
var gulp = require('gulp');
22
var filter = require('gulp-filter');
33
var strip = require('gulp-strip-comments');
4-
var through2 = require('through2');
54

65
exports.doCopy = function(source, destination) {
76
var filterJS= filter('@angular/**/*.js', {restore: true});
8-
var tmpHack = filter('reflect-metadata/Reflect.js', {restore: true});
97
return gulp.src(source, { base: './node_modules/' })
108
.pipe(filterJS)
119
.pipe(strip())
1210
.pipe(filterJS.restore)
13-
.pipe(tmpHack)
14-
.pipe(transformReflect())
15-
.pipe(tmpHack.restore)
1611
.pipe(gulp.dest(destination));
1712
}
18-
19-
function transformSymbolShim() {
20-
return through2.obj(function (file, encoding, done) {
21-
file.contents = new Buffer(fixedSymbolShim);
22-
this.push(file);
23-
done();
24-
});
25-
}
26-
27-
function transformReflect() {
28-
return through2.obj(function (file, encoding, done) {
29-
var content = String(file.contents).replace('&& require("crypto")', '');
30-
file.contents = new Buffer(content);
31-
this.push(file);
32-
done();
33-
});
34-
}

0 commit comments

Comments
 (0)