
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@darcytech/html-webpack-cross-origin-plugin
Advanced tools
@darcytech/html-webpack-cross-origin-pluginhtml-webpack-cross-origin-plugin 是一款扩展至 html-webpack-plugin 的插件, 作用是在构建时往生成的 script 和 link 标签注入 crossOrigin 属性。
入参:'anonymous' | 'use-credentials'
const HtmlWebpackCrossOriginPlugin = require('@darcytech/html-webpack-cross-origin-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
{
plugins: [new HtmlWebpackPlugin(), new HtmlWebpackCrossOriginPlugin('anonymous')];
}
FAQs
构建时往 script 和 link 标签注入 crossOrigin属性
We found that @darcytech/html-webpack-cross-origin-plugin 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.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.