upgrade angular version to 1.7.9 (#15409)

Signed-off-by: Oleksii Orel <oorel@redhat.com>
7.20.x
Oleksii Orel 2019-12-11 11:30:35 +02:00 committed by GitHub
parent ce64b1966e
commit 2d71093f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 70 deletions

View File

@ -20,7 +20,7 @@
"@types/karma-jasmine": "^0.0.31",
"@types/moment": "^2.13.0",
"angular-bootstrap": "^0.12.2",
"angular-mocks": "1.6.10",
"angular-mocks": "1.7.9",
"awesome-typescript-loader": "^3.5.0",
"babel-core": "^6.4.5",
"babel-loader": "^6.2.1",
@ -105,20 +105,20 @@
"test": "gulp test"
},
"dependencies": {
"angular": "1.6.10",
"angular-animate": "1.6.10",
"angular-aria": "1.6.10",
"angular-cookies": "1.6.10",
"angular": "1.7.9",
"angular-animate": "1.7.9",
"angular-aria": "1.7.9",
"angular-cookies": "1.7.9",
"angular-file-upload": "2.0.0",
"angular-filter": "0.5.4",
"angular-gravatar": "0.2.4",
"angular-material": "1.0.1",
"angular-messages": "1.6.10",
"angular-messages": "1.7.9",
"angular-moment": "0.9.0",
"angular-resource": "1.6.10",
"angular-route": "1.6.10",
"angular-sanitize": "1.6.10",
"angular-touch": "1.6.10",
"angular-resource": "1.7.9",
"angular-route": "1.7.9",
"angular-sanitize": "1.7.9",
"angular-touch": "1.7.9",
"angular-ui-bootstrap": "1.1.2",
"angular-uuid4": "0.3.1",
"angular-websocket": "1.0.9",

View File

@ -43,8 +43,6 @@ describe('CheEditor >', () => {
*/
let $httpBackend: ng.IHttpBackendService;
const requiredErrorMessage = 'A reference is required.';
/**
* setup module
*/
@ -92,8 +90,7 @@ describe('CheEditor >', () => {
editor-state="model.editorState"
validator="model.isRecipeValidFn()"
on-content-change="model.onChangeFn()"
editor-mode="model.editorMode"
required><div ng-message="required">${requiredErrorMessage}</div></che-editor>`
editor-mode="model.editorMode"></che-editor>`
))($scope);
$scope.$digest();
controller = compiledDirective.controller('cheEditor');
@ -159,22 +156,6 @@ describe('CheEditor >', () => {
const errorMessagesElement = compiledDirective.find('.validator-checks');
expect(errorMessagesElement.html()).toContain(errorMessage);
});
it(`should show transclude error message if editor is required`, () => {
const newValue = '';
expect($scope.model.editorScript).not.toEqual(newValue);
expect($scope.model.editorState.isValid).toEqual(true);
controller.setEditorValue(newValue);
$scope.$digest();
$timeout.flush();
expect($scope.model.editorScript).toEqual(newValue);
expect($scope.model.editorState.isValid).toEqual(true);
const errorMessagesElement = compiledDirective.find('.custom-checks');
expect(errorMessagesElement.html()).toContain(requiredErrorMessage);
});
});
});

View File

