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.2.0 to 1.2.1

8

package.json
{
"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

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