New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

undefine

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

undefine - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

dist/undefine-min.js.map

4

dist/undefine-min.js

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

!function(n){"use strict";function o(o,l,a){function p(p){function s(s,g,y){function m(n,e){return"function"!=typeof y?y:t(n,g,o,y,a,e)}if(y||(y=g,g=null),e()){c&&d("AMD loading",s,p);var b=[y];g&&b.unshift(g.map(r)),p.annonymous||b.unshift(p.amd_id||s),define.apply(o,b),p.global&&(n.require||n.curl||f("AMD require() not found"))([s],function(n){u(s,n,p)})}else{if("object"==typeof exports)return c&&d("Node loading",s),m(function(n){return l(r(n))},function(n){n&&(o.exports=n)});c&&d("Standalone loading",s,p),m(i,function(n){u(s,n,p)})}}return p=p||{},s}return p}function e(){return"function"==typeof define&&define.amd}function t(n,o,e,t,r,i){function u(o){return f[o]||n(o)}var f={require:n,exports:r||{},module:e};o=(o||["require","exports","module"]).map(u);var l=t.apply(e,o);i&&i(l)}function r(n){return n.pop?n[s]:n}function i(o){var e="require_global()",t=r(o);if("string"!=typeof t)return t;t=t.split("/").pop(),c&&d(e,"name:",t);var i=p[t]||n[t];return i||f(e+" not found: "+t),i}function u(o,e,t){var r="register()",i=t.global;if(c&&d(r,o,e,t),p[o]&&f(r+" allready loaded: "+o),p[o]=e||{},e&&i){if(o="string"==typeof i?i:o,t.no_conflict){var u=n[o];e.no_conflict=function(){return n[o]=u,e}}n[o]=e}}function f(n){throw new Error(l+", "+n)}var l="undefine",a="object"==typeof console&&console.log&&console.log.bind(console,l+":")||function(){},c=!1,d=a,p={},s=0;if(e())c&&d("Cooperating with AMD loader, define.amd:",e());else{if("object"==typeof exports)return c&&d("Loaded by node"),s=1,module.exports=o;c&&d("Standalone globally"),n.require=function(o,e){e||(e=o,o=null),t(i,o,n,e)}}n[l]=o(n)}(this);
//# sourceMappingURL=undefine-min.map
!function(a){"use strict";var o="undefine",n="object"==typeof console&&console,e=n&&n.log,t=e&&e.bind(n,o+":")||function(){},c=0,d=t,u={},r=0;if(p())c&&d("Cooperating with AMD loader, define.amd:",p());else{if("object"==typeof exports)return c&&d("Loaded by node"),r=1,module.exports=i;c&&d("Standalone globally"),a.require=function(n,o){o||(o=n,n=null),s(g,n,a,o)}}function i(u,f,l){return function(i){return i=i||{},function(o,e,t){t||(t=e,e=null);if(p()){c&&d("AMD loading",o,i);var n=[t];e&&n.unshift(e.map(y)),i.annonymous||n.unshift(i.amd_id||o),define.apply(u,n),i.global&&(a.require||a.curl||b("AMD require() not found"))([o],function(n){m(o,n,i)})}else{if("object"==typeof exports)return c&&d("Node loading",o),r(function(n){return f(y(n))},function(n){n&&(u.exports=n)});c&&d("Standalone loading",o,i),r(g,function(n){m(o,n,i)})}function r(n,o){return"function"!=typeof t?t:s(n,e,u,t,l,o)}}}}function p(){return"function"==typeof define&&define.amd}function s(o,n,e,t,r,i){var u={require:o,exports:r||{},module:e};n=(n||["require","exports","module"]).map(function(n){return u[n]||o(n)});var f=t.apply(e,n);i&&i(f)}function y(n){return n.pop?n[r]:n}function g(n){var o="require_global()",e=y(n);if("string"!=typeof e)return e;e=e.split("/").pop(),c&&d(o,"name:",e);var t=u[e]||a[e];return t||b(o+" not found: "+e),t}function m(n,o,e){var t="register()",r=e.global;if(c&&d(t,n,o,e),u[n]&&b(t+" allready loaded: "+n),u[n]=o||{},o&&r){if(n="string"==typeof r?r:n,e.no_conflict){var i=a[n];o.no_conflict=function(){return a[n]=i,o}}a[n]=o}}function b(n){throw new Error(o+", "+n)}a[o]=i(a)}(this);
//# sourceMappingURL=undefine-min.js.map
{
"name": "undefine",
"version": "0.2.12",
"version": "0.2.13",
"description": "Universal Module Loader, for node.js, browser scripts, bundles, and AMD define loaders",

@@ -17,8 +17,8 @@ "main": "undefine.js",

"curl-amd": "0.8.x",
"requirejs": "2.x",
"uglify-js": "2.x"
"requirejs": "^2.3.6",
"uglify-js": "3.x"
},
"scripts": {
"test": "node test/for_node",
"build": "cd dist && sh ../node_modules/.bin/uglifyjs --compress --mangle --output undefine-min.js --source-map undefine-min.map -- ../undefine.js",
"build": "cd dist && sh ../node_modules/.bin/uglifyjs --compress --mangle --output undefine-min.js --source-map 'url=undefine-min.js.map' -- ../undefine.js",
"stats": "cd dist && cat undefine-min.js | gzip > undefine-min.js.gz && cat ../undefine.js | gzip > undefine.js.gz && cat undefine-min.map | gzip > undefine-min.map.gz && wc ../undefine.js * | grep -v total && rm *.gz",

@@ -25,0 +25,0 @@ "postinstall": "node node_modules\\allow-require-me\\allow-require-me.js add"

@@ -5,3 +5,3 @@ /* undefine.js

Copyright (c) 2015, Reactive Sets
Copyright (c) 2015-2020, Reactive Sets

@@ -30,4 +30,6 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

var me = 'undefine'
, log = typeof console == 'object' && console.log && console.log.bind( console, me + ':' ) || function() {}
, de = false
, c = typeof console == 'object' && console
, clog = c && c.log
, log = clog && clog.bind( c, me + ':' ) || function() {}
, de = 0
, ug = log

@@ -34,0 +36,0 @@ , modules = {}

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