
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.
@heights/contentful-migrator
Advanced tools
Contentful Migrator is a handy cli tool that extends the existing contentful-migration tool, allowing you to run multiple migration files.
You can get this tool up and running in a few easy steps:
1. Install the Contentful Migrator CLI.
npm install -D @heights/contentful-migrator
or
yarn add -D @heights/contentful-migrator
2. Create your migration file(s).
First, create a migration file according to https://github.com/contentful/contentful-migration#writing-migrations-in-typescript
You should end up with something like this:
// 01-dog-content-type.ts
import { MigrationFunction } from "contentful-migration"
// typecast to 'MigrationFunction' to ensure you get type hints in your editor
export = function (migration, { makeRequest, spaceId, accessToken }) {
const dog = migration.createContentType("dog", {
name: "Dog",
})
const name = dog.createField("name")
name.name("Name").type("Symbol").required(true)
} as MigrationFunction
Important note Files need to be named sequentially, otherwise they will be ignored.
.
+-- src
+-- migrations
+-- 01-dog-content-type.ts
+-- 02-cat-content-type.ts
+-- 03-add-breed-field.ts
3. Running migrations
The tool expects a path
to your migration directory to be provided:
contentful-migrator <path>
eg.
contentful-migrator src/migrations
For each successful migration, this will be logged in a migration-log.json
file in the root directory.
FAQs
Simplified migration tool for Contentful
The npm package @heights/contentful-migrator receives a total of 0 weekly downloads. As such, @heights/contentful-migrator popularity was classified as not popular.
We found that @heights/contentful-migrator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.