diff --git a/package.json b/package.json index 302cdd0297bc..570285e8fb85 100644 --- a/package.json +++ b/package.json @@ -48,24 +48,24 @@ "@types/jasmine": "2.5.41", "@types/merge2": "^0.3.29", "@types/minimist": "^1.2.0", - "@types/node": "^7.0.4", + "@types/node": "^7.0.5", "@types/run-sequence": "^0.0.28", "@types/rx": "2.5.33", "axe-core": "^2.1.7", "axe-webdriverjs": "^0.5.0", "conventional-changelog": "^1.1.0", - "dgeni": "^0.4.2", + "dgeni": "^0.4.7", "dgeni-packages": "^0.16.5", - "firebase-admin": "^4.0.6", + "firebase-admin": "^4.1.2", "firebase-tools": "^2.2.1", "fs-extra": "^2.0.0", "glob": "^7.1.1", - "google-cloud": "^0.45.1", + "google-cloud": "^0.48.0", "gulp": "^3.9.1", "gulp-autoprefixer": "^3.1.1", "gulp-better-rollup": "^1.0.2", "gulp-clean": "^0.3.2", - "gulp-clean-css": "^2.3.2", + "gulp-clean-css": "^3.0.3", "gulp-cli": "^1.2.2", "gulp-connect": "^5.0.0", "gulp-flatten": "^0.3.1", @@ -75,35 +75,35 @@ "gulp-markdown": "^1.2.0", "gulp-rename": "^1.2.2", "gulp-sass": "^3.1.0", - "gulp-sourcemaps": "^2.4.0", + "gulp-sourcemaps": "^2.4.1", "gulp-transform": "^1.1.0", "hammerjs": "^2.0.8", "highlight.js": "^9.9.0", "image-diff": "^1.6.3", "jasmine-core": "^2.5.2", - "karma": "^1.4.1", + "karma": "^1.5.0", "karma-browserstack-launcher": "^1.2.0", "karma-chrome-launcher": "^2.0.0", - "karma-firefox-launcher": "^1.0.0", + "karma-firefox-launcher": "^1.0.1", "karma-jasmine": "^1.1.0", "karma-sauce-launcher": "^1.1.0", "karma-sourcemap-loader": "^0.3.7", - "madge": "^1.5.0", + "madge": "^1.6.0", "merge2": "^1.0.2", "minimist": "^1.2.0", - "node-sass": "^4.3.0", - "protractor": "^5.1.0", + "node-sass": "^4.5.0", + "protractor": "^5.1.1", "resolve-bin": "^0.4.0", "run-sequence": "^1.2.2", "sass": "^0.5.0", - "selenium-webdriver": "^3.0.1", + "selenium-webdriver": "^3.1.0", "stylelint": "^7.8.0", "travis-after-modes": "0.0.7", - "ts-node": "^2.0.0", + "ts-node": "^2.1.0", "tslint": "^4.4.2", "tslint-no-unused-var": "0.0.6", "typescript": "~2.0.10", - "uglify-js": "^2.7.5", + "uglify-js": "^2.8.7", "web-animations-js": "^2.2.2" } } diff --git a/src/demo-app/autocomplete/autocomplete-demo.ts b/src/demo-app/autocomplete/autocomplete-demo.ts index 7f9ed2de234b..00fbeeb1a15c 100644 --- a/src/demo-app/autocomplete/autocomplete-demo.ts +++ b/src/demo-app/autocomplete/autocomplete-demo.ts @@ -88,7 +88,8 @@ export class AutocompleteDemo { } filterStates(val: string) { - return val ? this.states.filter((s) => s.name.match(new RegExp(val, 'gi'))) : this.states; + return val ? this.states.filter(s => new RegExp(`^${val}`, 'gi').test(s.name)) + : this.states; } } diff --git a/src/demo-app/checkbox/checkbox-demo.html b/src/demo-app/checkbox/checkbox-demo.html index 73fdfc6e2c91..28760dac161c 100644 --- a/src/demo-app/checkbox/checkbox-demo.html +++ b/src/demo-app/checkbox/checkbox-demo.html @@ -1,7 +1,8 @@