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

@operato/utils

Package Overview
Dependencies
Maintainers
6
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@operato/utils - npm Package Compare versions

Comparing version 1.4.64 to 1.5.44

dist/src/cookie.d.ts

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

### [1.5.44](https://github.com/hatiolab/operato/compare/v1.5.43...v1.5.44) (2023-12-03)
### :bug: Bug Fix
* add protected environment required option into ox-input-privilege ([62821e4](https://github.com/hatiolab/operato/commit/62821e4d5b1b13c496089277723775d31646fb08))
### [1.4.64](https://github.com/hatiolab/operato/compare/v1.4.63...v1.4.64) (2023-09-13)

@@ -8,0 +17,0 @@

1

dist/src/index.d.ts

@@ -19,1 +19,2 @@ export * from './sleep.js';

export * from './encode-form-params.js';
export * from './cookie.js';

@@ -19,2 +19,3 @@ export * from './sleep.js';

export * from './encode-form-params.js';
export * from './cookie.js';
//# sourceMappingURL=index.js.map

12

dist/src/password-pattern.js
export function generatePasswordPatternRegExp({ lowerCase = true, upperCase = true, digit = true, specialCharacter = true, allowRepeat = false, useTightPattern = true, useLoosePattern = false, tightCharacterLength = 8, looseCharacterLength = 15 } = {}) {
var tightChecklist = useTightPattern
? [
lowerCase ? '(?=.*[a-z])' : '',
upperCase ? '(?=.*[A-Z])' : '',
digit ? '(?=.*\\d)' : '',
specialCharacter ? '(?=.*[!@#$%^&*()])' : '',
!allowRepeat ? '(?!.*(.)\\1(?=\\1{1,}))' : '',
lowerCase ? '(?=.*[a-z])' : '', // has at least one lower case character
upperCase ? '(?=.*[A-Z])' : '', // has at least one upper case character
digit ? '(?=.*\\d)' : '', // has at least one digit
specialCharacter ? '(?=.*[!@#$%^&*()])' : '', // has at least one special character
!allowRepeat ? '(?!.*(.)\\1(?=\\1{1,}))' : '', // has not an repeated character more than twice
`.{${tightCharacterLength},}` // has a length of 8 and more

@@ -18,3 +18,3 @@ ]

var checkList = [
'^',
'^', // from start
...tightChecklist,

@@ -21,0 +21,0 @@ tightChecklist.length && looseChecklist.length ? '|' : '',

@@ -28,9 +28,9 @@ /**

let defaultOpts = {
minHorizontal: 10,
minVertical: 10,
deltaHorizontal: 3,
deltaVertical: 5,
preventScroll: false,
lockAxis: true,
touch: true,
minHorizontal: 10, // Minimum number of pixels traveled to count as a horizontal swipe.
minVertical: 10, // Minimum number of pixels traveled to count as a vertical swipe.
deltaHorizontal: 3, // Delta for horizontal swipe
deltaVertical: 5, // Delta for vertical swipe
preventScroll: false, // Prevents scrolling when swiping.
lockAxis: true, // Select only one axis to be true instead of multiple.
touch: true, // Listen for touch events
mouse: true // Listen for mouse events

@@ -37,0 +37,0 @@ };

@@ -5,3 +5,3 @@ {

"author": "heartyoh",
"version": "1.4.64",
"version": "1.5.44",
"main": "dist/src/index.js",

@@ -121,3 +121,3 @@ "module": "dist/src/index.js",

},
"gitHead": "47382eb5b652aeb12fc530a9508921824e19aca0"
"gitHead": "d8a80652a11a2a1d40fa51eea8c9877367da7fdc"
}

@@ -19,1 +19,2 @@ export * from './sleep.js'

export * from './encode-form-params.js'
export * from './cookie.js'

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

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

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

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