
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
dart-sass-rails
Advanced tools
Make `asset-url()` helper work outside of sassc-rails, porting to dart-sass
Make asset-url()
helper work outside of sassc-rails, porting to dart-sass
Because you want to stop using Ruby on Rails' asset pipeline, without throwing your .sass/.scss files away.
Pass it to sass-loader in webpack, or dart-sass option.
import sass from 'sass';
import dartSassRails from 'dart-sass-rails';
{
test: /\.(scss|sass|css)$/i,
use: [
MiniCssExtractPlugin.loader,
{
loader: "css-loader",
options: {},
},
{
loader: "resolve-url-loader",
// Required if you use resolve-url-loader 3.0+
options: {
root: "",
}
},
{
loader: 'sass-loader',
options: {
sourceMap: true,
implementation: sass,
sassOptions: {
functions: dartSassRails({
assetRootPath: path.join(railsRoot, 'app', 'assets'),
imagesPath: '/images',
fontsPath: '/fonts',
}),
includePaths: [path.join(railsRoot, 'app', 'assets', 'stylesheets')],
},
},
}
]
}
url()
, and resolve-url-loader transforms to proper urls.FAQs
Make `asset-url()` helper work outside of sassc-rails, porting to dart-sass
The npm package dart-sass-rails receives a total of 8 weekly downloads. As such, dart-sass-rails popularity was classified as not popular.
We found that dart-sass-rails 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.