New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aj-captcha-react

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aj-captcha-react - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

4

es/slider/Slider.js

@@ -18,3 +18,3 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

import React, { useEffect, useState } from 'react';
import { createNamespace, toImg, slideSecond } from '../utils';
import { createNamespace, toImg, slideSecond, stop } from '../utils';
import Icon from '../icon';

@@ -114,2 +114,3 @@ import './style/index.less';

var handleStart = function handleStart(e) {
stop(e);
if (submit) return;

@@ -125,2 +126,3 @@ setOrigin({

var handleMove = function handleMove(e) {
stop(e);
if (!solving || submit) return;

@@ -127,0 +129,0 @@ var move = {

@@ -61,1 +61,2 @@ export declare const CODE: Record<any, string>;

export declare function toImg(base64: string | undefined): string;
export declare function stop(e: any): void;

@@ -135,2 +135,7 @@ import CryptoJS from 'crypto-js';

return "data:image/png;base64,".concat(base64);
}
export function stop(e) {
if (e && e.preventDefault) {
e.preventDefault();
}
}

@@ -132,2 +132,3 @@ "use strict";

var handleStart = function handleStart(e) {
(0, _utils.stop)(e);
if (submit) return;

@@ -143,2 +144,3 @@ setOrigin({

var handleMove = function handleMove(e) {
(0, _utils.stop)(e);
if (!solving || submit) return;

@@ -145,0 +147,0 @@ var move = {

@@ -61,1 +61,2 @@ export declare const CODE: Record<any, string>;

export declare function toImg(base64: string | undefined): string;
export declare function stop(e: any): void;

@@ -13,2 +13,3 @@ "use strict";

exports.toImg = toImg;
exports.stop = stop;
exports.Anchor = exports.CODE = void 0;

@@ -166,2 +167,8 @@

return "data:image/png;base64,".concat(base64);
}
function stop(e) {
if (e && e.preventDefault) {
e.preventDefault();
}
}

@@ -10,3 +10,3 @@ {

],
"version": "1.0.4",
"version": "1.0.5",
"authors": {

@@ -13,0 +13,0 @@ "name": "yanganfu",

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

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