
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
主要是把基于requirejs baseUrl的路径转成相对路径,如下目录结构
--todo
+--views
+--view.js
+--models
+--model.js
+--app.js
require配置的baseUrl为todo
//app.js
define(function(require) {
var view = require('views/view');
var model = require('models/model');
})
运行relativify之后,将转为:
define(function(require) {
var view = require('./views/view');
var model = require('./models/model');
})
FAQs
把require基基于baseUrl的写法转成相对路径
The npm package relativify receives a total of 8 weekly downloads. As such, relativify popularity was classified as not popular.
We found that relativify 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.