@stanlemon/react-couchdb-authentication
Advanced tools
Comparing version 0.8.100 to 0.8.101
@@ -11,4 +11,2 @@ "use strict"; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/* eslint-disable max-lines-per-function */ | ||
if (!window.setImmediate) { | ||
@@ -36,3 +34,3 @@ // This is as gross as it looks. It's a workaround for using PouchDB in tests. | ||
/* eslint-disable no-console */ | ||
console.log("Skipping the end to end test because I do not have a CouchDB instance to work with."); | ||
console.warn("Skipping the end to end test because I do not have a CouchDB instance to work with."); | ||
return; | ||
@@ -39,0 +37,0 @@ } |
@@ -9,7 +9,2 @@ "use strict"; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/** | ||
* @jest-environment jsdom | ||
*/ | ||
/* eslint-disable max-lines-per-function */ | ||
if (!window.setImmediate) { | ||
@@ -16,0 +11,0 @@ // This is as gross as it looks. It's a workaround for using PouchDB in tests. |
@@ -35,3 +35,3 @@ "use strict"; | ||
onChange: props.setUsername, | ||
onKeyPress: hitEnter | ||
onKeyDown: hitEnter | ||
})] | ||
@@ -47,3 +47,3 @@ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", { | ||
onChange: props.setPassword, | ||
onKeyPress: hitEnter | ||
onKeyDown: hitEnter | ||
})] | ||
@@ -50,0 +50,0 @@ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", { |
{ | ||
"name": "@stanlemon/react-couchdb-authentication", | ||
"version": "0.8.100", | ||
"version": "0.8.101", | ||
"description": "React component for authenticating against a CouchDB user db and syncing it locally with PouchDB.", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"lint": "eslint --ext js,jsx,ts,tsx ./src/ ./example/", | ||
"lint:format": "eslint --fix --ext js,jsx,ts,tsx ./src/ ./example/", | ||
"lint:fix": "eslint --fix --ext js,jsx,ts,tsx ./src/ ./example/", | ||
"build": "rimraf ./dist/; tsc; NODE_ENV=production babel --config-file ./.babelrc.json --extensions=\".ts,.tsx,.js.,.jsx\" ./src/ --out-dir ./dist/ --ignore \"src /**/*.test.*\" --source-maps", | ||
@@ -40,3 +40,3 @@ "example": "WEBDEV_ENTRY=./example/Example.tsx webpack serve" | ||
"@stanlemon/webdev": "*", | ||
"@testing-library/jest-dom": "^6.1.6", | ||
"@testing-library/jest-dom": "^6.2.0", | ||
"@testing-library/react": "^14.1.2", | ||
@@ -48,3 +48,3 @@ "@types/async-retry": "^1.4.8", | ||
"@types/pouchdb": "^6.4.2", | ||
"@types/react": "^18.2.46", | ||
"@types/react": "^18.2.47", | ||
"@types/set-interval-async": "^1.0.3", | ||
@@ -51,0 +51,0 @@ "isomorphic-fetch": "^3.0.0", |
# React CouchDB Authentication Component | ||
[![npm version](https://badge.fury.io/js/%40stanlemon%2Freact-couchdb-authentication.svg)](https://badge.fury.io/js/%40stanlemon%2Freact-couchdb-authentication) | ||
React component for streamlining user authentication against an [Apache CouchDB](http://couchdb.apache.org) instance. | ||
@@ -4,0 +6,0 @@ If you're building a React application and want to let the _amazing_ CouchDB be your backend, you can |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
81
131778
1212