Skip to content

Commit

Permalink
chore(deps): remove underscore and backbone as dev dependencies (#…
Browse files Browse the repository at this point in the history
…16407)

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jennifer Shehane <[email protected]>
  • Loading branch information
3 people authored May 10, 2021
1 parent 2b0add1 commit 3e3b9df
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 47 deletions.
44 changes: 14 additions & 30 deletions packages/driver/cypress/fixtures/issue-652.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,23 @@
<html>
<head>
<title>Bb Router</title>
<script src="/node_modules/jquery/dist/jquery.js"></script>
<script src="/node_modules/underscore/underscore.js"></script>
<script src="/node_modules/backbone/backbone.js"></script>
</head>
<body>
<a href="#one">one</a> <a href="#two">two</a> <a href="#three">three</a>
<a href="#one">one</a>
<a href="#two">two</a>
<a href="#three">three</a>
<div id="visited"></div>
<script>
var Workspace = Backbone.Router.extend({
const visitedLink = document.getElementById('visited')

routes: {
"one": "one",
"two": "two",
"three": "three"
},

one: function() {
$('#visited').append('<div>one</div>');
},

two: function() {
$('#visited').append('<div>two</div>');
},

three: function() {
$('#visited').append('<div>three</div>');
window.addEventListener("hashchange", function () {
if (location.hash === '#one') {
visitedLink.append('one');
}
});

new Workspace();

Backbone.history.start();

if (location.hash === '#two') {
visitedLink.append('two');
}
if (location.hash === '#three') {
visitedLink.append('three');
}
})
</script>
</body>
</html>
3 changes: 0 additions & 3 deletions packages/driver/cypress/integration/issues/652_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ describe('issue 652', () => {
})

it('should visit all the hashes', () => {
// cy.wait(0)
cy.visit('/fixtures/issue-652.html#one')
// cy.wait(0)
cy.visit('/fixtures/issue-652.html#two')
// cy.wait(0)
cy.visit('/fixtures/issue-652.html#three')

cy.get('#visited')
Expand Down
2 changes: 0 additions & 2 deletions packages/driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@types/lodash": "^4.14.168",
"@types/mocha": "^8.0.3",
"angular": "1.8.0",
"backbone": "1.4.0",
"basic-auth": "2.0.1",
"blob-util": "2.0.2",
"bluebird": "3.5.3",
Expand Down Expand Up @@ -69,7 +68,6 @@
"sinon": "8.1.1",
"source-map": "0.8.0-beta.0",
"text-mask-addons": "3.8.0",
"underscore": "1.9.1",
"underscore.string": "3.3.5",
"unfetch": "4.1.0",
"url-parse": "1.4.7",
Expand Down
1 change: 0 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
"trash": "5.2.0",
"tree-kill": "1.2.2",
"ts-node": "8.5.4",
"underscore": "1.9.1",
"underscore.string": "3.3.5",
"url-parse": "1.4.7",
"uuid": "8.3.2",
Expand Down
15 changes: 4 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10915,13 +10915,6 @@ bach@^1.0.0:
async-settle "^1.0.0"
now-and-later "^2.0.0"

[email protected]:
version "1.4.0"
resolved "https://registry.yarnpkg.com/backbone/-/backbone-1.4.0.tgz#54db4de9df7c3811c3f032f34749a4cd27f3bd12"
integrity sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==
dependencies:
underscore ">=1.8.3"

[email protected], backo2@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947"
Expand Down Expand Up @@ -35713,10 +35706,10 @@ [email protected]:
sprintf-js "^1.0.3"
util-deprecate "^1.0.2"

underscore@1.9.1, underscore@>=1.8.3, underscore@^1.8.3:
version "1.9.1"
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961"
integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==
underscore@^1.8.3:
version "1.12.1"
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.12.1.tgz#7bb8cc9b3d397e201cf8553336d262544ead829e"
integrity sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==

underscore@~1.6.0:
version "1.6.0"
Expand Down

4 comments on commit 3e3b9df

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3e3b9df May 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.3.0/circle-develop-3e3b9dffc1ec5708b7d48dfce0f3b1fa37daaee2/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3e3b9df May 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.3.0/appveyor-develop-3e3b9dffc1ec5708b7d48dfce0f3b1fa37daaee2/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3e3b9df May 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.3.0/appveyor-develop-3e3b9dffc1ec5708b7d48dfce0f3b1fa37daaee2/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 3e3b9df May 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.3.0/circle-develop-3e3b9dffc1ec5708b7d48dfce0f3b1fa37daaee2/cypress.tgz

Please sign in to comment.