Socket
Socket
Sign inDemoInstall

multimix

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multimix - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

7

lib/main.js

@@ -107,2 +107,7 @@ (function() {

//---------------------------------------------------------------------------------------------------------
new(...P) {
return new this.constructor(...P);
}
//=========================================================================================================

@@ -144,1 +149,3 @@ // KEYMETHOD FACTORY

}).call(this);
//# sourceMappingURL=main.js.map

2

package.json
{
"name": "multimix",
"version": "4.0.0",
"version": "4.1.0",
"description": "flexible object copying",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -7,2 +7,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update -->

- [Usage](#usage)
- [Methods](#methods)
- [Links](#links)

@@ -129,3 +130,11 @@ - [Motivation](#motivation)

### Methods
* **`@new ( P... ) ->`**—instances of derivatives of MultiMix have a method `new()` that returns a new
instances of the same class; `j = i.new settings` is just a shortcut for the not-so-obviously correct
incantation `j = new i.constructor settings`. Sine the standard use case for classes derived from
`Multimix` is one-per-module libraries (that may or may not need or allow to be configured), it is
practical to have a standardized way to produce new library instances where called for.
## Links

@@ -132,0 +141,0 @@

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