
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@preply/chat
Advanced tools
npm start
- to have stage40 API endpoing (recommended)
npm run start:local
- to have monolith API endpointnpm run start:prod
- to have prod API endpoint (use it only if you know what to do)by default we use API endpoint from the stage40 so make sure you are logined as a tutor or a student.
http://localhost:9001/en/login
(see notes below about API Proxy below)To prevent CORS errors, we proxy all calls to /graphql
, /api
and a few other endpoints via localhost
using webpack-dev-server:proxy
.
We also proxy the monolith's authentication routes (e.g.: /**/login
) so that you can login locally (with credentials or social network) and acquire your session cookies @localhost.
In @preply/chat
npm link # installs a global symlink to make "npm link @preply/chat" possible
npm i
npm start
In preply-space
npm i
npm link @preply/chat # pick up that symlink
npm start
Tip: this shows all your globally-linked npm packages:
npm ls -g --depth=0 --link=true
npm version x.y.z
to incremented version and update package.json, package-lock.jsonAll datetime that goes from BE is in UTC time, we have to format this to user timezone format. Please, use only useTimeZone, toZonedDate, and FormattedDate for date localization. Example:
const { timeZone } = useTimeZone();
const localDatetime = toZonedDate(new Date(datetime), timeZone);
return <FormattedDate value={localDatetime} />
Refer to the ESLint in Preply: How to for a detailed guide on how we pursue the same codestyle within different projects at Preply.
:bulb: You’ll need to install dependencies in the repo root by running yarn
there to enable linting via CLI.
Please, use tokens from @preply/ds-web-core
for styles such as font-size, padding, margins, etc
theme file;
Example:
Bad:
font-size: 16px;
color: #3bb3bd;
padding: 16px;
Good:
font-size: t(text.small.regular.body.fontSize);
color: t(color.background.positiveLight);
padding: ${t(spacing[16])};
Name custom hooks with name starting with use
details so as to avoid breaking app in case of incorrect hook usage details
Follow this readme
...update dependency @preply/chat to...
)docker run renovate/renovate --token=$GITHUB_TOKEN --dry-run=true preply/apollo
/dynamic
in this PR and check chat on each servicemaster
or your branch of PR with chat changesclient-chat
servisenpm run build
npm publish
git tag client-chat-6.4.0-alfa.0
git push origin client-chat-6.4.0-alfa.0
Build
package.json
files throughout the repo 'cause this might update)Errors from this service are reported to Sentry under client-pkgs project.
To filter errors that are only related to this service use source
tag.
We have limited e2e tests coverage, so we have to test chat manually also according to the QA framework
/dynamic npm
FAQs
## Development
The npm package @preply/chat receives a total of 1,013 weekly downloads. As such, @preply/chat popularity was classified as popular.
We found that @preply/chat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.