Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
浏览器基础库,提供 event, class, router 等等模块的封装
class.js // 基类, 所有继承关系的class,都需要继承自这里 event.js // 来自node.js,提供基础事件支持 router.js // 提供路由支持,单页应用,或者url存储路径的情况,都可以使用这个包 cookie.js // cookie操作 util.js
incomming
cache.js -- localStorage, db etc.
var class = require('bcore/class');
var event = require('bcore/event');
var router = require('bcore/router');
// 用法
function Constructor() {
// super class constructor
this._super.call(this, args....);
// super class functions
this._super.prototype.funcA();
}
Class.extend(Constructor, {
//properties
});
``
### router
FAQs
Core JavaScript library for browser runtime
The npm package bcore receives a total of 10 weekly downloads. As such, bcore popularity was classified as not popular.
We found that bcore demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.