mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #31984 from nextcloud/dependabot/npm_and_yarn/stable24/underscore-1.12.1
Bump underscore from 1.12.0 to 1.12.1
This commit is contained in:
commit
91c2a60424
5 changed files with 21 additions and 11 deletions
|
|
@ -20,6 +20,15 @@
|
|||
*/
|
||||
|
||||
describe('Core base tests', function() {
|
||||
var debounceStub
|
||||
beforeEach(function() {
|
||||
debounceStub = sinon.stub(_, 'debounce').callsFake(function(callback) {
|
||||
return function() {
|
||||
// defer instead of debounce, to make it work with clock
|
||||
_.defer(callback);
|
||||
};
|
||||
});
|
||||
});
|
||||
afterEach(function() {
|
||||
// many tests call window.initCore so need to unregister global events
|
||||
// ideally in the future we'll need a window.unloadCore() function
|
||||
|
|
@ -28,6 +37,7 @@ describe('Core base tests', function() {
|
|||
$(document).off('beforeunload.main');
|
||||
OC._userIsNavigatingAway = false;
|
||||
OC._reloadCalled = false;
|
||||
debounceStub.restore();
|
||||
});
|
||||
describe('Base values', function() {
|
||||
it('Sets webroots', function() {
|
||||
|
|
|
|||
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
14
package-lock.json
generated
14
package-lock.json
generated
|
|
@ -62,7 +62,7 @@
|
|||
"snap.js": "^2.0.9",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"strengthify": "github:nextcloud/strengthify#0.5.9",
|
||||
"underscore": "1.12.0",
|
||||
"underscore": "1.12.1",
|
||||
"url-search-params-polyfill": "^8.1.1",
|
||||
"v-click-outside": "^3.1.2",
|
||||
"v-tooltip": "^2.1.3",
|
||||
|
|
@ -18492,9 +18492,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/underscore": {
|
||||
"version": "1.12.0",
|
||||
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.0.tgz",
|
||||
"integrity": "sha512-21rQzss/XPMjolTiIezSu3JAjgagXKROtNrYFEOWK109qY1Uv2tVjPTZ1ci2HgvQDA16gHYSthQIJfB+XId/rQ=="
|
||||
"version": "1.12.1",
|
||||
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz",
|
||||
"integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw=="
|
||||
},
|
||||
"node_modules/unicode-canonical-property-names-ecmascript": {
|
||||
"version": "2.0.0",
|
||||
|
|
@ -33715,9 +33715,9 @@
|
|||
}
|
||||
},
|
||||
"underscore": {
|
||||
"version": "1.12.0",
|
||||
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.0.tgz",
|
||||
"integrity": "sha512-21rQzss/XPMjolTiIezSu3JAjgagXKROtNrYFEOWK109qY1Uv2tVjPTZ1ci2HgvQDA16gHYSthQIJfB+XId/rQ=="
|
||||
"version": "1.12.1",
|
||||
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz",
|
||||
"integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw=="
|
||||
},
|
||||
"unicode-canonical-property-names-ecmascript": {
|
||||
"version": "2.0.0",
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
"snap.js": "^2.0.9",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"strengthify": "github:nextcloud/strengthify#0.5.9",
|
||||
"underscore": "1.12.0",
|
||||
"underscore": "1.12.1",
|
||||
"url-search-params-polyfill": "^8.1.1",
|
||||
"v-click-outside": "^3.1.2",
|
||||
"v-tooltip": "^2.1.3",
|
||||
|
|
|
|||
Loading…
Reference in a new issue