Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

class-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

class-wrapper - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

dest/class-wrapper.js

@@ -18,3 +18,3 @@ (function (root, factory) {

// Set of wrappers for easier definition of different kinds of classes
// v1.0.3
// v1.1.1
// Copyright (c) 2016-2017 Valerii Zinchenko

@@ -157,5 +157,4 @@ // Licensed under MIT (https://github.com/valerii-zinchenko/class-wrapper/blob/master/LICENSE.txt)

* If some of the object has "__defaults" object, then all of it's properties will be treated as an object of default properties that a new class should have.
* @param {String} [props.__name] - Specify the class name. If ommited, "Class" will be displayed.
* @param {Object | Function | Class | Array} [props.Implement] - Define which interface or an array of interfaces should be implemented in the new class
* @param {Object | Function | Class | Array} [props.Encapsulate] - Define which object/function/class or an array of objects/functions/classes should be encapsulated into the new class
* @param {String} [props.__name = "Class"] - Specify the class name what will be visible near the variables during the debugging.
* @returns {Function} Class

@@ -162,0 +161,0 @@ */

2

dest/class-wrapper.min.js
// Set of wrappers for easier definition of different kinds of classes
// v1.0.3
// v1.1.1
// Copyright (c) 2016-2017 Valerii Zinchenko

@@ -4,0 +4,0 @@ // Licensed under MIT (https://github.com/valerii-zinchenko/class-wrapper/blob/master/LICENSE.txt)

{
"name": "class-wrapper",
"version": "1.1.0",
"version": "1.1.1",
"description": "Set of wrappers for easier definition of different kinds of classes",

@@ -18,3 +18,3 @@ "main": "dest/class-wrapper.js",

"preversion": "npm test",
"prepublishOnly": "npm build"
"prepublishOnly": "npm run build"
},

@@ -21,0 +21,0 @@ "directories": {

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