Skip to content

Commit a9042e1

Browse files
committed
update package (TS 2.4.1, Vue 2.3.4, VueTyped 2.1.2, etc)
1 parent 7b91a65 commit a9042e1

File tree

5 files changed

+27
-38
lines changed

5 files changed

+27
-38
lines changed

package.json

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,73 +8,65 @@
88
"build": "gulp build && rollup -c",
99
"dev": "node demo/dev-server.js",
1010
"build:demo": "npm run build && cross-env NODE_ENV='production' webpack --config demo/webpack.prod.config.js",
11-
"test": "npm run build && karma start karma.conf.js"
11+
"test": "./node_modules/.bin/karma start test/karma.conf.js"
1212
},
1313
"author": "Budi Adiono <[email protected]>",
1414
"license": "MIT",
1515
"dependencies": {
16-
"@types/toastr": "^2.1.32",
16+
"@types/toastr": "^2.1.34",
1717
"autonumeric": "^1.9.46",
18-
"moment": "^2.16.0",
19-
"sweetalert2": "^6.4.0",
18+
"moment": "^2.18.1",
19+
"sweetalert2": "^6.6.5",
2020
"toastr": "^2.1.2",
21-
"vue": "^2.2.1",
22-
"vue-typed": "^2.1.1"
21+
"vue": "^2.3.4",
22+
"vue-typed": "^2.1.2"
2323
},
2424
"devDependencies": {
2525
"@types/chai": "^3.4.35",
2626
"@types/chai-dom": "0.0.4",
2727
"@types/jquery": "^2.0.40",
2828
"@types/lodash": "^4.14.53",
2929
"@types/mocha": "^2.2.39",
30-
"@types/moment": "^2.13.0",
3130
"@types/node": "6.0.41",
3231
"@types/webpack": "^2.2.7",
3332
"@types/webpack-env": "^1.13.0",
34-
"babel-core": "^6.23.1",
35-
"babel-loader": "^6.3.2",
36-
"babel-plugin-external-helpers": "^6.18.0",
33+
"babel-core": "^6.25.0",
34+
"babel-loader": "^7.1.1",
35+
"babel-plugin-external-helpers": "^6.22.0",
3736
"babel-plugin-transform-decorators-legacy": "^1.3.4",
38-
"babel-preset-es2015": "^6.18.0",
37+
"babel-polyfill": "^6.23.0",
38+
"babel-preset-es2015": "^6.24.1",
3939
"better-console": "^0.2.4",
4040
"chai": "^3.5.0",
4141
"chai-dom": "^1.4.2",
4242
"cross-env": "^3.1.3",
4343
"css-loader": "^0.26.2",
44-
"del": "^2.2.2",
4544
"eventsource-polyfill": "^0.9.6",
46-
"express": "^4.14.1",
47-
"extend": "^3.0.0",
48-
"extract-text-webpack-plugin": "^1.0.1",
45+
"express": "^4.15.3",
4946
"favicons-webpack-plugin": "0.0.7",
5047
"file-loader": "^0.9.0",
51-
"friendly-errors-webpack-plugin": "^1.4.0",
52-
"glob": "^7.1.1",
48+
"friendly-errors-webpack-plugin": "^1.6.1",
5349
"gulp": "^3.9.1",
5450
"gulp-concat": "^2.6.0",
5551
"gulp-copy": "^1.0.0",
5652
"gulp-rename": "^1.2.2",
5753
"html-loader": "^0.4.5",
5854
"html-webpack-plugin": "^2.28.0",
59-
"http-proxy-middleware": "^0.17.3",
6055
"jquery": "^3.1.1",
6156
"js-beautify": "^1.6.11",
6257
"jshint": "^2.9.3",
6358
"json-loader": "^0.5.4",
64-
"karma": "^1.5.0",
65-
"karma-chai": "^0.1.0",
66-
"karma-chai-dom": "^1.1.0",
67-
"karma-mocha": "^1.2.0",
68-
"karma-mocha-reporter": "^2.2.0",
69-
"karma-phantomjs-launcher": "^1.0.2",
70-
"karma-webpack": "^1.8.0",
59+
"karma": "^1.7.0",
60+
"karma-mocha": "^1.3.0",
61+
"karma-mocha-reporter": "^2.2.3",
62+
"karma-phantomjs-launcher": "^1.0.4",
63+
"karma-webpack": "^2.0.4",
7164
"less": "^2.7.1",
7265
"less-loader": "^2.2.3",
7366
"lodash": "^4.17.2",
7467
"markdown-loader": "^0.1.7",
7568
"mocha": "^3.1.2",
76-
"opn": "^4.0.2",
77-
"phantomjs-prebuilt": "^2.1.13",
69+
"phantomjs": "^2.1.7",
7870
"pretty": "^1.0.0",
7971
"pug": "^2.0.0-beta9",
8072
"pug-loader": "^2.3.0",
@@ -87,17 +79,14 @@
8779
"run-sequence": "^1.2.2",
8880
"source-map-loader": "^0.1.5",
8981
"style-loader": "^0.13.2",
90-
"through2": "^2.0.1",
91-
"ts-loader": "^0.8.2",
92-
"typescript": "^2.2.1",
82+
"ts-loader": "^2.2.2",
83+
"typescript": "^2.4.1",
9384
"vue-router": "^2.3.0",
9485
"vuex": "^2.2.1",
95-
"webpack": "^2.2.1",
86+
"webpack": "^2.6.1",
9687
"webpack-dev-server": "^2.4.1",
9788
"webpack-hot-middleware": "^2.17.1",
98-
"webpack-merge": "^3.0.0",
99-
"wrench": "^1.5.9",
100-
"yamljs": "^0.2.8"
89+
"webpack-merge": "^3.0.0"
10190
},
10291
"files": [
10392
"dist/vue-typed-ui.js",

src/components/etc/message/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class Message extends _MessageBase implements IMessage {
4444
.on('click', function () {
4545
$(this)
4646
.closest('.message')
47-
.transition(self.transition)
47+
.transition(self.transition as any)
4848
})
4949
}
5050
}

src/decorators/form/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function FormComponent(options: FormOptions): ClassDecorator {
6969

7070
}
7171

72-
return function (target: typeof Function) {
72+
return <ClassDecorator>function (target: typeof Function) {
7373

7474
let validators = target.prototype[ValidatorPropNameTmp] || undefined
7575
delete target.prototype[ValidatorPropNameTmp]

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Settings } from '../lib/settings';
55
import { DefaultOptions, DefaultSettings } from './defaults';
66
import * as toastr from 'toastr'
77
import * as _ from 'lodash'
8-
import { Virtual } from 'vue-typed';
8+
99

1010
import { register_all_components, register_all_filters, register_all_methods } from './register';
1111

src/register.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function register_all_methods(vue: typeof Vue, instance) {
3030

3131
let global_methods = {
3232
'createValidationRule': (name: string, rule: Function) => {
33-
$.fn.form.settings.rules[name] = rule
33+
($.fn.form as any).settings.rules[name] = rule
3434
},
3535

3636
'showModal': (element: string | HTMLElement | JQuery) => {

0 commit comments

Comments
 (0)