@ -298,25 +298,25 @@ amdefine@>=0.0.4:
resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5"
integrity sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=
angular-animate@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-animate/-/angular-animate-1.6.10.tgz#c520f6d341370e34e0a62060c99bcf47b7d7db8c"
integrity sha512-RU9ZJbTspq0W0x675H5k1DeSgKbAFfp2aiYoNGdlD+wQNKvwwMR5ho+EkDKkx9zE02a5goe8Z6EhhYPQSff9dA==
angular-animate@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-animate/-/angular-animate-1.7.9.tgz#a397f82434c1e7ed5b7a298fa70fc3de989a6785"
integrity sha512-fV+AISy/HTzurQH2ngsJg+lLIvfu0ahc1h4AYKauaXVw97rZc2k4iUA1bMstiEyClsdayQX568kjQc1NK+oYhw==
angular-aria@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-aria/-/angular-aria-1.6.10.tgz#472bfff8682c4cfe634d4bfda0524443e07e3501"
integrity sha512-QO+jSbsnGxLhULD8syFvfH0sQVCKCwDPDCd130ou11HYw4D8vAaU/NG6ufcmnh9XJHTcngAaBe3VVfZefMkiBA==
angular-aria@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-aria/-/angular-aria-1.7.9.tgz#90c61895ffbd876e95915222b32a7bd0070af7e3"
integrity sha512-luI3Jemd1AbOQW0krdzfEG3fM0IFtLY0bSSqIDEx3POE0XjKIC1MkrO8Csyq9PPgueLphyAPofzUwZ8YeZ88SA==
angular-bootstrap@^0.12.2:
version "0.12.2"
resolved "https://registry.yarnpkg.com/angular-bootstrap/-/angular-bootstrap-0.12.2.tgz#de9900a7db087a7e9da47304a9c2f77f9c069827"
integrity sha1-3pkAp9sIen6dpHMEqcL3f5wGmCc=
angular-cookies@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-cookies/-/angular-cookies-1.6.10.tgz#20a014d501242e2edacd21397c0e5480e08dee00"
integrity sha512-ADfbqXLhwcaecAiWIaxpl8XWFJgWsrDl/ksSEkYm5dSoXHYlj3HKlAhPbjBv/foYS7pdI0apmSGHWrBPqdjF/g==
angular-cookies@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-cookies/-/angular-cookies-1.7.9.tgz#0f0cd2a9d1c81e5b8d6c6711d41f0909f9d0b8e0"
integrity sha512-3eRq/aPrtCZKDWQnc3nW3sFoMbLiHkCkyDF2O9u7VXnqvVsUPaipk5R1ZqahgcSQHQrN/F5IU4T4nrz52qAZmA==
angular-file-upload@2.0.0:
version "2.0.0"
@ -344,15 +344,15 @@ angular-material@1.0.1:
resolved "https://registry.yarnpkg.com/angular-material/-/angular-material-1.0.1.tgz#cc4000a1eb2ff6ca16a47d13759919011c7790dd"
integrity sha1-zEAAoesv9soWpH0TdZkZARx3kN0=
angular-messages@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-messages/-/angular-messages-1.6.10.tgz#09eedc5b50db99eeed9776414428c587c1259715"
integrity sha512-FpILIYqeBj2fP5U5txnO/cneeKZxdF+WqpBo7tgHXl2BmOVVWKUCEjMmByouYxwn9PFLeipBPjaaDs2/eB/m5A==
angular-messages@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-messages/-/angular-messages-1.7.9.tgz#6403b7f56df4b17b62d88762ac5e6b1702347fd2"
integrity sha512-OdJihuO6AW+m1/r9OdW5riCwacn3dL1agQvgu6Cww3a7OARXXN0vxOpsZCNk4yg4CuD7Et3tiz4DymhvZkydvw==
angular-mocks@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-mocks/-/angular-mocks-1.6.10.tgz#6a139e43c461d0c9a5a1acebc91e63db16031176"
integrity sha512-1865/NmqHNogibNoglY1MGBjx882iu2hI46BBhYDWyz0C4TDM5ER8H8SnYwQKUUG4RXMDsJizszEQ2BEoYKV9w==
angular-mocks@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-mocks/-/angular-mocks-1.7.9.tgz#0a3b7e28b9a493b4e3010ed2b0f69a68e9b4f79b"
integrity sha512-LQRqqiV3sZ7NTHBnNmLT0bXtE5e81t97+hkJ56oU0k3dqKv1s6F+nBWRlOVzqHWPGFOiPS8ZJVdrS8DFzHyNIA==
angular-moment@0.9.0:
version "0.9.0"
@ -361,25 +361,25 @@ angular-moment@0.9.0:
dependencies:
moment ">=2.8.0 <2.10.0"
angular-resource@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-resource/-/angular-resource-1.6.10.tgz#28c1834e9fa623467d2f9894716a4e6c7e077459"
integrity sha512-jrYXUGPtpv/lTBlYZ6HZefIV6Lb+6e1HUavBPg9TSzW7s4zYRBWzMj6vMg8gZzVjWdH/nYBWfilV0qfnmZSI+A==
angular-resource@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-resource/-/angular-resource-1.7.9.tgz#fa53623fae2c60debe2410d692447dcb0ba02396"
integrity sha512-rXXhCE2qT31Pn4Sl+2XL+ntv4zxnA2OzY+clCl8/pOp/s/gIzxpQlEtXipo3QK8Qur3glbIkeF/bJw+gjVAdUw==
angular-route@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-route/-/angular-route-1.6.10.tgz#4247a32eab19495624623e96c1626dfba17ebf21"
integrity sha512-BxjrjQNCbVqQKyB3nHjNI8zSUwhnQWFZnSBv5BZ336VbMKhWu74ad5xpFx5VMk6WyHlmMGDoRagzB6AKkRcvKA==
angular-route@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-route/-/angular-route-1.7.9.tgz#f9910a2af0ba3ad7a969c5dd369b8360d0d5e4ef"
integrity sha512-vRoj5hzdQtWbODhWJqDzD1iNOEfCKshO6GFBuPVV7RHlPjzIc4R2dHCc7Qiv/8F3LDxJDohc6vSnTDMLHuaqeA==
angular-sanitize@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-sanitize/-/angular-sanitize-1.6.10.tgz#635a362afb2dd040179f17d3a5455962b2c1918f"
integrity sha512-01i1Xoq9ykUrsoYQMSB6dWZmPp9Df5hfCqMAGGzJBWZ7L2WY0OtUphdI0YvR8ZF9lAsWtGNtsEFilObjq5nTgQ==
angular-sanitize@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-sanitize/-/angular-sanitize-1.7.9.tgz#6b4d5e826abdabd352b13a7c65c8c74daf6a7b15"
integrity sha512-nB/xe7JQWF9nLvhHommAICQ3eWrfRETo0EVGFESi952CDzDa+GAJ/2BFBNw44QqQPxj1Xua/uYKrbLsOGWZdbQ==
angular-touch@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular-touch/-/angular-touch-1.6.10.tgz#bd51fa48bd2c2c477fea776817535601e6340c2f"
integrity sha512-ZblW46aN5s7OOihpXDa0qzrJXdaVGE44jc+a8e1NpOjhCKZDQze+nBHh3xw3toAF1BIfDJIkRstadk4h2R/uLg==
angular-touch@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-touch/-/angular-touch-1.7.9.tgz#a85375407f9f2fb20442cb3ded48937c558d9267"
integrity sha512-qNKWUnecfah4mZxG7GM96AemhXyOVcE03kg3SrWExfmyO/hQNPE50Qqyszb+1UE8GO7WiWOYn1Y5wn9CtOInqA==
angular-ui-bootstrap@1.1.2:
version "1.1.2"
@ -404,10 +404,10 @@ angular@*:
resolved "https://registry.yarnpkg.com/angular/-/angular-1.7.5.tgz#d1c1c01c6f5dc835638f3f9aa51012857bdac49e"
integrity sha512-760183yxtGzni740IBTieNuWLtPNAoMqvmC0Z62UoU0I3nqk+VJuO3JbQAXOyvo3Oy/ZsdNQwrSTh/B0OQZjNw==
angular@1.6.10:
version "1.6.10"
resolved "https://registry.yarnpkg.com/angular/-/angular-1.6.10.tgz#eed3080a34d29d0f681ff119b18ce294e3f74826"
integrity sha512-PCZ5/hVdvPQiYyH0VwsPjrErPHRcITnaXxhksceOXgtJeesKHLA7KDu4X/yvcAi+1zdGgGF+9pDxkJvghXI9Wg==
angular@1.7.9:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular/-/angular-1.7.9.tgz#e52616e8701c17724c3c238cfe4f9446fd570bc4"
integrity sha512-5se7ZpcOtu0MBFlzGv5dsM1quQDoDeUTwZrWjGtTNA7O88cD8TEk5IEKCTDa3uECV9XnvKREVUr7du1ACiWGFQ==
ansi-cyan@^0.1.1:
version "0.1.1"