Comparing version 2.3.0 to 2.4.0
@@ -1,2 +0,2 @@ | ||
/*! modulejs v2.3.0 - https://larsjung.de/modulejs/ */ | ||
/*! modulejs v2.4.0 - https://larsjung.de/modulejs/ */ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object') |
@@ -1,2 +0,2 @@ | ||
/*! modulejs v2.3.0 - https://larsjung.de/modulejs/ */ | ||
/*! modulejs v2.4.0 - https://larsjung.de/modulejs/ */ | ||
!function(n,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.modulejs=r():n.modulejs=r()}(this,function(){return function(n){function r(t){if(e[t])return e[t].exports;var i=e[t]={exports:{},id:t,loaded:!1};return n[t].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var e={};return r.m=n,r.c=e,r.p="",r(0)}([function(n,r,e){"use strict";var t=e(1),i=t.assert,o=t.forOwn,u=t.has,f=t.resolve,s=function n(){var r={},e={},t=function(n,e,t){if(void 0===t){var o=[[],e];e=o[0],t=o[1]}i("string"==typeof n,"id must be string: "+n),i(!u(r,n),"id already defined: "+n),i(Array.isArray(e),"deps must be array: "+n),r[n]={id:n,deps:e,fn:"function"==typeof t?t:function(){return t}}},s=function(n,t){return i("string"==typeof n,"id must be string: "+n),f(r,t||e,n)},c=function(){var n={};return o(r,function(t,i){n[i]={deps:t.deps.slice(),reqs:f(r,null,i),init:u(e,i)}}),o(r,function(e,t){var i=[];o(r,function(r,e){n[e].reqs.indexOf(t)>=0&&i.push(e)}),n[t].reqd=i}),n},a=function(n){var r="\n";return o(c(),function(e,t){var i=n?e.reqd:e.reqs;r+=(e.init?"*":" ")+" "+t+" -> [ "+i.join(", ")+" ]\n"}),r};return{create:n,define:t,log:a,require:s,state:c,_d:r,_i:e}};n.exports=s()},function(n,r){"use strict";var e=function(n,r){if(!n)throw new Error("[modulejs] "+r)},t=function(n,r){Object.keys(n).forEach(function(e){return r(n[e],e)})},i=function(n,r){return(n||{}).hasOwnProperty(r)},o=function(n){var r={};return n.filter(function(n){var e=!r[n];return r[n]=1,e})},u=function n(r,t,u,f){var s=!t;if(!s&&i(t,u))return t[u];var c=r[u];e(c,"id not defined: "+u),f=(f||[]).slice(),f.push(u);var a=[];if(c.deps.forEach(function(i){e(f.indexOf(i)<0,"circular dependencies: "+i+" in "+f);var o=n(r,t,i,f);s?(a=a.concat(o),a.push(i)):a.push(o)}),s)return o(a);var d=c.fn.apply(void 0,a);return t[u]=d,d};n.exports={assert:e,forOwn:t,has:i,resolve:u,uniq:o}}])}); |
@@ -42,3 +42,3 @@ const {resolve, join} = require('path'); | ||
cacheDirectory: true, | ||
presets: ['es2015'] | ||
presets: ['env'] | ||
} | ||
@@ -45,0 +45,0 @@ } |
{ | ||
"name": "modulejs", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Lightweight JavaScript module system.", | ||
@@ -24,11 +24,11 @@ "homepage": "https://larsjung.de/modulejs/", | ||
"babel-loader": "7.1.1", | ||
"babel-preset-es2015": "6.24.1", | ||
"eslint": "4.2.0", | ||
"ghu": "0.12.0", | ||
"isparta": "4.0.0", | ||
"scar": "0.19.0" | ||
"babel-preset-env": "1.7.0", | ||
"eslint": "5.15.1", | ||
"ghu": "0.13.0", | ||
"isparta": "4.1.1", | ||
"scar": "1.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=8.0.0" | ||
} | ||
} |
# modulejs | ||
[![license][license-img]][github] [![web][web-img]][web] [![github][github-img]][github] [![npm][npm-img]][npm] [![bower][bower-img]][github] | ||
[![version][npm-v-img]][npm] [![downloads][npm-dm-img]][npm] [![dependencies status][gemnasium-img]][gemnasium] [![build status][travis-img]][travis] | ||
[![license][license-img]][github] [![web][web-img]][web] [![github][github-img]][github] [![npm][npm-img]][npm] | ||
[![version][npm-v-img]][npm] [![downloads][npm-dm-img]][npm] [![build status][travis-img]][travis] | ||
@@ -12,3 +12,3 @@ Lightweight JavaScript module system. | ||
Copyright (c) 2017 Lars Jung (https://larsjung.de) | ||
Copyright (c) 2019 Lars Jung (https://larsjung.de) | ||
@@ -37,3 +37,2 @@ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
[npm]: https://www.npmjs.org/package/modulejs | ||
[gemnasium]: https://gemnasium.com/lrsjng/modulejs | ||
[travis]: https://travis-ci.org/lrsjng/modulejs | ||
@@ -45,7 +44,5 @@ | ||
[npm-img]: https://img.shields.io/badge/npm-modulejs-a0a060.svg?style=flat-square | ||
[bower-img]: https://img.shields.io/badge/bower-lrsjng/modulejs-a0a060.svg?style=flat-square | ||
[npm-v-img]: https://img.shields.io/npm/v/modulejs.svg?style=flat-square | ||
[npm-dm-img]: https://img.shields.io/npm/dm/modulejs.svg?style=flat-square | ||
[gemnasium-img]: https://img.shields.io/gemnasium/lrsjng/modulejs.svg?style=flat-square | ||
[travis-img]: https://img.shields.io/travis/lrsjng/modulejs.svg?style=flat-square |
Sorry, the diff of this file is not supported yet
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
45316
27
46