Files
notifications-admin/package.json
Chris Hill-Scott 35e7260d6f Fix bug with disappearing AJAX content in IE 9/10
We had a user report that the ‘inbound messages’ part of their dashboard
was appearing for a split second then disappearing.

This was caused by the Javascript on the page throwing an exception as
it was trying to re-render this part of the page. This meant it gave up
and rendered nothing.

The exception was caused by passing `undefined` as the second argument
to `.insertBefore`. This is acceptable in most browsers, but not older
versions of IE. This is fixed in the latest version of diffDOM (the 3rd
party library we use to do the AJAX stuff) by defaulting the second
argument to `.insertBefore` to `null`, which is acceptable in old IE
versions.

See the fix here: 8833d87e9d
2018-02-12 11:39:38 +00:00

50 lines
1.3 KiB
JSON

{
"name": "notifications-admin",
"version": "0.0.1",
"description": "Admin front end for GOV.UK Notify",
"engines": {
"node": "5.0.0"
},
"scripts": {
"test": "gulp lint",
"build": "gulp",
"watch": "gulp watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alphagov/notifications-admin.git"
},
"author": "Government Digital Service",
"license": "MIT",
"homepage": "https://github.com/alphagov/notifications-admin#readme",
"dependencies": {
"babel-core": "6.26.0",
"babel-preset-es2015": "6.24.1",
"diff-dom": "2.3.1",
"govuk-elements-sass": "3.1.x",
"govuk_frontend_toolkit": "7.2.0",
"govuk_template_jinja": "0.23.0",
"gulp": "3.9.1",
"gulp-add-src": "0.2.0",
"gulp-babel": "7.0.0",
"gulp-base64": "0.1.3",
"gulp-concat": "2.6.1",
"gulp-include": "2.3.1",
"gulp-load-plugins": "1.5.0",
"gulp-sass": "3.1.0",
"gulp-uglify": "3.0.0",
"hogan": "1.0.2",
"jquery": "1.12.4",
"query-command-supported": "1.0.0",
"timeago": "1.6.1"
},
"devDependencies": {
"gulp-css-url-adjuster": "0.2.3",
"gulp-jshint": "2.1.0",
"gulp-prettyerror": "1.2.1",
"gulp-sass-lint": "1.2.0",
"jshint": "2.9.5",
"jshint-stylish": "2.2.1"
}
}