Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "kmc", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "KISSY Module Compiler", | ||
@@ -21,3 +21,3 @@ "author": { | ||
"engines": { | ||
"node": ">=0.8.0" | ||
"node": ">=0.10.0" | ||
}, | ||
@@ -31,4 +31,4 @@ "directories": { | ||
"colors": ">=0.6.0-1", | ||
"lodash": "", | ||
"uglify-js": "" | ||
"lodash": "^4.17.4", | ||
"uglify-js": "^2.8.23" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
# ModuleCompiler | ||
[![Join the chat at https://gitter.im/daxingplay/kmc](https://badges.gitter.im/daxingplay/kmc.svg)](https://gitter.im/daxingplay/kmc?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![Build Status](https://travis-ci.org/daxingplay/kmc.svg?branch=master)](https://travis-ci.org/daxingplay/kmc) | ||
@@ -4,0 +6,0 @@ |
@@ -1442,2 +1442,17 @@ /** | ||
}); | ||
describe('add module name', function(){ | ||
var compiler = require('../lib/compiler'); | ||
it('should have module name added.', function(){ | ||
var moduleContent = 'KISSY.add( function(S){})'; | ||
var mod = { | ||
name: 'test' | ||
}; | ||
compiler.prototype._addModuleName(moduleContent, mod).should.equal("KISSY.add('test', function(S){})"); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
137989
3813
1
178
+ Addedalign-text@0.1.4(transitive)
+ Addedcamelcase@1.2.1(transitive)
+ Addedcenter-align@0.1.3(transitive)
+ Addedcliui@2.1.0(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedkind-of@3.2.2(transitive)
+ Addedlazy-cache@1.0.4(transitive)
+ Addedlongest@1.0.1(transitive)
+ Addedrepeat-string@1.6.1(transitive)
+ Addedright-align@0.1.3(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addeduglify-js@2.8.29(transitive)
+ Addeduglify-to-browserify@1.0.2(transitive)
+ Addedwindow-size@0.1.0(transitive)
+ Addedwordwrap@0.0.2(transitive)
+ Addedyargs@3.10.0(transitive)
- Removeduglify-js@3.19.3(transitive)
Updatedlodash@^4.17.4
Updateduglify-js@^2.8.23