Skip to content

Commit

Permalink
Merge branch '1.11' into 1.12-release
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 21, 2022
2 parents a285236 + f4abae6 commit 00bffe4
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 46 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/vendor.js

Large diffs are not rendered by default.

105 changes: 60 additions & 45 deletions client/src/bundles/vendor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,56 +2,71 @@
import/no-webpack-loader-syntax,
import/no-extraneous-dependencies,
import/no-unresolved,
import/extensions
import/extensions,
global-require
*/
// TODO Enable require(*.css) includes once https://github.com/webpack/extract-text-webpack-plugin/issues/179
// is resolved. Included in bundle.scss for now.

require('babel-polyfill');
require('json-js');
(() => {
// prevent prototype pollution via query string
let ok = true;
const urlParams = new URLSearchParams(window.location.search);
urlParams.forEach((value, key) => {
if (key.includes('__proto__')) {
ok = false;
}
});
if (!ok) {
window.stop();
throw new Error('Malicious url detected, aborting');
}
require('babel-polyfill');
require('json-js');

// jQuery plugins require that the jQuery object is exposed as a global
// webpack.ProvidePlugin is used to ensure that jQuery and $ are provided to all includes
require('script-loader!jquery');
require('expose-loader?jQuery!jquery');
// jQuery plugins require that the jQuery object is exposed as a global
// webpack.ProvidePlugin is used to ensure that jQuery and $ are provided to all includes
require('script-loader!jquery');
require('expose-loader?jQuery!jquery');

// Expose the libraries as globals for other modules to access
// Note that these are order-dependent - earlier items should not depend on later ones
require('expose-loader?PropTypes!prop-types');
require('expose-loader?classnames!classnames');
require('expose-loader?DeepFreezeStrict!deep-freeze-strict');
require('expose-loader?React!react');
require('expose-loader?ReactDom!react-dom');
require('expose-loader?ReactRouterDom!react-router-dom');
require('expose-loader?Reactstrap!reactstrap');
require('expose-loader?IsomorphicFetch!isomorphic-fetch');
require('expose-loader?Redux!redux');
require('expose-loader?ReactRedux!react-redux');
require('expose-loader?ReduxThunk!redux-thunk');
require('expose-loader?ReduxForm!redux-form');
require('expose-loader?ReactSelect!react-select');
require('expose-loader?ReactDND!react-dnd');
require('expose-loader?ReactDNDHtml5Backend!react-dnd-html5-backend');
require('expose-loader?Page!page.js');
require('expose-loader?validator!validator');
require('expose-loader?ApolloClient!apollo-client');
require('expose-loader?ReactApollo!react-apollo');
require('expose-loader?GraphQLTag!graphql-tag');
require('expose-loader?GraphQLFragments!graphql-fragments');
require('expose-loader?NodeUrl!url');
require('expose-loader?qs!qs');
require('expose-loader?modernizr!modernizr');
require('expose-loader?history!history');
require('expose-loader?moment!moment');
require('expose-loader?merge!merge');
// Expose the libraries as globals for other modules to access
// Note that these are order-dependent - earlier items should not depend on later ones
require('expose-loader?PropTypes!prop-types');
require('expose-loader?classnames!classnames');
require('expose-loader?DeepFreezeStrict!deep-freeze-strict');
require('expose-loader?React!react');
require('expose-loader?ReactDom!react-dom');
require('expose-loader?ReactRouterDom!react-router-dom');
require('expose-loader?Reactstrap!reactstrap');
require('expose-loader?IsomorphicFetch!isomorphic-fetch');
require('expose-loader?Redux!redux');
require('expose-loader?ReactRedux!react-redux');
require('expose-loader?ReduxThunk!redux-thunk');
require('expose-loader?ReduxForm!redux-form');
require('expose-loader?ReactSelect!react-select');
require('expose-loader?ReactDND!react-dnd');
require('expose-loader?ReactDNDHtml5Backend!react-dnd-html5-backend');
require('expose-loader?Page!page.js');
require('expose-loader?validator!validator');
require('expose-loader?ApolloClient!apollo-client');
require('expose-loader?ReactApollo!react-apollo');
require('expose-loader?GraphQLTag!graphql-tag');
require('expose-loader?GraphQLFragments!graphql-fragments');
require('expose-loader?NodeUrl!url');
require('expose-loader?qs!qs');
require('expose-loader?modernizr!modernizr');
require('expose-loader?history!history');
require('expose-loader?moment!moment');
require('expose-loader?merge!merge');

require('../../../thirdparty/jquery-ondemand/jquery.ondemand.js');
require('../../../thirdparty/jquery-ui/jquery-ui.js'); // there is related css in styles/bundle.scss
require('../../../thirdparty/jquery-entwine/jquery.entwine.js');
require('../../../thirdparty/jquery-cookie/jquery.cookie.js');
require('../../../thirdparty/jquery-query/jquery.query.js');
require('jquery-form');
require('jquery-sizes/lib/jquery.sizes.js');
require('../../../thirdparty/jstree/jquery.jstree.js'); // there is related css in styles/bundle.scss
require('../../../thirdparty/jquery-ondemand/jquery.ondemand.js');
require('../../../thirdparty/jquery-ui/jquery-ui.js'); // there is related css in styles/bundle.scss
require('../../../thirdparty/jquery-entwine/jquery.entwine.js');
require('../../../thirdparty/jquery-cookie/jquery.cookie.js');
require('../../../thirdparty/jquery-query/jquery.query.js');
require('jquery-form');
require('jquery-sizes/lib/jquery.sizes.js');
require('../../../thirdparty/jstree/jquery.jstree.js'); // there is related css in styles/bundle.scss

require('chosen-js');
require('chosen-js');
})();

0 comments on commit 00bffe4

Please sign in to comment.