Socket
Socket
Sign inDemoInstall

modulejs

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modulejs - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

2

dist/modulejs.js

@@ -1,2 +0,2 @@

/*! modulejs v2.2.0 - https://larsjung.de/modulejs/ */
/*! modulejs v2.3.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.2.0 - https://larsjung.de/modulejs/ */
/*! modulejs v2.3.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}}])});
{
"name": "modulejs",
"version": "2.2.0",
"version": "2.3.0",
"description": "Lightweight JavaScript module system.",

@@ -23,5 +23,5 @@ "homepage": "https://larsjung.de/modulejs/",

"devDependencies": {
"babel-loader": "6.2.9",
"babel-preset-es2015": "6.18.0",
"eslint": "3.12.0",
"babel-loader": "7.1.1",
"babel-preset-es2015": "6.24.1",
"eslint": "4.2.0",
"ghu": "0.12.0",

@@ -28,0 +28,0 @@ "isparta": "4.0.0",

@@ -12,3 +12,3 @@ # modulejs

Copyright (c) 2016 Lars Jung (https://larsjung.de)
Copyright (c) 2017 Lars Jung (https://larsjung.de)

@@ -15,0 +15,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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