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

dispensary

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dispensary - npm Package Compare versions

Comparing version 0.50.0 to 0.51.2

bin/build-doc

37

package.json
{
"name": "dispensary",
"version": "0.50.0",
"version": "0.51.2",
"description": "SHA-256 Hashes of popular JS libraries, used by Mozilla's Add-ons Linter",

@@ -37,35 +37,36 @@ "main": "dist/dispensary.js",

"devDependencies": {
"@babel/core": "~7.8.0",
"@babel/core": "~7.9.0",
"@babel/plugin-proposal-class-properties": "~7.8.0",
"@babel/plugin-transform-modules-commonjs": "~7.8.0",
"@babel/preset-env": "~7.8.0",
"babel-eslint": "~10.0.3",
"babel-loader": "~8.0.0",
"codecov": "3.6.1",
"@babel/plugin-transform-modules-commonjs": "~7.9.0",
"@babel/preset-env": "~7.9.0",
"babel-eslint": "~10.1.0",
"babel-loader": "~8.1.0",
"codecov": "3.6.5",
"eslint": "~6.8.0",
"eslint-config-amo": "1.32.0",
"eslint-config-prettier": "6.9.0",
"eslint-config-amo": "1.34.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-async-await": "0.0.0",
"eslint-plugin-jest": "23.6.0",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-promise": "4.2.1",
"jest": "24.9.0",
"jest": "25.2.4",
"jest-raw-loader": "1.0.1",
"prettier": "1.19.1",
"prettier": "2.0.2",
"pretty-quick": "2.0.1",
"raw-loader": "~4.0.0",
"rimraf": "3.0.0",
"sinon": "~8.0.0",
"webpack": "~4.41.0",
"replace-in-file": "5.0.2",
"rimraf": "3.0.2",
"sinon": "~9.0.0",
"webpack": "~4.42.0",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"async": "~3.1.0",
"async": "~3.2.0",
"natural-compare-lite": "~1.4.0",
"pino": "~5.16.0",
"pino": "~6.0.0",
"request": "~2.88.0",
"sha.js": "~2.4.4",
"source-map-support": "~0.5.4",
"yargs": "~15.1.0"
"yargs": "~15.3.0"
}
}

@@ -6,1 +6,81 @@ [![Build Status](https://travis-ci.org/mozilla/dispensary.svg?branch=master)](https://travis-ci.org/mozilla/dispensary) [![codecov](https://codecov.io/gh/mozilla/dispensary/branch/master/graph/badge.svg)](https://codecov.io/gh/mozilla/dispensary) [![Dependency Status](https://david-dm.org/mozilla/dispensary.svg)](https://david-dm.org/mozilla/dispensary) [![devDependency Status](https://david-dm.org/mozilla/dispensary/dev-status.svg)](https://david-dm.org/mozilla/dispensary#info=devDependencies) [![npm version](https://badge.fury.io/js/dispensary.svg)](https://badge.fury.io/js/dispensary)

The dispensary collects and offers hashes of popular JavaScript libraries, mainly for the [Mozilla's addons-linter](https://github.com/mozilla/addons-linter).
## Libraries updates
This is the (manual) process to update libraries in dispensary:
1. Open `src/libraries.json`
2. Open the release pages of each library. Here is a list:
<!--RELEASE_PAGES_START-->
- https://github.com/angular/angular.js/releases
- https://github.com/jashkenas/backbone/releases
- https://github.com/twbs/bootstrap/releases
- https://download.dojotoolkit.org/
- https://github.com/cure53/DOMPurify/releases
- https://github.com/jquery/jquery/releases
- https://github.com/jquery/jquery-ui/releases
- https://github.com/moment/moment/releases
- https://github.com/mootools/mootools-core/releases
- http://prototypejs.org/
- https://github.com/facebook/react/releases
- https://github.com/jashkenas/underscore/releases
- https://github.com/mozilla/webextension-polyfill/releases
<!--RELEASE_PAGES_END-->
3. On each page, check whether there are newer release versions than what is in `src/libraries.json`. Note that some libraries, like react, support several versions, so we need to check each "branch".
4. For major upgrades, take a quick look at the code changes
5. Add new versions to `src/libraries.json`
6. Run `npm run update`
7. Commit and push (Make sure to include `src/libraries.json`and `src/hashes.txt`)
8. Tag and release
## Development commands
Here are some commands you can run:
### `npm run build`
This command builds the project.
### `npm run clean`
This command removes the build artifacts.
### `npm run eslint`
This command runs [eslint][] (JavaScript linter).
### `npm run prettier`
This command runs [pretty-quick][] to automatically compare and format modified source files against the master branch.
### `npm run prettier-full`
This command runs [Prettier][] to automatically format the entire codebase.
### `npm run prettier-ci`
This command runs [Prettier][] and fail if some code has been changed without being formatted.
### `npm run test`
This command builds the project and then runs the test suite (in watch mode).
### `npm run test-coverage`
This command builds the project, runs the test suite and then reports code coverage (codecov).
### `npm run test-ci`
This command runs all checks and is only useful in a CI context.
### `bin/build-doc`
This command updates the list of release pages in the `README.md` file based on the `src/libraries.json` file.
[eslint]: https://eslint.org/
[prettier]: https://prettier.io/
[pretty-quick]: https://www.npmjs.com/package/pretty-quick

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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