
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@payw/cau-food-scraper
Advanced tools
A CAU restaurant menu scraper for Node.js
NOTE: You should follow the migration guide in favor of v2 release.
npm install @payw/cau-food-scraper
# OR
yarn add @payw/cau-food-scraper
// Node.js
const { CAUFS } = require('@payw/cau-food-scraper')
// webpack
// import { CAUFS } from '@payw/cau-food-scraper'
CAUFS({
id: 'portalId',
pw: 'portalPw',
days: 1 // optional (default: 5)
}).then(data => {
// Do something
})
You should import the library differently.
/* v1 */
// Node.js
const foodScrape = require('@payw/cau-food-scraper').default
// webpack
import foodScrape from '@payw/cau-food-scraper'
/* v2 */
// Node.js
const { CAUFS } = require('@payw/cau-food-scraper')
// webpack
import { CAUFS } from '@payw/cau-food-scraper'
Currently, the chage below is deprecated and will be reverted back on the next major release.
Returning data type of Day
and its children types had been slightly changed. The package includes a type definition with more detailed information.
/* v1 */
type Day = {
date: string
breakfast: Food[]
lunch: Food[]
supper: Food[]
}
/* v2 */
type Day = {
date: string
timeGroup: {
breakfast: Restaurant[]
lunch: Restaurant[]
supper: Restaurant[]
}
}
FAQs
A CAU restaurant menu scraper for Node.js
The npm package @payw/cau-food-scraper receives a total of 27 weekly downloads. As such, @payw/cau-food-scraper popularity was classified as not popular.
We found that @payw/cau-food-scraper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.