New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

method

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

method - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+1
-24
core.js
/* vim:set ts=2 sw=2 sts=2 expandtab */
/*jshint asi: true undef: true es5: true node: true browser: true devel: true
forin: true latedef: false */
/*global define: true, Cu: true, __URI__: true */
;(function(id, factory) { // Module boilerplate :(
if (typeof(define) === 'function') { // RequireJS
define(factory);
} else if (typeof(require) === 'function') { // CommonJS
factory.call(this, require, exports, module);
} else if (String(this).indexOf('BackstagePass') >= 0) { // JSM
factory(function require(uri) {
var imports = {};
this['Components'].utils.import(uri, imports);
return imports;
}, this, { uri: __URI__, id: id });
this.EXPORTED_SYMBOLS = Object.keys(this);
} else { // Browser or alike
var globals = this;
factory(function require(id) {
return globals[id];
}, (globals[id] = {}), { uri: document.location.href + '#' + id, id: id });
}
}).call(this, 'Method', function(require, exports, module) {
forin: true latedef: false globalstrict: true */
'use strict';

@@ -136,3 +115,1 @@

module.exports = Method
});
+1
-1
{
"name": "method",
"id": "method",
"version": "0.0.2",
"version": "0.0.3",
"description": "Functional polymorphic method dispatch",

@@ -6,0 +6,0 @@ "keywords": [ "method", "dispatch", "protocol", "polymorphism", "type dispatch" ],

/* vim:set ts=2 sw=2 sts=2 expandtab */
/*jshint asi: true undef: true es5: true node: true browser: true devel: true
forin: true latedef: false */
/*global define: true, Cu: true, __URI__: true */
;(function(id, factory) { // Module boilerplate :(
if (typeof(define) === 'function') { // RequireJS
define(factory);
} else if (typeof(require) === 'function') { // CommonJS
factory.call(this, require, exports, module);
} else if (~String(this).indexOf('BackstagePass')) { // JSM
factory(function require(uri) {
var imports = {};
Cu.import(uri, imports);
return imports;
}, this, { uri: __URI__, id: id });
this.EXPORTED_SYMBOLS = Object.keys(this);
} else { // Browser or alike
var globals = this
factory(function require(id) {
return globals[id];
}, (globals[id] = {}), { uri: document.location.href + '#' + id, id: id });
}
}).call(this, 'test/test-all', function(require, exports, module) {
forin: true latedef: false globalstrict: true */
'use strict';

@@ -258,3 +237,1 @@

if (require.main === module) require('test').run(exports)
});

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