New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

encore-auditor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encore-auditor - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

116

lib/audits/onedot.js

@@ -319,2 +319,3 @@ 'use strict';

{
// https://regex101.com/r/cX0yE4/1
pattern: /cssSelector\s*:/,

@@ -332,10 +333,8 @@ messages: [

}, {
// TODO: check regex
pattern: /encore\.rxOptionFormTable/,
messages: [
'The encore.rxOptionFormTable page object is deprecated.',
'Use encore.rxOptionTable instead.'
'The rxOptionFormTable page object is deprecated.',
'Use rxOptionTable instead.'
]
}, {
// TODO: check regex
pattern: /encore\.rxToggleSwitch/,

@@ -350,3 +349,2 @@ level: 'info',

}, {
// TODO: check regex
pattern: /encore\.rxMultiSelect/,

@@ -358,5 +356,111 @@ level: 'info',

]
}
}, {
// https://regex101.com/r/pQ4wH8/3
pattern: /\.form\.fill/,
messages: [
'The "rxForm.form.fill" function has been removed.',
'Use "rxForm.fill()" instead.'
]
}, {
// https://regex101.com/r/cG5aI1/1
pattern: /rxForm\.checkbox/,
messages: [
'The "rxForm.checkbox" property has been removed.',
'Use "rxCheckbox" instead.'
]
}, {
// https://regex101.com/r/jO7xL9/1
pattern: /rxForm\.dropdown/,
messages: [
'The "rxForm.dropdown" property has been removed.',
'Use "rxSelect" instead.'
]
}, {
// https://regex101.com/r/bG3hD7/1
pattern: /rxForm\.radioButton/,
messages: [
'The "rxForm.radioButton" property has been removed.',
'Use "rxRadio" instead.'
]
}, {
// https://regex101.com/r/lX2fF4/1
pattern: /rxForm\.slowClick/,
messages: [
'The "rxForm.slowClick" function has been removed.',
'Use "rxMisc.slowClick()" instead.'
]
}, {
// https://regex101.com/r/uX9kY2/1
pattern: /rxForm\.currencyToPennies/,
messages: [
'The "rxForm.currencyToPennies" function has been removed.',
'Use "rxMisc.currencyToPennies()" instead.'
]
}, {
// This handles breadcrumb.visit() and tab.visit()
// https://regex101.com/r/hJ3gD7/1
pattern: /\.visit\(/,
messages: [
'The "rxBreadcrumbs.breadcrumb.visit" and "rxTabs.tab.visit" functions have been removed.',
'Use "rxBreadcrumbs.breadcrumb.click()" and "rxTabs.tab.click()" instead.'
]
}, {
// https://regex101.com/r/jA2lZ4/2
pattern: /rxFloatingHeader\.scrollToElement/,
messages: [
'The "rxFloatingHeader.scrollToElement" function has been removed.',
'Use "rxMisc.scrollToElement()" instead.'
]
}, {
// https://regex101.com/r/lD9zU6/1
pattern: /rxFloatingHeader\.compareYLocations/,
messages: [
'The "rxFloatingHeader.compareYLocations" function has been removed.',
'Use "rxMisc.compareYLocations()" instead.'
]
}, {
// https://regex101.com/r/mE3rQ7/1
pattern: /rxFloatingHeader\.compareXLocations/,
messages: [
'The "rxFloatingHeader.compareXLocations" function has been removed.',
'Use "rxMisc.compareXLocations()" instead.'
]
}, {
// https://regex101.com/r/wZ2nB8/1
pattern: /rxFloatingHeader\.transformLocation/,
messages: [
'The "rxFloatingHeader.transformLocation" function has been removed.',
'Use "rxMisc.transformLocation()" instead.'
]
}, {
// https://regex101.com/r/nM8oY5/1
pattern: /rxOptionTable\.(row|selectedRow)\.unselect/,
messages: [
'The rxOptionTable row "unselect" function has been removed.',
'Use the row "deselect()" function instead.'
]
}, {
// https://regex101.com/r/hI6eP2/1
pattern: /rxOptionTable\.unselectByColumnText/,
messages: [
'The "rxOptionTable.unselectByColumnText" function has been removed.',
'Use "rxOptionTable.deselectByColumnText()" instead.'
]
}, {
// https://regex101.com/r/iI0qI1/1
pattern: /rxOptionTable\.unselectMany/,
messages: [
'The "rxOptionTable.unselectMany" function has been removed.',
'Use "rxOptionTable.deselectMany()" instead.'
]
}, {
// https://regex101.com/r/fX5kC7/1
pattern: /rxCheckbox\.unselect/,
messages: [
'The "rxCheckbox.unselect" function has been removed.',
'Use "rxCheckbox.deselect()" instead.'
]
},
],
}
}

2

package.json
{
"name": "encore-auditor",
"version": "0.1.0",
"version": "0.2.0",
"description": "Source code analyzer for EncoreUI applications.",

@@ -5,0 +5,0 @@ "main": "./lib/encore-auditor.js",

# Encore Auditor
Code analysis tool for Encore applications.
## Installation
```
npm install -g encore-auditor
```
### Upgrade
```
npm update -g encore-auditor
```
## Usage
Run `encore-auditor` from the root of your Encore Project
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc