Skip to content

Commit

Permalink
fix(date-fns): upgrade date-fns to fix module not found TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Dec 7, 2016
1 parent 6e10c55 commit 733ed3e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.0",
"angular-resizable-element": "~0.5.0",
"calendar-utils": "0.0.38",
"date-fns": "^1.11.1"
"date-fns": "^1.15.1"
}
}
1 change: 0 additions & 1 deletion test/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/// <reference types="chai" />
/// <reference types="sinon" />
/// <reference types="sinon-chai" />
/// <reference path="../node_modules/date-fns/typings.d.ts" />

import 'core-js';
import 'zone.js/dist/zone';
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.umd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = {
loader: 'source-map-loader'
}, {
test: /\.ts$/,
loader: 'awesome-typescript-loader?module=es2015&ignoreDiagnostics=[2307]',
loader: 'awesome-typescript-loader?module=es2015',
exclude: /node_modules/
}, {
test: /\.scss/,
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1432,9 +1432,9 @@ dashdash@^1.12.0:
dependencies:
assert-plus "^1.0.0"

date-fns@^1.11.1:
version "1.11.2"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.11.2.tgz#30a8136c52633688852aa66d6d043b84ffc749de"
date-fns@^1.15.1:
version "1.15.1"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.15.1.tgz#26b1f3163de8c9a71447adeb23c9bc40171b3fd4"

date-now@^0.1.4:
version "0.1.4"
Expand Down

0 comments on commit 733ed3e

Please sign in to comment.