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

makeup-expander

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makeup-expander - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

5

index.js

@@ -1,2 +0,3 @@

'use strict';
'use strict'; // requires CustomEvent polyfill for IE
// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent

@@ -11,2 +12,4 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

var CustomEvent = require('custom-event');
var nextID = require('makeup-next-id');

@@ -13,0 +16,0 @@

46

package.json
{
"name": "makeup-expander",
"description": "Creates the basic interactivity for an element that expands and collapses another element.",
"version": "0.8.1",
"version": "0.8.2",
"main": "index.js",

@@ -11,17 +11,18 @@ "repository": "https://github.com/makeup-js/makeup-expander.git",

"start": "npm run build && parallelshell \"npm run server\" \"npm run watch\"",
"test": "npm run build:module && npm run lasso:tests && karma start --autoWatch false --singleRun true",
"prepublishOnly": "npm run lint && npm run test && npm run clean:tests && npm run build:docs",
"test": "karma start --autoWatch false --singleRun true",
"prepublishOnly": "npm run clean && npm run lint && npm run build && npm run test && npm run transpile:module",
"prep": "npm run prepublishOnly",
"build": "npm run build:module && npm run build:docs",
"build:module": "babel src/index.js --out-file index.js",
"build:docs": "babel docs/src/index.js --out-file docs/index.js && npm run lasso:docs && npm run clean:docs",
"build": "npm run transpile:module && npm run build:docs",
"build:docs": "npm run transpile:docs && npm run bundle:docs",
"fix": "eslint src/index.js --fix",
"lint": "eslint src/index.js > lint.txt && eslint docs/src/index.js > lint.txt",
"lasso:docs": "lasso require-run:nodelist-foreach-polyfill require-run:./docs/index.js --out docs/static --inject-into docs/index.html --name bundle",
"lasso:tests": "npm run clean:tests && lasso require-run:./test/index.js --name bundle-test --out test/static --config ./test/lasso-config.json",
"clean:docs": "rimraf .cache build docs/index.js",
"clean:tests": "rimraf lint.txt reports",
"server": "browser-sync start -s --ss docs --index docs/index.html --files docs/index.html",
"watch": "onchange src/*.js docs/src/index.js -- npm run build",
"version": "npm run prepublishOnly && git add -A docs/static test/static"
"clean": "npm run clean:docs && npm run clean:tests",
"clean:docs": "rimraf docs/transpiled/index.js",
"clean:tests": "rimraf lint.txt coverage",
"transpile:module": "babel src/index.js --out-file index.js",
"transpile:docs": "mkdirp docs/transpiled && babel docs/src/index.js --out-file docs/transpiled/index.js",
"bundle:docs": "webpack --config webpack.docs.js",
"server": "browser-sync start -s --ss docs --index docs/index.html --files docs/index.html docs/bundled/docs.min.js",
"watch": "onchange src/index.js docs/src/index.js -- npm run build",
"version": "npm run prepublishOnly && git add -A docs/bundled"
},

@@ -38,2 +39,3 @@ "keywords": [

"@babel/preset-env": "^7",
"@ebay/browserslist-config": "^1",
"babel-plugin-transform-object-assign": "^6",

@@ -45,2 +47,3 @@ "browser-sync": "^2",

"eslint-config-ebay": "^1",
"istanbul-instrumenter-loader": "^3",
"jasmine-core": "^3",

@@ -50,14 +53,16 @@ "karma": "^4",

"karma-coverage": "^2",
"karma-html-reporter": "~0.2",
"karma-coverage-istanbul-reporter": "^2",
"karma-jasmine": "^3",
"lasso-cli": "^2",
"karma-webpack": "^4",
"mkdirp": "^1",
"nodelist-foreach-polyfill": "^1",
"onchange": "^6",
"parallelshell": "3.0.1",
"puppeteer": "^2",
"rimraf": "^3"
"rimraf": "^3",
"webpack": "^4",
"webpack-cli": "^3"
},
"dependencies": {
"custom-event-polyfill": "^1",
"makeup-exit-emitter": "~0.2.1",
"custom-event": "^1",
"makeup-exit-emitter": "~0.2.2",
"makeup-focusables": "~0.0.4",

@@ -70,3 +75,6 @@ "makeup-next-id": "~0.1.2"

"yarn.lock"
],
"browserslist": [
"extends @ebay/browserslist-config"
]
}

@@ -14,3 +14,3 @@ # makeup-expander

This module is still in an experimental state, until it reaches v1.0.0 you must consider all minor releases as breaking changes. Patch releases may introduce new features, but will be backwards compatible.
This CommonJS module is still in an experimental state, until it reaches v1.0.0 you must consider all minor releases as breaking changes. Patch releases may introduce new features, but will be backwards compatible.

@@ -155,24 +155,8 @@ ## Install

* [makeup-next-id](https://github.com/makeup-js/makeup-next-id)
* [custom-event](https://github.com/webmodules/custom-event) (for IE)
## Polyfills
* [custom-event-polyfill](https://github.com/krambuhl/custom-event-polyfill)
* [nodelist-foreach-polyfill](https://github.com/imagitama/nodelist-foreach-polyfill)
None
## Development
* `npm start`
* `npm test`
* `npm run lint`
* `npm run fix`
* `npm run build`
* `npm run clean`
## Test Reports
Each test run will generate the following reports:
* `/reports/coverage` contains Istanbul code coverage report
* `/reports/html` contains HTML test report
## CI Build

@@ -179,0 +163,0 @@

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