Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beef

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beef - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json

@@ -10,3 +10,3 @@ {

"description": "beef - brwoser end equals framework",
"version": "0.0.1",
"version": "0.0.2",
"repository": {

@@ -13,0 +13,0 @@ "type": "git",

beef -- 牛排
[2]: http://image4.buy.ccb.com/images/59288134/1373701097874_3.jpg
-- 解决前后端模块化公用;面向前端modules标准化模块,支持前端模块在服务复用

@@ -10,2 +10,6 @@

* 支持常用插件形式, text, json, less, css
* 支持自定义扩展插件
* 支持自定义扩展插件
*
![fresh beef](http://image4.buy.ccb.com/images/59288134/1373701097874_3.jpg)

@@ -30,5 +30,7 @@ var Module = require('module');

}
// relativeId = require('./config').resolve(relativeId, module);
var fileName = Module._resolveFilename(relativeId, module);
if (Array.isArray(fileName)) {

@@ -46,4 +48,5 @@ fileName = fileName[0];

requireModule.brow = require('./brow');
// requireModule.brow = require('./brow');
// requireModule.config = require('./config').config;
module.exports = requireModule;
// 只有在入口文件才采用侵入方式
var require = require('../src/require');
require(['./source/amd'], function(amd) {
require.config({
baseURL: './source'
});
require(['./amd'], function(amd) {
console.log(amd);
});
var text = require('text!./source/text.txt');
var text = require('text!./text.txt');

@@ -13,4 +18,4 @@ console.log(text);

var css = require('css!./source/style.less');
var css = require('css!./style.less');
console.log(css);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc