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

@dojo/compose

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

@dojo/compose - npm Package Compare versions

Comparing version 2.0.0-beta.24 to 2.0.0-beta.25

4

package.json
{
"name": "@dojo/compose",
"version": "2.0.0-beta.24",
"version": "2.0.0-beta.25",
"description": "A composition library, which works well in a TypeScript environment.",

@@ -16,3 +16,3 @@ "homepage": "http://dojotoolkit.org",

"peerDependencies": {
"@dojo/core": "2.0.0-alpha.25",
"@dojo/core": "2.0.0-alpha.26",
"@dojo/has": "2.0.0-alpha.8",

@@ -19,0 +19,0 @@ "@dojo/shim": "2.0.0-beta.10"

@@ -56,4 +56,29 @@ # @dojo/compose

## Usage
To use `@dojo/compose`, install the package along with its required peer dependencies:
```bash
npm install @dojo/compose
# peer dependencies
npm install @dojo/core
npm install @dojo/has
npm install @dojo/shim
```
## Features
- [Class Creation](#class-creation)
- [Creation](#creation)
- [Creation with Initializer](#creation-with-initializer)
- [Class Extension](#class-extension)
- [Implementing an Interface](#implementing-an-interface)
- [Adding Initialization Functions](#adding-initialization-functions)
- [Merging of Arrays](#merging-of-arrays)
- [Using Generics](#using-generics)
- [Overlaying Functionality](#overlaying-functionality)
- [Adding static properties to a factory](#adding-static-properties-to-a-factory)
- [Mixins](#mixins)
The examples below are provided in TypeScript syntax. The package does work under JavaScript, but for clarity, the examples will only include one syntax. See below for how to utilize the package under JavaScript.

@@ -503,4 +528,10 @@

## Testing
### Installation
To start working with this package, clone the repository and run `npm install`.
In order to build the project run `grunt dev` or `grunt dist`.
### Testing
Test cases MUST be written using [Intern](https://theintern.github.io) using the Object test interface and Assert assertion interface.

@@ -507,0 +538,0 @@

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