@oracle/oraclejet-audit 10.0.0 → 11.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (702) hide show
  1. package/jaf-amd.js +12 -4
  2. package/jaf.js +6 -1
  3. package/jafapi.js +6 -1
  4. package/lib/AST.js +6 -1
  5. package/lib/AST_Ts.js +6 -1
  6. package/lib/AstJson.js +6 -1
  7. package/lib/AstNodeTypes.js +6 -1
  8. package/lib/Comments.js +6 -1
  9. package/lib/ComponentSvcs.js +5 -0
  10. package/lib/Components.js +6 -1
  11. package/lib/Config.js +6 -1
  12. package/lib/ConfigLib.js +6 -1
  13. package/lib/CssLib.js +5 -0
  14. package/lib/CssUtils.js +5 -0
  15. package/lib/DomUtils.js +6 -1
  16. package/lib/FileIndex.js +5 -0
  17. package/lib/FileSet.js +5 -0
  18. package/lib/FsUtils.js +6 -1
  19. package/lib/Histo.js +6 -0
  20. package/lib/HtmlTree.js +6 -1
  21. package/lib/HtmlUtils.js +5 -0
  22. package/lib/Issue.js +5 -0
  23. package/lib/JafEvents.js +5 -0
  24. package/lib/JafLib.js +6 -1
  25. package/lib/Json.js +6 -0
  26. package/lib/JsonLoader.js +6 -1
  27. package/lib/MetaLib.js +6 -1
  28. package/lib/NetUtils.js +5 -0
  29. package/lib/NodeTypes.js +5 -0
  30. package/lib/Parser.js +6 -1
  31. package/lib/RegTypes.js +5 -0
  32. package/lib/Registry.js +5 -0
  33. package/lib/Reporter.js +5 -0
  34. package/lib/RuleContext.js +5 -0
  35. package/lib/RulePack.js +5 -0
  36. package/lib/RuleSet.js +6 -1
  37. package/lib/Rules.js +6 -1
  38. package/lib/Scope.js +6 -1
  39. package/lib/SemVer.js +5 -0
  40. package/lib/Server.js +5 -0
  41. package/lib/SevLib.js +5 -0
  42. package/lib/Severity.js +6 -1
  43. package/lib/Stats.js +6 -0
  44. package/lib/Ts.js +6 -1
  45. package/lib/Utils.js +6 -1
  46. package/lib/Watch.js +5 -0
  47. package/lib/Writer.js +5 -0
  48. package/lib/ZipUtils.js +5 -0
  49. package/lib/api.js +6 -0
  50. package/lib/cliStats.js +6 -0
  51. package/lib/clone.js +5 -0
  52. package/lib/cmdline.js +6 -1
  53. package/lib/colors.js +5 -0
  54. package/lib/exportRules.js +6 -0
  55. package/lib/extends.js +6 -0
  56. package/lib/filetypes.js +6 -0
  57. package/lib/groups.js +6 -0
  58. package/lib/help.js +6 -1
  59. package/lib/imanual.js +6 -0
  60. package/lib/jetver.js +6 -1
  61. package/lib/macros.js +6 -0
  62. package/lib/metaLoader.js +5 -0
  63. package/lib/metahist.js +5 -0
  64. package/lib/msgidLoader.js +6 -1
  65. package/lib/ns.js +6 -1
  66. package/lib/nslist.js +6 -1
  67. package/lib/outFormat.js +6 -0
  68. package/lib/outfile.js +5 -0
  69. package/lib/ruleLoader.js +5 -0
  70. package/lib/scaffold.js +6 -1
  71. package/lib/scaffoldRule.js +6 -1
  72. package/lib/schema.js +5 -0
  73. package/lib/scopewalker.js +6 -0
  74. package/lib/spinner.js +5 -0
  75. package/lib/spinnernoop.js +5 -0
  76. package/lib/tabs.js +5 -0
  77. package/lib/xmanual.js +6 -0
  78. package/libext/expparser.js +6 -1
  79. package/meta/10.1.0/jetauditmeta.js +9 -0
  80. package/meta/11.0.0/jetauditmeta.js +9 -0
  81. package/meta/11.1.0/jetauditmeta.js +9 -0
  82. package/meta/metaverlist.json +1 -1
  83. package/package.json +2 -3
  84. package/rulepacks/csp/csp-html-script-unsafe-inline.js +5 -0
  85. package/rulepacks/csp/csp-html-style-unsafe-inline.js +5 -0
  86. package/rulepacks/csp/csp-html-unsafe-expr.js +5 -0
  87. package/rulepacks/csp/csp-js-script-unsafe-eval.js +6 -1
  88. package/rulepacks/csp/csp-js-style-unsafe-inline.js +5 -0
  89. package/rulepacks/csp/csp-ts-script-unsafe-eval.js +6 -0
  90. package/rulepacks/csp/csp-ts-style-unsafe-inline.js +6 -0
  91. package/rulepacks/csp/msgid.json +6 -1
  92. package/rulepacks/csp/rules.json +6 -1
  93. package/rulepacks/jetwc/jetwc-absolute-jetversion.js +6 -1
  94. package/rulepacks/jetwc/jetwc-aria-redefinition.js +6 -1
  95. package/rulepacks/jetwc/jetwc-bootstrap.js +6 -1
  96. package/rulepacks/jetwc/jetwc-compjson-bp-ar.js +6 -1
  97. package/rulepacks/jetwc/jetwc-compjson-bp-obj.js +6 -1
  98. package/rulepacks/jetwc/jetwc-component-dependencies.js +6 -1
  99. package/rulepacks/jetwc/jetwc-component-displayname.js +6 -1
  100. package/rulepacks/jetwc/jetwc-component-foldername.js +6 -1
  101. package/rulepacks/jetwc/jetwc-component-location.js +6 -1
  102. package/rulepacks/jetwc/jetwc-component-type.js +6 -1
  103. package/rulepacks/jetwc/jetwc-data-property-prefix.js +6 -1
  104. package/rulepacks/jetwc/jetwc-deprecated-lifecycle.js +6 -1
  105. package/rulepacks/jetwc/jetwc-disabled-property.js +6 -1
  106. package/rulepacks/jetwc/jetwc-displayname.js +6 -1
  107. package/rulepacks/jetwc/jetwc-dynamic-slot-context.js +6 -1
  108. package/rulepacks/jetwc/jetwc-dynamic-slots-naming.js +6 -1
  109. package/rulepacks/jetwc/jetwc-event-displayname.js +6 -1
  110. package/rulepacks/jetwc/jetwc-events.js +6 -1
  111. package/rulepacks/jetwc/jetwc-jet-version.js +6 -1
  112. package/rulepacks/jetwc/jetwc-loader-file.js +6 -1
  113. package/rulepacks/jetwc/jetwc-method-displayname.js +6 -1
  114. package/rulepacks/jetwc/jetwc-methods.js +6 -1
  115. package/rulepacks/jetwc/jetwc-namespace.js +6 -1
  116. package/rulepacks/jetwc/jetwc-nested-defaults.js +6 -1
  117. package/rulepacks/jetwc/jetwc-nls-languages.js +6 -1
  118. package/rulepacks/jetwc/jetwc-nls-root.js +6 -1
  119. package/rulepacks/jetwc/jetwc-oj-register.js +6 -1
  120. package/rulepacks/jetwc/jetwc-ojcss.js +6 -1
  121. package/rulepacks/jetwc/jetwc-pack-children.js +6 -1
  122. package/rulepacks/jetwc/jetwc-packable-components.js +6 -1
  123. package/rulepacks/jetwc/jetwc-prerelease-dependencies.js +6 -1
  124. package/rulepacks/jetwc/jetwc-prerelease-pattern.js +6 -1
  125. package/rulepacks/jetwc/jetwc-prerelease-version.js +6 -1
  126. package/rulepacks/jetwc/jetwc-property-changed.js +6 -1
  127. package/rulepacks/jetwc/jetwc-property-displayname.js +6 -1
  128. package/rulepacks/jetwc/jetwc-property-nesting.js +6 -1
  129. package/rulepacks/jetwc/jetwc-public-modules.js +6 -1
  130. package/rulepacks/jetwc/jetwc-register-css.js +6 -1
  131. package/rulepacks/jetwc/jetwc-register-with-promises.js +6 -1
  132. package/rulepacks/jetwc/jetwc-require-paths.js +6 -1
  133. package/rulepacks/jetwc/jetwc-required-subproperty.js +6 -0
  134. package/rulepacks/jetwc/jetwc-reserved-property.js +6 -1
  135. package/rulepacks/jetwc/jetwc-schema.js +6 -1
  136. package/rulepacks/jetwc/jetwc-semantic-version.js +6 -1
  137. package/rulepacks/jetwc/jetwc-slot-displayname.js +6 -1
  138. package/rulepacks/jetwc/jetwc-slots.js +6 -1
  139. package/rulepacks/jetwc/jetwc-standard-files.js +6 -1
  140. package/rulepacks/jetwc/jetwc-subproperty-writeback.js +6 -0
  141. package/rulepacks/jetwc/jetwc-template-slots.js +6 -1
  142. package/rulepacks/jetwc/jetwc-unused-events.js +6 -1
  143. package/rulepacks/jetwc/jetwc-unused-slots.js +6 -1
  144. package/rulepacks/jetwc/jetwc-vb-category.js +6 -1
  145. package/rulepacks/jetwc/jetwc-vb-icon.js +6 -1
  146. package/rulepacks/jetwc/jetwc-version-openrange.js +6 -1
  147. package/rulepacks/jetwc/jetwc-writeback-required.js +6 -1
  148. package/rulepacks/jetwc/msgid.json +6 -0
  149. package/rulepacks/jetwc/rules.json +6 -1
  150. package/rulepacks/jetwc-lib/component-audit-utils.js +6 -1
  151. package/rulepacks/jetwco/jetwco-bootstrap.js +6 -1
  152. package/rulepacks/jetwco/jetwco-compjson-ns-reg.js +6 -1
  153. package/rulepacks/jetwco/jetwco-component-api-baseline-changes.js +6 -0
  154. package/rulepacks/jetwco/jetwco-component-api-changes.js +6 -1
  155. package/rulepacks/jetwco/jetwco-component-cdn.js +6 -1
  156. package/rulepacks/jetwco/jetwco-exchange-version-check.js +6 -1
  157. package/rulepacks/jetwco/jetwco-license-info.js +6 -1
  158. package/rulepacks/jetwco/jetwco-prerelease-cdn.js +6 -1
  159. package/rulepacks/jetwco/jetwco-thirdparty-ba.js +6 -1
  160. package/rulepacks/jetwco/msgid.json +6 -0
  161. package/rulepacks/jetwco/rules.json +6 -1
  162. package/rulepacks/spoc/msgid.json +5 -0
  163. package/rulepacks/spoc/rules.json +5 -0
  164. package/rulepacks/spoc/spoc-dom-manip-inv-tag.js +5 -0
  165. package/rulepacks/spoc/spoc-dom-manip-tag-pos.js +5 -0
  166. package/rulepacks/spoc/spoc-dom-manip.js +5 -0
  167. package/rules/jaf/jaf-css-diagnose.js +5 -0
  168. package/rules/jaf/jaf-html-diagnose.js +5 -0
  169. package/rules/jaf/jaf-init-schema.js +5 -0
  170. package/rules/jaf/jaf-js-diagnose.js +5 -0
  171. package/rules/jaf/jaf-ts-diagnose.js +6 -0
  172. package/rules/jaf/msgid.json +6 -1
  173. package/rules/jaf/rules.json +6 -1
  174. package/rules/jet/helpers/acc-aria-label.js +6 -1
  175. package/rules/jet/helpers/bp-checkPropType.js +5 -0
  176. package/rules/jet/helpers/cssHelper.js +6 -1
  177. package/rules/jet/helpers/extractStylesFromClass.js +6 -1
  178. package/rules/jet/helpers/has-slot-name.js +6 -1
  179. package/rules/jet/helpers/has-slot.js +5 -0
  180. package/rules/jet/helpers/json-prop-pos.js +5 -0
  181. package/rules/jet/helpers/json-propname-pos.js +5 -0
  182. package/rules/jet/helpers/style-selector.js +6 -1
  183. package/rules/jet/helpers/valid-attr.js +5 -0
  184. package/rules/jet/helpers/vartrack.js +5 -0
  185. package/rules/jet/jet-css-ojselector.js +5 -0
  186. package/rules/jet/msgid.json +6 -1
  187. package/rules/jet/oj-acc-aria-labelledby.js +5 -0
  188. package/rules/jet/oj-acc-aria-prop.js +5 -0
  189. package/rules/jet/oj-acc-avatar-aria-role.js +5 -0
  190. package/rules/jet/oj-acc-combobox-aria-label.js +6 -1
  191. package/rules/jet/oj-acc-film-strip-aria-label.js +5 -0
  192. package/rules/jet/oj-acc-input-aria-label.js +6 -1
  193. package/rules/jet/oj-acc-select-aria-label.js +6 -1
  194. package/rules/jet/oj-cca-compjson-bp-ar.js +5 -0
  195. package/rules/jet/oj-cca-compjson-bp-dsplyname.js +5 -0
  196. package/rules/jet/oj-cca-compjson-bp-jetver.js +5 -0
  197. package/rules/jet/oj-cca-compjson-bp-obj.js +5 -0
  198. package/rules/jet/oj-cca-compjson-ns-reg.js +5 -0
  199. package/rules/jet/oj-css-bp-border-color.js +5 -0
  200. package/rules/jet/oj-css-bp-dir-flow.js +6 -1
  201. package/rules/jet/oj-css-bp-float.js +5 -0
  202. package/rules/jet/oj-css-bp-textalign.js +5 -0
  203. package/rules/jet/oj-css-style-abs-units.js +5 -0
  204. package/rules/jet/oj-css-style-bp-color.js +6 -1
  205. package/rules/jet/oj-css-style-bp-display.js +6 -1
  206. package/rules/jet/oj-css-style-bp-font-family.js +6 -1
  207. package/rules/jet/oj-css-style-bp-font.js +5 -0
  208. package/rules/jet/oj-css-style-deprecated.js +6 -1
  209. package/rules/jet/oj-css-style-override.js +6 -1
  210. package/rules/jet/oj-css-var-override.js +5 -0
  211. package/rules/jet/oj-form-maxcols.js +6 -0
  212. package/rules/jet/oj-html-5-attr-obs.js +5 -0
  213. package/rules/jet/oj-html-5-tag-obs.js +5 -0
  214. package/rules/jet/oj-html-attr-$unique.js +5 -0
  215. package/rules/jet/oj-html-attr-2def.js +5 -0
  216. package/rules/jet/oj-html-attr-json.js +6 -1
  217. package/rules/jet/oj-html-attr-prefix-expr.js +6 -1
  218. package/rules/jet/oj-html-attr-prefix-ro.js +5 -0
  219. package/rules/jet/oj-html-attr-req.js +5 -0
  220. package/rules/jet/oj-html-bindforeach-data.js +5 -0
  221. package/rules/jet/oj-html-bindif-test.js +5 -0
  222. package/rules/jet/oj-html-binding-attr.js +5 -0
  223. package/rules/jet/oj-html-cca-count.js +5 -0
  224. package/rules/jet/oj-html-cca-tagname.js +6 -1
  225. package/rules/jet/oj-html-cdn.js +5 -0
  226. package/rules/jet/oj-html-combo-converter.js +5 -0
  227. package/rules/jet/oj-html-cspexpr.js +6 -1
  228. package/rules/jet/oj-html-databind-all.js +5 -0
  229. package/rules/jet/oj-html-dlg-title.js +5 -0
  230. package/rules/jet/oj-html-file-pick-accept.js +6 -0
  231. package/rules/jet/oj-html-form-bindif.js +6 -1
  232. package/rules/jet/oj-html-form-layout-maxcols.js +6 -0
  233. package/rules/jet/oj-html-form-noflex.js +5 -0
  234. package/rules/jet/oj-html-input-isodate.js +6 -0
  235. package/rules/jet/oj-html-invalid-doctype.js +6 -1
  236. package/rules/jet/oj-html-jq-databind.js +6 -1
  237. package/rules/jet/oj-html-ko-comment.js +5 -0
  238. package/rules/jet/oj-html-ko-databind.js +5 -0
  239. package/rules/jet/oj-html-label-for-prefix.js +5 -0
  240. package/rules/jet/oj-html-missing-doctype.js +6 -1
  241. package/rules/jet/oj-html-oj-lib.js +5 -0
  242. package/rules/jet/oj-html-ojattr-520.js +6 -1
  243. package/rules/jet/oj-html-ojattr-deprecated.js +6 -1
  244. package/rules/jet/oj-html-ojattr-enum-deprecated.js +6 -1
  245. package/rules/jet/oj-html-ojattr-evt-syntax.js +5 -0
  246. package/rules/jet/oj-html-ojattr-value.js +6 -1
  247. package/rules/jet/oj-html-ojattr.js +6 -1
  248. package/rules/jet/oj-html-ojevent.js +6 -1
  249. package/rules/jet/oj-html-ojslot.js +5 -0
  250. package/rules/jet/oj-html-ojstyle.js +5 -0
  251. package/rules/jet/oj-html-ojtag-datacmd.js +6 -1
  252. package/rules/jet/oj-html-ojtag-datactx.js +5 -0
  253. package/rules/jet/oj-html-ojtag-deprecated.js +6 -1
  254. package/rules/jet/oj-html-ojtag-globattr-noprefix.js +5 -0
  255. package/rules/jet/oj-html-ojtag-id.js +5 -0
  256. package/rules/jet/oj-html-ojtag-nonglobattr-prefix.js +5 -0
  257. package/rules/jet/oj-html-ojtag-ns.js +5 -0
  258. package/rules/jet/oj-html-picker-attrs.js +6 -0
  259. package/rules/jet/oj-html-redwood-cssnovars.js +6 -0
  260. package/rules/jet/oj-html-redwood-cssvars.js +6 -0
  261. package/rules/jet/oj-html-self-close.js +5 -0
  262. package/rules/jet/oj-html-slot-item-minmax.js +6 -0
  263. package/rules/jet/oj-html-slot-name.js +6 -1
  264. package/rules/jet/oj-html-slot-pref-content.js +6 -0
  265. package/rules/jet/oj-html-style-abs-units.js +5 -0
  266. package/rules/jet/oj-html-style-bp-color.js +5 -0
  267. package/rules/jet/oj-html-style-bp-display.js +6 -1
  268. package/rules/jet/oj-html-style-bp-font-family.js +5 -0
  269. package/rules/jet/oj-html-style-bp-font.js +5 -0
  270. package/rules/jet/oj-html-style-deprecated.js +5 -0
  271. package/rules/jet/oj-html-style.js +6 -1
  272. package/rules/jet/oj-html-stylesel.js +6 -1
  273. package/rules/jet/oj-html-tag-attr-noprefix.js +5 -0
  274. package/rules/jet/oj-html-template-index.js +6 -0
  275. package/rules/jet/oj-html-unsup-theme.js +6 -1
  276. package/rules/jet/oj-html-wctag-$props.js +6 -1
  277. package/rules/jet/oj-html-wctag-arialabelledby.js +5 -0
  278. package/rules/jet/oj-html-wctag-for.js +5 -0
  279. package/rules/jet/oj-html-wctag-id.js +5 -0
  280. package/rules/jet/oj-html-wctag-packprivate.js +6 -0
  281. package/rules/jet/oj-js-comp-attr-deprecated.js +5 -0
  282. package/rules/jet/oj-js-comp-meth-deprecated.js +5 -0
  283. package/rules/jet/oj-js-no-ext-final.js +5 -0
  284. package/rules/jet/oj-js-noconsole.js +5 -0
  285. package/rules/jet/oj-js-ojcomp-deprecated.js +6 -1
  286. package/rules/jet/oj-js-ojcomp-exist.js +5 -0
  287. package/rules/jet/oj-js-ojcomp-new.js +5 -0
  288. package/rules/jet/oj-js-poly-promise.js +6 -1
  289. package/rules/jet/oj-js-var-undef.js +5 -0
  290. package/rules/jet/oj-json-syntax.js +6 -1
  291. package/rules/jet/oj-ts-comp-attr-deprecated.js +5 -0
  292. package/rules/jet/oj-ts-comp-meth-deprecated.js +5 -0
  293. package/rules/jet/oj-ts-no-ext-final.js +6 -0
  294. package/rules/jet/oj-ts-noconsole.js +6 -1
  295. package/rules/jet/oj-ts-ojcomp-deprecated.js +6 -1
  296. package/rules/jet/oj-ts-ojcomp-exist.js +6 -1
  297. package/rules/jet/oj-ts-ojcomp-new.js +6 -1
  298. package/rules/jet/oj-ts-poly-promise.js +6 -1
  299. package/rules/jet/rules.json +6 -1
  300. package/schema/component-schema.json +122 -2
  301. package/src/JafCore.js +6 -1
  302. package/types/index.d.ts +144 -35
  303. package/lib/manual.js +0 -1
  304. package/lib/stats.js +0 -1
  305. package/rules/exch/helpers/json-prop-pos.js +0 -1
  306. package/rules/exch/msgid.json +0 -1
  307. package/rules/exch/oj-cca-comp-zip-content-composite.js +0 -1
  308. package/rules/exch/oj-cca-comp-zip-content-pack.js +0 -1
  309. package/rules/exch/oj-cca-comp-zip-expand.js +0 -1
  310. package/rules/exch/oj-cca-compjson-evnames.js +0 -1
  311. package/rules/exch/oj-cca-compjson-file.js +0 -1
  312. package/rules/exch/oj-cca-compjson-prefix.js +0 -1
  313. package/rules/exch/oj-cca-compjson-prop-compdeps.js +0 -1
  314. package/rules/exch/oj-cca-compjson-prop-deps.js +0 -1
  315. package/rules/exch/oj-cca-compjson-prop-jetver.js +0 -1
  316. package/rules/exch/oj-cca-compjson-prop-obs.js +0 -1
  317. package/rules/exch/oj-cca-compjson-prop-type.js +0 -1
  318. package/rules/exch/oj-cca-compjson-prop-types.js +0 -1
  319. package/rules/exch/oj-cca-compjson-prop-undef.js +0 -1
  320. package/rules/exch/oj-cca-compjson-prop-version.js +0 -1
  321. package/rules/exch/oj-cca-compjson-schema.js +0 -1
  322. package/rules/exch/oj-cca-zip-compjson.js +0 -1
  323. package/rules/exch/rules.json +0 -1
  324. package/rules/jet/oj-css-bp-bgcolor.js +0 -1
  325. package/tests/components/attr-req-test/component.json +0 -1
  326. package/tests/components/demo-analog-clock/component.json +0 -1
  327. package/tests/components/demo-analog-clock/demo-analog-clock-viewModel.js +0 -1
  328. package/tests/components/demo-analog-clock/extension/demo/js/viewModels/demo.js +0 -1
  329. package/tests/components/demo-analog-clock/loader.js +0 -1
  330. package/tests/components/demo-card/component.json +0 -1
  331. package/tests/components/demo-chart-orientation-control/component.json +0 -1
  332. package/tests/components/demo-chart-stack-control/component.json +0 -1
  333. package/tests/components/made-up/component.json +0 -1
  334. package/tests/components/oj-made-up/component.json +0 -1
  335. package/tests/components/sp-activity-item/component.json +0 -1
  336. package/tests/config/config_base.json +0 -1
  337. package/tests/golden/10.0.0/golden_base.json +0 -1
  338. package/tests/golden/8.1.0/golden_base.json +0 -1
  339. package/tests/golden/9.0.0/golden_base.json +0 -1
  340. package/tests/rulepacks/hooks/hook-rpext.js +0 -1
  341. package/tests/rulepacks/hooks/hook-start-close-rulepack.js +0 -1
  342. package/tests/rulepacks/hooks/rule-rpext.js +0 -1
  343. package/tests/rulepacks/hooks/rules.json +0 -1
  344. package/tests/rulepacks/tags/proc_directive.js +0 -1
  345. package/tests/rulepacks/tags/rules.json +0 -1
  346. package/tests/rulepacks/tags/tag-count-setup.js +0 -1
  347. package/tests/rulepacks/tags/tag-count.js +0 -1
  348. package/tests/rules/bugs/JET-4770_PASS_1.html +0 -9
  349. package/tests/rules/comments/com_FAIL_1.js +0 -57
  350. package/tests/rules/comments/com_FAIL_2.js +0 -96
  351. package/tests/rules/comments/com_PASS_1.js +0 -42
  352. package/tests/rules/comments/com_PASS_2.js +0 -63
  353. package/tests/rules/comments/com_PASS_3.js +0 -40
  354. package/tests/rules/comments/com_PASS_4.js +0 -36
  355. package/tests/rules/comments/com_PASS_5.js +0 -19
  356. package/tests/rules/csp/html-script-unsafe-inline/FAIL_1.html +0 -11
  357. package/tests/rules/csp/html-script-unsafe-inline/FAIL_2.html +0 -8
  358. package/tests/rules/csp/html-script-unsafe-inline/PASS_1.html +0 -8
  359. package/tests/rules/csp/html-script-unsafe-inline/PASS_2.html +0 -8
  360. package/tests/rules/csp/html-script-unsafe-inline/PASS_3.html +0 -8
  361. package/tests/rules/csp/html-style-unsafe-inline/FAIL_1.html +0 -11
  362. package/tests/rules/csp/html-style-unsafe-inline/PASS_1.html +0 -11
  363. package/tests/rules/csp/html-unsafe-expr/FAIL_1.html +0 -14
  364. package/tests/rules/csp/html-unsafe-expr/PASS_1.html +0 -23
  365. package/tests/rules/csp/js-script-unsafe-eval/FAIL_1.js +0 -17
  366. package/tests/rules/csp/js-script-unsafe-eval/FAIL_2.js +0 -40
  367. package/tests/rules/csp/js-script-unsafe-eval/FAIL_3.js +0 -22
  368. package/tests/rules/csp/js-script-unsafe-eval/PASS_1.js +0 -20
  369. package/tests/rules/csp/js-script-unsafe-eval/PASS_2.js +0 -44
  370. package/tests/rules/csp/js-script-unsafe-eval/PASS_3.js +0 -16
  371. package/tests/rules/csp/js-style-unsafe-inline/FAIL_1.js +0 -25
  372. package/tests/rules/csp/js-style-unsafe-inline/PASS.js +0 -22
  373. package/tests/rules/demo/noself_FAIL_1.js +0 -101
  374. package/tests/rules/import/import_FAIL_1.js +0 -11
  375. package/tests/rules/import/import_PASS_1.js +0 -10
  376. package/tests/rules/jet-composites/demo-buttonset-enum/component.json +0 -57
  377. package/tests/rules/jet-composites/demo-buttonset-enum/loader.js +0 -19
  378. package/tests/rules/jet-composites/demo-buttonset-enum/view.html +0 -48
  379. package/tests/rules/jet-composites/demo-card/component.json +0 -28
  380. package/tests/rules/jet-composites/demo-card/loader.js +0 -16
  381. package/tests/rules/jet-composites/demo-card/view.html +0 -30
  382. package/tests/rules/jet-composites/demo-card/viewModel.js +0 -46
  383. package/tests/rules/jet-composites/demo-card/view_PASS_1.html +0 -21
  384. package/tests/rules/jet-composites/demo-contact-form/component.json +0 -23
  385. package/tests/rules/jet-composites/demo-contact-form/loader.js +0 -16
  386. package/tests/rules/jet-composites/demo-contact-form/view.html +0 -9
  387. package/tests/rules/jet-composites/demo-grocery-list/component.json +0 -18
  388. package/tests/rules/jet-composites/demo-grocery-list/loader.js +0 -19
  389. package/tests/rules/jet-composites/demo-grocery-list/view.html +0 -22
  390. package/tests/rules/jet-composites/demo-grocery-list/viewModel.js +0 -48
  391. package/tests/rules/jet-composites/dummy-component-1/component.json +0 -82
  392. package/tests/rules/jet-composites/dummy-component-2/component.json +0 -72
  393. package/tests/rules/jet-composites/foo-my-cca/component.json +0 -14
  394. package/tests/rules/jet-composites/foo-unsup-theme/component.json +0 -29
  395. package/tests/rules/jet-composites/header/component.json +0 -12
  396. package/tests/rules/jet-composites/oj-cgbu-omc/attribute-selection/component.json +0 -154
  397. package/tests/rules/jet-composites/oj-cgbu-omc/component.json +0 -11
  398. package/tests/rules/jet-composites/oj-cgbu-omc/reference/component.json +0 -185
  399. package/tests/rules/jet-composites/oj-cgbu-omc/wctag_props_FAIL_1.html +0 -34
  400. package/tests/rules/jet-composites/oj-enum-depr/component.json +0 -69
  401. package/tests/rules/jet-composites/oj-html-wctag-id/id_FAIL_1.html +0 -10
  402. package/tests/rules/jet-composites/oj-html-wctag-id/id_PASS_1.html +0 -6
  403. package/tests/rules/misc/oj.js +0 -12
  404. package/tests/rules/oj-acc-aria-labelledby/aria_labelledby_FAIL_1.html +0 -23
  405. package/tests/rules/oj-acc-aria-labelledby/aria_labelledby_FAIL_2.html +0 -22
  406. package/tests/rules/oj-acc-aria-labelledby/aria_labelledby_PASS_1.html +0 -23
  407. package/tests/rules/oj-acc-aria-labelledby/aria_labelledby_PASS_2.html +0 -22
  408. package/tests/rules/oj-acc-aria-labelledby/aria_labelledby_PASS_3.html +0 -22
  409. package/tests/rules/oj-acc-aria-labelledby/aria_labelledby_PASS_4.html +0 -22
  410. package/tests/rules/oj-acc-aria-labelledby/aria_labelledby_PASS_5.html +0 -22
  411. package/tests/rules/oj-acc-aria-prop/aria_prop_FAIL_1.html +0 -22
  412. package/tests/rules/oj-acc-avatar-aria-role/aria_avatar_role_FAIL_1.html +0 -20
  413. package/tests/rules/oj-acc-avatar-aria-role/aria_avatar_role_PASS_1.html +0 -23
  414. package/tests/rules/oj-acc-avatar-aria-role/aria_avatar_role_PASS_2.html +0 -24
  415. package/tests/rules/oj-acc-avatar-aria-role/aria_avatar_role_PASS_3.html +0 -21
  416. package/tests/rules/oj-acc-avatar-aria-role/aria_avatar_role_PASS_4.html +0 -22
  417. package/tests/rules/oj-acc-avatar-aria-role/aria_avatar_role_PASS_5.html +0 -22
  418. package/tests/rules/oj-acc-combobox-aria-label/aria_combo_many_FAIL_1.html +0 -20
  419. package/tests/rules/oj-acc-combobox-aria-label/aria_combo_many_FAIL_2.html +0 -21
  420. package/tests/rules/oj-acc-combobox-aria-label/aria_combo_many_PASS_1.html +0 -20
  421. package/tests/rules/oj-acc-combobox-aria-label/aria_combo_one_FAIL_1.html +0 -21
  422. package/tests/rules/oj-acc-combobox-aria-label/aria_combo_one_FAIL_2.html +0 -22
  423. package/tests/rules/oj-acc-combobox-aria-label/aria_combo_one_PASS_1.html +0 -22
  424. package/tests/rules/oj-acc-film-strip-aria-label/aria_filmstrip_FAIL_1.html +0 -18
  425. package/tests/rules/oj-acc-film-strip-aria-label/aria_filmstrip_FAIL_2.html +0 -18
  426. package/tests/rules/oj-acc-film-strip-aria-label/aria_filmstrip_PASS_1.html +0 -18
  427. package/tests/rules/oj-acc-film-strip-aria-label/aria_filmstrip_PASS_2.html +0 -19
  428. package/tests/rules/oj-acc-film-strip-aria-label/aria_filmstrip_PASS_3.html +0 -22
  429. package/tests/rules/oj-acc-input-aria-label/oj_input_date_FAIL_1.html +0 -21
  430. package/tests/rules/oj-acc-input-aria-label/oj_input_date_FAIL_2.html +0 -22
  431. package/tests/rules/oj-acc-input-aria-label/oj_input_date_PASS_1.html +0 -16
  432. package/tests/rules/oj-acc-input-aria-label/oj_input_date_PASS_2.html +0 -17
  433. package/tests/rules/oj-acc-input-aria-label/oj_input_date_PASS_3.html +0 -26
  434. package/tests/rules/oj-acc-input-aria-label/oj_input_date_time_FAIL_1.html +0 -19
  435. package/tests/rules/oj-acc-input-aria-label/oj_input_date_time_FAIL_2.html +0 -20
  436. package/tests/rules/oj-acc-input-aria-label/oj_input_date_time_PASS_1.html +0 -19
  437. package/tests/rules/oj-acc-input-aria-label/oj_input_number_FAIL_1.html +0 -17
  438. package/tests/rules/oj-acc-input-aria-label/oj_input_number_FAIL_2.html +0 -18
  439. package/tests/rules/oj-acc-input-aria-label/oj_input_number_PASS_1.html +0 -17
  440. package/tests/rules/oj-acc-input-aria-label/oj_input_password_FAIL_1.html +0 -17
  441. package/tests/rules/oj-acc-input-aria-label/oj_input_password_FAIL_2.html +0 -17
  442. package/tests/rules/oj-acc-input-aria-label/oj_input_password_PASS_1.html +0 -17
  443. package/tests/rules/oj-acc-input-aria-label/oj_input_text_3_PASS_1.html +0 -20
  444. package/tests/rules/oj-acc-input-aria-label/oj_input_text_FAIL_1.html +0 -20
  445. package/tests/rules/oj-acc-input-aria-label/oj_input_text_FAIL_2.html +0 -21
  446. package/tests/rules/oj-acc-input-aria-label/oj_input_text_PASS_2.html +0 -62
  447. package/tests/rules/oj-acc-input-aria-label/oj_input_text_nolabel_PASS_2.html +0 -17
  448. package/tests/rules/oj-acc-input-aria-label/oj_input_time_FAIL_1.html +0 -19
  449. package/tests/rules/oj-acc-input-aria-label/oj_input_time_FAIL_2.html +0 -20
  450. package/tests/rules/oj-acc-input-aria-label/oj_input_time_PASS_1.html +0 -19
  451. package/tests/rules/oj-acc-select-aria-label/aria_selectmany_FAIL_1.html +0 -19
  452. package/tests/rules/oj-acc-select-aria-label/aria_selectmany_FAIL_2.html +0 -20
  453. package/tests/rules/oj-acc-select-aria-label/aria_selectmany_PASS_1.html +0 -19
  454. package/tests/rules/oj-acc-select-aria-label/aria_selectone_FAIL_1.html +0 -20
  455. package/tests/rules/oj-acc-select-aria-label/aria_selectone_FAIL_2.html +0 -21
  456. package/tests/rules/oj-cca-comp-zip/zip_FAIL_1.zip +0 -1
  457. package/tests/rules/oj-cca-comp-zip/zip_FAIL_2.zip +0 -0
  458. package/tests/rules/oj-cca-comp-zip/zip_FAIL_3.zip +0 -0
  459. package/tests/rules/oj-cca-comp-zip/zip_FAIL_4.zip +0 -0
  460. package/tests/rules/oj-cca-comp-zip/zip_FAIL_5.zip +0 -0
  461. package/tests/rules/oj-cca-comp-zip/zip_FAIL_6.zip +0 -0
  462. package/tests/rules/oj-cca-comp-zip/zip_FAIL_7.zip +0 -0
  463. package/tests/rules/oj-cca-comp-zip/zip_FAIL_8.zip +0 -0
  464. package/tests/rules/oj-cca-comp-zip/zip_PASS_1.zip +0 -0
  465. package/tests/rules/oj-cca-ns-reg/oj-cca-ns-FAIL_1/component.json +0 -19
  466. package/tests/rules/oj-cca-ns-reg/oj-cca-ns-PASS_1/component.json +0 -19
  467. package/tests/rules/oj-cgbu-omc_tests/html_ojevent_FAIL_1.html +0 -15
  468. package/tests/rules/oj-cgbu-omc_tests/html_ojevent_PASS_1.html +0 -17
  469. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_1/component.json +0 -16
  470. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_10/component.json +0 -103
  471. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_11/component.json +0 -24
  472. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_12/component.json +0 -17
  473. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_13/component.json +0 -17
  474. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_14/component.json +0 -40
  475. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_15/component.json +0 -24
  476. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_16/component.json +0 -44
  477. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_17/component.json +0 -8
  478. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_18/component.json +0 -8
  479. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_19/component.json +0 -8
  480. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_2/component.json +0 -15
  481. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_20/component.json +0 -18
  482. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_21/component.json +0 -16
  483. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_22/component.json +0 -19
  484. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_3/component.json +0 -15
  485. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_4/component.json +0 -16
  486. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_5/component.json +0 -16
  487. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_6/component.json +0 -18
  488. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_7/component.json +0 -15
  489. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_8/component.json +0 -15
  490. package/tests/rules/oj-compjson-syntax/ojcomp-FAIL_9/component.json +0 -52
  491. package/tests/rules/oj-compjson-syntax/ojcomp-PASS_1/component.json +0 -17
  492. package/tests/rules/oj-compjson-syntax/ojcomp-PASS_2/component.json +0 -88
  493. package/tests/rules/oj-compjson-syntax/ojcomp-PASS_3/component.json +0 -19
  494. package/tests/rules/oj-css-bp-dir-flow/dirflow_FAIL_1.html +0 -22
  495. package/tests/rules/oj-css-bp-dir-flow/dirflow_FAIL_2.html +0 -22
  496. package/tests/rules/oj-css-diagnose/css_FAIL_1.html +0 -14
  497. package/tests/rules/oj-css-diagnose/css_PASS_1.html +0 -14
  498. package/tests/rules/oj-css-var-override/varovr_FAIL_1.html +0 -8
  499. package/tests/rules/oj-html-5-attr-depr/attrdepr_FAIL_1.html +0 -16
  500. package/tests/rules/oj-html-5-attr-depr/attrdepr_PASS_1.html +0 -16
  501. package/tests/rules/oj-html-5-tag-depr/tagdepr_FAIL_1.html +0 -9
  502. package/tests/rules/oj-html-attr/attr_FAIL_1.html +0 -27
  503. package/tests/rules/oj-html-attr-$unique/attr_$unique1_FAIL_1.html +0 -19
  504. package/tests/rules/oj-html-attr-$unique/attr_$unique_FAIL_2.html +0 -25
  505. package/tests/rules/oj-html-attr-2def/attr2def_FAIL_1.html +0 -10
  506. package/tests/rules/oj-html-attr-2def/attr2def_PASS_1.html +0 -10
  507. package/tests/rules/oj-html-attr-json/attr-json_FAIL_1.html +0 -20
  508. package/tests/rules/oj-html-attr-json/attr-json_FAIL_2.html +0 -20
  509. package/tests/rules/oj-html-attr-json/attr-json_FAIL_3.html +0 -20
  510. package/tests/rules/oj-html-attr-json/attr-json_PASS_1.html +0 -20
  511. package/tests/rules/oj-html-attr-json/attr-json_PASS_2.html +0 -20
  512. package/tests/rules/oj-html-attr-json/attr-json_PASS_3.html +0 -8
  513. package/tests/rules/oj-html-attr-prefix-expr/attrprefixexpr_FAIL_1.html +0 -10
  514. package/tests/rules/oj-html-attr-prefix-expr/attrprefixexpr_PASS_1.html +0 -10
  515. package/tests/rules/oj-html-attr-prefix-ro/attrprefixro_FAIL_1.html +0 -10
  516. package/tests/rules/oj-html-attr-prefix-ro/attrprefixro_PASS_1.html +0 -10
  517. package/tests/rules/oj-html-attr-req/attrreq_FAIL_1.html +0 -17
  518. package/tests/rules/oj-html-attr-req/attrreq_FAIL_2.html +0 -13
  519. package/tests/rules/oj-html-attr-req/attrreq_FAIL_3.html +0 -8
  520. package/tests/rules/oj-html-attr-req/attrreq_FAIL_4.html +0 -13
  521. package/tests/rules/oj-html-attr-req/attrreq_FAIL_5.html +0 -17
  522. package/tests/rules/oj-html-attr-req/attrreq_PASS_1.html +0 -24
  523. package/tests/rules/oj-html-attr-req/attrreq_PASS_2.html +0 -24
  524. package/tests/rules/oj-html-attr-req/attrreq_PASS_3.html +0 -10
  525. package/tests/rules/oj-html-attr-req/attrreq_PASS_4.html +0 -11
  526. package/tests/rules/oj-html-bindforeach-data/bindforeach_data_FAIL_1.html +0 -19
  527. package/tests/rules/oj-html-bindforeach-data/bindforeach_data_PASS_1.html +0 -10
  528. package/tests/rules/oj-html-bindif-test/bindif_test_FAIL_1.html +0 -22
  529. package/tests/rules/oj-html-bindif-test/bindif_test_PASS_1.html +0 -11
  530. package/tests/rules/oj-html-binding-attr/binding-foreach_FAIL_2.html +0 -28
  531. package/tests/rules/oj-html-binding-attr/binding-if_FAIL_1.html +0 -23
  532. package/tests/rules/oj-html-binding-attr/binding-if_PASS_1.html +0 -23
  533. package/tests/rules/oj-html-cca-count/cca-count_FAIL_1.html +0 -119
  534. package/tests/rules/oj-html-cca-tagname/ccatag_FAIL_1.html +0 -7
  535. package/tests/rules/oj-html-cca-tagname/ccatag_PASS_1.html +0 -7
  536. package/tests/rules/oj-html-cca-tagname/tag_ns_FAIL_1.html +0 -8
  537. package/tests/rules/oj-html-cca-tagname/tag_ns_FAIL_2.html +0 -8
  538. package/tests/rules/oj-html-cca-tagname/tag_ns_FAIL_3.html +0 -8
  539. package/tests/rules/oj-html-cca-tagname/tag_ns_PASS_1.html +0 -10
  540. package/tests/rules/oj-html-cdn/html_cdn_FAIL_1.html +0 -18
  541. package/tests/rules/oj-html-cspexpr/cspexpr_FAIL_1.html +0 -14
  542. package/tests/rules/oj-html-cspexpr/cspexpr_FAIL_2.html +0 -10
  543. package/tests/rules/oj-html-cspexpr/cspexpr_PASS_1.html +0 -23
  544. package/tests/rules/oj-html-cspexpr/cspexpr_PASS_2.html +0 -10
  545. package/tests/rules/oj-html-cspexpr/cspexpr_PASS_3.html +0 -13
  546. package/tests/rules/oj-html-dlg-title/dlgtitle_FAIL_1.html +0 -12
  547. package/tests/rules/oj-html-dlg-title/dlgtitle_PASS_1.html +0 -12
  548. package/tests/rules/oj-html-form-noflex/noflex_FAIL_1.html +0 -10
  549. package/tests/rules/oj-html-invalid-doctype/doctype_invalid_FAIL_1.html +0 -20
  550. package/tests/rules/oj-html-invalid-doctype/doctype_invalid_FAIL_2.html +0 -13
  551. package/tests/rules/oj-html-invalid-doctype/doctype_invalid_FAIL_3.html +0 -16
  552. package/tests/rules/oj-html-invalid-doctype/doctype_invalid_FAIL_4.html +0 -13
  553. package/tests/rules/oj-html-invalid-doctype/doctype_invalid_PASS_1.html +0 -6
  554. package/tests/rules/oj-html-invalid-doctype/doctype_invalid_PASS_2.html +0 -7
  555. package/tests/rules/oj-html-invalid-doctype/doctype_invalid_PASS_3.html +0 -7
  556. package/tests/rules/oj-html-jq-databind/jq-databind_FAIL_1.html +0 -37
  557. package/tests/rules/oj-html-jq-databind/jq-databind_FAIL_2.html +0 -34
  558. package/tests/rules/oj-html-jq-databind/jq-databind_FAIL_3.html +0 -27
  559. package/tests/rules/oj-html-jq-databind/jq-databind_PASS_1.html +0 -30
  560. package/tests/rules/oj-html-ko-comment/ko-comment_FAIL_1.html +0 -47
  561. package/tests/rules/oj-html-ko-comment/ko-comment_FAIL_2.html +0 -36
  562. package/tests/rules/oj-html-ko-databind/ko-databind_FAIL_1.html +0 -24
  563. package/tests/rules/oj-html-ko-databind/ko-databind_FAIL_2.html +0 -36
  564. package/tests/rules/oj-html-ko-databind/ko-databind_FAIL_3.html +0 -29
  565. package/tests/rules/oj-html-label-for-prefix/for_FAIL_1.html +0 -8
  566. package/tests/rules/oj-html-label-for-prefix/for_PASS_1.html +0 -8
  567. package/tests/rules/oj-html-missing-doctype/doctype_missing_FAIL_1.html +0 -12
  568. package/tests/rules/oj-html-missing-doctype/doctype_missing_FAIL_2.html +0 -11
  569. package/tests/rules/oj-html-missing-doctype/doctype_missing_PASS_1.html +0 -14
  570. package/tests/rules/oj-html-missing-doctype/doctype_missing_PASS_2.html +0 -5
  571. package/tests/rules/oj-html-missing-doctype/doctype_missing_PASS_3.html +0 -12
  572. package/tests/rules/oj-html-missing-doctype/doctype_missing_PASS_5.html +0 -6
  573. package/tests/rules/oj-html-nonvoid-close/close_FAIL_1.html +0 -28
  574. package/tests/rules/oj-html-nonvoid-close/close_FAIL_2.html +0 -14
  575. package/tests/rules/oj-html-nonvoid-close/close_FAIL_3.html +0 -13
  576. package/tests/rules/oj-html-nonvoid-close/close_FAIL_5.html +0 -28
  577. package/tests/rules/oj-html-nonvoid-close/close_FAIL_6.html +0 -28
  578. package/tests/rules/oj-html-nonvoid-close/close_PASS_1.html +0 -7
  579. package/tests/rules/oj-html-oj-lib/oj_lib_FAIL_1.html +0 -15
  580. package/tests/rules/oj-html-ojattr/ojattr_PASS_1.html +0 -8
  581. package/tests/rules/oj-html-ojattr/ojattr_PASS_2.html +0 -10
  582. package/tests/rules/oj-html-ojattr/ojattr_PASS_3.html +0 -7
  583. package/tests/rules/oj-html-ojattr/ojattr_PASS_4.html +0 -7
  584. package/tests/rules/oj-html-ojattr-deprecated/ojattr-dep_FAIL1.html +0 -156
  585. package/tests/rules/oj-html-ojattr-enum-deprecated/enum_FAIL_1.html +0 -19
  586. package/tests/rules/oj-html-ojattr-enum-deprecated/enum_FAIL_2.html +0 -20
  587. package/tests/rules/oj-html-ojattr-enum-deprecated/enum_PASS_1.html +0 -25
  588. package/tests/rules/oj-html-ojattr-evt-syntax/evt-attr-syntax_FAIL_1.html +0 -6
  589. package/tests/rules/oj-html-ojattr-evt-syntax/evt-attr-syntax_PASS_1.html +0 -6
  590. package/tests/rules/oj-html-ojattr-value/attr-value_FAIL_1.html +0 -26
  591. package/tests/rules/oj-html-ojattr-value/attr-value_FAIL_2.html +0 -26
  592. package/tests/rules/oj-html-ojattr-value/attr-value_FAIL_3.html +0 -8
  593. package/tests/rules/oj-html-ojattr-value/attr-value_FAIL_4.html +0 -8
  594. package/tests/rules/oj-html-ojattr-value/attr-value_FAIL_5.html +0 -8
  595. package/tests/rules/oj-html-ojattr-value/attr-value_PASS_1.html +0 -26
  596. package/tests/rules/oj-html-ojattr-value/attr-value_PASS_2.html +0 -8
  597. package/tests/rules/oj-html-ojattr-value/attr-value_PASS_3.html +0 -7
  598. package/tests/rules/oj-html-ojattr-value/attr-value_PASS_6.html +0 -7
  599. package/tests/rules/oj-html-ojattr-value/attr-value_PASS_7.html +0 -10
  600. package/tests/rules/oj-html-ojattr-value/attr_value_PASS_4.html +0 -7
  601. package/tests/rules/oj-html-ojattr-value/attr_value_PASS_5.html +0 -9
  602. package/tests/rules/oj-html-ojslot/ojslot_FAIL_1.html +0 -11
  603. package/tests/rules/oj-html-ojslot/ojslot_PASS_1.html +0 -12
  604. package/tests/rules/oj-html-ojstyle/style_FAIL_1.html +0 -103
  605. package/tests/rules/oj-html-ojstyle/style_PASS_2.html +0 -7
  606. package/tests/rules/oj-html-ojtag-datacmd/datacmd_FAIL_1.html +0 -10
  607. package/tests/rules/oj-html-ojtag-datacmd/datacmd_FAIL_2.html +0 -18
  608. package/tests/rules/oj-html-ojtag-datacmd/datacmd_FAIL_3.html +0 -10
  609. package/tests/rules/oj-html-ojtag-datacmd/datacmd_PASS_1.html +0 -28
  610. package/tests/rules/oj-html-ojtag-datacmd/datacmd_PASS_2.html +0 -15
  611. package/tests/rules/oj-html-ojtag-datactx/datactx_FAIL_1.html +0 -14
  612. package/tests/rules/oj-html-ojtag-datactx/datactx_PASS_1.html +0 -14
  613. package/tests/rules/oj-html-ojtag-globattr-noprefix/globattr-noprefix_FAIL_1.html +0 -36
  614. package/tests/rules/oj-html-ojtag-nonglobattr-prefix/nonglobattr-prefix_FAIL_1.html +0 -26
  615. package/tests/rules/oj-html-slot-name/slot_name.FAIL_1.html +0 -24
  616. package/tests/rules/oj-html-slot-name/slot_name.FAIL_2.html +0 -46
  617. package/tests/rules/oj-html-slot-name/slot_name.FAIL_3.html +0 -10
  618. package/tests/rules/oj-html-slot-name/slot_name.PASS_1.html +0 -24
  619. package/tests/rules/oj-html-slot-name/slot_name.PASS_2.html +0 -39
  620. package/tests/rules/oj-html-slot-name/slot_name.PASS_3.html +0 -10
  621. package/tests/rules/oj-html-slot-name/slot_name_PASS_4.html +0 -16
  622. package/tests/rules/oj-html-slot-name/slot_name_PASS_5.html +0 -11
  623. package/tests/rules/oj-html-slot-name/slot_name_PASS_6.html +0 -14
  624. package/tests/rules/oj-html-slot-name/slot_name_PASS_7.html +0 -10
  625. package/tests/rules/oj-html-style/style_FAIL_1.html +0 -7
  626. package/tests/rules/oj-html-style/style_PASS_1.html +0 -12
  627. package/tests/rules/oj-html-style/style_PASS_2.html +0 -7
  628. package/tests/rules/oj-html-style-bp-color/color-FAIL_1.html +0 -17
  629. package/tests/rules/oj-html-style-bp-color/color-FAIL_2.html +0 -15
  630. package/tests/rules/oj-html-style-bp-color/color-FAIL_3.html +0 -7
  631. package/tests/rules/oj-html-style-bp-color/color-PASS_1.html +0 -7
  632. package/tests/rules/oj-html-style-bp-font-family/fam_FAIL_1.html +0 -23
  633. package/tests/rules/oj-html-tag-attr-noprefix/attr-noprefix_FAIL_1.html +0 -15
  634. package/tests/rules/oj-html-tag-attr-noprefix/attr-noprefix_FAIL_2.html +0 -9
  635. package/tests/rules/oj-html-tag-attr-noprefix/attr-noprefix_PASS_1.html +0 -9
  636. package/tests/rules/oj-html-unsup-theme/unsup_FAIL_1.html +0 -8
  637. package/tests/rules/oj-html-wctag-for/for_FAIL_1.html +0 -8
  638. package/tests/rules/oj-html-wctag-for/for_PASS_1.html +0 -8
  639. package/tests/rules/oj-js-comp-attr-deprecated/attr-del_FAIL_1.js +0 -20
  640. package/tests/rules/oj-js-comp-attr-deprecated/attr-dep_FAIL_1.js +0 -20
  641. package/tests/rules/oj-js-comp-meth-deprecated/meth-del_FAIL_1.js +0 -20
  642. package/tests/rules/oj-js-comp-meth-deprecated/meth-dep_FAIL_1.js +0 -20
  643. package/tests/rules/oj-js-define-promise/def-prom_FAIL_1.js +0 -16
  644. package/tests/rules/oj-js-define-promise/def-prom_FAIL_2.js +0 -16
  645. package/tests/rules/oj-js-diagnose/es6_PASS_1.js +0 -24
  646. package/tests/rules/oj-js-diagnose/js_FAIL_1.js +0 -12
  647. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_1.js +0 -30
  648. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_2.js +0 -23
  649. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_3.js +0 -22
  650. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_4.js +0 -20
  651. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_5.js +0 -24
  652. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_6.js +0 -30
  653. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_7.js +0 -15
  654. package/tests/rules/oj-js-no-ext-final/noextfinal_FAIL_8.js +0 -16
  655. package/tests/rules/oj-js-no-ext-final/noextfinal_PASS_1.js +0 -17
  656. package/tests/rules/oj-js-no-ext-final/noextfinal_PASS_2.js +0 -17
  657. package/tests/rules/oj-js-noconsole/nocons_FAIL_1.js +0 -11
  658. package/tests/rules/oj-js-ojcomp-deprecated/jscomp_FAIL_1.js +0 -27
  659. package/tests/rules/oj-json-syntax/json_FAIL_1.json +0 -8
  660. package/tests/rules/oj-json-syntax/json_FAIL_2.json +0 -12
  661. package/tests/rules/oj-json-syntax/json_PASS_1.json +0 -25
  662. package/tests/rules/oj-json-syntax/json_PASS_2.json +0 -12
  663. package/tests/rules/oj-json-syntax/json_PASS_3.json +0 -14
  664. package/tests/rules/ojcompjson/attrreq_FAIL_1/component.json +0 -69
  665. package/tests/rules/pack-compjson/audit-pack/component-1/component-1-view.html +0 -6
  666. package/tests/rules/pack-compjson/audit-pack/component-1/component-1-viewModel.js +0 -56
  667. package/tests/rules/pack-compjson/audit-pack/component-1/component.json +0 -13
  668. package/tests/rules/pack-compjson/audit-pack/component-1/loader.js +0 -20
  669. package/tests/rules/pack-compjson/audit-pack/component-1/resources/nls/component-1-strings.js +0 -18
  670. package/tests/rules/pack-compjson/audit-pack/component-2/component-2-view.html +0 -5
  671. package/tests/rules/pack-compjson/audit-pack/component-2/component-2-viewModel.js +0 -56
  672. package/tests/rules/pack-compjson/audit-pack/component-2/component.json +0 -13
  673. package/tests/rules/pack-compjson/audit-pack/component-2/loader.js +0 -20
  674. package/tests/rules/pack-compjson/audit-pack/component-2/resources/nls/component-1-strings.js +0 -18
  675. package/tests/rules/pack-compjson/audit-pack/component.json +0 -12
  676. package/tests/rules/pack-compjson/audit-singleton-1/audit-singleton-1-view.html +0 -5
  677. package/tests/rules/pack-compjson/audit-singleton-1/audit-singleton-1-viewModel.js +0 -56
  678. package/tests/rules/pack-compjson/audit-singleton-1/component.json +0 -20
  679. package/tests/rules/pack-compjson/audit-singleton-1/loader.js +0 -20
  680. package/tests/rules/pack-compjson/audit-singleton-1/resources/nls/audit-singleton-1-strings.js +0 -18
  681. package/tests/rules/pack-compjson/audit-singleton-2/audit-singleton-2-view.html +0 -8
  682. package/tests/rules/pack-compjson/audit-singleton-2/audit-singleton-2-viewModel.js +0 -56
  683. package/tests/rules/pack-compjson/audit-singleton-2/component.json +0 -15
  684. package/tests/rules/pack-compjson/audit-singleton-2/loader.js +0 -20
  685. package/tests/rules/pack-compjson/audit-singleton-2/resources/nls/audit-singleton-2-strings.js +0 -18
  686. package/tests/rules/parse-html/proc_instr.html +0 -9
  687. package/tests/rules/spoc-dom-manip/dom-manip_FAIL_1.js +0 -113
  688. package/tests/rules/spoc-dom-manip/dom-manip_FAIL_2.js +0 -151
  689. package/tests/rules/spoc-dom-manip/dom-manip_PASS_1.js +0 -149
  690. package/tests/rules/spoc-dom-manip/dom-manip_PASS_2.js +0 -147
  691. package/tests/rules/spoc-dom-manip/dom-manip_PASS_3.js +0 -147
  692. package/tests/rules/spoc-dom-manip/dom-manip_PASS_4.js +0 -20
  693. package/tests/rules/spoc-dom-manip/dom-manip_PASS_5.js +0 -246
  694. package/tests/rules/tab-tests/tab-test_FAIL_1.html +0 -37
  695. package/tests/rules/tab-tests/tab-test_FAIL_2.html +0 -8
  696. package/tests/rules/webcomptests/jet-composites/oj-html-wctag-$props/prop_PASS_1.html +0 -8
  697. package/tests/rules/webcomptests/jet-composites/oj-html-wctag-$props/prop_PASS_2.html +0 -8
  698. package/tests/rules/webcomptests/jet-composites/oj-html-wctag-for/for_FAIL_1.html +0 -8
  699. package/tests/rules/webcomptests/jet-composites/oj-html-wctag-for/for_PASS_1.html +0 -8
  700. package/tests/src/JetTest.js +0 -1
  701. package/tests/src/server.js +0 -1
  702. package/tests/test.js +0 -1
