open-index/open-npm huggingface dataset:
npm package: @nemo.travel/why-did-you-update
Description: Patch React to discover unnecessary re-renders
Author: NemoTravel
Latest version: 0.0.8

# Why did you update, bruh?

[![Travis][build-badge]][build]
[![npm version](https://badge.fury.io/js/why-did-you-update.svg)](https://badge.fury.io/js/why-did-you-update)

### Wat?

![](http://i.imgur.com/Ui8YUBe.png)

A function that monkey patches React and notifies you in the console when **potentially** unnecessary re-renders occur. Super helpful for easy perf gainzzzzz.

### Install
```bash
npm install --save-dev why-did-you-update
```

### How to

```js
import React from 'react'

if (process.env.NODE_ENV !== 'production') {
  const {whyDidYouUpdate} = require('why-did-you-update')
  whyDidYouUpdate(React)
}
```

You can include or exclude components by their displayName with the `include` and `exclude` options

```js
whyDidYouUpdate(React, { include: /^pure/, exclude: /^Connect/ })
```

By default, the changes for each component are grouped by component and these groups collapsed. This can be changed with the `groupByComponent` and `collapseComponentGroups` options:

```js
whyDidYouUpdate(React, { groupByComponent: true, collapseComponentGroups: false })
```

### Credit

I originally read about how Benchling created a mixin to do this on a per component basis ([A deep dive into React perf debugging](http://benchling.engineering/deep-dive-react-perf-debugging/)).
That is really awesome but also tedious AF, so why not just monkey patch React.

[build-badge]: https://img.shields.io/travis/garbles/why-did-you-update/master.svg?style=flat-square
[build]: https://travis-ci.org/garbles/why-did-you-update
npm package: @nemoinho/greasemonkey-header-plugin
Description: This plugin provides the ability to setup a greasemonkey header on top of compiled code
Author: Felix Nehrke
Latest version: 2.0.2

# GreasemonkeyHeaderPlugin

A plugin to simply add userscript-headers via webpack.

# Installation

    npm i --save-dev @nemoinho/greasemonkey-header-plugin

# Usage
As this is a webpack-plugin you need webpack to use this script.

To enable the plugin you configure it as follows in your webpack.config.js:

    const GreasemonkeyHeaderPlugin = require('@nemoinho/greasemonkey-header-plugin');
    const pkg = require('./package');

    module.exports = {
      entry: 'index.js',
      output: {
        filename: 'bundle.user.js',
        path: path.resolve(__dirname, 'dist')
      },
      plugins: [
        new GreasemonkeyHeaderPlugin({
            name: 'My awesome',
            author: 'Joe Dow',
            description: 'My awesome userscript',
            include: '/^https?:\\/\\/example.com\\/.*/',
            version: pkg.version,
            grant: 'none'
        })
      ]
    }

The given options are all translated to user-script tags but at least **name** and **include** are necessary.
npm package: @nemoprotocol/wallet-sdk
Description: <p align="center"><a href="https://www.nemoprotocol.com/"> <img width="480" src="https://www.nemoprotocol.com/assets/logo-3l5o1FE6.svg"/> </a></p>
Latest version: 0.1.14

<p align="center"><a href="https://www.nemoprotocol.com/">
<img width="480" src="https://www.nemoprotocol.com/assets/logo-3l5o1FE6.svg"/>
</a></p>

Building on the open-source magic of the Suiwallet SDK, various wallets, and Suietkit, we’ve brought together the latest active wallets and exchange wallets on Sui into one open-source codebase! 🎉 And guess what? We’re keeping it fresh with continuous updates. 🚀  

We hope this becomes a handy tool for Hydropower and all our amazing partners building on Sui. Huge shoutout to the incredible open-source culture of Sui for making this possible. 💙 Let's keep building together! ✨

# Nemo wallet sdk

<a href="https://github.com/wallet-standard/wallet-standard">
  <img src="https://badgen.net/badge/wallet-standard/supported/green" />
</a>

This repo aims at providing easy-to-use utilities for wallet interaction, which is designed in javascript OOP and platform / framework agnostic.
npm package: @nemosity/react-formulate
Description: Extensible React library for building dynamic declarative forms
Author: Joe Casey
Latest version: 0.0.1-alpha.5

## @nemosity/react-formulate

Weclome to react-formulate!

An extensible React library for building dynamic declarative forms.

---

__NB: Please note react-formulate is currently in alpha and breaking changes can be expected__

This library can be used to quickly integrate dynamic forms into your ReactJS or React Native application.

Features:
- custom validation
- conditonal elements
- pagination
- 3rd party state management support

### Getting started

An example playground can be viewed at https://nemosity.github.io/react-formulate-demo/

![](react-formulate-demo.gif)

The following code snippet outlines provides

```
import { StatefulDynamicForm, BaseWidgets } from '@nemosity/react-formulate';

schema = [
  {
    id: 'size',
    widget: 'Radio',
    values: [
      {
        label: 'S (4oz)',
        value: 'small',
      },
      {
        label: 'M (6oz)',
        value: 'medium',
      },
      {
        label: 'L (8oz)',
        value: 'large',
      },
    ],
    label: 'Size',
  },
  {
    id: 'strength',
    widget: 'Radio',
    values: [
      {
        label: 'Single',
        value: 'single',
      },
      {
        label: 'Double',
        value: 'double',
      },
    ],
    label: 'Strength',
  },
  {
    id: 'notes',
    widget: 'Input',
    placeholder: 'E.g. extra hot',
    label: 'Note',
  },
];

const Form = () => (
  <StatefulDynamicForm
    widgets={BaseWidgets}
    schema={schema}
    onSubmit={(data) => {console.log('Form submitted!', data)}}
  />
);

export default Form;
```

### Publishing

To release:

- `npm run prerelease`
- `git push --tags`

Then login to Gitub and create a release to kickstart the release pipeline
npm package: @nemospeculo/express-sanitized
Description: Express middleware for the sanitizer module using Caja's HTML Sanitizer.
Author: nemosingulorum
Latest version: 1.0.4

# express-sanitized

[![npm version](https://badge.fury.io/js/%40nemospeculo%2Fexpress-sanitized.svg)](https://badge.fury.io/js/%40nemospeculo%2Fexpress-sanitized)
[![dependencies](https://david-dm.org/nemospeculo/express-sanitized.svg)](https://david-dm.org/nemospeculo/express-sanitized)
[![devDependencies](https://david-dm.org/nemospeculo/express-sanitized/dev-status.svg)](https://david-dm.org/nemospeculo/express-sanitized?type=dev)
[![peerDependencies](https://david-dm.org/nemospeculo/express-sanitized/peer-status.svg)](https://david-dm.org/nemospeculo/express-sanitized?type=peer)
[![Known Vulnerabilities](https://snyk.io/test/github/nemospeculo/express-sanitized/badge.svg?targetFile=package.json)](https://snyk.io/test/github/nemospeculo/express-sanitized?targetFile=package.json)

## Installation

```shell
npm install express-sanitized
```

## Usage

Place this directly after express.bodyParser() and before any express middleware that accesses query or body parameters, e.g.:

```javascript
var express = require('express'),
    expressSanitized = require('express-sanitized');

app.use(express.bodyParser());
app.use(expressSanitized()); // this line follows express.bodyParser()

```

## Output

The string

```javascript
'<script>document.write('cookie monster')</script> download now'
```

will be sanitized to ' download now'.

## Limitations

This is a basic implementation of [Caja-HTML-Sanitizer](https://github.com/theSmaw/Caja-HTML-Sanitizer) with the specific purpose of mitigating against persistent XSS risks.

## Caveats

This module trusts the dependencies to provide basic persistent XSS risk mitigation. A user of this package should review all packages and make their own decision on security and fitness for purpose.

This module was inspired by [express-sanitizer](https://www.npmjs.org/package/express-sanitizer).
  The difference here is strict laziness.  This middleware automatically
  sanitizes post and query values whereas that module requires you to manually sanitize each
  parameter.

## Changelog

### v1.0.0

- Updated packages

### v0.6.0

- Update packages

### v0.5.1

- Initial release

## Contributors

- Patrick Hogan <patrick@callinize.com> - Wrap the sanitizer in an npm package
- Mark Andrews <20metresbelow@gmail.com>* - Wrote the initial express-sanitizer.  I forked his library.
- [Callinize](http://www.callinize.com)

## License

Copyright (c) 2014 Patrick Hogan <patrick@callinize.com>, MIT License