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

react-css-collapse

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-css-collapse - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

lib/Collapse.js

4

CHANGELOG.md
# Changelog
# 4.0.3
> January 8, 2020
* :tada: **Enhancement** Rewrite tests to use jest snapshots and @testing-library/react
# 4.0.2

@@ -4,0 +8,0 @@ > January 2, 2020

8

lib/index.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {

@@ -14,10 +16,8 @@ value: true

var _Collapse = _interopRequireDefault(require("./components/Collapse"));
var _Collapse = _interopRequireDefault(require("./Collapse"));
var _useCollapse = _interopRequireDefault(require("./components/useCollapse"));
var _useCollapse = _interopRequireDefault(require("./useCollapse"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = _Collapse.default;
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "react-css-collapse",
"version": "4.0.2",
"version": "4.0.3",
"description": "Component-wrapper for collapse animation with css for elements with variable and dynamic height",

@@ -39,7 +39,7 @@ "author": {

"scripts": {
"test": "jest",
"test": "jest src",
"test:watch": "npm run test -- --watch",
"babel": "babel -d lib src --ignore spec.js --source-maps",
"babel": "npm run clean && cross-env NODE_ENV=production npx babel -d lib src/components --ignore **/*.test.jsx --source-maps",
"clean": "rm -rf lib",
"build": "npm test && npm run eslint && npm run clean && npm run babel",
"build": "npm test && npm run eslint && npm run babel",
"eslint": "npx eslint src --ext .js --ext .jsx",

@@ -60,2 +60,3 @@ "format": "prettier --write \"src/**/*.js\" \"src/**/*.jsx\"",

"@babel/core": "^7.7.7",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",

@@ -66,2 +67,4 @@ "@babel/preset-react": "^7.7.4",

"@storybook/react": "^5.2.8",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"acorn": "^7.1.0",

@@ -71,4 +74,4 @@ "babel-eslint": "^10.0.3",

"babel-loader": "^8.0.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"babel-preset-react-app": "^9.1.0",
"cross-env": "^6.0.3",
"eslint": "^6.8.0",

@@ -78,3 +81,3 @@ "eslint-config-airbnb": "^18.0.1",

"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jest": "^23.2.0",
"eslint-plugin-jest": "^23.3.0",
"eslint-plugin-jsx-a11y": "^6.1.1",

@@ -84,3 +87,2 @@ "eslint-plugin-prettier": "^3.1.2",

"eslint-plugin-react-hooks": "^2.3.0",
"fake-raf": "^1.0.1",
"jest": "^24.9.0",

@@ -117,2 +119,5 @@ "prettier": "^1.19.1",

"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-runtime"
]

@@ -124,5 +129,2 @@ },

},
"setupFilesAfterEnv": [
"<rootDir>/setup.js"
],
"testURL": "http://localhost/",

@@ -129,0 +131,0 @@ "collectCoverageFrom": [

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