@@ -1 +0,0 @@
1
- function Rule(){};Rule.prototype.getName=function(){return"hook-rpext"};Rule.prototype.getShortDescription=function(){return"Test RPExt in 'startupRP', and 'closedownRP' phases"};Rule.prototype.getDescription=function(){return"Test RPExt in 'startupRP', and 'closedownRP' phases"};Rule.prototype.register=function(){return{startupRP:_handle,closedownRP:_handle}};function _handle(context){var issue,phase,rpext,prefix;phase=context.phase;prefix=context.rulePack.getPrefix();if(prefix!=="HOOK"){return}if(phase==="startupRP"){context.rulePack.setExtension(true)}else if(phase==="closedownRP"){rpext=context.rulePack.getExtension();if(typeof rpext!=="boolean"||!rpext){issue=new context.Issue("Hook phase '"+phase+"' (rulepack prefix: "+prefix+"') - RPExt failure","0000");context.reporter.addIssue(issue,context)}}};module.exports=Rule;
@@ -1 +0,0 @@
1
- function Rule(){};Rule.prototype.getName=function(){return"hook-start-close-rulepack"};Rule.prototype.getShortDescription=function(){return"Test hook rule for \"startup\", \"closedown\", \"startupRP\", and \"closedownRP\" phases"};Rule.prototype.getDescription=function(){return"Test hook rule for \"startup\", \"closedown\", \"startupRP\", and \"closedownRP\" phases"};Rule.prototype.register=function(){return{startup:_handle,closedown:_handle,startupRP:_handle,closedownRP:_handle}};function _handle(context){var issue,phase;phase=context.phase;if(phase==="startup"||phase==="closedown"){issue=new context.Issue("Hook phase '"+phase+"' type: '"+context.type+"' received","0000");context.reporter.addIssue(issue,context)}if(phase==="startup"){context.common.hooks={value:0}}else if(phase==="closedown"){_startupReceived(context);if(!context.common.hooks){issue=new context.Issue("Hook phase '"+phase+"' type: '"+context.type+"' - context.common.hooks NOT FOUND!","0000");context.reporter.addIssue(issue,context)}}else if(phase==="startupRP"||phase==="closedownRP"){_startupReceived(context);issue=new context.Issue("RP Hook phase '"+phase+"': - rulepack prefix: "+context.rulePack.getPrefix(),"0000");context.reporter.addIssue(issue,context)}else{issue=new context.Issue("UNKNOWN Hook phase '"+phase+"': - rulepack prefix: "+context.rulePack.getPrefix(),"0000");context.reporter.addIssue(issue,context)}if(context.common.hooks){context.common.hooks.value++;issue=new context.Issue("Hook phase '"+phase+"' type: '"+context.type+"' - value = "+context.common.hooks.value,"0000");context.reporter.addIssue(issue,context)}};function _startupReceived(context){if(!context.common.hooks){var issue=new context.Issue("Hook phase '"+context.phase+"' type: '"+context.type+"' - context.common.hooks NOT FOUND!","0000");context.reporter.addIssue(issue,context)}};module.exports=Rule;
@@ -1 +0,0 @@
1
- function Rule(){};Rule.prototype.getName=function(){return"rule-rpext"};Rule.prototype.getShortDescription=function(){return"Test RPExt value in std rule"};Rule.prototype.getDescription=function(){return"Test RPExt value in std rule"};Rule.prototype.register=function(){return{json:function(context){if(context.rulePack.getPrefix()==="HOOK"){var RPExt=context.rulePack.getExtension();if(typeof RPExt!=="boolean"||!RPExt){context.reporter.addIssue(new context.Issue("RPExt value "+RPExt+" in standard rule failure","0000"),context)}}}}};module.exports=Rule;
@@ -1 +0,0 @@
1
- {"title":"Test RulePack for hook rules, RPExt, and use of common","prefix":"HOOK","version":"1.0.0","rules":{"hook-start-close-rulepack":{},"hook-rpext":{},"rule-rpext":{}}}
@@ -1 +0,0 @@
1
- const RULENAME="proc_directive";const TESTFILE="proc_instr.html";function Rule(){};Rule.prototype.getName=function(){return RULENAME};Rule.prototype.getShortDescription=function(){return"Tests 'procstmt', 'doctype' and 'directive'"};Rule.prototype.getDescription=function(){return"Tests 'procstmt', 'doctype' and 'directive'"};Rule.prototype.register=function(){return{procstmt:handleProc,directive:handleDirective,doctype:handleDoctype,comment:handleComment}};function handleProc(context,procstmt,value){if(context.filepath.indexOf(TESTFILE)<0){return}var issue=new context.Issue("Received procstmt \""+procstmt+"\" \""+value+"\"","0001");issue.setSeverity("info");context.reporter.addIssue(issue,context)};function handleDirective(context,directive,value){if(context.filepath.indexOf(TESTFILE)<0){return}var issue=new context.Issue("Received directive \""+directive+"\""+" '"+value+"'","0001");issue.setSeverity("info");context.reporter.addIssue(issue,context)};function handleDoctype(context,doctype,value){if(context.filepath.indexOf(TESTFILE)<0){return}var issue=new context.Issue("Received doctype \""+doctype+"\""+" '"+value+"'","0001");issue.setSeverity("info");context.reporter.addIssue(issue,context)};function handleComment(context,comment){if(context.filepath.indexOf(TESTFILE)<0){return}var issue=new context.Issue("Received comment \""+comment+"\"","0001");issue.setSeverity("info");context.reporter.addIssue(issue,context)};module.exports=Rule;
@@ -1 +0,0 @@
1
- {"title":"Test RulePack for standard rules","prefix":"STD","version":"1.1.0","rules":{"tag-count-setup":{},"tag-count":{},"proc_directive":{}}}
@@ -1 +0,0 @@
1
- const COUNTS={"oj-accordion":14,"oj-avatar":22,"oj-bind-for-each":7,"oj-bind-if":16,"oj-bind-text":23,"oj-bind-slot":2,"oj-button":22,"oj-buttonset-many":11,"oj-buttonset-one":25,"oj-cgbu-omc-attribute-selection":6,"oj-cgbu-omc-reference":2,"oj-chart":19,"oj-chart-series":1,"oj-checkboxset":14,"oj-collapsible":1,"oj-combobox-many":7,"oj-combobox-one":3,"oj-data-grid":1,"oj-defer":2,"oj-diagram":1,"oj-dialog":5,"oj-enum-depr":2,"oj-film-strip":5,"oj-form-layout":2,"oj-gantt":1,"oj-input-date":15,"oj-input-date-time":3,"oj-input-number":3,"oj-input-password":3,"oj-input-text":16,"oj-input-time":3,"oj-input-search":1,"oj-label":62,"oj-label-value":2,"oj-led-gauge":11,"oj-list-view":3,"oj-made-up":2,"oj-masonry-layout":3,"oj-menu":14,"oj-menu-button":4,"oj-option":67,"oj-progress":1,"oj-select-single":5,"oj-select-many":3,"oj-status-meter-gauge":11,"oj-tab-bar":7,"oj-text-area":1,"oj-thematic-map":9,"oj-timeline":2,"oj-paging-control":12,"oj-rating-gauge":1,"oj-select-one":5,"oj-slot":2,"oj-sp-activity-item":1,"oj-toolbar":10,"oj-table":9,"oj-3dbutton":1};function Rule(){};Rule.prototype.getName=function(){return"tag-count-setup"};Rule.prototype.getShortDescription=function(){return"JET tag counter setup"};Rule.prototype.getDescription=function(){return"JET tag counter setup"};Rule.prototype.register=function(){return{startupRP:function(context){context.common.tagStats={}},closedownRP:function(context){var tagStats=context.common.tagStats;_checkCounts(context,COUNTS,tagStats);_compareCountsByTag(context,tagStats)}}};function _compareCountsByTag(context,stats){var ojTag,issue,n;if(stats){for(ojTag in stats){n=COUNTS[ojTag];n=n||0;if(stats[ojTag]!==n){issue=new context.Issue(`bad tag count for <${ojTag}> : ${stats[ojTag]} (expected ${n})`,"0000");context.reporter.addIssue(issue,context)}}return}issue=new context.Issue("tag count set-up not done","0001");context.reporter.addIssue(issue,context)};function _checkCounts(context,counts,tagStats){var expectedTotal=_countObjEntries(counts);var receivedTotal=_countObjEntries(tagStats);if(expectedTotal!==receivedTotal){var issue=new context.Issue(`bad total tag counts : ${receivedTotal} (expected ${expectedTotal})`,"0001");context.reporter.addIssue(issue,context)}};function _countObjEntries(obj){return obj?Object.keys(obj).length:0}module.exports=Rule;
@@ -1 +0,0 @@
1
- function Rule(){};Rule.prototype.getName=function(){return"tag-count"};Rule.prototype.getShortDescription=function(){return"JET tag counter"};Rule.prototype.getDescription=function(){return"JET tag counter"};Rule.prototype.register=function(){return{ojtag:function(context,tagName){var counter,tagStats=context.common.tagStats;if(tagStats){counter=tagStats[tagName];if(!counter){tagStats[tagName]=0}tagStats[tagName]++}}}};module.exports=Rule;
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <!-- Common elements cause runtime exception in JafCore because it referenced
4
- HtmlUtils (which is now inside DomUtils)- JET-04770
5
- The fix requires that at least one rule listens for "globtag" -->
6
- <body>
7
- <div></div>
8
- </body>
9
- </html>
@@ -1,57 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- function foo()
9
- {
10
- var o, j = 42 ;
11
-
12
- // next comment should be ignored
13
- // jaf-enable
14
- j = j +1 ;
15
- if (j > 42)
16
- {
17
- // next comment should be ignored
18
- // jaf-enable
19
- j++ ;
20
- }
21
-
22
- // jaf-disable
23
-
24
- o = new oj.ojTree() ; // should not emit an issue
25
-
26
- // jaf-enable
27
-
28
- o = new oj.ojTree() ; // this should emit an issue
29
-
30
- // jaf-disable
31
- o = new oj.ojTree() ; // should not emit an issue
32
-
33
- // jaf-enable oj-js-ojcomp-exist, oj-foo
34
- o = new oj.ojTree() ; // this should emit an issue
35
-
36
- // jaf-disable-next-line
37
- o = new oj.ojTree() ; // should not emit an issue
38
-
39
- o = new oj.ojTree() ; // this should emit an issue
40
-
41
- if (j > 43)
42
- {
43
- // jaf-disable-next-line
44
- o = new oj.ojTree() ; // should not emit issue
45
-
46
- // next line should not emit an issue
47
- o = new oj.ojTree() ; // jaf-disable-line
48
-
49
- o = new oj.ojTree() ; // this should emit an issue
50
- }
51
-
52
- o = new oj.ojTree() ; // this should emit an issue
53
-
54
- // jaf-disable-next-line
55
-
56
- // jaf-disable
57
- }
@@ -1,96 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- function foo()
9
- {
10
- var o, j = 42 ;
11
-
12
- // jaf-disable
13
- // scope: ruleset -> all active rules
14
- // extent -> all following lines until the
15
- // the next comment (or EOF)
16
- // scope.rules-> null (means all rules)
17
-
18
- o = new oj.ojTree() ; // should not emit an issue
19
-
20
- // The next rule disables a rule already disabled, and should be ignored
21
- // jaf-disable oj-js-ojcomp-new
22
- o = new oj.ojTree() ; // should not emit an issue
23
-
24
-
25
- // jaf-enable oj-js-ojcomp-exist
26
- // scope: ruleset -> all disabled rules (from previous scope)
27
- // except oj-js-ojcomp-exist
28
- // extent -> all following lines until the
29
- // the next comment (or EOF)
30
- // scope.rules -> [oj-js-ojcomp-exist]
31
- // scope.invert -> true (means all rules except oj-js-ojcomp-exist)
32
-
33
- o = new oj.ojTree() ; // should emit an issue
34
-
35
- // jaf-enable oj-js-ojcomp-new
36
- // scope: ruleset -> all disabled rules (from previous scope)
37
- // except oj-js-ojcomp-exist and oj-js-ojcomp-new
38
- // extent -> all following lines until the
39
- // the next comment (or EOF)
40
- // scope.rules -> [oj-js-ojcomp-exist, oj-js-ojcomp-new]
41
- // scope.invert -> true (means all rules except oj-js-ojcomp-exist
42
- // & oj-js-ojcomp-new)
43
- o = new oj.ojTable() ; // should emit an issue
44
-
45
-
46
- // the next rule specifies an unknown rule and should be ignored
47
- // jaf-disable oj-js-ojcomp-exists
48
-
49
-
50
- //---------
51
- // jaf-disable oj-js-ojcomp-exist
52
- // scope: ruleset -> all disabled rules (from previous scope)
53
- // plus oj-js-ojcomp-exist
54
- // extent -> all following lines until the
55
- // the next comment (or EOF)
56
- // scope.rules -> [ oj-js-ojcomp-new]
57
- // scope.invert -> true (means all rules except oj-js-ojcomp-new)
58
- o = new oj.ojTree() ; // should not emit an issue
59
-
60
-
61
- //---------
62
- // jaf-disable-next-line
63
- // scope: ruleset -> all active rules!
64
- // extent -> the following executable statement
65
- // Note: jaf-disable-next-line does not inherit scope
66
- // scope.rules -> null (all rules)
67
-
68
- o = new oj.ojTree() ; // should not emit an issue
69
-
70
- /*
71
- // jaf-disable-next-line rule9
72
- // scope: ruleset -> rule9
73
- extent -> the following statement
74
- Note: jaf-disable-next-line does not inherit scope
75
- scope.rules -> [rule9]
76
-
77
- // jaf-disable-line
78
- // scope: ruleset -> all active rules
79
- extent -> the current statement
80
- Note: jaf-disable-line does not inherit scope
81
- scope.rules -> null (all rules)
82
-
83
- // jaf-disable-line rule9
84
- // scope: ruleset -> rule9
85
- extent -> the current statement
86
- Note: jaf-disable-line does not inherit scope
87
- scope.rules -> [rule9]
88
- */
89
- // jaf-enable
90
- // scope: ruleset -> none
91
- // extent -> all following lines until the
92
- // the next comment (or EOF)
93
-
94
- o = new oj.ojTable() ; // should emit an issue
95
- o = new oj.ojTree() ; // should emit an issue
96
- };
@@ -1,42 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- function foo()
9
- {
10
- var o, j = 42 ;
11
-
12
- // jaf-enable
13
- j = j +1 ;
14
- if (j > 42)
15
- {
16
- j++ ;
17
- }
18
-
19
- // jaf-disable
20
-
21
- o = new oj.ojTree() ;
22
-
23
- // jaf-enable
24
-
25
- // jaf-disable
26
- o = new oj.ojTree() ;
27
-
28
- // jaf-enable oj-html-slot, oj-foo
29
-
30
- // jaf-disable-next-line
31
- o = new oj.ojTree() ;
32
-
33
- if (j > 43)
34
- {
35
- // jaf-disable-next-line
36
- o = new oj.ojTree() ;
37
- }
38
-
39
- o = new oj.ojTree() ; // jaf-disable-line
40
-
41
- // jaf-disable-next-line
42
- }
@@ -1,63 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- // Same as PASS_1 but with /* ... */ instead of //
9
-
10
- // ---- These groups are valid -----
11
- // jaf-group { mygroup1 : ["rule1", "rule2"] }
12
- // jaf-group { mygroup2 : [rule-1, rule-2] }
13
- // jaf-group {mygroup3:[rule-3,rule-4] }
14
- // jaf-group mygroup4:["rule3","rule4"]
15
- /* jaf-group {mygroup5: ["rule5", "rule6",
16
- "rule7", "rule8"
17
- ] */
18
-
19
- // ------ These groups have some kind of error -----
20
- // jaf-group mygroup6:["rule3","rule4",]
21
- /* jaf-group {mygroup7: ["rule5", "rule6"
22
- "rule7", "rule8"
23
- ] */
24
- // jaf-group {mygroup8:[42] }
25
- // jaf-group {mygroup9:[]}
26
- // jaf-group mygroup10:["rule4","rule5"
27
-
28
-
29
- function foo()
30
- {
31
- var o, j = 42 ;
32
-
33
- /* jaf-enable */
34
- j = j +1 ;
35
- if (j > 42)
36
- {
37
- j++ ;
38
- }
39
-
40
- /* jaf-disable */
41
-
42
- o = new oj.ojTree() ;
43
-
44
- /* jaf-enable */
45
-
46
- /* jaf-disable */
47
- o = new oj.ojTree() ;
48
-
49
- /* jaf-enable oj-html-slot */
50
-
51
- /* jaf-disable-next-line */
52
- o = new oj.ojTree() ;
53
-
54
- if (j > 43)
55
- {
56
- /* jaf-disable-next-line */
57
- o = new oj.ojTree() ;
58
- }
59
-
60
- o = new oj.ojTree() ; /* jaf-disable-line */
61
-
62
- /* jaf-disable-next-line */
63
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- function foo()
9
- {
10
- var o, j = 42 ;
11
- // next comment will be ignored
12
- /* jaf-enable */
13
- j = j +1 ;
14
- if (j > 42)
15
- {
16
- j++ ;
17
- }
18
-
19
- // jaf-disable-next-line
20
-
21
- o = new oj.ojTree() ; // should not emit issue
22
-
23
- // jaf-disable-next-line
24
-
25
- o = new oj.ojTree() ; // should not emit issue
26
-
27
- // jaf-disable oj-js-ojcomp-exist
28
- // jaf-disable oj-js-ojcomp-new
29
- // jaf-disable oj-js-poly-promise
30
-
31
- o = new oj.ojTree() ; // should not emit issue
32
- o = new oj.ojTable() ; // should not emit issue
33
-
34
- /* jaf-enable */
35
-
36
-
37
- // next line should not emit issue
38
- o = new oj.ojTree() ; // jaf-disable-line
39
-
40
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- function foo()
9
- {
10
- var o, j = 42 ;
11
- // next comment will be ignored
12
- /* jaf-enable */
13
- j = j +1 ;
14
- if (j > 42)
15
- {
16
- j++ ;
17
- }
18
-
19
- // jaf-disable-next-line
20
-
21
- o = new oj.ojTree() ;
22
-
23
- // jaf-disable-next-line
24
-
25
- o = new oj.ojTree() ;
26
-
27
- // jaf-disable
28
-
29
- o = new oj.ojTree() ;
30
-
31
- /* jaf-enable */
32
-
33
-
34
- o = new oj.ojTree() ; // jaf-disable-line
35
-
36
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- // jaf-disable oj-js-ojcomp-exist
9
- // jaf-disable oj-js-ojcomp-new
10
- // jaf-disable oj-js-poly-promise
11
-
12
-
13
-
14
-
15
- function foo()
16
- {
17
- o = new oj.ojTree() ; // should not emit issue
18
- o = new oj.ojTable() ; // should not emit issue
19
- }
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body>
4
- <button onclick="doSomething()"></button>
5
- <button :onclick="doSomething()"></button>
6
-
7
- <div onclick="doSomething()"></div>
8
-
9
- <oj-button on-oj-action="doSomeThing()"></oj-button>
10
- </body>
11
- </html>
@@ -1,8 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <script>
5
- var inline = 1;
6
- </script>
7
- </head>
8
- </html>
@@ -1,8 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body>
4
- <button :onclick="doSomething()"></button> <!-- ok -->
5
-
6
- <oj-button on-oj-action="doSomeThing()"></oj-button> <!-- ok -->
7
- </body>
8
- </html>
@@ -1,8 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <script nonce="2726c7f26c">
5
- var inline = 1;
6
- </script>
7
- </head>
8
- </html>
@@ -1,8 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <script type="text/html">
5
- var inline = 1;
6
- </script>
7
- </head>
8
- </html>
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <style> <!-- fail -->
5
- body { color: red; }
6
- </style>
7
- <body>
8
-
9
- <div style="color:red;font-size:46px;"></div> <!-- fail -->
10
- </body>
11
- </html>
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <style nonce="2726c7f26c"> <!-- ok -->
5
- body { color: red; }
6
- </style>
7
- <body>
8
-
9
- <div :style="color:red;font-size:46px;"></div> <!-- ok -->
10
- </body>
11
- </html>
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body>
4
-
5
- <div :myattr='[[ some expression ]]'></div>
6
- <div :myattr='[[ var a = b ]]'></div>
7
- <div :myattr='[[ if (x) {} ]]'></div>
8
- <div :myattr='[[ if (x) {a = b} ]]'></div>
9
- <div :myattr='[[ test? consequent : alternate ]]'></div>
10
- <div :myattr='[[ x++ ]]'></div>
11
- <div :myattr='[[ x-- ]]'></div>
12
-
13
- </body>
14
- </html>
@@ -1,23 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <body>
4
-
5
- <div :myattr='[[ value ]]'></div>
6
- <div :myattr='[[ a, b, c ]]'></div>
7
- <div :myattr='[[ router.stateId ]]'></div>
8
- <div :myattr='[[ getColor("customer", id) ]]'></div>
9
- <div :myattr='[[ a && b ]]'></div>
10
- <div :myattr='[[ a || b ]]'></div>
11
- <div :myattr='[[ {"selection_state" : selected} ]]'></div>
12
- <div :myattr='[[ test? consequent : alternate ]]'></div>
13
- <div :myattr='[[ new Object() ]]'></div>
14
- <div :myattr='[[ function(){return "abc"} ]]'></div>
15
- <div :url='[[ functionarisURL ]]'></div> <!--JET expr parser bug 30656476-->
16
-
17
- <!-- From bug 30172269 -->
18
- <oj-thematic-map id="thematicmap2"
19
- area-data='[[$context.areaDataProvider]]'
20
- map-provider='[[$context.mapProvider]] '>
21
- </oj-thematic-map>
22
- </body>
23
- </html>
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- /**
9
- * @license
10
- * Copyright (c) 2014, 2019, Oracle and/or its affiliates.
11
- * The Universal Permissive License (UPL), Version 1.0
12
- */
13
- function foo()
14
- {
15
- eval(document.innerHTML = "badStuff") ;
16
- } ;
17
-
@@ -1,40 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- /**
9
- * @license
10
- * Copyright (c) 2014, 2019, Oracle and/or its affiliates.
11
- * The Universal Permissive License (UPL), Version 1.0
12
- */
13
- function foo()
14
- {
15
- // Check first arg of timer funcs - must not be a string
16
-
17
- var elem, s ;
18
- var foo = function() {} ;
19
- var bar = "some string" ;
20
-
21
-
22
- setTimeout("potentiallyUnsafeJsEval", 1000) ; // fail
23
- setInterval(bar, 1000) ; // fail (arg is a string var)
24
- } ;
25
-
26
- function foo2()
27
- {
28
- } ;
29
-
30
-
31
- function foo3()
32
- {
33
- var astring = "another string" ;
34
-
35
- function _fn()
36
- {
37
- setInterval(astring, 1000) ; // fail (arg is a string)
38
- }
39
- _fn() ;
40
- } ;
@@ -1,22 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- /**
9
- * @license
10
- * Copyright (c) 2014, 2019, Oracle and/or its affiliates.
11
- * The Universal Permissive License (UPL), Version 1.0
12
- */
13
- function foo()
14
- {
15
- var foo = new Function() ; // fail
16
-
17
- Function() ; // fail
18
-
19
- Function.what = "abc" ; // ok
20
-
21
- setInterval(new Function(thing), 1000) ; // fail
22
- } ;
@@ -1,20 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) , 2021, Oracle and/or its affiliates.
4
- * Licensed under The Universal Permissive License (UPL), Version 1.0
5
- * as shown at https://oss.oracle.com/licenses/upl/
6
- * @ignore
7
- */
8
- /**
9
- * @license
10
- * Copyright (c) 2014, 2019, Oracle and/or its affiliates.
11
- * The Universal Permissive License (UPL), Version 1.0
12
- */
13
- function foo(x)
14
- {
15
- x.eval(document.innerHTML = "badStuff") ; // ok
16
-
17
- Function.what = "abc" ; // ok
18
-
19
- } ;
20
-