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

kmc

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kmc - npm Package Compare versions

Comparing version 1.0.28 to 1.0.29

examples/cjs.js

6

HISTORY.md

@@ -0,1 +1,7 @@

## 2013.12.23, Version 1.0.29(Stable)
### bugfix
- 修复build&combo模式下依赖错误的问题
## 2013.12.1, Version 1.0.28(Stable)

@@ -2,0 +8,0 @@

10

lib/compiler.js

@@ -172,7 +172,9 @@ /**

_.forEach(mod.dependencies, function(subMod){
if((subMod.pkg == 'kissy' || subMod.status != 'ok') && _.indexOf(self.buildAnalyzedModules, subMod.name) === -1){
self.buildComboModules.push(subMod.name);
if(_.indexOf(self.buildAnalyzedModules, subMod.name) === -1){
self.buildAnalyzedModules.push(subMod.name);
if(subMod.pkg == 'kissy' || subMod.status != 'ok' || subMod.type === 'css'){
self.buildComboModules.push(subMod.name);
}
!_.isEmpty(subMod.dependencies) && self._buildCombo(subMod);
}
self.buildAnalyzedModules.push(subMod.name);
});

@@ -452,3 +454,3 @@ result[mod.name] = self.buildComboModules;

}
outputPath = path.resolve(outputDir, path.basename(relativePath));
outputPath = path.resolve(outputDir, relativePath);
utils.mkdirsSync(path.dirname(outputPath));

@@ -455,0 +457,0 @@ }

2

package.json
{
"name": "kmc",
"version": "1.0.28",
"version": "1.0.29",
"description": "KISSY Module Compiler",

@@ -5,0 +5,0 @@ "author": {

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