Socket
Socket
Sign inDemoInstall

moder

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

.babelrc

6

package.json
{
"name": "moder",
"version": "0.1.1",
"version": "0.1.2",
"description": "Module loader",

@@ -14,3 +14,3 @@ "license": "MIT",

"scripts": {
"test": "./node_modules/.bin/mocha test"
"test": "mocha test"
},

@@ -27,4 +27,6 @@ "keywords": [

"devDependencies": {
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.7.2",
"mocha": "^1.21.4"
}
}
var path = require('path'),
assert = require('assert'),
moder = require('../');
require("babel-register");
describe('moder', function() {
this.timeout(10000) // babel compile time
var case1 = moder(__dirname + '/modules/case1');

@@ -39,2 +41,7 @@

});
it('should support ES6 module', function() {
var case5 = moder(__dirname + '/modules/case5');
assert.deepEqual(case5.hello, { default: 'world' });
});
});
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc