react-swipeable-list
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -201,3 +201,3 @@ 'use strict'; | ||
try { | ||
Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); | ||
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | ||
return true; | ||
@@ -204,0 +204,0 @@ } catch (e) { |
@@ -192,3 +192,3 @@ import React, { PureComponent } from 'react'; | ||
try { | ||
Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); | ||
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | ||
return true; | ||
@@ -195,0 +195,0 @@ } catch (e) { |
@@ -200,3 +200,3 @@ (function (global, factory) { | ||
try { | ||
Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); | ||
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | ||
return true; | ||
@@ -203,0 +203,0 @@ } catch (e) { |
{ | ||
"name": "react-swipeable-list", | ||
"description": "Swipeable list component for React", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"author": { | ||
@@ -35,41 +35,42 @@ "name": "Marek Rozmus", | ||
"prop-types": "^15.7.2", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0" | ||
"react": "^16.12.0 || ^17", | ||
"react-dom": "^16.12.0 || ^17" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.11.6", | ||
"@babel/eslint-parser": "^7.12.13", | ||
"@babel/plugin-proposal-class-properties": "7.10.4", | ||
"@babel/plugin-transform-modules-commonjs": "7.10.4", | ||
"@babel/preset-env": "7.11.5", | ||
"@babel/preset-react": "7.10.4", | ||
"@rollup/plugin-babel": "^5.2.3", | ||
"@rollup/plugin-commonjs": "15.0.0", | ||
"@rollup/plugin-node-resolve": "9.0.0", | ||
"@testing-library/jest-dom": "5.11.4", | ||
"@testing-library/react": "11.0.2", | ||
"@babel/core": "7.13.15", | ||
"@babel/eslint-parser": "7.13.14", | ||
"@babel/plugin-proposal-class-properties": "7.13.0", | ||
"@babel/plugin-transform-modules-commonjs": "7.13.8", | ||
"@babel/preset-env": "7.13.15", | ||
"@babel/preset-react": "7.13.13", | ||
"@rollup/plugin-babel": "5.3.0", | ||
"@rollup/plugin-commonjs": "18.0.0", | ||
"@rollup/plugin-node-resolve": "11.2.1", | ||
"@testing-library/jest-dom": "5.11.10", | ||
"@testing-library/react": "11.2.6", | ||
"autoprefixer": "9.8.6", | ||
"clsx": "^1.1.1", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "7.8.1", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-prettier": "3.1.4", | ||
"eslint-plugin-react": "7.20.6", | ||
"eslint-plugin-react-hooks": "4.1.0", | ||
"eslint-plugin-testing-library": "^3.10.1", | ||
"husky": "4.2.5", | ||
"clsx": "1.1.1", | ||
"cz-conventional-changelog": "3.3.0", | ||
"eslint": "7.24.0", | ||
"eslint-config-prettier": "8.1.0", | ||
"eslint-plugin-prettier": "3.3.1", | ||
"eslint-plugin-react": "7.23.2", | ||
"eslint-plugin-react-hooks": "4.2.0", | ||
"eslint-plugin-testing-library": "3.10.2", | ||
"husky": "6.0.0", | ||
"identity-obj-proxy": "3.0.0", | ||
"jest": "26.4.2", | ||
"lint-staged": "10.3.0", | ||
"prettier": "2.1.1", | ||
"jest": "26.6.3", | ||
"lint-staged": "10.5.4", | ||
"postcss": "8.2.9", | ||
"prettier": "2.2.1", | ||
"prop-types": "15.7.2", | ||
"react": "16.13.1", | ||
"react-dom": "16.13.1", | ||
"rollup": "2.26.10", | ||
"rollup-plugin-copy": "3.3.0", | ||
"rollup": "2.45.1", | ||
"rollup-plugin-copy": "3.4.0", | ||
"rollup-plugin-local-resolve": "1.0.7", | ||
"rollup-plugin-peer-deps-external": "2.2.3", | ||
"rollup-plugin-postcss": "3.1.8", | ||
"stylelint": "13.7.0", | ||
"stylelint-config-standard": "20.0.0" | ||
"rollup-plugin-peer-deps-external": "2.2.4", | ||
"rollup-plugin-postcss": "4.0.0", | ||
"stylelint": "13.12.0", | ||
"stylelint-config-standard": "21.0.0" | ||
}, | ||
@@ -80,3 +81,3 @@ "scripts": { | ||
"lint": "eslint --ext .js --max-warnings=0 --cache ./", | ||
"prepare": "npm run build", | ||
"prepare": "npm run build && husky install", | ||
"stylelint": "stylelint src/**/*.css examples/**/*.css --cache", | ||
@@ -90,7 +91,2 @@ "prettier": "prettier src/**/*.js examples/**/*.js --check", | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
@@ -97,0 +93,0 @@ "*.js": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135031
36