Skip to content

Commit 635b877

Browse files
committed
JS: delete old deprecations
1 parent e491b61 commit 635b877

File tree

3 files changed

+5
-48
lines changed

3 files changed

+5
-48
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* Deleted the deprecated `Instance` class from the `Vue` module.
5+
* Deleted the deprecated `VHtmlSourceWrite` class from `DomBasedXssQuery.qll`.

javascript/ql/lib/semmle/javascript/frameworks/Vue.qll

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,6 @@ module Vue {
115115
kind = DataFlow::MemberKind::setter() and result = "set"
116116
}
117117

118-
/**
119-
* DEPRECATED. This class has been renamed to `Vue::Component`.
120-
*/
121-
deprecated class Instance = Component;
122-
123118
/**
124119
* A Vue component, such as a `new Vue({ ... })` call or a `.vue` file.
125120
*
@@ -383,23 +378,6 @@ module Vue {
383378
}
384379
}
385380

386-
/**
387-
* DEPRECATED. Use `Vue::Component` instead.
388-
*
389-
* A Vue component from `new Vue({...})`.
390-
*/
391-
deprecated class VueInstance extends Component {
392-
VueInstance() {
393-
// restrict charpred to match original behavior
394-
this = MkComponentInstantiation(vueLibrary().getAnInstantiation())
395-
}
396-
}
397-
398-
/**
399-
* DEPRECATED. Use `Vue::ComponentExtension` or `Vue::Component` instead.
400-
*/
401-
deprecated class ExtendedVue = ComponentExtension;
402-
403381
/**
404382
* A component created via an explicit call to `Vue.extend({...})` or `CustomComponent.extend({...})`.
405383
*/
@@ -429,19 +407,6 @@ module Vue {
429407
}
430408
}
431409

432-
/**
433-
* DEPRECATED. Use `Vue::Component` instead.
434-
*
435-
* An instance of an extended Vue, for example `instance` of `var Ext = Vue.extend({...}); var instance = new Ext({...})`.
436-
*/
437-
deprecated class ExtendedInstance extends Component {
438-
ExtendedInstance() {
439-
// restrict charpred to match original behavior
440-
this =
441-
MkComponentInstantiation(vueLibrary().getMember("extend").getReturn().getAnInstantiation())
442-
}
443-
}
444-
445410
/**
446411
* A Vue component from `Vue.component("my-component", { ... })`.
447412
*/
@@ -568,9 +533,6 @@ module Vue {
568533
}
569534
}
570535

571-
/** DEPRECATED. Do not use. */
572-
deprecated class InstanceHeapStep = PropStep;
573-
574536
/**
575537
* A Vue `v-html` attribute.
576538
*/
@@ -609,11 +571,6 @@ module Vue {
609571
}
610572
}
611573

612-
/**
613-
* DEPRECATED. Do not use.
614-
*/
615-
deprecated class VHtmlSourceWrite = VHtmlAttributeStep;
616-
617574
/*
618575
* Provides classes for working with Vue templates.
619576
*/

javascript/ql/lib/semmle/javascript/security/dataflow/DomBasedXssQuery.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ private import semmle.javascript.security.TaintedUrlSuffix
88
import DomBasedXssCustomizations::DomBasedXss
99
private import Xss::Shared as Shared
1010

11-
/**
12-
* DEPRECATED. Use `Vue::VHtmlSourceWrite` instead.
13-
*/
14-
deprecated class VHtmlSourceWrite = Vue::VHtmlSourceWrite;
15-
1611
/** DEPRECATED. Use `Configuration`. */
1712
deprecated class HtmlInjectionConfiguration = Configuration;
1813

0 commit comments

Comments
 (0)