@untemps/react-vocal
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -0,1 +1,3 @@ | ||
## [1.6.2](https://github.com/untemps/react-vocal/compare/v1.6.1...v1.6.2) (2021-05-20) | ||
## [1.6.1](https://github.com/untemps/react-vocal/compare/v1.6.0...v1.6.1) (2021-05-19) | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "@untemps/react-vocal", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"author": "Vincent Le Badezet <v.lebadezet@untemps.net>", | ||
@@ -66,2 +66,5 @@ "repository": "git@github.com:untemps/react-vocal.git", | ||
}, | ||
"dependencies": { | ||
"@untemps/vocal": "^1.1.0" | ||
}, | ||
"jest": { | ||
@@ -68,0 +71,0 @@ "coverageDirectory": "./coverage/", |
import React from 'react' | ||
import { waitFor } from '@testing-library/dom' | ||
import { act, fireEvent, render } from '@testing-library/react' | ||
import { Vocal as SpeechRecognitionWrapper } from '@untemps/vocal' | ||
import SpeechRecognitionWrapper from '../../core/SpeechRecognitionWrapper' | ||
import Vocal from '../Vocal' | ||
@@ -7,0 +7,0 @@ |
import React, { cloneElement, isValidElement, useRef, useState } from 'react' | ||
import PropTypes from 'prop-types' | ||
import { Vocal as SpeechRecognitionWrapper } from '@untemps/vocal' | ||
import SpeechRecognitionWrapper from '../core/SpeechRecognitionWrapper' | ||
import isFunc from '../utils/isFunc' | ||
@@ -7,0 +6,0 @@ |
import { renderHook } from '@testing-library/react-hooks' | ||
import { Vocal as SpeechRecognitionWrapper } from '@untemps/vocal' | ||
import SpeechRecognitionWrapper from '../../core/SpeechRecognitionWrapper' | ||
import useVocal from '../useVocal' | ||
jest.mock('../../core/SpeechRecognitionWrapper') | ||
jest.mock('@untemps/vocal') | ||
@@ -8,0 +8,0 @@ describe('useVocal', () => { |
import { useCallback, useEffect, useRef } from 'react' | ||
import { Vocal as SpeechRecognitionWrapper } from '@untemps/vocal' | ||
import SpeechRecognitionWrapper from '../core/SpeechRecognitionWrapper' | ||
const useVocal = (lang = 'en-US', grammars = null, __rsInstance = null) => { | ||
@@ -6,0 +5,0 @@ const ref = useRef(null) |
import Vocal from './components/Vocal' | ||
import SpeechRecognitionWrapper from './core/SpeechRecognitionWrapper' | ||
import { Vocal as SpeechRecognitionWrapper } from '@untemps/vocal' | ||
@@ -4,0 +4,0 @@ export { default as useVocal } from './hooks/useVocal' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
662744
3284
3
38
3
+ Added@untemps/vocal@^1.1.0
+ Added@untemps/user-permissions-utils@1.1.25(transitive)
+ Added@untemps/vocal@1.3.0(transitive)