├── main.js ├── node_modules ├── .bin │ ├── acorn │ ├── acorn.cmd │ ├── acorn.ps1 │ ├── escodegen │ ├── escodegen.cmd │ ├── escodegen.ps1 │ ├── esgenerate │ ├── esgenerate.cmd │ ├── esgenerate.ps1 │ ├── esparse │ ├── esparse.cmd │ ├── esparse.ps1 │ ├── esvalidate │ ├── esvalidate.cmd │ ├── esvalidate.ps1 │ ├── javascript-obfuscator │ ├── javascript-obfuscator.cmd │ ├── javascript-obfuscator.ps1 │ ├── mkdirp │ ├── mkdirp.cmd │ ├── mkdirp.ps1 │ ├── opencollective │ ├── opencollective.cmd │ └── opencollective.ps1 ├── @gradecam │ └── tsenum │ │ ├── README.md │ │ ├── dist │ │ ├── index.d.ts │ │ └── index.js │ │ └── package.json ├── @nuxtjs │ └── opencollective │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ └── opencollective.js │ │ ├── dist │ │ └── opencollective.cjs.js │ │ ├── node_modules │ │ └── chalk │ │ │ ├── index.js │ │ │ ├── index.js.flow │ │ │ ├── license │ │ │ ├── package.json │ │ │ ├── readme.md │ │ │ ├── templates.js │ │ │ └── types │ │ │ └── index.d.ts │ │ └── package.json ├── @types │ ├── color-name │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json │ ├── minimatch │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ └── package.json │ └── validator │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── lib │ │ ├── blacklist.d.ts │ │ ├── contains.d.ts │ │ ├── equals.d.ts │ │ ├── escape.d.ts │ │ ├── isAfter.d.ts │ │ ├── isAlpha.d.ts │ │ ├── isAlphanumeric.d.ts │ │ ├── isAscii.d.ts │ │ ├── isBIC.d.ts │ │ ├── isBase32.d.ts │ │ ├── isBase64.d.ts │ │ ├── isBefore.d.ts │ │ ├── isBoolean.d.ts │ │ ├── isBtcAddress.d.ts │ │ ├── isByteLength.d.ts │ │ ├── isCreditCard.d.ts │ │ ├── isCurrency.d.ts │ │ ├── isDataURI.d.ts │ │ ├── isDecimal.d.ts │ │ ├── isDivisibleBy.d.ts │ │ ├── isEAN.d.ts │ │ ├── isEmail.d.ts │ │ ├── isEmpty.d.ts │ │ ├── isEthereumAddress.d.ts │ │ ├── isFQDN.d.ts │ │ ├── isFloat.d.ts │ │ ├── isFullWidth.d.ts │ │ ├── isHSL.d.ts │ │ ├── isHalfWidth.d.ts │ │ ├── isHash.d.ts │ │ ├── isHexColor.d.ts │ │ ├── isHexadecimal.d.ts │ │ ├── isIBAN.d.ts │ │ ├── isIP.d.ts │ │ ├── isIPRange.d.ts │ │ ├── isISBN.d.ts │ │ ├── isISIN.d.ts │ │ ├── isISO31661Alpha2.d.ts │ │ ├── isISO31661Alpha3.d.ts │ │ ├── isISO8601.d.ts │ │ ├── isISRC.d.ts │ │ ├── isISSN.d.ts │ │ ├── isIdentityCard.d.ts │ │ ├── isIn.d.ts │ │ ├── isInt.d.ts │ │ ├── isJSON.d.ts │ │ ├── isJWT.d.ts │ │ ├── isLatLong.d.ts │ │ ├── isLength.d.ts │ │ ├── isLocale.d.ts │ │ ├── isLowercase.d.ts │ │ ├── isMACAddress.d.ts │ │ ├── isMD5.d.ts │ │ ├── isMagnetURI.d.ts │ │ ├── isMimeType.d.ts │ │ ├── isMobilePhone.d.ts │ │ ├── isMongoId.d.ts │ │ ├── isMultibyte.d.ts │ │ ├── isNumeric.d.ts │ │ ├── isOctal.d.ts │ │ ├── isPassportNumber.d.ts │ │ ├── isPort.d.ts │ │ ├── isPostalCode.d.ts │ │ ├── isRFC3339.d.ts │ │ ├── isRgbColor.d.ts │ │ ├── isSemVer.d.ts │ │ ├── isSlug.d.ts │ │ ├── isSurrogatePair.d.ts │ │ ├── isURL.d.ts │ │ ├── isUUID.d.ts │ │ ├── isUppercase.d.ts │ │ ├── isVariableWidth.d.ts │ │ ├── isWhitelisted.d.ts │ │ ├── ltrim.d.ts │ │ ├── matches.d.ts │ │ ├── normalizeEmail.d.ts │ │ ├── rtrim.d.ts │ │ ├── stripLow.d.ts │ │ ├── toBoolean.d.ts │ │ ├── toDate.d.ts │ │ ├── toFloat.d.ts │ │ ├── toInt.d.ts │ │ ├── trim.d.ts │ │ ├── unescape.d.ts │ │ └── whitelist.d.ts │ │ └── package.json ├── acorn │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── acorn │ ├── dist │ │ ├── acorn.d.ts │ │ ├── acorn.js │ │ ├── acorn.js.map │ │ ├── acorn.mjs │ │ ├── acorn.mjs.map │ │ └── bin.js │ └── package.json ├── ansi-styles │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── array-differ │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── array-union │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── arrify │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── balanced-match │ ├── .npmignore │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── brace-expansion │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── buffer-from │ ├── LICENSE │ ├── index.js │ ├── package.json │ └── readme.md ├── chalk │ ├── index.d.ts │ ├── license │ ├── node_modules │ │ ├── ansi-styles │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── color-convert │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── conversions.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── route.js │ │ ├── color-name │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── has-flag │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ │ └── supports-color │ │ │ ├── browser.js │ │ │ ├── index.js │ │ │ ├── license │ │ │ ├── package.json │ │ │ └── readme.md │ ├── package.json │ ├── readme.md │ └── source │ │ ├── index.js │ │ ├── templates.js │ │ └── util.js ├── chance │ ├── .bowerrc │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .github │ │ ├── FUNDING.yml │ │ └── workflows │ │ │ ├── coverage.yml │ │ │ ├── docs.yml │ │ │ ├── lint.yml │ │ │ ├── publish.yml │ │ │ └── tests.yml │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── chance.js │ ├── dist │ │ ├── chance.min.js │ │ └── chance.min.js.map │ ├── docs │ │ ├── CNAME │ │ ├── README.md │ │ ├── analytics.js │ │ ├── basics │ │ │ ├── bool.md │ │ │ ├── character.md │ │ │ ├── falsy.md │ │ │ ├── floating.md │ │ │ ├── integer.md │ │ │ ├── letter.md │ │ │ ├── natural.md │ │ │ ├── prime.md │ │ │ ├── string.md │ │ │ └── template.md │ │ ├── chance.css │ │ ├── chance.js │ │ ├── chance.min.js │ │ ├── chance.min.js.map │ │ ├── finance │ │ │ ├── cc.md │ │ │ ├── cc_type.md │ │ │ ├── currency.md │ │ │ ├── currency_pair.md │ │ │ ├── dollar.md │ │ │ ├── euro.md │ │ │ ├── exp.md │ │ │ ├── exp_month.md │ │ │ └── exp_year.md │ │ ├── helpers │ │ │ ├── capitalize.md │ │ │ ├── mixin.md │ │ │ ├── pad.md │ │ │ ├── pick.md │ │ │ ├── pickone.md │ │ │ ├── pickset.md │ │ │ ├── set.md │ │ │ └── shuffle.md │ │ ├── inspector.png │ │ ├── intro.md │ │ ├── location │ │ │ ├── address.md │ │ │ ├── altitude.md │ │ │ ├── areacode.md │ │ │ ├── city.md │ │ │ ├── coordinates.md │ │ │ ├── country.md │ │ │ ├── depth.md │ │ │ ├── geohash.md │ │ │ ├── latitude.md │ │ │ ├── locale.md │ │ │ ├── longitude.md │ │ │ ├── phone.md │ │ │ ├── postal.md │ │ │ ├── postcode.md │ │ │ ├── province.md │ │ │ ├── state.md │ │ │ ├── street.md │ │ │ └── zip.md │ │ ├── logo.png │ │ ├── miscellaneous │ │ │ ├── coin.md │ │ │ ├── dice.md │ │ │ ├── guid.md │ │ │ ├── hash.md │ │ │ ├── hidden.md │ │ │ ├── n.md │ │ │ ├── normal.md │ │ │ ├── radio.md │ │ │ ├── rpg.md │ │ │ ├── tv.md │ │ │ ├── unique.md │ │ │ └── weighted.md │ │ ├── mobile │ │ │ ├── android_id.md │ │ │ ├── apple_token.md │ │ │ ├── bb_pin.md │ │ │ ├── wp7_anid.md │ │ │ └── wp8_anid2.md │ │ ├── music │ │ │ ├── note.md │ │ │ └── tempo.md │ │ ├── person │ │ │ ├── aadhar.md │ │ │ ├── age.md │ │ │ ├── birthday.md │ │ │ ├── cf.md │ │ │ ├── cpf.md │ │ │ ├── first.md │ │ │ ├── gender.md │ │ │ ├── last.md │ │ │ ├── name.md │ │ │ ├── prefix.md │ │ │ ├── ssn.md │ │ │ └── suffix.md │ │ ├── text │ │ │ ├── paragraph.md │ │ │ ├── sentence.md │ │ │ ├── syllable.md │ │ │ └── word.md │ │ ├── thing │ │ │ └── animal.md │ │ ├── time │ │ │ ├── ampm.md │ │ │ ├── date.md │ │ │ ├── hammertime.md │ │ │ ├── hour.md │ │ │ ├── millisecond.md │ │ │ ├── minute.md │ │ │ ├── month.md │ │ │ ├── second.md │ │ │ ├── timestamp.md │ │ │ ├── timezone.md │ │ │ ├── weekday.md │ │ │ └── year.md │ │ ├── usage │ │ │ ├── bower.md │ │ │ ├── browser.md │ │ │ ├── cli.md │ │ │ ├── function.md │ │ │ ├── node.md │ │ │ ├── requirejs.md │ │ │ └── seed.md │ │ └── web │ │ │ ├── avatar.md │ │ │ ├── color.md │ │ │ ├── company.md │ │ │ ├── domain.md │ │ │ ├── email.md │ │ │ ├── fbid.md │ │ │ ├── google_analytics.md │ │ │ ├── hashtag.md │ │ │ ├── ip.md │ │ │ ├── ipv6.md │ │ │ ├── klout.md │ │ │ ├── profession.md │ │ │ ├── tld.md │ │ │ ├── twitter.md │ │ │ └── url.md │ ├── gulpfile.js │ ├── package.json │ ├── packages │ │ ├── bool │ │ │ ├── .nyc_output │ │ │ │ ├── bc3871a34aef356624c48d3ef66af1dc.json │ │ │ │ ├── d901df96e632f1e0c8bdb811e6cceb1f.json │ │ │ │ └── e0d84f9b999988853cb2af4b08d4617e.json │ │ │ ├── lib │ │ │ │ ├── main.d.ts │ │ │ │ ├── main.d.ts.map │ │ │ │ ├── main.js │ │ │ │ ├── main.js.map │ │ │ │ ├── main.test.d.ts │ │ │ │ ├── main.test.d.ts.map │ │ │ │ ├── main.test.js │ │ │ │ └── main.test.js.map │ │ │ └── tsconfig.tsbuildinfo │ │ ├── chance │ │ │ ├── .nyc_output │ │ │ │ ├── 3924702806996b871bcb3d02b1fb3150.json │ │ │ │ ├── 612281ce39457a4d859957addfaa6485.json │ │ │ │ └── 9a4aafb16bc962ef25a63e45c839ba3d.json │ │ │ ├── lib │ │ │ │ ├── main.d.ts │ │ │ │ ├── main.d.ts.map │ │ │ │ ├── main.js │ │ │ │ ├── main.js.map │ │ │ │ ├── main.test.d.ts │ │ │ │ ├── main.test.d.ts.map │ │ │ │ ├── main.test.js │ │ │ │ └── main.test.js.map │ │ │ └── tsconfig.tsbuildinfo │ │ ├── core │ │ │ ├── .nyc_output │ │ │ │ ├── 36dff949b52ac0530d923d085b144611.json │ │ │ │ ├── e220b8717fe6dba7c23f6f9cf60e9ae6.json │ │ │ │ └── efd4d39ddafd9e80d05bd6ee9e9a7bac.json │ │ │ ├── lib │ │ │ │ ├── main.d.ts │ │ │ │ ├── main.d.ts.map │ │ │ │ ├── main.js │ │ │ │ ├── main.js.map │ │ │ │ ├── main.test.d.ts │ │ │ │ ├── main.test.d.ts.map │ │ │ │ ├── main.test.js │ │ │ │ └── main.test.js.map │ │ │ └── tsconfig.tsbuildinfo │ │ ├── floating │ │ │ ├── .nyc_output │ │ │ │ ├── 3bcac37cf007533b38adab8622ec8763.json │ │ │ │ ├── c7dff68da26cf0ef164218db556b5128.json │ │ │ │ └── dd497b6692117cafc88b0580374d7e58.json │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── main.d.ts │ │ │ │ ├── main.d.ts.map │ │ │ │ ├── main.js │ │ │ │ ├── main.js.map │ │ │ │ ├── main.test.d.ts │ │ │ │ ├── main.test.d.ts.map │ │ │ │ ├── main.test.js │ │ │ │ └── main.test.js.map │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── main.test.ts │ │ │ │ └── main.ts │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.tsbuildinfo │ │ │ ├── tslint.yaml │ │ │ └── yarn-error.log │ │ ├── integer │ │ │ ├── .nyc_output │ │ │ │ ├── a6372e6e81564a648acd50fcab9b5086.json │ │ │ │ ├── b050a34d47e71010682f4ca422dcc528.json │ │ │ │ └── c34a4efc898f36c4f19dcef8d1455cc2.json │ │ │ ├── lib │ │ │ │ ├── main.d.ts │ │ │ │ ├── main.d.ts.map │ │ │ │ ├── main.js │ │ │ │ ├── main.js.map │ │ │ │ ├── main.test.d.ts │ │ │ │ ├── main.test.d.ts.map │ │ │ │ ├── main.test.js │ │ │ │ └── main.test.js.map │ │ │ └── tsconfig.tsbuildinfo │ │ └── mersenne-twister │ │ │ ├── .nyc_output │ │ │ ├── 1a6fecaad08cd73346296e047ea923c0.json │ │ │ ├── 1e120b4d7a2ca377adb37c999a991bd7.json │ │ │ └── b624df11c55511b0746797aed24c58de.json │ │ │ ├── lib │ │ │ ├── main.d.ts │ │ │ ├── main.d.ts.map │ │ │ ├── main.js │ │ │ ├── main.js.map │ │ │ ├── main.test.d.ts │ │ │ ├── main.test.d.ts.map │ │ │ ├── main.test.js │ │ │ └── main.test.js.map │ │ │ └── tsconfig.tsbuildinfo │ └── test │ │ ├── helpers │ │ └── phoneNumber.min.js │ │ ├── test.address.js │ │ ├── test.animal.js │ │ ├── test.basic.js │ │ ├── test.buffer.js │ │ ├── test.company.js │ │ ├── test.file.js │ │ ├── test.finance.js │ │ ├── test.helpers.js │ │ ├── test.misc.js │ │ ├── test.mobile.js │ │ ├── test.music.js │ │ ├── test.normal.js │ │ ├── test.person.js │ │ ├── test.regional.js │ │ ├── test.text.js │ │ ├── test.time.js │ │ └── test.web.js ├── charenc │ ├── LICENSE.mkd │ ├── README.js │ ├── charenc.js │ └── package.json ├── class-validator │ ├── README.md │ ├── bundles │ │ ├── index.esm.js │ │ ├── index.esm.js.map │ │ ├── index.esm.min.js │ │ ├── index.esm.min.js.map │ │ ├── index.umd.js │ │ ├── index.umd.js.map │ │ ├── index.umd.min.js │ │ └── index.umd.min.js.map │ ├── esm2015 │ │ ├── container.js │ │ ├── container.js.map │ │ ├── decorator │ │ │ ├── ValidationOptions.js │ │ │ ├── ValidationOptions.js.map │ │ │ ├── array │ │ │ │ ├── ArrayContains.js │ │ │ │ ├── ArrayContains.js.map │ │ │ │ ├── ArrayMaxSize.js │ │ │ │ ├── ArrayMaxSize.js.map │ │ │ │ ├── ArrayMinSize.js │ │ │ │ ├── ArrayMinSize.js.map │ │ │ │ ├── ArrayNotContains.js │ │ │ │ ├── ArrayNotContains.js.map │ │ │ │ ├── ArrayNotEmpty.js │ │ │ │ ├── ArrayNotEmpty.js.map │ │ │ │ ├── ArrayUnique.js │ │ │ │ └── ArrayUnique.js.map │ │ │ ├── common │ │ │ │ ├── Allow.js │ │ │ │ ├── Allow.js.map │ │ │ │ ├── Equals.js │ │ │ │ ├── Equals.js.map │ │ │ │ ├── IsDefined.js │ │ │ │ ├── IsDefined.js.map │ │ │ │ ├── IsEmpty.js │ │ │ │ ├── IsEmpty.js.map │ │ │ │ ├── IsIn.js │ │ │ │ ├── IsIn.js.map │ │ │ │ ├── IsLatLong.js │ │ │ │ ├── IsLatLong.js.map │ │ │ │ ├── IsLatitude.js │ │ │ │ ├── IsLatitude.js.map │ │ │ │ ├── IsLongitude.js │ │ │ │ ├── IsLongitude.js.map │ │ │ │ ├── IsNotEmpty.js │ │ │ │ ├── IsNotEmpty.js.map │ │ │ │ ├── IsNotIn.js │ │ │ │ ├── IsNotIn.js.map │ │ │ │ ├── IsOptional.js │ │ │ │ ├── IsOptional.js.map │ │ │ │ ├── NotEquals.js │ │ │ │ ├── NotEquals.js.map │ │ │ │ ├── Validate.js │ │ │ │ ├── Validate.js.map │ │ │ │ ├── ValidateBy.js │ │ │ │ ├── ValidateBy.js.map │ │ │ │ ├── ValidateIf.js │ │ │ │ ├── ValidateIf.js.map │ │ │ │ ├── ValidateNested.js │ │ │ │ ├── ValidateNested.js.map │ │ │ │ ├── ValidatePromise.js │ │ │ │ └── ValidatePromise.js.map │ │ │ ├── date │ │ │ │ ├── MaxDate.js │ │ │ │ ├── MaxDate.js.map │ │ │ │ ├── MinDate.js │ │ │ │ └── MinDate.js.map │ │ │ ├── decorators.js │ │ │ ├── decorators.js.map │ │ │ ├── number │ │ │ │ ├── IsDivisibleBy.js │ │ │ │ ├── IsDivisibleBy.js.map │ │ │ │ ├── IsNegative.js │ │ │ │ ├── IsNegative.js.map │ │ │ │ ├── IsPositive.js │ │ │ │ ├── IsPositive.js.map │ │ │ │ ├── Max.js │ │ │ │ ├── Max.js.map │ │ │ │ ├── Min.js │ │ │ │ └── Min.js.map │ │ │ ├── object │ │ │ │ ├── IsInstance.js │ │ │ │ ├── IsInstance.js.map │ │ │ │ ├── IsNotEmptyObject.js │ │ │ │ └── IsNotEmptyObject.js.map │ │ │ ├── string │ │ │ │ ├── Contains.js │ │ │ │ ├── Contains.js.map │ │ │ │ ├── IsAlpha.js │ │ │ │ ├── IsAlpha.js.map │ │ │ │ ├── IsAlphanumeric.js │ │ │ │ ├── IsAlphanumeric.js.map │ │ │ │ ├── IsAscii.js │ │ │ │ ├── IsAscii.js.map │ │ │ │ ├── IsBIC.js │ │ │ │ ├── IsBIC.js.map │ │ │ │ ├── IsBase32.js │ │ │ │ ├── IsBase32.js.map │ │ │ │ ├── IsBase64.js │ │ │ │ ├── IsBase64.js.map │ │ │ │ ├── IsBooleanString.js │ │ │ │ ├── IsBooleanString.js.map │ │ │ │ ├── IsBtcAddress.js │ │ │ │ ├── IsBtcAddress.js.map │ │ │ │ ├── IsByteLength.js │ │ │ │ ├── IsByteLength.js.map │ │ │ │ ├── IsCreditCard.js │ │ │ │ ├── IsCreditCard.js.map │ │ │ │ ├── IsCurrency.js │ │ │ │ ├── IsCurrency.js.map │ │ │ │ ├── IsDataURI.js │ │ │ │ ├── IsDataURI.js.map │ │ │ │ ├── IsDateString.js │ │ │ │ ├── IsDateString.js.map │ │ │ │ ├── IsDecimal.js │ │ │ │ ├── IsDecimal.js.map │ │ │ │ ├── IsEAN.js │ │ │ │ ├── IsEAN.js.map │ │ │ │ ├── IsEmail.js │ │ │ │ ├── IsEmail.js.map │ │ │ │ ├── IsEthereumAddress.js │ │ │ │ ├── IsEthereumAddress.js.map │ │ │ │ ├── IsFQDN.js │ │ │ │ ├── IsFQDN.js.map │ │ │ │ ├── IsFirebasePushId.js │ │ │ │ ├── IsFirebasePushId.js.map │ │ │ │ ├── IsFullWidth.js │ │ │ │ ├── IsFullWidth.js.map │ │ │ │ ├── IsHSL.js │ │ │ │ ├── IsHSL.js.map │ │ │ │ ├── IsHalfWidth.js │ │ │ │ ├── IsHalfWidth.js.map │ │ │ │ ├── IsHash.js │ │ │ │ ├── IsHash.js.map │ │ │ │ ├── IsHexColor.js │ │ │ │ ├── IsHexColor.js.map │ │ │ │ ├── IsHexadecimal.js │ │ │ │ ├── IsHexadecimal.js.map │ │ │ │ ├── IsIBAN.js │ │ │ │ ├── IsIBAN.js.map │ │ │ │ ├── IsIP.js │ │ │ │ ├── IsIP.js.map │ │ │ │ ├── IsISBN.js │ │ │ │ ├── IsISBN.js.map │ │ │ │ ├── IsISIN.js │ │ │ │ ├── IsISIN.js.map │ │ │ │ ├── IsISO31661Alpha2.js │ │ │ │ ├── IsISO31661Alpha2.js.map │ │ │ │ ├── IsISO31661Alpha3.js │ │ │ │ ├── IsISO31661Alpha3.js.map │ │ │ │ ├── IsISO8601.js │ │ │ │ ├── IsISO8601.js.map │ │ │ │ ├── IsISRC.js │ │ │ │ ├── IsISRC.js.map │ │ │ │ ├── IsISSN.js │ │ │ │ ├── IsISSN.js.map │ │ │ │ ├── IsIdentityCard.js │ │ │ │ ├── IsIdentityCard.js.map │ │ │ │ ├── IsJSON.js │ │ │ │ ├── IsJSON.js.map │ │ │ │ ├── IsJWT.js │ │ │ │ ├── IsJWT.js.map │ │ │ │ ├── IsLocale.js │ │ │ │ ├── IsLocale.js.map │ │ │ │ ├── IsLowercase.js │ │ │ │ ├── IsLowercase.js.map │ │ │ │ ├── IsMacAddress.js │ │ │ │ ├── IsMacAddress.js.map │ │ │ │ ├── IsMagnetURI.js │ │ │ │ ├── IsMagnetURI.js.map │ │ │ │ ├── IsMilitaryTime.js │ │ │ │ ├── IsMilitaryTime.js.map │ │ │ │ ├── IsMimeType.js │ │ │ │ ├── IsMimeType.js.map │ │ │ │ ├── IsMobilePhone.js │ │ │ │ ├── IsMobilePhone.js.map │ │ │ │ ├── IsMongoId.js │ │ │ │ ├── IsMongoId.js.map │ │ │ │ ├── IsMultibyte.js │ │ │ │ ├── IsMultibyte.js.map │ │ │ │ ├── IsNumberString.js │ │ │ │ ├── IsNumberString.js.map │ │ │ │ ├── IsOctal.js │ │ │ │ ├── IsOctal.js.map │ │ │ │ ├── IsPassportNumber.js │ │ │ │ ├── IsPassportNumber.js.map │ │ │ │ ├── IsPhoneNumber.js │ │ │ │ ├── IsPhoneNumber.js.map │ │ │ │ ├── IsPort.js │ │ │ │ ├── IsPort.js.map │ │ │ │ ├── IsPostalCode.js │ │ │ │ ├── IsPostalCode.js.map │ │ │ │ ├── IsRFC3339.js │ │ │ │ ├── IsRFC3339.js.map │ │ │ │ ├── IsRgbColor.js │ │ │ │ ├── IsRgbColor.js.map │ │ │ │ ├── IsSemVer.js │ │ │ │ ├── IsSemVer.js.map │ │ │ │ ├── IsSurrogatePair.js │ │ │ │ ├── IsSurrogatePair.js.map │ │ │ │ ├── IsUUID.js │ │ │ │ ├── IsUUID.js.map │ │ │ │ ├── IsUppercase.js │ │ │ │ ├── IsUppercase.js.map │ │ │ │ ├── IsUrl.js │ │ │ │ ├── IsUrl.js.map │ │ │ │ ├── IsVariableWidth.js │ │ │ │ ├── IsVariableWidth.js.map │ │ │ │ ├── Length.js │ │ │ │ ├── Length.js.map │ │ │ │ ├── Matches.js │ │ │ │ ├── Matches.js.map │ │ │ │ ├── MaxLength.js │ │ │ │ ├── MaxLength.js.map │ │ │ │ ├── MinLength.js │ │ │ │ ├── MinLength.js.map │ │ │ │ ├── NotContains.js │ │ │ │ └── NotContains.js.map │ │ │ └── typechecker │ │ │ │ ├── IsArray.js │ │ │ │ ├── IsArray.js.map │ │ │ │ ├── IsBoolean.js │ │ │ │ ├── IsBoolean.js.map │ │ │ │ ├── IsDate.js │ │ │ │ ├── IsDate.js.map │ │ │ │ ├── IsEnum.js │ │ │ │ ├── IsEnum.js.map │ │ │ │ ├── IsInt.js │ │ │ │ ├── IsInt.js.map │ │ │ │ ├── IsNumber.js │ │ │ │ ├── IsNumber.js.map │ │ │ │ ├── IsObject.js │ │ │ │ ├── IsObject.js.map │ │ │ │ ├── IsString.js │ │ │ │ └── IsString.js.map │ │ ├── index.js │ │ ├── index.js.map │ │ ├── metadata │ │ │ ├── ConstraintMetadata.js │ │ │ ├── ConstraintMetadata.js.map │ │ │ ├── MetadataStorage.js │ │ │ ├── MetadataStorage.js.map │ │ │ ├── ValidationMetadata.js │ │ │ ├── ValidationMetadata.js.map │ │ │ ├── ValidationMetadataArgs.js │ │ │ └── ValidationMetadataArgs.js.map │ │ ├── register-decorator.js │ │ ├── register-decorator.js.map │ │ ├── utils.js │ │ ├── utils.js.map │ │ ├── validation-schema │ │ │ ├── ValidationSchema.js │ │ │ ├── ValidationSchema.js.map │ │ │ ├── ValidationSchemaToMetadataTransformer.js │ │ │ └── ValidationSchemaToMetadataTransformer.js.map │ │ └── validation │ │ │ ├── ValidationArguments.js │ │ │ ├── ValidationArguments.js.map │ │ │ ├── ValidationError.js │ │ │ ├── ValidationError.js.map │ │ │ ├── ValidationExecutor.js │ │ │ ├── ValidationExecutor.js.map │ │ │ ├── ValidationTypes.js │ │ │ ├── ValidationTypes.js.map │ │ │ ├── ValidationUtils.js │ │ │ ├── ValidationUtils.js.map │ │ │ ├── Validator.js │ │ │ ├── Validator.js.map │ │ │ ├── ValidatorConstraintInterface.js │ │ │ ├── ValidatorConstraintInterface.js.map │ │ │ ├── ValidatorOptions.js │ │ │ └── ValidatorOptions.js.map │ ├── esm5 │ │ ├── container.js │ │ ├── container.js.map │ │ ├── decorator │ │ │ ├── ValidationOptions.js │ │ │ ├── ValidationOptions.js.map │ │ │ ├── array │ │ │ │ ├── ArrayContains.js │ │ │ │ ├── ArrayContains.js.map │ │ │ │ ├── ArrayMaxSize.js │ │ │ │ ├── ArrayMaxSize.js.map │ │ │ │ ├── ArrayMinSize.js │ │ │ │ ├── ArrayMinSize.js.map │ │ │ │ ├── ArrayNotContains.js │ │ │ │ ├── ArrayNotContains.js.map │ │ │ │ ├── ArrayNotEmpty.js │ │ │ │ ├── ArrayNotEmpty.js.map │ │ │ │ ├── ArrayUnique.js │ │ │ │ └── ArrayUnique.js.map │ │ │ ├── common │ │ │ │ ├── Allow.js │ │ │ │ ├── Allow.js.map │ │ │ │ ├── Equals.js │ │ │ │ ├── Equals.js.map │ │ │ │ ├── IsDefined.js │ │ │ │ ├── IsDefined.js.map │ │ │ │ ├── IsEmpty.js │ │ │ │ ├── IsEmpty.js.map │ │ │ │ ├── IsIn.js │ │ │ │ ├── IsIn.js.map │ │ │ │ ├── IsLatLong.js │ │ │ │ ├── IsLatLong.js.map │ │ │ │ ├── IsLatitude.js │ │ │ │ ├── IsLatitude.js.map │ │ │ │ ├── IsLongitude.js │ │ │ │ ├── IsLongitude.js.map │ │ │ │ ├── IsNotEmpty.js │ │ │ │ ├── IsNotEmpty.js.map │ │ │ │ ├── IsNotIn.js │ │ │ │ ├── IsNotIn.js.map │ │ │ │ ├── IsOptional.js │ │ │ │ ├── IsOptional.js.map │ │ │ │ ├── NotEquals.js │ │ │ │ ├── NotEquals.js.map │ │ │ │ ├── Validate.js │ │ │ │ ├── Validate.js.map │ │ │ │ ├── ValidateBy.js │ │ │ │ ├── ValidateBy.js.map │ │ │ │ ├── ValidateIf.js │ │ │ │ ├── ValidateIf.js.map │ │ │ │ ├── ValidateNested.js │ │ │ │ ├── ValidateNested.js.map │ │ │ │ ├── ValidatePromise.js │ │ │ │ └── ValidatePromise.js.map │ │ │ ├── date │ │ │ │ ├── MaxDate.js │ │ │ │ ├── MaxDate.js.map │ │ │ │ ├── MinDate.js │ │ │ │ └── MinDate.js.map │ │ │ ├── decorators.js │ │ │ ├── decorators.js.map │ │ │ ├── number │ │ │ │ ├── IsDivisibleBy.js │ │ │ │ ├── IsDivisibleBy.js.map │ │ │ │ ├── IsNegative.js │ │ │ │ ├── IsNegative.js.map │ │ │ │ ├── IsPositive.js │ │ │ │ ├── IsPositive.js.map │ │ │ │ ├── Max.js │ │ │ │ ├── Max.js.map │ │ │ │ ├── Min.js │ │ │ │ └── Min.js.map │ │ │ ├── object │ │ │ │ ├── IsInstance.js │ │ │ │ ├── IsInstance.js.map │ │ │ │ ├── IsNotEmptyObject.js │ │ │ │ └── IsNotEmptyObject.js.map │ │ │ ├── string │ │ │ │ ├── Contains.js │ │ │ │ ├── Contains.js.map │ │ │ │ ├── IsAlpha.js │ │ │ │ ├── IsAlpha.js.map │ │ │ │ ├── IsAlphanumeric.js │ │ │ │ ├── IsAlphanumeric.js.map │ │ │ │ ├── IsAscii.js │ │ │ │ ├── IsAscii.js.map │ │ │ │ ├── IsBIC.js │ │ │ │ ├── IsBIC.js.map │ │ │ │ ├── IsBase32.js │ │ │ │ ├── IsBase32.js.map │ │ │ │ ├── IsBase64.js │ │ │ │ ├── IsBase64.js.map │ │ │ │ ├── IsBooleanString.js │ │ │ │ ├── IsBooleanString.js.map │ │ │ │ ├── IsBtcAddress.js │ │ │ │ ├── IsBtcAddress.js.map │ │ │ │ ├── IsByteLength.js │ │ │ │ ├── IsByteLength.js.map │ │ │ │ ├── IsCreditCard.js │ │ │ │ ├── IsCreditCard.js.map │ │ │ │ ├── IsCurrency.js │ │ │ │ ├── IsCurrency.js.map │ │ │ │ ├── IsDataURI.js │ │ │ │ ├── IsDataURI.js.map │ │ │ │ ├── IsDateString.js │ │ │ │ ├── IsDateString.js.map │ │ │ │ ├── IsDecimal.js │ │ │ │ ├── IsDecimal.js.map │ │ │ │ ├── IsEAN.js │ │ │ │ ├── IsEAN.js.map │ │ │ │ ├── IsEmail.js │ │ │ │ ├── IsEmail.js.map │ │ │ │ ├── IsEthereumAddress.js │ │ │ │ ├── IsEthereumAddress.js.map │ │ │ │ ├── IsFQDN.js │ │ │ │ ├── IsFQDN.js.map │ │ │ │ ├── IsFirebasePushId.js │ │ │ │ ├── IsFirebasePushId.js.map │ │ │ │ ├── IsFullWidth.js │ │ │ │ ├── IsFullWidth.js.map │ │ │ │ ├── IsHSL.js │ │ │ │ ├── IsHSL.js.map │ │ │ │ ├── IsHalfWidth.js │ │ │ │ ├── IsHalfWidth.js.map │ │ │ │ ├── IsHash.js │ │ │ │ ├── IsHash.js.map │ │ │ │ ├── IsHexColor.js │ │ │ │ ├── IsHexColor.js.map │ │ │ │ ├── IsHexadecimal.js │ │ │ │ ├── IsHexadecimal.js.map │ │ │ │ ├── IsIBAN.js │ │ │ │ ├── IsIBAN.js.map │ │ │ │ ├── IsIP.js │ │ │ │ ├── IsIP.js.map │ │ │ │ ├── IsISBN.js │ │ │ │ ├── IsISBN.js.map │ │ │ │ ├── IsISIN.js │ │ │ │ ├── IsISIN.js.map │ │ │ │ ├── IsISO31661Alpha2.js │ │ │ │ ├── IsISO31661Alpha2.js.map │ │ │ │ ├── IsISO31661Alpha3.js │ │ │ │ ├── IsISO31661Alpha3.js.map │ │ │ │ ├── IsISO8601.js │ │ │ │ ├── IsISO8601.js.map │ │ │ │ ├── IsISRC.js │ │ │ │ ├── IsISRC.js.map │ │ │ │ ├── IsISSN.js │ │ │ │ ├── IsISSN.js.map │ │ │ │ ├── IsIdentityCard.js │ │ │ │ ├── IsIdentityCard.js.map │ │ │ │ ├── IsJSON.js │ │ │ │ ├── IsJSON.js.map │ │ │ │ ├── IsJWT.js │ │ │ │ ├── IsJWT.js.map │ │ │ │ ├── IsLocale.js │ │ │ │ ├── IsLocale.js.map │ │ │ │ ├── IsLowercase.js │ │ │ │ ├── IsLowercase.js.map │ │ │ │ ├── IsMacAddress.js │ │ │ │ ├── IsMacAddress.js.map │ │ │ │ ├── IsMagnetURI.js │ │ │ │ ├── IsMagnetURI.js.map │ │ │ │ ├── IsMilitaryTime.js │ │ │ │ ├── IsMilitaryTime.js.map │ │ │ │ ├── IsMimeType.js │ │ │ │ ├── IsMimeType.js.map │ │ │ │ ├── IsMobilePhone.js │ │ │ │ ├── IsMobilePhone.js.map │ │ │ │ ├── IsMongoId.js │ │ │ │ ├── IsMongoId.js.map │ │ │ │ ├── IsMultibyte.js │ │ │ │ ├── IsMultibyte.js.map │ │ │ │ ├── IsNumberString.js │ │ │ │ ├── IsNumberString.js.map │ │ │ │ ├── IsOctal.js │ │ │ │ ├── IsOctal.js.map │ │ │ │ ├── IsPassportNumber.js │ │ │ │ ├── IsPassportNumber.js.map │ │ │ │ ├── IsPhoneNumber.js │ │ │ │ ├── IsPhoneNumber.js.map │ │ │ │ ├── IsPort.js │ │ │ │ ├── IsPort.js.map │ │ │ │ ├── IsPostalCode.js │ │ │ │ ├── IsPostalCode.js.map │ │ │ │ ├── IsRFC3339.js │ │ │ │ ├── IsRFC3339.js.map │ │ │ │ ├── IsRgbColor.js │ │ │ │ ├── IsRgbColor.js.map │ │ │ │ ├── IsSemVer.js │ │ │ │ ├── IsSemVer.js.map │ │ │ │ ├── IsSurrogatePair.js │ │ │ │ ├── IsSurrogatePair.js.map │ │ │ │ ├── IsUUID.js │ │ │ │ ├── IsUUID.js.map │ │ │ │ ├── IsUppercase.js │ │ │ │ ├── IsUppercase.js.map │ │ │ │ ├── IsUrl.js │ │ │ │ ├── IsUrl.js.map │ │ │ │ ├── IsVariableWidth.js │ │ │ │ ├── IsVariableWidth.js.map │ │ │ │ ├── Length.js │ │ │ │ ├── Length.js.map │ │ │ │ ├── Matches.js │ │ │ │ ├── Matches.js.map │ │ │ │ ├── MaxLength.js │ │ │ │ ├── MaxLength.js.map │ │ │ │ ├── MinLength.js │ │ │ │ ├── MinLength.js.map │ │ │ │ ├── NotContains.js │ │ │ │ └── NotContains.js.map │ │ │ └── typechecker │ │ │ │ ├── IsArray.js │ │ │ │ ├── IsArray.js.map │ │ │ │ ├── IsBoolean.js │ │ │ │ ├── IsBoolean.js.map │ │ │ │ ├── IsDate.js │ │ │ │ ├── IsDate.js.map │ │ │ │ ├── IsEnum.js │ │ │ │ ├── IsEnum.js.map │ │ │ │ ├── IsInt.js │ │ │ │ ├── IsInt.js.map │ │ │ │ ├── IsNumber.js │ │ │ │ ├── IsNumber.js.map │ │ │ │ ├── IsObject.js │ │ │ │ ├── IsObject.js.map │ │ │ │ ├── IsString.js │ │ │ │ └── IsString.js.map │ │ ├── index.js │ │ ├── index.js.map │ │ ├── metadata │ │ │ ├── ConstraintMetadata.js │ │ │ ├── ConstraintMetadata.js.map │ │ │ ├── MetadataStorage.js │ │ │ ├── MetadataStorage.js.map │ │ │ ├── ValidationMetadata.js │ │ │ ├── ValidationMetadata.js.map │ │ │ ├── ValidationMetadataArgs.js │ │ │ └── ValidationMetadataArgs.js.map │ │ ├── register-decorator.js │ │ ├── register-decorator.js.map │ │ ├── utils.js │ │ ├── utils.js.map │ │ ├── validation-schema │ │ │ ├── ValidationSchema.js │ │ │ ├── ValidationSchema.js.map │ │ │ ├── ValidationSchemaToMetadataTransformer.js │ │ │ └── ValidationSchemaToMetadataTransformer.js.map │ │ └── validation │ │ │ ├── ValidationArguments.js │ │ │ ├── ValidationArguments.js.map │ │ │ ├── ValidationError.js │ │ │ ├── ValidationError.js.map │ │ │ ├── ValidationExecutor.js │ │ │ ├── ValidationExecutor.js.map │ │ │ ├── ValidationTypes.js │ │ │ ├── ValidationTypes.js.map │ │ │ ├── ValidationUtils.js │ │ │ ├── ValidationUtils.js.map │ │ │ ├── Validator.js │ │ │ ├── Validator.js.map │ │ │ ├── ValidatorConstraintInterface.js │ │ │ ├── ValidatorConstraintInterface.js.map │ │ │ ├── ValidatorOptions.js │ │ │ └── ValidatorOptions.js.map │ ├── package.json │ └── types │ │ ├── container.d.ts │ │ ├── decorator │ │ ├── ValidationOptions.d.ts │ │ ├── array │ │ │ ├── ArrayContains.d.ts │ │ │ ├── ArrayMaxSize.d.ts │ │ │ ├── ArrayMinSize.d.ts │ │ │ ├── ArrayNotContains.d.ts │ │ │ ├── ArrayNotEmpty.d.ts │ │ │ └── ArrayUnique.d.ts │ │ ├── common │ │ │ ├── Allow.d.ts │ │ │ ├── Equals.d.ts │ │ │ ├── IsDefined.d.ts │ │ │ ├── IsEmpty.d.ts │ │ │ ├── IsIn.d.ts │ │ │ ├── IsLatLong.d.ts │ │ │ ├── IsLatitude.d.ts │ │ │ ├── IsLongitude.d.ts │ │ │ ├── IsNotEmpty.d.ts │ │ │ ├── IsNotIn.d.ts │ │ │ ├── IsOptional.d.ts │ │ │ ├── NotEquals.d.ts │ │ │ ├── Validate.d.ts │ │ │ ├── ValidateBy.d.ts │ │ │ ├── ValidateIf.d.ts │ │ │ ├── ValidateNested.d.ts │ │ │ └── ValidatePromise.d.ts │ │ ├── date │ │ │ ├── MaxDate.d.ts │ │ │ └── MinDate.d.ts │ │ ├── decorators.d.ts │ │ ├── number │ │ │ ├── IsDivisibleBy.d.ts │ │ │ ├── IsNegative.d.ts │ │ │ ├── IsPositive.d.ts │ │ │ ├── Max.d.ts │ │ │ └── Min.d.ts │ │ ├── object │ │ │ ├── IsInstance.d.ts │ │ │ └── IsNotEmptyObject.d.ts │ │ ├── string │ │ │ ├── Contains.d.ts │ │ │ ├── IsAlpha.d.ts │ │ │ ├── IsAlphanumeric.d.ts │ │ │ ├── IsAscii.d.ts │ │ │ ├── IsBIC.d.ts │ │ │ ├── IsBase32.d.ts │ │ │ ├── IsBase64.d.ts │ │ │ ├── IsBooleanString.d.ts │ │ │ ├── IsBtcAddress.d.ts │ │ │ ├── IsByteLength.d.ts │ │ │ ├── IsCreditCard.d.ts │ │ │ ├── IsCurrency.d.ts │ │ │ ├── IsDataURI.d.ts │ │ │ ├── IsDateString.d.ts │ │ │ ├── IsDecimal.d.ts │ │ │ ├── IsEAN.d.ts │ │ │ ├── IsEmail.d.ts │ │ │ ├── IsEthereumAddress.d.ts │ │ │ ├── IsFQDN.d.ts │ │ │ ├── IsFirebasePushId.d.ts │ │ │ ├── IsFullWidth.d.ts │ │ │ ├── IsHSL.d.ts │ │ │ ├── IsHalfWidth.d.ts │ │ │ ├── IsHash.d.ts │ │ │ ├── IsHexColor.d.ts │ │ │ ├── IsHexadecimal.d.ts │ │ │ ├── IsIBAN.d.ts │ │ │ ├── IsIP.d.ts │ │ │ ├── IsISBN.d.ts │ │ │ ├── IsISIN.d.ts │ │ │ ├── IsISO31661Alpha2.d.ts │ │ │ ├── IsISO31661Alpha3.d.ts │ │ │ ├── IsISO8601.d.ts │ │ │ ├── IsISRC.d.ts │ │ │ ├── IsISSN.d.ts │ │ │ ├── IsIdentityCard.d.ts │ │ │ ├── IsJSON.d.ts │ │ │ ├── IsJWT.d.ts │ │ │ ├── IsLocale.d.ts │ │ │ ├── IsLowercase.d.ts │ │ │ ├── IsMacAddress.d.ts │ │ │ ├── IsMagnetURI.d.ts │ │ │ ├── IsMilitaryTime.d.ts │ │ │ ├── IsMimeType.d.ts │ │ │ ├── IsMobilePhone.d.ts │ │ │ ├── IsMongoId.d.ts │ │ │ ├── IsMultibyte.d.ts │ │ │ ├── IsNumberString.d.ts │ │ │ ├── IsOctal.d.ts │ │ │ ├── IsPassportNumber.d.ts │ │ │ ├── IsPhoneNumber.d.ts │ │ │ ├── IsPort.d.ts │ │ │ ├── IsPostalCode.d.ts │ │ │ ├── IsRFC3339.d.ts │ │ │ ├── IsRgbColor.d.ts │ │ │ ├── IsSemVer.d.ts │ │ │ ├── IsSurrogatePair.d.ts │ │ │ ├── IsUUID.d.ts │ │ │ ├── IsUppercase.d.ts │ │ │ ├── IsUrl.d.ts │ │ │ ├── IsVariableWidth.d.ts │ │ │ ├── Length.d.ts │ │ │ ├── Matches.d.ts │ │ │ ├── MaxLength.d.ts │ │ │ ├── MinLength.d.ts │ │ │ └── NotContains.d.ts │ │ └── typechecker │ │ │ ├── IsArray.d.ts │ │ │ ├── IsBoolean.d.ts │ │ │ ├── IsDate.d.ts │ │ │ ├── IsEnum.d.ts │ │ │ ├── IsInt.d.ts │ │ │ ├── IsNumber.d.ts │ │ │ ├── IsObject.d.ts │ │ │ └── IsString.d.ts │ │ ├── index.d.ts │ │ ├── metadata │ │ ├── ConstraintMetadata.d.ts │ │ ├── MetadataStorage.d.ts │ │ ├── ValidationMetadata.d.ts │ │ └── ValidationMetadataArgs.d.ts │ │ ├── register-decorator.d.ts │ │ ├── utils.d.ts │ │ ├── validation-schema │ │ ├── ValidationSchema.d.ts │ │ └── ValidationSchemaToMetadataTransformer.d.ts │ │ └── validation │ │ ├── ValidationArguments.d.ts │ │ ├── ValidationError.d.ts │ │ ├── ValidationExecutor.d.ts │ │ ├── ValidationTypes.d.ts │ │ ├── ValidationUtils.d.ts │ │ ├── Validator.d.ts │ │ ├── ValidatorConstraintInterface.d.ts │ │ └── ValidatorOptions.d.ts ├── color-convert │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── conversions.js │ ├── index.js │ ├── package.json │ └── route.js ├── color-name │ ├── .eslintrc.json │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── commander │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── package.json │ └── typings │ │ └── index.d.ts ├── concat-map │ ├── .travis.yml │ ├── LICENSE │ ├── README.markdown │ ├── example │ │ └── map.js │ ├── index.js │ ├── package.json │ └── test │ │ └── map.js ├── consola │ ├── CHANGELOG.md │ ├── README.md │ ├── dist │ │ ├── consola.browser.js │ │ └── consola.js │ ├── package.json │ ├── src │ │ ├── browser.js │ │ ├── consola.js │ │ ├── index.js │ │ ├── logLevels.js │ │ ├── node.js │ │ ├── reporters │ │ │ ├── basic.js │ │ │ ├── browser.js │ │ │ ├── fancy.js │ │ │ ├── index.js │ │ │ ├── json.js │ │ │ └── winston.js │ │ ├── types.js │ │ └── utils │ │ │ ├── chalk.js │ │ │ ├── date.js │ │ │ ├── error.js │ │ │ ├── fancy.js │ │ │ ├── format.js │ │ │ ├── global.js │ │ │ ├── index.js │ │ │ ├── stream.js │ │ │ └── string.js │ └── types │ │ └── consola.d.ts ├── crypt │ ├── LICENSE.mkd │ ├── README.mkd │ ├── crypt.js │ └── package.json ├── deep-is │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.markdown │ ├── example │ │ └── cmp.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── NaN.js │ │ ├── cmp.js │ │ └── neg-vs-pos-0.js ├── escape-string-regexp │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── escodegen │ ├── LICENSE.BSD │ ├── README.md │ ├── bin │ │ ├── escodegen.js │ │ └── esgenerate.js │ ├── escodegen.js │ ├── node_modules │ │ └── estraverse │ │ │ ├── .jshintrc │ │ │ ├── LICENSE.BSD │ │ │ ├── README.md │ │ │ ├── estraverse.js │ │ │ ├── gulpfile.js │ │ │ └── package.json │ └── package.json ├── eslint-scope │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── definition.js │ │ ├── index.js │ │ ├── pattern-visitor.js │ │ ├── reference.js │ │ ├── referencer.js │ │ ├── scope-manager.js │ │ ├── scope.js │ │ └── variable.js │ ├── node_modules │ │ └── estraverse │ │ │ ├── .jshintrc │ │ │ ├── LICENSE.BSD │ │ │ ├── README.md │ │ │ ├── estraverse.js │ │ │ ├── gulpfile.js │ │ │ └── package.json │ └── package.json ├── esprima │ ├── ChangeLog │ ├── LICENSE.BSD │ ├── README.md │ ├── bin │ │ ├── esparse.js │ │ └── esvalidate.js │ ├── dist │ │ └── esprima.js │ └── package.json ├── esrecurse │ ├── .babelrc │ ├── README.md │ ├── esrecurse.js │ ├── gulpfile.babel.js │ ├── node_modules │ │ └── estraverse │ │ │ ├── .jshintrc │ │ │ ├── LICENSE.BSD │ │ │ ├── README.md │ │ │ ├── estraverse.js │ │ │ ├── gulpfile.js │ │ │ └── package.json │ └── package.json ├── estraverse │ ├── .jshintrc │ ├── LICENSE.BSD │ ├── README.md │ ├── estraverse.js │ ├── gulpfile.js │ └── package.json ├── esutils │ ├── LICENSE.BSD │ ├── README.md │ ├── lib │ │ ├── ast.js │ │ ├── code.js │ │ ├── keyword.js │ │ └── utils.js │ └── package.json ├── eventemitter3 │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── umd │ │ ├── eventemitter3.js │ │ ├── eventemitter3.min.js │ │ └── eventemitter3.min.js.map ├── fast-deep-equal │ ├── LICENSE │ ├── README.md │ ├── es6 │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── react.d.ts │ │ └── react.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── react.d.ts │ └── react.js ├── fast-levenshtein │ ├── LICENSE.md │ ├── README.md │ ├── levenshtein.js │ └── package.json ├── google-libphonenumber │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ └── libphonenumber.js │ └── package.json ├── has-flag │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── inversify │ ├── .auditignore │ ├── CHANGELOG.md │ ├── CODE_OF_CONDUCT.md │ ├── LICENSE │ ├── README.md │ ├── amd │ │ ├── annotation │ │ │ ├── decorator_utils.js │ │ │ ├── inject.js │ │ │ ├── injectable.js │ │ │ ├── multi_inject.js │ │ │ ├── named.js │ │ │ ├── optional.js │ │ │ ├── post_construct.js │ │ │ ├── tagged.js │ │ │ ├── target_name.js │ │ │ └── unmanaged.js │ │ ├── bindings │ │ │ ├── binding.js │ │ │ └── binding_count.js │ │ ├── constants │ │ │ ├── error_msgs.js │ │ │ ├── literal_types.js │ │ │ └── metadata_keys.js │ │ ├── container │ │ │ ├── container.js │ │ │ ├── container_module.js │ │ │ ├── container_snapshot.js │ │ │ └── lookup.js │ │ ├── interfaces │ │ │ └── interfaces.js │ │ ├── inversify.js │ │ ├── planning │ │ │ ├── context.js │ │ │ ├── metadata.js │ │ │ ├── metadata_reader.js │ │ │ ├── plan.js │ │ │ ├── planner.js │ │ │ ├── queryable_string.js │ │ │ ├── reflection_utils.js │ │ │ ├── request.js │ │ │ └── target.js │ │ ├── resolution │ │ │ ├── instantiation.js │ │ │ └── resolver.js │ │ ├── syntax │ │ │ ├── binding_in_syntax.js │ │ │ ├── binding_in_when_on_syntax.js │ │ │ ├── binding_on_syntax.js │ │ │ ├── binding_to_syntax.js │ │ │ ├── binding_when_on_syntax.js │ │ │ ├── binding_when_syntax.js │ │ │ └── constraint_helpers.js │ │ └── utils │ │ │ ├── binding_utils.js │ │ │ ├── exceptions.js │ │ │ ├── id.js │ │ │ └── serialization.js │ ├── appveyor.yml │ ├── dts │ │ ├── annotation │ │ │ ├── decorator_utils.d.ts │ │ │ ├── inject.d.ts │ │ │ ├── injectable.d.ts │ │ │ ├── multi_inject.d.ts │ │ │ ├── named.d.ts │ │ │ ├── optional.d.ts │ │ │ ├── post_construct.d.ts │ │ │ ├── tagged.d.ts │ │ │ ├── target_name.d.ts │ │ │ └── unmanaged.d.ts │ │ ├── bindings │ │ │ ├── binding.d.ts │ │ │ └── binding_count.d.ts │ │ ├── constants │ │ │ ├── error_msgs.d.ts │ │ │ ├── literal_types.d.ts │ │ │ └── metadata_keys.d.ts │ │ ├── container │ │ │ ├── container.d.ts │ │ │ ├── container_module.d.ts │ │ │ ├── container_snapshot.d.ts │ │ │ └── lookup.d.ts │ │ ├── interfaces │ │ │ └── interfaces.d.ts │ │ ├── inversify.d.ts │ │ ├── planning │ │ │ ├── context.d.ts │ │ │ ├── metadata.d.ts │ │ │ ├── metadata_reader.d.ts │ │ │ ├── plan.d.ts │ │ │ ├── planner.d.ts │ │ │ ├── queryable_string.d.ts │ │ │ ├── reflection_utils.d.ts │ │ │ ├── request.d.ts │ │ │ └── target.d.ts │ │ ├── resolution │ │ │ ├── instantiation.d.ts │ │ │ └── resolver.d.ts │ │ ├── syntax │ │ │ ├── binding_in_syntax.d.ts │ │ │ ├── binding_in_when_on_syntax.d.ts │ │ │ ├── binding_on_syntax.d.ts │ │ │ ├── binding_to_syntax.d.ts │ │ │ ├── binding_when_on_syntax.d.ts │ │ │ ├── binding_when_syntax.d.ts │ │ │ └── constraint_helpers.d.ts │ │ └── utils │ │ │ ├── binding_utils.d.ts │ │ │ ├── exceptions.d.ts │ │ │ ├── guid.d.ts │ │ │ ├── id.d.ts │ │ │ ├── serialization.d.ts │ │ │ └── template.d.ts │ ├── es │ │ ├── annotation │ │ │ ├── decorator_utils.js │ │ │ ├── inject.js │ │ │ ├── injectable.js │ │ │ ├── multi_inject.js │ │ │ ├── named.js │ │ │ ├── optional.js │ │ │ ├── post_construct.js │ │ │ ├── tagged.js │ │ │ ├── target_name.js │ │ │ └── unmanaged.js │ │ ├── bindings │ │ │ ├── binding.js │ │ │ └── binding_count.js │ │ ├── constants │ │ │ ├── error_msgs.js │ │ │ ├── literal_types.js │ │ │ └── metadata_keys.js │ │ ├── container │ │ │ ├── container.js │ │ │ ├── container_module.js │ │ │ ├── container_snapshot.js │ │ │ └── lookup.js │ │ ├── interfaces │ │ │ └── interfaces.js │ │ ├── inversify.js │ │ ├── planning │ │ │ ├── context.js │ │ │ ├── metadata.js │ │ │ ├── metadata_reader.js │ │ │ ├── plan.js │ │ │ ├── planner.js │ │ │ ├── queryable_string.js │ │ │ ├── reflection_utils.js │ │ │ ├── request.js │ │ │ └── target.js │ │ ├── resolution │ │ │ ├── instantiation.js │ │ │ └── resolver.js │ │ ├── syntax │ │ │ ├── binding_in_syntax.js │ │ │ ├── binding_in_when_on_syntax.js │ │ │ ├── binding_on_syntax.js │ │ │ ├── binding_to_syntax.js │ │ │ ├── binding_when_on_syntax.js │ │ │ ├── binding_when_syntax.js │ │ │ └── constraint_helpers.js │ │ └── utils │ │ │ ├── binding_utils.js │ │ │ ├── exceptions.js │ │ │ ├── id.js │ │ │ └── serialization.js │ ├── lib │ │ ├── annotation │ │ │ ├── decorator_utils.js │ │ │ ├── inject.js │ │ │ ├── injectable.js │ │ │ ├── multi_inject.js │ │ │ ├── named.js │ │ │ ├── optional.js │ │ │ ├── post_construct.js │ │ │ ├── tagged.js │ │ │ ├── target_name.js │ │ │ └── unmanaged.js │ │ ├── bindings │ │ │ ├── binding.js │ │ │ └── binding_count.js │ │ ├── constants │ │ │ ├── error_msgs.js │ │ │ ├── literal_types.js │ │ │ └── metadata_keys.js │ │ ├── container │ │ │ ├── container.js │ │ │ ├── container_module.js │ │ │ ├── container_snapshot.js │ │ │ └── lookup.js │ │ ├── interfaces │ │ │ └── interfaces.js │ │ ├── inversify.js │ │ ├── planning │ │ │ ├── context.js │ │ │ ├── metadata.js │ │ │ ├── metadata_reader.js │ │ │ ├── plan.js │ │ │ ├── planner.js │ │ │ ├── queryable_string.js │ │ │ ├── reflection_utils.js │ │ │ ├── request.js │ │ │ └── target.js │ │ ├── resolution │ │ │ ├── instantiation.js │ │ │ └── resolver.js │ │ ├── syntax │ │ │ ├── binding_in_syntax.js │ │ │ ├── binding_in_when_on_syntax.js │ │ │ ├── binding_on_syntax.js │ │ │ ├── binding_to_syntax.js │ │ │ ├── binding_when_on_syntax.js │ │ │ ├── binding_when_syntax.js │ │ │ └── constraint_helpers.js │ │ └── utils │ │ │ ├── binding_utils.js │ │ │ ├── exceptions.js │ │ │ ├── id.js │ │ │ └── serialization.js │ └── package.json ├── is-buffer │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── basic.js ├── javascript-obfuscator │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .ncurc │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── CODE_OF_CONDUCT.md │ ├── CONTRIBUTING.md │ ├── LICENSE.BSD │ ├── README.md │ ├── bin │ │ └── javascript-obfuscator │ ├── dist │ │ ├── index.browser.js │ │ ├── index.browser.js.map │ │ ├── index.cli.js │ │ ├── index.cli.js.map │ │ ├── index.js │ │ └── index.js.map │ ├── index.cli.ts │ ├── index.d.ts │ ├── index.ts │ ├── package.json │ ├── scripts │ │ ├── build │ │ ├── eslint │ │ ├── git-add-files │ │ ├── remove-cache-dir │ │ ├── start │ │ ├── test-compile │ │ ├── test-coveralls │ │ ├── test-dev │ │ ├── test-dev-compile-performance │ │ ├── test-dev-runtime-performance │ │ ├── test-full │ │ ├── test-mocha │ │ ├── test-remove-tmp-dir │ │ ├── travis │ │ ├── watch │ │ ├── webpack-dev │ │ └── webpack-prod │ ├── src │ │ ├── ASTParserFacade.ts │ │ ├── JavaScriptObfuscator.ts │ │ ├── JavaScriptObfuscatorCLIFacade.ts │ │ ├── JavaScriptObfuscatorFacade.ts │ │ ├── analyzers │ │ │ ├── calls-graph-analyzer │ │ │ │ ├── CallsGraphAnalyzer.ts │ │ │ │ └── callee-data-extractors │ │ │ │ │ ├── AbstractCalleeDataExtractor.ts │ │ │ │ │ ├── FunctionDeclarationCalleeDataExtractor.ts │ │ │ │ │ ├── FunctionExpressionCalleeDataExtractor.ts │ │ │ │ │ └── ObjectExpressionCalleeDataExtractor.ts │ │ │ ├── prevailing-kind-of-variables-analyzer │ │ │ │ └── PrevailingKindOfVariablesAnalyzer.ts │ │ │ ├── scope-analyzer │ │ │ │ └── ScopeAnalyzer.ts │ │ │ └── string-array-storage-analyzer │ │ │ │ └── StringArrayStorageAnalyzer.ts │ │ ├── cli │ │ │ ├── JavaScriptObfuscatorCLI.ts │ │ │ ├── sanitizers │ │ │ │ ├── ArraySanitizer.ts │ │ │ │ ├── BooleanSanitizer.ts │ │ │ │ ├── IdentifierNamesGeneratorSanitizer.ts │ │ │ │ ├── ObfuscatingTargetSanitizer.ts │ │ │ │ ├── SourceMapModeSanitizer.ts │ │ │ │ └── StringArrayEncodingSanitizer.ts │ │ │ └── utils │ │ │ │ ├── CLIUtils.ts │ │ │ │ ├── ObfuscatedCodeWriter.ts │ │ │ │ └── SourceCodeReader.ts │ │ ├── code-transformers │ │ │ ├── AbstractCodeTransformer.ts │ │ │ ├── CodeTransformerNamesGroupsBuilder.ts │ │ │ ├── CodeTransformersRunner.ts │ │ │ └── preparing-transformers │ │ │ │ └── HashbangOperatorTransformer.ts │ │ ├── constants │ │ │ └── EcmaVersion.ts │ │ ├── container │ │ │ ├── InversifyContainerFacade.ts │ │ │ ├── ServiceIdentifiers.ts │ │ │ └── modules │ │ │ │ ├── analyzers │ │ │ │ └── AnalyzersModule.ts │ │ │ │ ├── code-transformers │ │ │ │ └── CodeTransformersModule.ts │ │ │ │ ├── custom-code-helpers │ │ │ │ └── CustomCodeHelpersModule.ts │ │ │ │ ├── custom-nodes │ │ │ │ └── CustomNodesModule.ts │ │ │ │ ├── generators │ │ │ │ └── GeneratorsModule.ts │ │ │ │ ├── node-transformers │ │ │ │ ├── ControlFlowTransformersModule.ts │ │ │ │ ├── ConvertingTransformersModule.ts │ │ │ │ ├── FinalizingTransformersModule.ts │ │ │ │ ├── InitializingTransformersModule.ts │ │ │ │ ├── NodeTransformersModule.ts │ │ │ │ ├── ObfuscatingTransformersModule.ts │ │ │ │ └── PreparingTransformersModule.ts │ │ │ │ ├── node │ │ │ │ └── NodeModule.ts │ │ │ │ ├── options │ │ │ │ └── OptionsModule.ts │ │ │ │ ├── storages │ │ │ │ └── StoragesModule.ts │ │ │ │ └── utils │ │ │ │ └── UtilsModule.ts │ │ ├── custom-code-helpers │ │ │ ├── AbstractCustomCodeHelper.ts │ │ │ ├── AbstractCustomCodeHelperGroup.ts │ │ │ ├── CustomCodeHelperFormatter.ts │ │ │ ├── CustomCodeHelperObfuscator.ts │ │ │ ├── calls-controller │ │ │ │ └── CallsControllerFunctionCodeHelper.ts │ │ │ ├── common │ │ │ │ └── templates │ │ │ │ │ ├── GlobalVariableNoEvalTemplate.ts │ │ │ │ │ ├── GlobalVariableTemplate1.ts │ │ │ │ │ ├── GlobalVariableTemplate2.ts │ │ │ │ │ └── SingleCallControllerTemplate.ts │ │ │ ├── console-output │ │ │ │ ├── ConsoleOutputDisableCodeHelper.ts │ │ │ │ ├── group │ │ │ │ │ └── ConsoleOutputCodeHelperGroup.ts │ │ │ │ └── templates │ │ │ │ │ └── ConsoleOutputDisableExpressionTemplate.ts │ │ │ ├── debug-protection │ │ │ │ ├── DebugProtectionFunctionCallCodeHelper.ts │ │ │ │ ├── DebugProtectionFunctionCodeHelper.ts │ │ │ │ ├── DebugProtectionFunctionIntervalCodeHelper.ts │ │ │ │ ├── group │ │ │ │ │ └── DebugProtectionCodeHelperGroup.ts │ │ │ │ └── templates │ │ │ │ │ ├── debug-protection-function-call │ │ │ │ │ └── DebugProtectionFunctionCallTemplate.ts │ │ │ │ │ ├── debug-protection-function-interval │ │ │ │ │ └── DebugProtectionFunctionIntervalTemplate.ts │ │ │ │ │ └── debug-protection-function │ │ │ │ │ ├── DebugProtectionFunctionTemplate.ts │ │ │ │ │ ├── DebuggerTemplate.ts │ │ │ │ │ └── DebuggerTemplateNoEval.ts │ │ │ ├── domain-lock │ │ │ │ ├── DomainLockCodeHelper.ts │ │ │ │ ├── group │ │ │ │ │ └── DomainLockCustomCodeHelperGroup.ts │ │ │ │ └── templates │ │ │ │ │ └── DomainLockTemplate.ts │ │ │ ├── self-defending │ │ │ │ ├── SelfDefendingUnicodeCodeHelper.ts │ │ │ │ ├── group │ │ │ │ │ └── SelfDefendingCodeHelperGroup.ts │ │ │ │ └── templates │ │ │ │ │ └── SelfDefendingTemplate.ts │ │ │ └── string-array │ │ │ │ ├── StringArrayCallsWrapperCodeHelper.ts │ │ │ │ ├── StringArrayCodeHelper.ts │ │ │ │ ├── StringArrayRotateFunctionCodeHelper.ts │ │ │ │ ├── group │ │ │ │ └── StringArrayCodeHelperGroup.ts │ │ │ │ └── templates │ │ │ │ ├── string-array-calls-wrapper │ │ │ │ ├── AtobTemplate.ts │ │ │ │ ├── Rc4Template.ts │ │ │ │ ├── SelfDefendingTemplate.ts │ │ │ │ ├── StringArrayBase64DecodeTemplate.ts │ │ │ │ ├── StringArrayCallsWrapperTemplate.ts │ │ │ │ └── StringArrayRC4DecodeTemplate.ts │ │ │ │ ├── string-array-rotate-function │ │ │ │ ├── SelfDefendingTemplate.ts │ │ │ │ └── StringArrayRotateFunctionTemplate.ts │ │ │ │ └── string-array │ │ │ │ └── StringArrayTemplate.ts │ │ ├── custom-nodes │ │ │ ├── AbstractCustomNode.ts │ │ │ ├── control-flow-flattening-nodes │ │ │ │ ├── BinaryExpressionFunctionNode.ts │ │ │ │ ├── BlockStatementControlFlowFlatteningNode.ts │ │ │ │ ├── CallExpressionFunctionNode.ts │ │ │ │ ├── LogicalExpressionFunctionNode.ts │ │ │ │ ├── StringLiteralNode.ts │ │ │ │ └── control-flow-storage-nodes │ │ │ │ │ ├── CallExpressionControlFlowStorageCallNode.ts │ │ │ │ │ ├── ControlFlowStorageNode.ts │ │ │ │ │ ├── ExpressionWithOperatorControlFlowStorageCallNode.ts │ │ │ │ │ └── StringLiteralControlFlowStorageCallNode.ts │ │ │ ├── dead-code-injection-nodes │ │ │ │ └── BlockStatementDeadCodeInjectionNode.ts │ │ │ └── object-expression-keys-transformer-nodes │ │ │ │ └── ObjectExpressionVariableDeclarationHostNode.ts │ │ ├── declarations │ │ │ ├── ESTree.d.ts │ │ │ ├── acorn-import-meta.d.ts │ │ │ ├── environment.d.ts │ │ │ ├── escodegen.d.ts │ │ │ ├── eslint-scope.d.ts │ │ │ └── js-string-escape.d.ts │ │ ├── decorators │ │ │ └── Initializable.ts │ │ ├── enums │ │ │ ├── ObfuscationTarget.ts │ │ │ ├── StringArrayEncoding.ts │ │ │ ├── StringSeparator.ts │ │ │ ├── analyzers │ │ │ │ └── calls-graph-analyzer │ │ │ │ │ └── CalleeDataExtractor.ts │ │ │ ├── code-transformers │ │ │ │ ├── CodeTransformationStage.ts │ │ │ │ └── CodeTransformer.ts │ │ │ ├── custom-code-helpers │ │ │ │ ├── CustomCodeHelper.ts │ │ │ │ └── CustomCodeHelperGroup.ts │ │ │ ├── custom-nodes │ │ │ │ ├── ControlFlowCustomNode.ts │ │ │ │ ├── DeadCodeInjectionCustomNode.ts │ │ │ │ └── ObjectExpressionKeysTransformerCustomNode.ts │ │ │ ├── event-emitters │ │ │ │ └── ObfuscationEvent.ts │ │ │ ├── generators │ │ │ │ └── identifier-names-generators │ │ │ │ │ └── IdentifierNamesGenerator.ts │ │ │ ├── logger │ │ │ │ ├── LoggingMessage.ts │ │ │ │ └── LoggingPrefix.ts │ │ │ ├── node-transformers │ │ │ │ ├── NodeTransformationStage.ts │ │ │ │ ├── NodeTransformer.ts │ │ │ │ ├── VisitorDirection.ts │ │ │ │ ├── converting-transformers │ │ │ │ │ └── properties-extractors │ │ │ │ │ │ └── ObjectExpressionExtractor.ts │ │ │ │ ├── obfuscating-transformers │ │ │ │ │ └── obfuscating-replacers │ │ │ │ │ │ ├── ControlFlowReplacer.ts │ │ │ │ │ │ ├── IdentifierObfuscatingReplacer.ts │ │ │ │ │ │ └── LiteralObfuscatingReplacer.ts │ │ │ │ └── preparing-transformers │ │ │ │ │ └── obfuscating-guards │ │ │ │ │ └── ObfuscatingGuard.ts │ │ │ ├── node │ │ │ │ └── NodeType.ts │ │ │ └── source-map │ │ │ │ └── SourceMapMode.ts │ │ ├── event-emitters │ │ │ └── ObfuscationEventEmitter.ts │ │ ├── generators │ │ │ └── identifier-names-generators │ │ │ │ ├── AbstractIdentifierNamesGenerator.ts │ │ │ │ ├── DictionaryIdentifierNamesGenerator.ts │ │ │ │ ├── HexadecimalIdentifierNamesGenerator.ts │ │ │ │ └── MangledIdentifierNamesGenerator.ts │ │ ├── interfaces │ │ │ ├── IEncodedValue.ts │ │ │ ├── IGeneratorOutput.ts │ │ │ ├── IInitializable.ts │ │ │ ├── IJavaScriptObfsucator.ts │ │ │ ├── ITransformer.ts │ │ │ ├── analyzers │ │ │ │ ├── IAnalyzer.ts │ │ │ │ ├── calls-graph-analyzer │ │ │ │ │ ├── ICalleeData.ts │ │ │ │ │ ├── ICalleeDataExtractor.ts │ │ │ │ │ ├── ICallsGraphAnalyzer.ts │ │ │ │ │ ├── ICallsGraphData.ts │ │ │ │ │ └── IPrevailingKindOfVariablesAnalyzer.ts │ │ │ │ ├── scope-analyzer │ │ │ │ │ └── IScopeAnalyzer.ts │ │ │ │ └── string-array-storage-analyzer │ │ │ │ │ └── IStringArrayStorageAnalyzer.ts │ │ │ ├── cli │ │ │ │ └── IFileData.ts │ │ │ ├── code-transformers │ │ │ │ ├── ICodeTransformer.ts │ │ │ │ └── ICodeTransformersRunner.ts │ │ │ ├── container │ │ │ │ └── IInversifyContainerFacade.ts │ │ │ ├── custom-code-helpers │ │ │ │ ├── ICustomCodeHelper.ts │ │ │ │ ├── ICustomCodeHelperFormatter.ts │ │ │ │ ├── ICustomCodeHelperGroup.ts │ │ │ │ └── ICustomCodeHelperObfuscator.ts │ │ │ ├── custom-nodes │ │ │ │ └── ICustomNode.ts │ │ │ ├── event-emitters │ │ │ │ └── IObfuscationEventEmitter.ts │ │ │ ├── generators │ │ │ │ └── identifier-names-generators │ │ │ │ │ └── IIdentifierNamesGenerator.ts │ │ │ ├── logger │ │ │ │ └── ILogger.ts │ │ │ ├── node-transformers │ │ │ │ ├── INodeTransformer.ts │ │ │ │ ├── INodeTransformersRunner.ts │ │ │ │ ├── IVisitor.ts │ │ │ │ ├── control-flow-transformers │ │ │ │ │ └── IControlFlowReplacer.ts │ │ │ │ ├── converting-transformers │ │ │ │ │ └── object-expression-extractors │ │ │ │ │ │ ├── IObjectExpressionExtractor.ts │ │ │ │ │ │ └── IObjectExpressionExtractorResult.ts │ │ │ │ ├── obfuscating-transformers │ │ │ │ │ └── obfuscating-replacers │ │ │ │ │ │ ├── IIdentifierObfuscatingReplacer.ts │ │ │ │ │ │ └── IObfuscatingReplacer.ts │ │ │ │ └── preparing-transformers │ │ │ │ │ └── obfuscating-guards │ │ │ │ │ └── IObfuscatingGuard.ts │ │ │ ├── node │ │ │ │ ├── IScopeIdentifiersTraverser.ts │ │ │ │ └── IScopeIdentifiersTraverserCallbackData.ts │ │ │ ├── options │ │ │ │ ├── ICLIOptions.ts │ │ │ │ ├── IOptions.ts │ │ │ │ └── IOptionsNormalizer.ts │ │ │ ├── source-code │ │ │ │ ├── IObfuscatedCode.ts │ │ │ │ └── ISourceCode.ts │ │ │ ├── storages │ │ │ │ ├── IArrayStorage.ts │ │ │ │ ├── IMapStorage.ts │ │ │ │ └── string-array-storage │ │ │ │ │ ├── IStringArrayStorage.ts │ │ │ │ │ └── IStringArrayStorageItem.ts │ │ │ └── utils │ │ │ │ ├── IArrayUtils.ts │ │ │ │ ├── ICryptUtils.ts │ │ │ │ ├── IEscapeSequenceEncoder.ts │ │ │ │ ├── ILevelledTopologicalSorter.ts │ │ │ │ ├── IRandomGenerator.ts │ │ │ │ └── ITransformerNamesGroupsBuilder.ts │ │ ├── logger │ │ │ └── Logger.ts │ │ ├── node-transformers │ │ │ ├── AbstractNodeTransformer.ts │ │ │ ├── NodeTransformerNamesGroupsBuilder.ts │ │ │ ├── NodeTransformersRunner.ts │ │ │ ├── control-flow-transformers │ │ │ │ ├── BlockStatementControlFlowTransformer.ts │ │ │ │ ├── FunctionControlFlowTransformer.ts │ │ │ │ └── control-flow-replacers │ │ │ │ │ ├── AbstractControlFlowReplacer.ts │ │ │ │ │ ├── BinaryExpressionControlFlowReplacer.ts │ │ │ │ │ ├── CallExpressionControlFlowReplacer.ts │ │ │ │ │ ├── ExpressionWithOperatorControlFlowReplacer.ts │ │ │ │ │ ├── LogicalExpressionControlFlowReplacer.ts │ │ │ │ │ └── StringLiteralControlFlowReplacer.ts │ │ │ ├── converting-transformers │ │ │ │ ├── MemberExpressionTransformer.ts │ │ │ │ ├── MethodDefinitionTransformer.ts │ │ │ │ ├── ObjectExpressionKeysTransformer.ts │ │ │ │ ├── ObjectExpressionTransformer.ts │ │ │ │ ├── SplitStringTransformer.ts │ │ │ │ ├── TemplateLiteralTransformer.ts │ │ │ │ └── object-expression-extractors │ │ │ │ │ ├── BasePropertiesExtractor.ts │ │ │ │ │ └── ObjectExpressionToVariableDeclarationExtractor.ts │ │ │ ├── dead-code-injection-transformers │ │ │ │ └── DeadCodeInjectionTransformer.ts │ │ │ ├── initializing-transformers │ │ │ │ └── CommentsTransformer.ts │ │ │ ├── obfuscating-transformers │ │ │ │ ├── LabeledStatementTransformer.ts │ │ │ │ ├── LiteralTransformer.ts │ │ │ │ ├── ScopeIdentifiersTransformer.ts │ │ │ │ └── obfuscating-replacers │ │ │ │ │ ├── AbstractObfuscatingReplacer.ts │ │ │ │ │ ├── identifier-obfuscating-replacers │ │ │ │ │ └── BaseIdentifierObfuscatingReplacer.ts │ │ │ │ │ └── literal-obfuscating-replacers │ │ │ │ │ ├── BooleanLiteralObfuscatingReplacer.ts │ │ │ │ │ ├── NumberLiteralObfuscatingReplacer.ts │ │ │ │ │ └── StringLiteralObfuscatingReplacer.ts │ │ │ └── preparing-transformers │ │ │ │ ├── CustomCodeHelpersTransformer.ts │ │ │ │ ├── EvalCallExpressionTransformer.ts │ │ │ │ ├── MetadataTransformer.ts │ │ │ │ ├── ObfuscatingGuardsTransformer.ts │ │ │ │ ├── ParentificationTransformer.ts │ │ │ │ ├── VariablePreserveTransformer.ts │ │ │ │ └── obfuscating-guards │ │ │ │ ├── BlackListObfuscatingGuard.ts │ │ │ │ ├── ConditionalCommentObfuscatingGuard.ts │ │ │ │ └── ReservedStringObfuscatingGuard.ts │ │ ├── node │ │ │ ├── NodeAppender.ts │ │ │ ├── NodeFactory.ts │ │ │ ├── NodeGuards.ts │ │ │ ├── NodeLexicalScopeUtils.ts │ │ │ ├── NodeLiteralUtils.ts │ │ │ ├── NodeMetadata.ts │ │ │ ├── NodeStatementUtils.ts │ │ │ ├── NodeUtils.ts │ │ │ └── ScopeIdentifiersTraverser.ts │ │ ├── options │ │ │ ├── Options.ts │ │ │ ├── OptionsNormalizer.ts │ │ │ ├── ValidationErrorsFormatter.ts │ │ │ ├── normalizer-rules │ │ │ │ ├── ControlFlowFlatteningThresholdRule.ts │ │ │ │ ├── DeadCodeInjectionRule.ts │ │ │ │ ├── DeadCodeInjectionThresholdRule.ts │ │ │ │ ├── DomainLockRule.ts │ │ │ │ ├── InputFileNameRule.ts │ │ │ │ ├── SeedRule.ts │ │ │ │ ├── SelfDefendingRule.ts │ │ │ │ ├── SourceMapBaseUrlRule.ts │ │ │ │ ├── SourceMapFileNameRule.ts │ │ │ │ ├── SplitStringsChunkLengthRule.ts │ │ │ │ ├── StringArrayEncodingRule.ts │ │ │ │ ├── StringArrayRule.ts │ │ │ │ └── StringArrayThresholdRule.ts │ │ │ ├── presets │ │ │ │ ├── Default.ts │ │ │ │ └── NoCustomNodes.ts │ │ │ └── validators │ │ │ │ └── IsAllowedForObfuscationTargets.ts │ │ ├── source-code │ │ │ ├── ObfuscatedCode.ts │ │ │ └── SourceCode.ts │ │ ├── storages │ │ │ ├── ArrayStorage.ts │ │ │ ├── MapStorage.ts │ │ │ ├── custom-code-helpers │ │ │ │ └── CustomCodeHelperGroupStorage.ts │ │ │ ├── custom-nodes │ │ │ │ └── ControlFlowStorage.ts │ │ │ └── string-array │ │ │ │ └── StringArrayStorage.ts │ │ ├── tsconfig.browser.json │ │ ├── tsconfig.node.json │ │ ├── types │ │ │ ├── TInitialData.ts │ │ │ ├── TObfuscationResultsObject.ts │ │ │ ├── TObject.ts │ │ │ ├── analyzers │ │ │ │ └── calls-graph-analyzer │ │ │ │ │ └── TObjectMembersCallsChain.ts │ │ │ ├── cli │ │ │ │ └── TCLISanitizer.ts │ │ │ ├── container │ │ │ │ ├── calls-graph-analyzer │ │ │ │ │ └── TCalleeDataExtractorFactory.ts │ │ │ │ ├── code-transformers │ │ │ │ │ └── TCodeTransformerFactory.ts │ │ │ │ ├── custom-code-helpers │ │ │ │ │ ├── TCustomCodeHelperFactory.ts │ │ │ │ │ └── TCustomCodeHelperGroupFactory.ts │ │ │ │ ├── custom-nodes │ │ │ │ │ ├── TControlFlowCustomNodeFactory.ts │ │ │ │ │ ├── TDeadNodeInjectionCustomNodeFactory.ts │ │ │ │ │ └── TObjectExpressionKeysTransformerCustomNodeFactory.ts │ │ │ │ ├── generators │ │ │ │ │ └── TIdentifierNamesGeneratorFactory.ts │ │ │ │ ├── node-transformers │ │ │ │ │ ├── TControlFlowReplacerFactory.ts │ │ │ │ │ ├── TControlFlowStorageFactory.ts │ │ │ │ │ ├── TIdentifierObfuscatingReplacerFactory.ts │ │ │ │ │ ├── TLiteralObfuscatingReplacerFactory.ts │ │ │ │ │ ├── TNodeTransformerFactory.ts │ │ │ │ │ ├── TObfuscatingGuardFactory.ts │ │ │ │ │ └── TObjectExpressionExtractorFactory.ts │ │ │ │ └── source-code │ │ │ │ │ └── TObfuscatedCodeFactory.ts │ │ │ ├── node-transformers │ │ │ │ ├── TVisitorDirection.ts │ │ │ │ ├── TVisitorFunction.ts │ │ │ │ └── TVisitorResult.ts │ │ │ ├── node │ │ │ │ ├── TNodeGuard.ts │ │ │ │ ├── TNodeWithLexicalScope.ts │ │ │ │ ├── TNodeWithStatements.ts │ │ │ │ ├── TScopeIdentifiersTraverserCallback.ts │ │ │ │ └── TStatement.ts │ │ │ ├── options │ │ │ │ ├── TInputCLIOptions.ts │ │ │ │ ├── TInputOptions.ts │ │ │ │ ├── TOptionsNormalizerRule.ts │ │ │ │ └── TStringArrayEncoding.ts │ │ │ ├── storages │ │ │ │ ├── TControlFlowStorage.ts │ │ │ │ └── TCustomCodeHelperGroupStorage.ts │ │ │ └── utils │ │ │ │ └── TTransformersRelationEdge.ts │ │ └── utils │ │ │ ├── AbstractTransformerNamesGroupsBuilder.ts │ │ │ ├── ArrayUtils.ts │ │ │ ├── CryptUtils.ts │ │ │ ├── EscapeSequenceEncoder.ts │ │ │ ├── LevelledTopologicalSorter.ts │ │ │ ├── NumberUtils.ts │ │ │ ├── RandomGenerator.ts │ │ │ └── Utils.ts │ └── tsconfig.json ├── js-string-escape │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── levn │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── cast.js │ │ ├── coerce.js │ │ ├── index.js │ │ ├── parse-string.js │ │ └── parse.js │ └── package.json ├── md5 │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── md5.js │ ├── package.json │ └── test.js ├── minimatch │ ├── LICENSE │ ├── README.md │ ├── minimatch.js │ └── package.json ├── mkdirp │ ├── CHANGELOG.md │ ├── LICENSE │ ├── bin │ │ └── cmd.js │ ├── index.js │ ├── lib │ │ ├── find-made.js │ │ ├── mkdirp-manual.js │ │ ├── mkdirp-native.js │ │ ├── opts-arg.js │ │ ├── path-arg.js │ │ └── use-native.js │ ├── package.json │ └── readme.markdown ├── multimatch │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── node-fetch │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── browser.js │ ├── lib │ │ ├── index.es.js │ │ ├── index.js │ │ └── index.mjs │ └── package.json ├── optionator │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── help.js │ │ ├── index.js │ │ └── util.js │ └── package.json ├── prelude-ls │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── Func.js │ │ ├── List.js │ │ ├── Num.js │ │ ├── Obj.js │ │ ├── Str.js │ │ └── index.js │ └── package.json ├── reflect-metadata │ ├── AUTHORS.md │ ├── CopyrightNotice.txt │ ├── LICENSE │ ├── README.md │ ├── Reflect.d.ts │ ├── Reflect.js │ ├── docs │ │ ├── ecmarkup.css │ │ ├── ecmarkup.js │ │ ├── index.html │ │ └── spec.biblio.json │ ├── index.d.ts │ ├── package.json │ ├── reflect-metadata.d.ts │ ├── standalone.d.ts │ └── typings.d.ts ├── source-map-support │ ├── LICENSE.md │ ├── README.md │ ├── browser-source-map-support.js │ ├── package.json │ ├── register.js │ └── source-map-support.js ├── source-map │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── source-map.debug.js │ │ ├── source-map.js │ │ ├── source-map.min.js │ │ └── source-map.min.js.map │ ├── lib │ │ ├── array-set.js │ │ ├── base64-vlq.js │ │ ├── base64.js │ │ ├── binary-search.js │ │ ├── mapping-list.js │ │ ├── quick-sort.js │ │ ├── source-map-consumer.js │ │ ├── source-map-generator.js │ │ ├── source-node.js │ │ └── util.js │ ├── package.json │ ├── source-map.d.ts │ └── source-map.js ├── string-template │ ├── .npmignore │ ├── .travis.yml │ ├── LICENCE │ ├── Readme.md │ ├── compile.js │ ├── coverage │ │ ├── base.css │ │ ├── coverage.json │ │ ├── index.html │ │ ├── prettify.css │ │ ├── prettify.js │ │ ├── sort-arrow-sprite.png │ │ ├── sorter.js │ │ └── string-template │ │ │ ├── compile.js.html │ │ │ ├── index.html │ │ │ └── index.js.html │ ├── index.js │ └── package.json ├── supports-color │ ├── browser.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── tslib │ ├── CopyrightNotice.txt │ ├── LICENSE.txt │ ├── README.md │ ├── package.json │ ├── tslib.d.ts │ ├── tslib.es6.html │ ├── tslib.es6.js │ ├── tslib.html │ └── tslib.js ├── type-check │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── check.js │ │ ├── index.js │ │ └── parse-type.js │ └── package.json ├── validator │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── es │ │ ├── index.js │ │ └── lib │ │ │ ├── alpha.js │ │ │ ├── blacklist.js │ │ │ ├── contains.js │ │ │ ├── equals.js │ │ │ ├── escape.js │ │ │ ├── isAfter.js │ │ │ ├── isAlpha.js │ │ │ ├── isAlphanumeric.js │ │ │ ├── isAscii.js │ │ │ ├── isBIC.js │ │ │ ├── isBase32.js │ │ │ ├── isBase64.js │ │ │ ├── isBefore.js │ │ │ ├── isBoolean.js │ │ │ ├── isBtcAddress.js │ │ │ ├── isByteLength.js │ │ │ ├── isCreditCard.js │ │ │ ├── isCurrency.js │ │ │ ├── isDataURI.js │ │ │ ├── isDecimal.js │ │ │ ├── isDivisibleBy.js │ │ │ ├── isEAN.js │ │ │ ├── isEmail.js │ │ │ ├── isEmpty.js │ │ │ ├── isEthereumAddress.js │ │ │ ├── isFQDN.js │ │ │ ├── isFloat.js │ │ │ ├── isFullWidth.js │ │ │ ├── isHSL.js │ │ │ ├── isHalfWidth.js │ │ │ ├── isHash.js │ │ │ ├── isHexColor.js │ │ │ ├── isHexadecimal.js │ │ │ ├── isIBAN.js │ │ │ ├── isIP.js │ │ │ ├── isIPRange.js │ │ │ ├── isISBN.js │ │ │ ├── isISIN.js │ │ │ ├── isISO31661Alpha2.js │ │ │ ├── isISO31661Alpha3.js │ │ │ ├── isISO8601.js │ │ │ ├── isISRC.js │ │ │ ├── isISSN.js │ │ │ ├── isIdentityCard.js │ │ │ ├── isIn.js │ │ │ ├── isInt.js │ │ │ ├── isJSON.js │ │ │ ├── isJWT.js │ │ │ ├── isLatLong.js │ │ │ ├── isLength.js │ │ │ ├── isLocale.js │ │ │ ├── isLowercase.js │ │ │ ├── isMACAddress.js │ │ │ ├── isMD5.js │ │ │ ├── isMagnetURI.js │ │ │ ├── isMimeType.js │ │ │ ├── isMobilePhone.js │ │ │ ├── isMongoId.js │ │ │ ├── isMultibyte.js │ │ │ ├── isNumeric.js │ │ │ ├── isOctal.js │ │ │ ├── isPassportNumber.js │ │ │ ├── isPort.js │ │ │ ├── isPostalCode.js │ │ │ ├── isRFC3339.js │ │ │ ├── isRgbColor.js │ │ │ ├── isSemVer.js │ │ │ ├── isSlug.js │ │ │ ├── isSurrogatePair.js │ │ │ ├── isURL.js │ │ │ ├── isUUID.js │ │ │ ├── isUppercase.js │ │ │ ├── isVariableWidth.js │ │ │ ├── isWhitelisted.js │ │ │ ├── ltrim.js │ │ │ ├── matches.js │ │ │ ├── normalizeEmail.js │ │ │ ├── rtrim.js │ │ │ ├── stripLow.js │ │ │ ├── toBoolean.js │ │ │ ├── toDate.js │ │ │ ├── toFloat.js │ │ │ ├── toInt.js │ │ │ ├── trim.js │ │ │ ├── unescape.js │ │ │ ├── util │ │ │ ├── assertString.js │ │ │ ├── includes.js │ │ │ ├── merge.js │ │ │ ├── multilineRegex.js │ │ │ └── toString.js │ │ │ └── whitelist.js │ ├── index.js │ ├── lib │ │ ├── alpha.js │ │ ├── blacklist.js │ │ ├── contains.js │ │ ├── equals.js │ │ ├── escape.js │ │ ├── isAfter.js │ │ ├── isAlpha.js │ │ ├── isAlphanumeric.js │ │ ├── isAscii.js │ │ ├── isBIC.js │ │ ├── isBase32.js │ │ ├── isBase64.js │ │ ├── isBefore.js │ │ ├── isBoolean.js │ │ ├── isBtcAddress.js │ │ ├── isByteLength.js │ │ ├── isCreditCard.js │ │ ├── isCurrency.js │ │ ├── isDataURI.js │ │ ├── isDecimal.js │ │ ├── isDivisibleBy.js │ │ ├── isEAN.js │ │ ├── isEmail.js │ │ ├── isEmpty.js │ │ ├── isEthereumAddress.js │ │ ├── isFQDN.js │ │ ├── isFloat.js │ │ ├── isFullWidth.js │ │ ├── isHSL.js │ │ ├── isHalfWidth.js │ │ ├── isHash.js │ │ ├── isHexColor.js │ │ ├── isHexadecimal.js │ │ ├── isIBAN.js │ │ ├── isIP.js │ │ ├── isIPRange.js │ │ ├── isISBN.js │ │ ├── isISIN.js │ │ ├── isISO31661Alpha2.js │ │ ├── isISO31661Alpha3.js │ │ ├── isISO8601.js │ │ ├── isISRC.js │ │ ├── isISSN.js │ │ ├── isIdentityCard.js │ │ ├── isIn.js │ │ ├── isInt.js │ │ ├── isJSON.js │ │ ├── isJWT.js │ │ ├── isLatLong.js │ │ ├── isLength.js │ │ ├── isLocale.js │ │ ├── isLowercase.js │ │ ├── isMACAddress.js │ │ ├── isMD5.js │ │ ├── isMagnetURI.js │ │ ├── isMimeType.js │ │ ├── isMobilePhone.js │ │ ├── isMongoId.js │ │ ├── isMultibyte.js │ │ ├── isNumeric.js │ │ ├── isOctal.js │ │ ├── isPassportNumber.js │ │ ├── isPort.js │ │ ├── isPostalCode.js │ │ ├── isRFC3339.js │ │ ├── isRgbColor.js │ │ ├── isSemVer.js │ │ ├── isSlug.js │ │ ├── isSurrogatePair.js │ │ ├── isURL.js │ │ ├── isUUID.js │ │ ├── isUppercase.js │ │ ├── isVariableWidth.js │ │ ├── isWhitelisted.js │ │ ├── ltrim.js │ │ ├── matches.js │ │ ├── normalizeEmail.js │ │ ├── rtrim.js │ │ ├── stripLow.js │ │ ├── toBoolean.js │ │ ├── toDate.js │ │ ├── toFloat.js │ │ ├── toInt.js │ │ ├── trim.js │ │ ├── unescape.js │ │ ├── util │ │ │ ├── assertString.js │ │ │ ├── includes.js │ │ │ ├── merge.js │ │ │ ├── multilineRegex.js │ │ │ └── toString.js │ │ └── whitelist.js │ ├── package.json │ ├── validator.js │ └── validator.min.js └── word-wrap │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── package-lock.json └── package.json /node_modules/.bin/acorn: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../acorn/bin/acorn" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../acorn/bin/acorn" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/acorn.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\acorn\bin\acorn" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/.bin/escodegen: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../escodegen/bin/escodegen.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../escodegen/bin/escodegen.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/escodegen.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\escodegen\bin\escodegen.js" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/.bin/esgenerate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../escodegen/bin/esgenerate.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../escodegen/bin/esgenerate.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/esgenerate.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\escodegen\bin\esgenerate.js" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../esprima/bin/esparse.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/esparse.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\esprima\bin\esparse.js" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../esprima/bin/esvalidate.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/esvalidate.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\esprima\bin\esvalidate.js" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/.bin/javascript-obfuscator: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../javascript-obfuscator/bin/javascript-obfuscator" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../javascript-obfuscator/bin/javascript-obfuscator" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/javascript-obfuscator.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\javascript-obfuscator\bin\javascript-obfuscator" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mkdirp/bin/cmd.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/.bin/opencollective: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../@nuxtjs/opencollective/bin/opencollective.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../@nuxtjs/opencollective/bin/opencollective.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/opencollective.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\@nuxtjs\opencollective\bin\opencollective.js" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /node_modules/@nuxtjs/opencollective/bin/opencollective.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../dist/opencollective.cjs') 4 | .init(process.argv.length > 2 ? process.argv[2] : '.') 5 | .then(() => process.exit(0)) 6 | .catch(() => process.exit(1)) 7 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/blacklist.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.blacklist; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/contains.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.contains; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/equals.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.equals; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/escape.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.escape; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isAfter.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isAfter; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isAlpha.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type AlphaLocale = validator.AlphaLocale; 3 | export default validator.isAlpha; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isAlphanumeric.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type AlphanumericLocale = validator.AlphanumericLocale; 3 | export default validator.isAlphanumeric; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isAscii.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isAscii; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isBIC.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isBIC; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isBase32.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isBase32; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isBase64.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isBase64; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isBefore.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isBefore; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isBoolean.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isBoolean; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isBtcAddress.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isBtcAddress; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isByteLength.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsByteLengthOptions = validator.IsByteLengthOptions; 3 | export default validator.isByteLength; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isCreditCard.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isCreditCard; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isCurrency.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsCurrencyOptions = validator.IsCurrencyOptions; 3 | export default validator.isCurrency; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isDataURI.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isDataURI; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isDecimal.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsDecimalOptions = validator.IsDecimalOptions; 3 | export type DecimalLocale = validator.DecimalLocale; 4 | export default validator.isDecimal; 5 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isDivisibleBy.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isDivisibleBy; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isEAN.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isEAN; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isEmail.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsEmailOptions = validator.IsEmailOptions; 3 | export default validator.isEmail; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isEmpty.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsEmptyOptions = validator.IsEmptyOptions; 3 | export default validator.isEmpty; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isEthereumAddress.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isEthereumAddress; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isFQDN.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsFQDNOptions = validator.IsFQDNOptions; 3 | export default validator.isFQDN; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isFloat.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type FloatLocale = validator.FloatLocale; 3 | export type IsFloatOptions = validator.IsFloatOptions; 4 | export default validator.isFloat; 5 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isFullWidth.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isFullWidth; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isHSL.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isHSL; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isHalfWidth.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isHalfWidth; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isHash.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type HashAlgorithm = validator.HashAlgorithm; 3 | export default validator.isHash; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isHexColor.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isHexColor; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isHexadecimal.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isHexadecimal; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isIBAN.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isIBAN; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isIP.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IPVersion = validator.IPVersion; 3 | export default validator.isIP; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isIPRange.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isIPRange; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isISBN.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type ISBNVersion = validator.ISBNVersion; 3 | export default validator.isISBN; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isISIN.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isISIN; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isISO31661Alpha2.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isISO31661Alpha2; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isISO31661Alpha3.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isISO31661Alpha3; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isISO8601.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsISO8601Options = validator.IsISO8601Options; 3 | export default validator.isISO8601; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isISRC.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isISRC; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isISSN.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsISSNOptions = validator.IsISSNOptions; 3 | export default validator.isISSN; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isIdentityCard.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IdentityCardLocale = validator.IdentityCardLocale; 3 | export default validator.isIdentityCard; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isIn.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isIn; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isInt.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsIntOptions = validator.IsIntOptions; 3 | export default validator.isInt; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isJSON.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isJSON; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isJWT.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isJWT; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isLatLong.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isLatLong; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isLength.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsLengthOptions = validator.IsLengthOptions; 3 | export default validator.isLength; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isLocale.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isLocale; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isLowercase.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isLowercase; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isMACAddress.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsMACAddressOptions = validator.IsMACAddressOptions; 3 | export default validator.isMACAddress; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isMD5.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isMD5; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isMagnetURI.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isMagnetURI; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isMimeType.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isMimeType; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isMobilePhone.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type MobilePhoneLocale = validator.MobilePhoneLocale; 3 | export type IsMobilePhoneOptions = validator.IsMobilePhoneOptions; 4 | export default validator.isMobilePhone; 5 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isMongoId.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isMongoId; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isMultibyte.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isMultibyte; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isNumeric.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsNumericOptions = validator.IsNumericOptions; 3 | export default validator.isNumeric; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isOctal.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isOctal; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isPassportNumber.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isPassportNumber; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isPort.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isPort; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isPostalCode.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type PostalCodeLocale = validator.PostalCodeLocale; 3 | export default validator.isPostalCode; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isRFC3339.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isRFC3339; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isRgbColor.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isRgbColor; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isSemVer.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isSemVer; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isSlug.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isSlug; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isSurrogatePair.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isSurrogatePair; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isURL.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type IsURLOptions = validator.IsURLOptions; 3 | export default validator.isURL; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isUUID.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type UUIDVersion = validator.UUIDVersion; 3 | export default validator.isUUID; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isUppercase.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isUppercase; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isVariableWidth.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isVariableWidth; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/isWhitelisted.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.isWhitelisted; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/ltrim.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.ltrim; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/matches.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.matches; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/normalizeEmail.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export type NormalizeEmailOptions = validator.NormalizeEmailOptions; 3 | export default validator.normalizeEmail; 4 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/rtrim.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.rtrim; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/stripLow.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.stripLow; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/toBoolean.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.toBoolean; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/toDate.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.toDate; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/toFloat.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.toFloat; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/toInt.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.toInt; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/trim.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.trim; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/unescape.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.unescape; 3 | -------------------------------------------------------------------------------- /node_modules/@types/validator/lib/whitelist.d.ts: -------------------------------------------------------------------------------- 1 | import validator from '../'; 2 | export default validator.whitelist; 3 | -------------------------------------------------------------------------------- /node_modules/acorn/bin/acorn: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 'use strict'; 3 | 4 | require('../dist/bin.js'); 5 | -------------------------------------------------------------------------------- /node_modules/array-differ/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const arrayDiffer = (array, ...values) => { 4 | const rest = new Set([].concat(...values)); 5 | return array.filter(element => !rest.has(element)); 6 | }; 7 | 8 | module.exports = arrayDiffer; 9 | -------------------------------------------------------------------------------- /node_modules/array-union/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (...arguments_) => { 4 | return [...new Set([].concat(...arguments_))]; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/arrify/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const arrify = value => { 4 | if (value === null || value === undefined) { 5 | return []; 6 | } 7 | 8 | if (Array.isArray(value)) { 9 | return value; 10 | } 11 | 12 | if (typeof value === 'string') { 13 | return [value]; 14 | } 15 | 16 | if (typeof value[Symbol.iterator] === 'function') { 17 | return [...value]; 18 | } 19 | 20 | return [value]; 21 | }; 22 | 23 | module.exports = arrify; 24 | -------------------------------------------------------------------------------- /node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /node_modules/chalk/node_modules/color-name/README.md: -------------------------------------------------------------------------------- 1 | A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors. 2 | 3 | [![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/) 4 | 5 | 6 | ```js 7 | var colors = require('color-name'); 8 | colors.red //[255,0,0] 9 | ``` 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/chalk/node_modules/has-flag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = (flag, argv = process.argv) => { 4 | const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); 5 | const position = argv.indexOf(prefix + flag); 6 | const terminatorPosition = argv.indexOf('--'); 7 | return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/chalk/node_modules/supports-color/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = { 3 | stdout: false, 4 | stderr: false 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/chance/.bowerrc: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "directory": "test/lib" 4 | } -------------------------------------------------------------------------------- /node_modules/chance/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | docs/ 3 | test/ 4 | dist/ -------------------------------------------------------------------------------- /node_modules/chance/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "chance", 3 | "version": "1.1.4", 4 | "main": "chance.js", 5 | "ignore": [ 6 | "node_modules" 7 | ], 8 | "description": "Chance - Utility library to generate anything random", 9 | "homepage": "http://chancejs.com", 10 | "keywords": [ 11 | "chance", 12 | "random", 13 | "generator" 14 | ], 15 | "author": { 16 | "name": "Victor Quinn", 17 | "web": "https://www.victorquinn.com" 18 | }, 19 | "devDependencies": { 20 | "phone_number_js": "~1.0.0" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/chance/docs/CNAME: -------------------------------------------------------------------------------- 1 | chancejs.com 2 | -------------------------------------------------------------------------------- /node_modules/chance/docs/basics/bool.md: -------------------------------------------------------------------------------- 1 | # bool 2 | 3 | ```js 4 | // usages 5 | chance.bool() 6 | chance.bool({ likelihood: 30 }) 7 | ``` 8 | Return a random boolean value (`true` or `false`). 9 | 10 | ```js 11 | chance.bool(); 12 | => true 13 | ``` 14 | 15 | The default likelihood of success (returning `true`) is 50%. 16 | Can optionally specify the likelihood in percent: 17 | 18 | ```js 19 | chance.bool({likelihood: 30}); 20 | => false 21 | ``` 22 | 23 | In this case only a 30% likelihood of `true`, and a 70% likelihood of `false`. 24 | 25 | -------------------------------------------------------------------------------- /node_modules/chance/docs/basics/falsy.md: -------------------------------------------------------------------------------- 1 | # bool 2 | 3 | ```js 4 | // usages 5 | chance.falsy() 6 | chance.falsy({ pool: [ NaN, undefined ] }) 7 | ``` 8 | Return a random falsy value (`false`, `null`, `undefined`, `0`, `NaN`, `''`). 9 | 10 | 11 | ```js 12 | chance.falsy(); 13 | => false 14 | ``` 15 | 16 | The default pool can be change to better meet the needs: 17 | 18 | 19 | ```js 20 | chance.falsy({ pool: [ NaN, undefined ] }); 21 | => NaN 22 | ``` 23 | 24 | 25 | -------------------------------------------------------------------------------- /node_modules/chance/docs/finance/currency.md: -------------------------------------------------------------------------------- 1 | # currency 2 | 3 | ```js 4 | // usage 5 | chance.currency() 6 | ``` 7 | 8 | Generate a random currency. 9 | 10 | ```js 11 | chance.currency(); 12 | => { code: "TVD", name: "Tuvalu Dollar" } 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/finance/currency_pair.md: -------------------------------------------------------------------------------- 1 | # currency_pair 2 | 3 | ```js 4 | // usage 5 | chance.currency_pair() 6 | ``` 7 | 8 | Generate a currency pair. Handy for simulating currency conversions. Guaranteed to return a unique pair (and not the same currency twice). 9 | 10 | ```js 11 | chance.currency_pair(); 12 | => [{ code: "ALL", name: "Albania Lek" }, { code: "ZWD", name: "Zimbabwe Dollar" }] 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/finance/exp.md: -------------------------------------------------------------------------------- 1 | # exp 2 | 3 | ```js 4 | // usage 5 | chance.exp() 6 | chance.exp({raw: true}) 7 | ``` 8 | 9 | Generate a random credit card expiration. 10 | 11 | ```js 12 | chance.exp(); 13 | => '10/2020' 14 | ``` 15 | 16 | Optionally specify that a raw object be returned rather than a string 17 | 18 | ```js 19 | chance.exp({raw: true}); 20 | => {month: '11', year: '2017'} 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/chance/docs/finance/exp_year.md: -------------------------------------------------------------------------------- 1 | # exp_year 2 | 3 | ```js 4 | // usage 5 | chance.exp_year() 6 | ``` 7 | 8 | Generate a random credit card expiration year. 9 | 10 | ```js 11 | chance.exp_year(); 12 | => '2018' 13 | ``` 14 | 15 | Returns a random year between today and 10 years in the future. 16 | -------------------------------------------------------------------------------- /node_modules/chance/docs/helpers/capitalize.md: -------------------------------------------------------------------------------- 1 | # capitalize 2 | 3 | ```js 4 | // usage 5 | chance.capitalize(string) 6 | ``` 7 | 8 | Capitalize the first letter of a word 9 | 10 | ```js 11 | chance.capitalize('bread') 12 | => 'Bread' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/helpers/pick.md: -------------------------------------------------------------------------------- 1 | # pick 2 | 3 | ```js 4 | // usage 5 | chance.pick(array) 6 | chance.pick(array, count) 7 | ``` 8 | 9 | **`pick()` is now deprecated in favor of `pickone()` and `pickset()`** 10 | -------------------------------------------------------------------------------- /node_modules/chance/docs/helpers/pickone.md: -------------------------------------------------------------------------------- 1 | # pickone 2 | 3 | ```js 4 | // usage 5 | chance.pickone(array) 6 | ``` 7 | 8 | Given an array, pick a random element and return it 9 | 10 | ```js 11 | chance.pickone(['alpha', 'bravo', 'charlie', 'delta', 'echo']); 12 | => 'delta' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/helpers/pickset.md: -------------------------------------------------------------------------------- 1 | # pickset 2 | 3 | ```js 4 | // usage 5 | chance.pickset(array, quantity) 6 | ``` 7 | 8 | Given an array, pick some random elements and return them in a new array 9 | 10 | ```js 11 | chance.pickset(['alpha', 'bravo', 'charlie', 'delta', 'echo'], 3); 12 | => ['echo', 'alpha', 'bravo'] 13 | ``` 14 | 15 | Optionally omit the quantity to retrieve a set with length 1 16 | 17 | ```js 18 | chance.pickset(['alpha', 'bravo', 'charlie', 'delta', 'echo']); 19 | => ['delta'] 20 | ``` 21 | -------------------------------------------------------------------------------- /node_modules/chance/docs/helpers/shuffle.md: -------------------------------------------------------------------------------- 1 | # shuffle 2 | 3 | ```js 4 | // usage 5 | chance.shuffle(array) 6 | ``` 7 | 8 | Given an array, scramble the order and return it. 9 | 10 | ```js 11 | chance.shuffle(['alpha', 'bravo', 'charlie', 'delta', 'echo']); 12 | => ['echo', 'delta', 'alpha', 'charlie', 'bravo'] 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/inspector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamedevgarage/gamedevgarage_obfuscator/c73cef35f18ab11eabdece63c7c2787bb708b70b/node_modules/chance/docs/inspector.png -------------------------------------------------------------------------------- /node_modules/chance/docs/location/address.md: -------------------------------------------------------------------------------- 1 | # address 2 | 3 | ```js 4 | // usage 5 | chance.address() 6 | chance.address({short_suffix: true}) 7 | ``` 8 | 9 | Generate a random street address 10 | 11 | ```js 12 | chance.address(); 13 | => '5447 Bazpe Lane' 14 | ``` 15 | 16 | Optionally mandate that it return a short suffix 17 | 18 | ```js 19 | chance.address({short_suffix: true}); 20 | => '536 Baner Rd' 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/areacode.md: -------------------------------------------------------------------------------- 1 | # areacode 2 | 3 | ```js 4 | // usage 5 | chance.areacode() 6 | ``` 7 | 8 | Generate a random area code 9 | 10 | ```js 11 | chance.areacode() 12 | => '(526)' 13 | ``` 14 | 15 | *Note, this is a US area code, we have little support for internationalization 16 | at this time. Hope to fix that in the future!* 17 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/city.md: -------------------------------------------------------------------------------- 1 | # city 2 | 3 | ```js 4 | // usage 5 | chance.city() 6 | ``` 7 | 8 | Generate a random city name 9 | 10 | ```js 11 | chance.city(); 12 | => 'Cowotba' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/coordinates.md: -------------------------------------------------------------------------------- 1 | # coordinates 2 | 3 | ```js 4 | // usage 5 | chance.coordinates() 6 | chance.coordinates({fixed: 2}) 7 | ``` 8 | 9 | Generate random coordinates, which are latitude and longitude, comma separated. 10 | 11 | ```js 12 | chance.coordinates(); 13 | => "-29.52974, 24.52815" 14 | ``` 15 | 16 | By default includes 5 fixed digits after decimal, can specify otherwise. 17 | 18 | ```js 19 | chance.coordinates({fixed: 2}); 20 | => "-49.16, 68.81" 21 | ``` 22 | 23 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/country.md: -------------------------------------------------------------------------------- 1 | # country 2 | 3 | ```js 4 | // usage 5 | chance.country() 6 | chance.country({ full: true }) 7 | ``` 8 | 9 | Return a random country. 10 | 11 | ```js 12 | chance.country(); 13 | => 'LT' 14 | ``` 15 | 16 | By default, returns only the 2 letter ISO 3166-1 code for the country. 17 | 18 | Optionally specify that it ought to return a full country name. 19 | 20 | ```js 21 | chance.country({ full: true }); 22 | => 'Venezuela' 23 | ``` 24 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/geohash.md: -------------------------------------------------------------------------------- 1 | # geohash 2 | 3 | ```js 4 | // usage 5 | chance.geohash() 6 | chance.geohash({ length: 5 }) 7 | ``` 8 | 9 | Generate a random geohash. [More details on what a geohash is](http://en.wikipedia.org/wiki/Geohash). 10 | 11 | ```js 12 | chance.geohash() 13 | => 'h9xhn7y' 14 | ``` 15 | 16 | By default, includes 7 characters of accuracy. Can override with the `length` option. 17 | 18 | ```js 19 | chance.geohash({ length: 5 }) 20 | => 'dr0kr' 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/postal.md: -------------------------------------------------------------------------------- 1 | # postal 2 | 3 | ```js 4 | // usage 5 | chance.postal() 6 | ``` 7 | 8 | Return a Canadian Postal code. Returned postal code is valid with respect to the Postal District (first character) and format only. 9 | 10 | ```js 11 | chance.postal(); 12 | => 'R1S 3F4' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/postcode.md: -------------------------------------------------------------------------------- 1 | # postcode 2 | 3 | ```js 4 | // usage 5 | chance.postcode() 6 | ``` 7 | 8 | Generate a random (U.K.) postcode. Returned postcode is valid with respect to the Postcode Area (first characters) and format only. 9 | 10 | ```js 11 | chance.postcode(); 12 | => 'W6 9PF' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/location/zip.md: -------------------------------------------------------------------------------- 1 | # zip 2 | 3 | ```js 4 | // usage 5 | chance.zip() 6 | chance.zip({plusfour: true}) 7 | ``` 8 | 9 | Generate a random (U.S.) zip code. 10 | 11 | ```js 12 | chance.zip(); 13 | => '90210' 14 | ``` 15 | 16 | Can optionally specify that it ought to return a [Zip+4][zip+4]: 17 | 18 | ```js 19 | chance.zip({plusfour: true}); 20 | => '01035-1838' 21 | ``` 22 | 23 | [zip+4]: http://vq.io/19rzsve 24 | -------------------------------------------------------------------------------- /node_modules/chance/docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamedevgarage/gamedevgarage_obfuscator/c73cef35f18ab11eabdece63c7c2787bb708b70b/node_modules/chance/docs/logo.png -------------------------------------------------------------------------------- /node_modules/chance/docs/miscellaneous/coin.md: -------------------------------------------------------------------------------- 1 | # coin 2 | 3 | ```js 4 | // usage 5 | chance.coin() 6 | ``` 7 | 8 | Flip a coin! 9 | 10 | ```js 11 | chance.coin(); 12 | => 'heads' 13 | 14 | chance.coin(); 15 | => 'tails' 16 | ``` 17 | -------------------------------------------------------------------------------- /node_modules/chance/docs/miscellaneous/guid.md: -------------------------------------------------------------------------------- 1 | # guid 2 | 3 | ```js 4 | // usage 5 | chance.guid() 6 | chance.guid({version: 5}) 7 | ``` 8 | 9 | Return a random guid, version 5 by default. 10 | 11 | ```js 12 | chance.guid(); 13 | => 'f0d8368d-85e2-54fb-73c4-2d60374295e3' 14 | chance.guid({version: 4}); 15 | => 'c71f58e3-34af-43c0-b405-2764d6947d21' 16 | ``` 17 | -------------------------------------------------------------------------------- /node_modules/chance/docs/miscellaneous/tv.md: -------------------------------------------------------------------------------- 1 | # tv 2 | 3 | ```js 4 | // usage 5 | chance.tv() 6 | chance.tv({side: 'west'}) 7 | ``` 8 | 9 | Generate a TV station call sign. This is an alias for `radio()` since they both 10 | follow the same rules. 11 | 12 | ```js 13 | chance.radio(); 14 | => 'WXTY' 15 | ``` 16 | 17 | Optionally specify a side of the Mississippi River to limit stations to that side. 18 | 19 | ```js 20 | chance.radio({side: 'west'}); 21 | => 'KCYL' 22 | 23 | chance.radio({side: 'west'}); 24 | => 'KQDV' 25 | ``` 26 | -------------------------------------------------------------------------------- /node_modules/chance/docs/mobile/android_id.md: -------------------------------------------------------------------------------- 1 | # android_id 2 | 3 | ```js 4 | // usage 5 | chance.android_id() 6 | ``` 7 | 8 | Return a random GCM registration ID. 9 | 10 | ```js 11 | chance.android_id() 12 | => 'APA91HHQyPlWqV2Nu61LRs41eE4vrR4bHLKTs0-Dh5nDLopcWZotLw77NEoJyADNJiq6cwY0jMM02y8aacLs6fe2_ynweFjZJVVevKON-32826v-EFoayyThU3-42YEUY9pCScU_n73yRNSOlTk5W6iPtrDkQ3a6_BvOxRbSYi3E6QEY0ZuIQF0' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/mobile/apple_token.md: -------------------------------------------------------------------------------- 1 | # apple_token 2 | 3 | ```js 4 | // usage 5 | chance.apple_token() 6 | ``` 7 | 8 | Return a random Apple Push Token 9 | 10 | ```js 11 | chance.apple_token() 12 | => 'b50edac575bfba07dd019b28b2af7189a3ddda17c806ef14a9abbfd00533f67e' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/mobile/bb_pin.md: -------------------------------------------------------------------------------- 1 | # bb_pin 2 | 3 | ```js 4 | // usage 5 | chance.bb_pin() 6 | ``` 7 | 8 | Return a random BlackBerry Device PIN 9 | 10 | ```js 11 | chance.bb_pin() 12 | => '985de771' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/mobile/wp7_anid.md: -------------------------------------------------------------------------------- 1 | # wp7_anid 2 | 3 | ```js 4 | // usage 5 | chance.wp7_anid() 6 | ``` 7 | 8 | Return a random Windows Phone 7 ANID 9 | 10 | ```js 11 | chance.wp7_anid() 12 | => 'A=3FC2491A0E0C5AB7824B2F60DCE4DB02&E=4e7&W=6' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/mobile/wp8_anid2.md: -------------------------------------------------------------------------------- 1 | # wp8_anid2 2 | 3 | ```js 4 | // usage 5 | chance.wp8_anid2() 6 | ``` 7 | 8 | Return a random Windows Phone 8 ANID2 9 | 10 | ```js 11 | chance.wp8_anid2() 12 | => 'OGI5ODk0MmNkZGI2OGE3YzAwODE1Y2NiYTc4MzEzZjM=' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/music/tempo.md: -------------------------------------------------------------------------------- 1 | # tempo 2 | 3 | ```js 4 | // usage 5 | chance.tempo(); //default between 40 to 320 6 | chance.tempo({ min: 60, max: 120 }); 7 | ``` 8 | 9 | Return a tempo. 🎵 10 | 11 | ```js 12 | chance.tempo(); 13 | => 58 14 | 15 | chance.tempo(); 16 | => 281 17 | 18 | chance.tempo({ max: 80 }); 19 | => 45 20 | 21 | chance.tempo({ min: 120 }); 22 | => 172 23 | 24 | ``` -------------------------------------------------------------------------------- /node_modules/chance/docs/person/age.md: -------------------------------------------------------------------------------- 1 | # age 2 | 3 | ```js 4 | // usage 5 | chance.age() 6 | chance.age({ type: 'child' }) 7 | ``` 8 | 9 | Generate a random age 10 | 11 | ```js 12 | chance.age(); 13 | => 45 14 | ``` 15 | 16 | Default range is between 1 and 120 17 | 18 | Optionally specify one of a handful of enumerated age types: 19 | 20 | ```js 21 | chance.age({type: 'child'}); 22 | => 9 23 | ``` 24 | 25 | Allowed types are: `child`, `teen`, `adult`, `senior` 26 | -------------------------------------------------------------------------------- /node_modules/chance/docs/person/cpf.md: -------------------------------------------------------------------------------- 1 | # cpf 2 | 3 | ```js 4 | // usage 5 | chance.cpf() 6 | ``` 7 | 8 | Generate a random Brazilian tax id. 9 | 10 | ```js 11 | chance.cpf(); 12 | => '607.116.899-62' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/person/gender.md: -------------------------------------------------------------------------------- 1 | # gender 2 | 3 | ```js 4 | // usage 5 | chance.gender() 6 | ``` 7 | 8 | Generate a random gender 9 | 10 | ```js 11 | Chance.gender(); 12 | => 'Female' 13 | ``` 14 | 15 | Extra genders can be provided using the `extraGenders` key in the optional options argument: 16 | 17 | ```js 18 | Chance.gender({ 19 | extraGenders: ['Agender', 'Genderqueer', 'Trans', 'Pangender'] 20 | }); 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/chance/docs/person/last.md: -------------------------------------------------------------------------------- 1 | # last 2 | 3 | ```js 4 | // usage 5 | chance.last() 6 | chance.last({ nationality: 'en' }) 7 | ``` 8 | 9 | Generate a random last name 10 | 11 | ```js 12 | Chance.last(); 13 | => 'Mago' 14 | ``` 15 | 16 | Optionally specify a nationality to limit first names to those most common of that nationality 17 | 18 | ```js 19 | Chance.last({ nationality: 'it' }); 20 | => 'Giovannini' 21 | ``` 22 | 23 | Note, currently support for nationality is limited to: `'en', 'it', 'nl', 'uk', 'de', 'jp', 'es', 'fr'`. 24 | -------------------------------------------------------------------------------- /node_modules/chance/docs/person/ssn.md: -------------------------------------------------------------------------------- 1 | # ssn 2 | 3 | ```js 4 | // usage 5 | chance.ssn() 6 | chance.ssn({ ssnFour: true }) 7 | chance.ssn({ dashes: false }) 8 | ``` 9 | 10 | Generate a random social security number. 11 | 12 | ```js 13 | chance.ssn(); 14 | => '411-90-0070' 15 | ``` 16 | 17 | Optionally provide option of getting only the last four 18 | 19 | ```js 20 | chance.ssn({ ssnFour: true }); 21 | => '2938' 22 | ``` 23 | 24 | Optionally specify dashes be removed 25 | 26 | ```js 27 | chance.ssn({ dashes: false }); 28 | => '293839295' 29 | ``` 30 | -------------------------------------------------------------------------------- /node_modules/chance/docs/person/suffix.md: -------------------------------------------------------------------------------- 1 | # suffix 2 | 3 | ```js 4 | // usage 5 | chance.suffix() 6 | chance.suffix({ full: true }) 7 | ``` 8 | 9 | Generate a random name suffix 10 | 11 | ```js 12 | chance.suffix(); 13 | => 'Sr.' 14 | ``` 15 | 16 | By default, returns the shorter version. 17 | 18 | Optionally get back the full version. 19 | 20 | ```js 21 | chance.suffix({ full: true }); 22 | => 'Juris Doctor' 23 | ``` 24 | 25 | *To maintain legacy support, this also responds to chance.name_suffix().* 26 | -------------------------------------------------------------------------------- /node_modules/chance/docs/text/syllable.md: -------------------------------------------------------------------------------- 1 | # syllable 2 | 3 | ```js 4 | // usage 5 | chance.syllable() 6 | ``` 7 | 8 | Return a semi-speakable syllable, 2 or 3 letters 9 | 10 | ```js 11 | chance.syllable(); 12 | => 'fop' 13 | ``` 14 | 15 | The syllable is returned in all lower case. 16 | 17 | A syllable generally alternates between vowel and consonant and is used as the 18 | core building block for a word. 19 | -------------------------------------------------------------------------------- /node_modules/chance/docs/thing/animal.md: -------------------------------------------------------------------------------- 1 | # animal 2 | 3 | ```js 4 | // usage 5 | chance.animal() 6 | chance.animal({type: 'zoo'}) 7 | ``` 8 | 9 | Generate a random animal 10 | 11 | ```js 12 | chance.animal(); 13 | => 'Cobra' 14 | ``` 15 | 16 | Default is any type of animal. 17 | 18 | Optionally specify a specific type of animal 19 | 20 | ```js 21 | chance.animal({type: 'zoo'}); 22 | => 'Lion' 23 | ``` 24 | 25 | Allowed types are: `ocean`, `desert`, `grassland`, `forest`, `farm`, `pet`, and `zoo` 26 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/ampm.md: -------------------------------------------------------------------------------- 1 | # ampm 2 | 3 | ```js 4 | // usage 5 | chance.ampm() 6 | ``` 7 | 8 | Return am or pm. Very simple. 9 | 10 | ```js 11 | chance.ampm(); 12 | => 'am' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/hour.md: -------------------------------------------------------------------------------- 1 | # hour 2 | 3 | ```js 4 | // usage 5 | chance.hour() 6 | chance.hour({twentyfour: true}) 7 | ``` 8 | 9 | Generate a random hour 10 | 11 | ```js 12 | chance.hour(); 13 | => 9 14 | ``` 15 | 16 | By default, returns an hour from 1 to 12 for a standard [12-hour clock][12h]. 17 | 18 | Can optionally specify a full twenty-four. 19 | 20 | ```js 21 | chance.hour({twentyfour: true}); 22 | => 21 23 | ``` 24 | 25 | This will return an hour from 1 to 24. 26 | 27 | [12h]: https://en.wikipedia.org/wiki/12-hour_clock 28 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/millisecond.md: -------------------------------------------------------------------------------- 1 | # millisecond 2 | 3 | ```js 4 | // usage 5 | chance.millisecond() 6 | ``` 7 | 8 | Generate a random millisecond 9 | 10 | ```js 11 | chance.millisecond(); 12 | => 729 13 | ``` 14 | 15 | By default, returns a millisecond from 0 to 999. Idea is for generating a clock time. 16 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/minute.md: -------------------------------------------------------------------------------- 1 | # minute 2 | 3 | ```js 4 | // usage 5 | chance.minute() 6 | ``` 7 | 8 | Generate a random minute 9 | 10 | ```js 11 | chance.minute(); 12 | => 35 13 | ``` 14 | 15 | By default, returns a minute from 0 to 59. Idea is for generating a clock time. 16 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/month.md: -------------------------------------------------------------------------------- 1 | # month 2 | 3 | ```js 4 | // usage 5 | chance.month() 6 | ``` 7 | 8 | Generate a random month. 9 | 10 | ```js 11 | chance.month(); 12 | => 'January' 13 | ``` 14 | 15 | By default, returns just the full name. 16 | 17 | Optionally specify raw to get the whole month object consisting of name, 18 | short_name, and numeric. 19 | 20 | ```js 21 | chance.month({raw: true}); 22 | => {name: 'October', short_name: 'Oct', numeric: '10'} 23 | ``` 24 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/second.md: -------------------------------------------------------------------------------- 1 | # second 2 | 3 | ```js 4 | // usage 5 | chance.second() 6 | ``` 7 | 8 | Generate a random second 9 | 10 | ```js 11 | chance.second(); 12 | => 19 13 | ``` 14 | 15 | By default, returns a second from 0 to 59. Idea is for generating a clock time. 16 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/timestamp.md: -------------------------------------------------------------------------------- 1 | # timestamp 2 | 3 | ```js 4 | // usage 5 | chance.timestamp() 6 | ``` 7 | 8 | Generate a random timestamp. This is a standard Unix time, so a random number of 9 | seconds since January 1, 1970. 10 | 11 | ```js 12 | chance.timestamp(); 13 | => 576556683 14 | ``` 15 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/timezone.md: -------------------------------------------------------------------------------- 1 | # timezone 2 | 3 | ```js 4 | // usage 5 | chance.timezone() 6 | ``` 7 | 8 | Return a random timezone 9 | 10 | ```js 11 | chance.timezone(); 12 | => { 13 | "name": "India Standard Time", 14 | "abbr": "IST", 15 | "offset": 5.5, 16 | "isdst": false, 17 | "text": "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi", 18 | "utc": ["Asia/Calcutta"] 19 | } 20 | ``` 21 | -------------------------------------------------------------------------------- /node_modules/chance/docs/time/weekday.md: -------------------------------------------------------------------------------- 1 | # weekday 2 | 3 | ```js 4 | // usage 5 | chance.weekday() 6 | chance.weekday({weekday_only: true}) 7 | ``` 8 | 9 | Return a weekday 10 | 11 | ```js 12 | chance.weekday(); 13 | => 'Tuesday' 14 | ``` 15 | 16 | By default, weekday_only is false. If set to true it will never return Saturday or Sunday. 17 | -------------------------------------------------------------------------------- /node_modules/chance/docs/usage/bower.md: -------------------------------------------------------------------------------- 1 | # bower 2 | 3 | Chance can be easily installed with [Bower](https://bower.io) 4 | 5 | ```bash 6 | bower install chance 7 | ``` 8 | 9 | then in the HTML of your app: 10 | 11 | ```html 12 | 13 | 14 | 18 | ``` 19 | 20 | -------------------------------------------------------------------------------- /node_modules/chance/docs/usage/cli.md: -------------------------------------------------------------------------------- 1 | # cli 2 | 3 | To use Chance from the command line, install `chance-cli` globally with: 4 | 5 | ```bash 6 | npm install -g chance-cli 7 | ``` 8 | 9 | Then invoke any generator by name followed by options, like so: 10 | 11 | ```bash 12 | $ chance name --prefix true 13 | Dr. Georgia Sanchez 14 | 15 | $ chance latitude --min 12.34 --max 56.78 16 | 22.01836 17 | ``` 18 | 19 | More details in the [chance-cli README](https://github.com/chancejs/chance-cli) 20 | -------------------------------------------------------------------------------- /node_modules/chance/docs/usage/requirejs.md: -------------------------------------------------------------------------------- 1 | # requirejs 2 | 3 | Load Chance with RequireJS 4 | 5 | ```js 6 | require(['Chance'], function(Chance) { 7 | // Instantiate 8 | var chance = new Chance(); 9 | 10 | // Then use it: 11 | var my_random_integer = chance.integer(); 12 | }); 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/company.md: -------------------------------------------------------------------------------- 1 | # company 2 | 3 | ```js 4 | // usage 5 | chance.company() 6 | ``` 7 | 8 | Return a random company name. 9 | 10 | ```js 11 | chance.company() 12 | => 'Caremark Rx Inc' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/domain.md: -------------------------------------------------------------------------------- 1 | # domain 2 | 3 | ```js 4 | // usage 5 | chance.domain() 6 | chance.domain({tld: 'com'}) 7 | ``` 8 | 9 | Return a random domain with a random [tld](#tld). 10 | 11 | ```js 12 | chance.domain() 13 | => 'onaro.net' 14 | ``` 15 | 16 | Optionally specify a tld and the domain will be random but the tld will not. 17 | 18 | ```js 19 | chance.domain({tld: 'ie'}) 20 | => 'gotaujo.ie' 21 | ``` 22 | 23 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/email.md: -------------------------------------------------------------------------------- 1 | # email 2 | 3 | ```js 4 | // usage 5 | chance.email() 6 | chance.email({domain: "example.com"}) 7 | ``` 8 | 9 | Return a random email with a random domain. 10 | 11 | ```js 12 | chance.email() 13 | => 'kawip@piklojzob.gov' 14 | ``` 15 | 16 | Optionally specify a domain and the email will be random but the domain will not. 17 | 18 | ```js 19 | chance.email({domain: 'example.com'}) 20 | => 'giigjom@example.com' 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/fbid.md: -------------------------------------------------------------------------------- 1 | # fbid 2 | 3 | ```js 4 | // usage 5 | chance.fbid() 6 | ``` 7 | 8 | Return a random Facebook id, aka fbid. 9 | 10 | ```js 11 | chance.fbid() 12 | => "1000039460258605" 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/google_analytics.md: -------------------------------------------------------------------------------- 1 | # google_analytics 2 | 3 | ```js 4 | // usage 5 | chance.google_analytics() 6 | ``` 7 | 8 | Return a random [Google Analytics](https://support.google.com/analytics/answer/1032385?hl=en) tracking code. Takes the form `'UA-123456-01'` 9 | 10 | ```js 11 | chance.google_analytics() 12 | => 'UA-384555-17' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/hashtag.md: -------------------------------------------------------------------------------- 1 | # hashtag 2 | 3 | ```js 4 | // usage 5 | chance.hashtag() 6 | ``` 7 | 8 | Return a random hashtag. This is a string of the form '#thisisahashtag'. 9 | 10 | ```js 11 | chance.hashtag() 12 | => '#dichumwa' 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/ip.md: -------------------------------------------------------------------------------- 1 | # ip 2 | 3 | ```js 4 | // usage 5 | chance.ip() 6 | ``` 7 | 8 | Return a random IP Address. 9 | 10 | ```js 11 | chance.ip() 12 | => '153.208.102.234' 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/ipv6.md: -------------------------------------------------------------------------------- 1 | # ipv6 2 | 3 | ```js 4 | // usage 5 | chance.ipv6() 6 | ``` 7 | 8 | Return a random IPv6 Address. 9 | 10 | ```js 11 | chance.ipv6() 12 | => 'db2f:6123:f99e:00f7:a76e:7f68:9f91:bb08' 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/klout.md: -------------------------------------------------------------------------------- 1 | # klout 2 | 3 | ```js 4 | // usage 5 | chance.klout() 6 | ``` 7 | 8 | Return a random [Klout](http://klout.com) score. Range 1-99. 9 | 10 | ```js 11 | chance.klout() 12 | => 21 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/profession.md: -------------------------------------------------------------------------------- 1 | # profession 2 | 3 | ```js 4 | // usage 5 | chance.profession() 6 | chance.profession({rank: true}) 7 | ``` 8 | 9 | Return a random profession. Rank is false by default. 10 | 11 | ```js 12 | chance.profession() 13 | => 'Software Test Engineer' 14 | ``` 15 | 16 | Optionally set rank as true get rank with profession. 17 | 18 | ```js 19 | chance.profession({rank: true}) 20 | => 'Junior Supply Chain Director' 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/tld.md: -------------------------------------------------------------------------------- 1 | # tld 2 | 3 | ```js 4 | // usage 5 | chance.tld() 6 | ``` 7 | 8 | Return a random tld ([Top Level Domain][tld]) from the set: 9 | 10 | ```js 11 | ['com', 'org', 'edu', 'gov', 'uk', 'net', 'io'] 12 | ``` 13 | 14 | Note, these do not start with a period. 15 | 16 | [tld]: https://en.wikipedia.org/wiki/Top-level_domain 17 | -------------------------------------------------------------------------------- /node_modules/chance/docs/web/twitter.md: -------------------------------------------------------------------------------- 1 | # twitter 2 | 3 | ```js 4 | // usage 5 | chance.twitter() 6 | ``` 7 | 8 | Return a random twitter handle. 9 | 10 | ```js 11 | chance.twitter() 12 | => "@guspejani" 13 | ``` 14 | -------------------------------------------------------------------------------- /node_modules/chance/packages/bool/.nyc_output/bc3871a34aef356624c48d3ef66af1dc.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/bool/.nyc_output/d901df96e632f1e0c8bdb811e6cceb1f.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/bool/lib/main.d.ts: -------------------------------------------------------------------------------- 1 | export interface IBoolOptions { 2 | likelihood: number; 3 | } 4 | /** 5 | * Return a random bool, either true or false 6 | * 7 | * @param {Object} [options={ likelihood: 50 }] alter the likelihood of 8 | * receiving a true or false value back. 9 | * @throws {RangeError} if the likelihood is out of bounds 10 | * @returns {Bool} either true or false 11 | */ 12 | export declare function bool(options?: IBoolOptions): boolean; 13 | //# sourceMappingURL=main.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/bool/lib/main.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IACzB,UAAU,EAAE,MAAM,CAAA;CACrB;AAID;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAapD"} -------------------------------------------------------------------------------- /node_modules/chance/packages/bool/lib/main.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,yCAAqC;AAMrC,MAAM,MAAM,GAAG,IAAI,WAAI,EAAE,CAAA;AAEzB;;;;;;;GAOG;AACH,SAAgB,IAAI,CAAC,OAAsB;IACvC,IAAI,UAAkB,CAAA;IACtB,IAAI,OAAO,KAAK,SAAS,EAAE;QACvB,UAAU,GAAG,EAAE,CAAA;KAClB;SAAM;QACH,UAAU,GAAG,OAAO,CAAC,UAAU,CAAA;KAClC;IAED,IAAI,UAAU,GAAG,CAAC,IAAI,UAAU,GAAG,GAAG,EAAE;QAC3C,MAAM,IAAI,UAAU,CAAC,kDAAkD,CAAC,CAAA;KACpE;IAED,OAAO,MAAM,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG,UAAU,CAAA;AAC7C,CAAC;AAbD,oBAaC"} -------------------------------------------------------------------------------- /node_modules/chance/packages/bool/lib/main.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=main.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/bool/lib/main.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/.nyc_output/612281ce39457a4d859957addfaa6485.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/.nyc_output/9a4aafb16bc962ef25a63e45c839ba3d.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/lib/main.d.ts: -------------------------------------------------------------------------------- 1 | import { bool } from '@chancejs/bool'; 2 | import { integer } from '@chancejs/integer'; 3 | export { bool, integer, }; 4 | //# sourceMappingURL=main.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/lib/main.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAE3C,OAAO,EACL,IAAI,EACJ,OAAO,GACR,CAAA"} -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/lib/main.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const bool_1 = require("@chancejs/bool"); 4 | exports.bool = bool_1.bool; 5 | const integer_1 = require("@chancejs/integer"); 6 | exports.integer = integer_1.integer; 7 | //# sourceMappingURL=main.js.map -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/lib/main.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,yCAAqC;AAInC,eAJO,WAAI,CAIP;AAHN,+CAA2C;AAIzC,kBAJO,iBAAO,CAIP"} -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/lib/main.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=main.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/lib/main.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/chance/packages/chance/lib/main.test.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.js","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":";;;;;AAAA,iCAAsC;AACtC,8CAAsB;AAEtB,aAAI,CAAC,iCAAiC,EAAE,CAAC,CAAC,EAAE,EAAE;IAC5C,CAAC,CAAC,EAAE,CAAC,OAAO,WAAI,EAAE,EAAE,SAAS,CAAC,CAAA;AAChC,CAAC,CAAC,CAAA;AAEF,aAAI,CAAC,uCAAuC,EAAE,CAAC,CAAC,EAAE,EAAE;IAClD,CAAC,CAAC,EAAE,CAAC,OAAO,cAAO,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC,CAAC,CAAA"} -------------------------------------------------------------------------------- /node_modules/chance/packages/core/.nyc_output/e220b8717fe6dba7c23f6f9cf60e9ae6.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/core/.nyc_output/efd4d39ddafd9e80d05bd6ee9e9a7bac.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/core/lib/main.d.ts: -------------------------------------------------------------------------------- 1 | export interface IBoolOptions { 2 | likelihood: number; 3 | } 4 | export declare class Core { 5 | random: () => number; 6 | constructor(); 7 | } 8 | //# sourceMappingURL=main.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/core/lib/main.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IACzB,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,qBAAa,IAAI;IACN,MAAM,EAAE,MAAM,MAAM,CAAA;;CAM9B"} -------------------------------------------------------------------------------- /node_modules/chance/packages/core/lib/main.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | const mersenne_twister_1 = require("@chancejs/mersenne-twister"); 4 | class Core { 5 | constructor() { 6 | const mt = new mersenne_twister_1.MersenneTwister(new Date().getTime()); 7 | this.random = mt.random; 8 | } 9 | } 10 | exports.Core = Core; 11 | //# sourceMappingURL=main.js.map -------------------------------------------------------------------------------- /node_modules/chance/packages/core/lib/main.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,iEAA4D;AAM5D,MAAa,IAAI;IAGb;QACI,MAAM,EAAE,GAAG,IAAI,kCAAe,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC,CAAA;QACpD,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,MAAM,CAAA;IAC3B,CAAC;CACJ;AAPD,oBAOC"} -------------------------------------------------------------------------------- /node_modules/chance/packages/core/lib/main.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=main.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/core/lib/main.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/.nyc_output/3bcac37cf007533b38adab8622ec8763.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/.nyc_output/c7dff68da26cf0ef164218db556b5128.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/README.md: -------------------------------------------------------------------------------- 1 | # Core 2 | 3 | This is the core of Chance, the base generators on which much of it is built 4 | 5 | Note: This is a WIP proof of concept. DO NOT USE YET. I will remove this once it's ready for prime time :) -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/lib/main.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAiC3D"} -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/lib/main.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=main.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/lib/main.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.settings.json", 3 | "compilerOptions": { 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "references": [ 8 | { "path": "../mersenne-twister" } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/chance/packages/floating/tslint.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | extends: 3 | - tslint:recommended 4 | - tslint-config-prettier 5 | - tslint-immutable 6 | linterOptions: 7 | exclude: 8 | - node_modules/**/*.ts 9 | - packages/**/node_modules/**/* 10 | - packages/**/lib/** 11 | rules: 12 | trailing-comma: true 13 | semicolon: 14 | - true 15 | - never 16 | no-console: true 17 | variable-name: 18 | - true 19 | - check-format 20 | - allow-snake-case 21 | 22 | -------------------------------------------------------------------------------- /node_modules/chance/packages/integer/.nyc_output/a6372e6e81564a648acd50fcab9b5086.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/integer/.nyc_output/c34a4efc898f36c4f19dcef8d1455cc2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/integer/lib/main.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAOD;;;;;;;;;;GAUG;AACH,wBAAgB,OAAO,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,MAAM,CAczD"} -------------------------------------------------------------------------------- /node_modules/chance/packages/integer/lib/main.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=main.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/integer/lib/main.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/chance/packages/mersenne-twister/.nyc_output/1a6fecaad08cd73346296e047ea923c0.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/mersenne-twister/.nyc_output/b624df11c55511b0746797aed24c58de.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /node_modules/chance/packages/mersenne-twister/lib/main.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AA+CA,qBAAa,eAAe;IACxB,OAAO,CAAC,CAAC,CAAQ;IAEjB,OAAO,CAAC,CAAC,CAAQ;IAEjB,OAAO,CAAC,QAAQ,CAAQ;IAExB,OAAO,CAAC,UAAU,CAAQ;IAE1B,OAAO,CAAC,UAAU,CAAQ;IAE1B,OAAO,CAAC,EAAE,CAAO;IAEjB,OAAO,CAAC,GAAG,CAAQ;gBAEP,IAAI,EAAE,MAAM;IAmBjB,aAAa,IAAI,MAAM;IAqCvB,aAAa,eAA6C;IAG1D,aAAa,eAA4D;IAKzE,MAAM,eAA4D;IAKlE,aAAa,eAAoE;IAKjF,aAAa,eAInB;IAGD,OAAO,CAAC,YAAY,CAYnB;IAMD,OAAO,CAAC,aAAa,CA0BpB;CACJ"} -------------------------------------------------------------------------------- /node_modules/chance/packages/mersenne-twister/lib/main.test.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=main.test.d.ts.map -------------------------------------------------------------------------------- /node_modules/chance/packages/mersenne-twister/lib/main.test.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /node_modules/chance/packages/mersenne-twister/lib/main.test.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"main.test.js","sourceRoot":"","sources":["../src/main.test.ts"],"names":[],"mappings":";;;;;AAAA,iCAAwC;AACxC,8CAAsB;AAEtB,aAAI,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE;IACjB,MAAM,OAAO,GAAG,IAAI,sBAAe,CAAC,EAAE,CAAC,CAAA;IACvC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAA;IAC/B,CAAC,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAClB,CAAC,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IACpB,0BAA0B;AAC1B,CAAC,CAAC,CAAA"} -------------------------------------------------------------------------------- /node_modules/chance/test/test.company.js: -------------------------------------------------------------------------------- 1 | import test from 'ava' 2 | import Chance from '../chance.js' 3 | import _ from 'lodash' 4 | 5 | const chance = new Chance() 6 | 7 | test('cnpj() returns a random valid taxpayer number for Brazil companies (CNPJ)', t => { 8 | _.times(1000, () => { 9 | let cnpj = chance.cnpj() 10 | t.true(_.isString(cnpj)) 11 | t.true(/^\d{2}.\d{3}.\d{3}\/\d{4}-\d{2}$/m.test(cnpj)) 12 | t.is(cnpj.length, 18) 13 | }) 14 | }) 15 | 16 | -------------------------------------------------------------------------------- /node_modules/charenc/README.js: -------------------------------------------------------------------------------- 1 | **enc** provides crypto character encoding utilities. 2 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm2015/decorator/ValidationOptions.js: -------------------------------------------------------------------------------- 1 | export function isValidationOptions(val) { 2 | if (!val) { 3 | return false; 4 | } 5 | return "each" in val 6 | || "message" in val 7 | || "groups" in val 8 | || "always" in val 9 | || "context" in val; 10 | } 11 | 12 | //# sourceMappingURL=ValidationOptions.js.map 13 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm2015/metadata/ValidationMetadataArgs.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidationMetadataArgs.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm2015/validation-schema/ValidationSchema.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidationSchema.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm2015/validation/ValidationArguments.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidationArguments.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm2015/validation/ValidatorConstraintInterface.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidatorConstraintInterface.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm2015/validation/ValidatorOptions.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidatorOptions.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm5/decorator/ValidationOptions.js: -------------------------------------------------------------------------------- 1 | export function isValidationOptions(val) { 2 | if (!val) { 3 | return false; 4 | } 5 | return "each" in val 6 | || "message" in val 7 | || "groups" in val 8 | || "always" in val 9 | || "context" in val; 10 | } 11 | 12 | //# sourceMappingURL=ValidationOptions.js.map 13 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm5/metadata/ValidationMetadataArgs.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidationMetadataArgs.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm5/validation-schema/ValidationSchema.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidationSchema.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm5/validation/ValidationArguments.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidationArguments.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm5/validation/ValidatorConstraintInterface.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidatorConstraintInterface.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/esm5/validation/ValidatorOptions.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //# sourceMappingURL=ValidatorOptions.js.map 4 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/Allow.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | /** 3 | * If object has both allowed and not allowed properties a validation error will be thrown. 4 | */ 5 | export declare function Allow(validationOptions?: ValidationOptions): PropertyDecorator; 6 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/Equals.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const EQUALS = "equals"; 3 | /** 4 | * Checks if value matches ("===") the comparison. 5 | */ 6 | export declare function equals(value: unknown, comparison: unknown): boolean; 7 | /** 8 | * Checks if value matches ("===") the comparison. 9 | */ 10 | export declare function Equals(comparison: any, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsDefined.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_DEFINED: string; 3 | /** 4 | * Checks if value is defined (!== undefined, !== null). 5 | */ 6 | export declare function isDefined(value: any): boolean; 7 | /** 8 | * Checks if value is defined (!== undefined, !== null). 9 | */ 10 | export declare function IsDefined(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsEmpty.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_EMPTY = "isEmpty"; 3 | /** 4 | * Checks if given value is empty (=== '', === null, === undefined). 5 | */ 6 | export declare function isEmpty(value: unknown): boolean; 7 | /** 8 | * Checks if given value is empty (=== '', === null, === undefined). 9 | */ 10 | export declare function IsEmpty(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsIn.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_IN = "isIn"; 3 | /** 4 | * Checks if given value is in a array of allowed values. 5 | */ 6 | export declare function isIn(value: unknown, possibleValues: unknown[]): boolean; 7 | /** 8 | * Checks if given value is in a array of allowed values. 9 | */ 10 | export declare function IsIn(values: any[], validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsLatLong.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_LATLONG = "isLatLong"; 3 | /** 4 | * Checks if a value is string in format a "latitude,longitude". 5 | */ 6 | export declare function isLatLong(value: string): boolean; 7 | /** 8 | * Checks if a value is string in format a "latitude,longitude". 9 | */ 10 | export declare function IsLatLong(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsLatitude.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_LATITUDE = "isLatitude"; 3 | /** 4 | * Checks if a given value is a latitude. 5 | */ 6 | export declare function isLatitude(value: string): boolean; 7 | /** 8 | * Checks if a given value is a latitude. 9 | */ 10 | export declare function IsLatitude(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsLongitude.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_LONGITUDE = "isLongitude"; 3 | /** 4 | * Checks if a given value is a longitude. 5 | */ 6 | export declare function isLongitude(value: string): boolean; 7 | /** 8 | * Checks if a given value is a longitude. 9 | */ 10 | export declare function IsLongitude(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsNotEmpty.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_NOT_EMPTY = "isNotEmpty"; 3 | /** 4 | * Checks if given value is not empty (!== '', !== null, !== undefined). 5 | */ 6 | export declare function isNotEmpty(value: unknown): boolean; 7 | /** 8 | * Checks if given value is not empty (!== '', !== null, !== undefined). 9 | */ 10 | export declare function IsNotEmpty(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsNotIn.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_NOT_IN = "isNotIn"; 3 | /** 4 | * Checks if given value not in a array of allowed values. 5 | */ 6 | export declare function isNotIn(value: unknown, possibleValues: unknown[]): boolean; 7 | /** 8 | * Checks if given value not in a array of allowed values. 9 | */ 10 | export declare function IsNotIn(values: any[], validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/IsOptional.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | /** 3 | * Checks if value is missing and if so, ignores all validators. 4 | */ 5 | export declare function IsOptional(validationOptions?: ValidationOptions): PropertyDecorator; 6 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/NotEquals.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const NOT_EQUALS = "notEquals"; 3 | /** 4 | * Checks if value does not match ("!==") the comparison. 5 | */ 6 | export declare function notEquals(value: unknown, comparison: unknown): boolean; 7 | /** 8 | * Checks if value does not match ("!==") the comparison. 9 | */ 10 | export declare function NotEquals(comparison: any, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/ValidateIf.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | /** 3 | * Objects / object arrays marked with this decorator will also be validated. 4 | */ 5 | export declare function ValidateIf(condition: (object: any, value: any) => boolean, validationOptions?: ValidationOptions): PropertyDecorator; 6 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/ValidateNested.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | /** 3 | * Objects / object arrays marked with this decorator will also be validated. 4 | */ 5 | export declare function ValidateNested(validationOptions?: ValidationOptions): PropertyDecorator; 6 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/common/ValidatePromise.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | /** 3 | * Resolve promise before validation 4 | */ 5 | export declare function ValidatePromise(validationOptions?: ValidationOptions): PropertyDecorator; 6 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/date/MaxDate.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const MAX_DATE = "maxDate"; 3 | /** 4 | * Checks if the value is a date that's before the specified date. 5 | */ 6 | export declare function maxDate(date: unknown, maxDate: Date): boolean; 7 | /** 8 | * Checks if the value is a date that's after the specified date. 9 | */ 10 | export declare function MaxDate(date: Date, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/date/MinDate.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const MIN_DATE = "minDate"; 3 | /** 4 | * Checks if the value is a date that's after the specified date. 5 | */ 6 | export declare function minDate(date: unknown, minDate: Date): boolean; 7 | /** 8 | * Checks if the value is a date that's after the specified date. 9 | */ 10 | export declare function MinDate(date: Date, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/number/IsDivisibleBy.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_DIVISIBLE_BY = "isDivisibleBy"; 3 | /** 4 | * Checks if value is a number that's divisible by another. 5 | */ 6 | export declare function isDivisibleBy(value: unknown, num: number): boolean; 7 | /** 8 | * Checks if value is a number that's divisible by another. 9 | */ 10 | export declare function IsDivisibleBy(num: number, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/number/IsNegative.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_NEGATIVE = "isNegative"; 3 | /** 4 | * Checks if the value is a negative number smaller than zero. 5 | */ 6 | export declare function isNegative(value: unknown): boolean; 7 | /** 8 | * Checks if the value is a negative number smaller than zero. 9 | */ 10 | export declare function IsNegative(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/number/IsPositive.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_POSITIVE = "isPositive"; 3 | /** 4 | * Checks if the value is a positive number greater than zero. 5 | */ 6 | export declare function isPositive(value: unknown): boolean; 7 | /** 8 | * Checks if the value is a positive number greater than zero. 9 | */ 10 | export declare function IsPositive(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/number/Max.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const MAX = "max"; 3 | /** 4 | * Checks if the first number is less than or equal to the second. 5 | */ 6 | export declare function max(num: unknown, max: number): boolean; 7 | /** 8 | * Checks if the first number is less than or equal to the second. 9 | */ 10 | export declare function Max(maxValue: number, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/number/Min.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const MIN = "min"; 3 | /** 4 | * Checks if the first number is greater than or equal to the second. 5 | */ 6 | export declare function min(num: unknown, min: number): boolean; 7 | /** 8 | * Checks if the first number is greater than or equal to the second. 9 | */ 10 | export declare function Min(minValue: number, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/string/IsDateString.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_DATE_STRING = "isDateString"; 3 | /** 4 | * Checks if a given value is a ISOString date. 5 | */ 6 | export declare function isDateString(value: unknown): boolean; 7 | /** 8 | * Checks if a given value is a ISOString date. 9 | */ 10 | export declare function IsDateString(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/string/IsISRC.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_ISRC = "isISRC"; 3 | /** 4 | * Check if the string is a ISRC. 5 | * If given value is not a string, then it returns false. 6 | */ 7 | export declare function isISRC(value: unknown): boolean; 8 | /** 9 | * Check if the string is a ISRC. 10 | * If given value is not a string, then it returns false. 11 | */ 12 | export declare function IsISRC(validationOptions?: ValidationOptions): PropertyDecorator; 13 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/string/IsPort.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_PORT = "isPort"; 3 | /** 4 | * Check if the string is a valid port number. 5 | */ 6 | export declare function isPort(value: unknown): boolean; 7 | /** 8 | * Check if the string is a valid port number. 9 | */ 10 | export declare function IsPort(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/typechecker/IsArray.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_ARRAY = "isArray"; 3 | /** 4 | * Checks if a given value is an array 5 | */ 6 | export declare function isArray(value: unknown): boolean; 7 | /** 8 | * Checks if a given value is an array 9 | */ 10 | export declare function IsArray(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/typechecker/IsBoolean.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_BOOLEAN = "isBoolean"; 3 | /** 4 | * Checks if a given value is a number. 5 | */ 6 | export declare function isBoolean(value: unknown): boolean; 7 | /** 8 | * Checks if a value is a number. 9 | */ 10 | export declare function IsBoolean(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/typechecker/IsDate.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_DATE = "isDate"; 3 | /** 4 | * Checks if a given value is a number. 5 | */ 6 | export declare function isDate(value: unknown): boolean; 7 | /** 8 | * Checks if a value is a number. 9 | */ 10 | export declare function IsDate(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/typechecker/IsEnum.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_ENUM = "isEnum"; 3 | /** 4 | * Checks if a given value is an enum 5 | */ 6 | export declare function isEnum(value: unknown, entity: any): boolean; 7 | /** 8 | * Checks if a given value is an enum 9 | */ 10 | export declare function IsEnum(entity: Object, validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/typechecker/IsInt.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_INT = "isInt"; 3 | /** 4 | * Checks if value is an integer. 5 | */ 6 | export declare function isInt(val: unknown): boolean; 7 | /** 8 | * Checks if value is an integer. 9 | */ 10 | export declare function IsInt(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/decorator/typechecker/IsString.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationOptions } from "../ValidationOptions"; 2 | export declare const IS_STRING = "isString"; 3 | /** 4 | * Checks if a given value is a real string. 5 | */ 6 | export declare function isString(value: unknown): value is string; 7 | /** 8 | * Checks if a given value is a real string. 9 | */ 10 | export declare function IsString(validationOptions?: ValidationOptions): PropertyDecorator; 11 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare function isPromise(p: any): p is Promise; 2 | /** 3 | * Convert Map, Set to Array 4 | */ 5 | export declare function convertToArray(val: Array | Set | Map): Array; 6 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/validation-schema/ValidationSchemaToMetadataTransformer.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationSchema } from "./ValidationSchema"; 2 | import { ValidationMetadata } from "../metadata/ValidationMetadata"; 3 | /** 4 | * Used to transform validation schemas to validation metadatas. 5 | */ 6 | export declare class ValidationSchemaToMetadataTransformer { 7 | transform(schema: ValidationSchema): ValidationMetadata[]; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/validation/ValidationTypes.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Validation types. 3 | */ 4 | export declare class ValidationTypes { 5 | static CUSTOM_VALIDATION: string; 6 | static NESTED_VALIDATION: string; 7 | static PROMISE_VALIDATION: string; 8 | static CONDITIONAL_VALIDATION: string; 9 | static WHITELIST: string; 10 | static IS_DEFINED: string; 11 | /** 12 | * Checks if validation type is valid. 13 | */ 14 | static isValid(type: string): boolean; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/class-validator/types/validation/ValidationUtils.d.ts: -------------------------------------------------------------------------------- 1 | import { ValidationArguments } from "./ValidationArguments"; 2 | export declare class ValidationUtils { 3 | static replaceMessageSpecialTokens(message: string | ((args: ValidationArguments) => string), validationArguments: ValidationArguments): string; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/color-name/README.md: -------------------------------------------------------------------------------- 1 | A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors. 2 | 3 | [![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/) 4 | 5 | 6 | ```js 7 | var colors = require('color-name'); 8 | colors.red //[255,0,0] 9 | ``` 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/color-name/test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var names = require('./'); 4 | var assert = require('assert'); 5 | 6 | assert.deepEqual(names.red, [255,0,0]); 7 | assert.deepEqual(names.aliceblue, [240,248,255]); 8 | -------------------------------------------------------------------------------- /node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/consola/src/index.js: -------------------------------------------------------------------------------- 1 | export { default as Consola } from './consola' 2 | export { default as Types } from './types' 3 | export { LogLevel } from './logLevels' 4 | export { isLogObj } from './utils' 5 | export { assignGlobalConsola } from './utils/global' 6 | 7 | export * from './reporters' 8 | -------------------------------------------------------------------------------- /node_modules/consola/src/logLevels.js: -------------------------------------------------------------------------------- 1 | export const LogLevel = {} 2 | LogLevel[LogLevel.Fatal = 0] = 'Fatal' 3 | LogLevel[LogLevel.Error = 0] = 'Error' 4 | LogLevel[LogLevel.Warn = 1] = 'Warn' 5 | LogLevel[LogLevel.Log = 2] = 'Log' 6 | LogLevel[LogLevel.Info = 3] = 'Info' 7 | LogLevel[LogLevel.Success = 3] = 'Success' 8 | LogLevel[LogLevel.Debug = 4] = 'Debug' 9 | LogLevel[LogLevel.Trace = 5] = 'Trace' 10 | LogLevel[LogLevel.Silent = Infinity] = 'Silent' 11 | -------------------------------------------------------------------------------- /node_modules/consola/src/reporters/index.js: -------------------------------------------------------------------------------- 1 | export { default as BasicReporter } from './basic' 2 | export { default as BrowserReporter } from './browser' 3 | export { default as FancyReporter } from './fancy' 4 | export { default as JSONReporter } from './json' 5 | export { default as WinstonReporter } from './winston' 6 | -------------------------------------------------------------------------------- /node_modules/consola/src/reporters/json.js: -------------------------------------------------------------------------------- 1 | export default class JSONReporter { 2 | constructor ({ stream } = {}) { 3 | this.stream = stream || process.stdout 4 | } 5 | 6 | log (logObj) { 7 | this.stream.write(JSON.stringify(logObj) + '\n') 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/consola/src/utils/date.js: -------------------------------------------------------------------------------- 1 | import dayjs from 'dayjs' 2 | 3 | export function formatDate (timeFormat, date) { 4 | return dayjs(date).format(timeFormat) 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/consola/src/utils/error.js: -------------------------------------------------------------------------------- 1 | import { sep } from 'path' 2 | 3 | export function parseStack (stack) { 4 | const cwd = process.cwd() + sep 5 | 6 | const lines = stack 7 | .split('\n') 8 | .splice(1) 9 | .map(l => l 10 | .trim() 11 | .replace('file://', '') 12 | .replace(cwd, '') 13 | ) 14 | 15 | return lines 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/consola/src/utils/fancy.js: -------------------------------------------------------------------------------- 1 | export const TYPE_COLOR_MAP = { 2 | info: 'cyan' 3 | } 4 | 5 | export const LEVEL_COLOR_MAP = { 6 | 0: 'red', 7 | 1: 'yellow', 8 | 2: 'white', 9 | 3: 'green' 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/crypt/README.mkd: -------------------------------------------------------------------------------- 1 | **crypt** provides utilities for encryption and hashing 2 | -------------------------------------------------------------------------------- /node_modules/deep-is/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/deep-is/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | - 0.8 6 | - 0.10 7 | -------------------------------------------------------------------------------- /node_modules/deep-is/example/cmp.js: -------------------------------------------------------------------------------- 1 | var equal = require('../'); 2 | console.dir([ 3 | equal( 4 | { a : [ 2, 3 ], b : [ 4 ] }, 5 | { a : [ 2, 3 ], b : [ 4 ] } 6 | ), 7 | equal( 8 | { x : 5, y : [6] }, 9 | { x : 5, y : 6 } 10 | ) 11 | ]); 12 | -------------------------------------------------------------------------------- /node_modules/deep-is/test/NaN.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var equal = require('../'); 3 | 4 | test('NaN and 0 values', function (t) { 5 | t.ok(equal(NaN, NaN)); 6 | t.notOk(equal(0, NaN)); 7 | t.ok(equal(0, 0)); 8 | t.notOk(equal(0, 1)); 9 | t.end(); 10 | }); 11 | 12 | 13 | test('nested NaN values', function (t) { 14 | t.ok(equal([ NaN, 1, NaN ], [ NaN, 1, NaN ])); 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/deep-is/test/neg-vs-pos-0.js: -------------------------------------------------------------------------------- 1 | var test = require('tape'); 2 | var equal = require('../'); 3 | 4 | test('0 values', function (t) { 5 | t.ok(equal( 0, 0), ' 0 === 0'); 6 | t.ok(equal( 0, +0), ' 0 === +0'); 7 | t.ok(equal(+0, +0), '+0 === +0'); 8 | t.ok(equal(-0, -0), '-0 === -0'); 9 | 10 | t.notOk(equal(-0, 0), '-0 !== 0'); 11 | t.notOk(equal(-0, +0), '-0 !== +0'); 12 | 13 | t.end(); 14 | }); 15 | 16 | -------------------------------------------------------------------------------- /node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/escodegen/node_modules/estraverse/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "eqnull": true, 6 | "latedef": true, 7 | "noarg": true, 8 | "noempty": true, 9 | "quotmark": "single", 10 | "undef": true, 11 | "unused": true, 12 | "strict": true, 13 | "trailing": true, 14 | 15 | "node": true 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/eslint-scope/node_modules/estraverse/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "eqnull": true, 6 | "latedef": true, 7 | "noarg": true, 8 | "noempty": true, 9 | "quotmark": "single", 10 | "undef": true, 11 | "unused": true, 12 | "strict": true, 13 | "trailing": true, 14 | 15 | "node": true 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/esrecurse/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/esrecurse/node_modules/estraverse/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "eqnull": true, 6 | "latedef": true, 7 | "noarg": true, 8 | "noempty": true, 9 | "quotmark": "single", 10 | "undef": true, 11 | "unused": true, 12 | "strict": true, 13 | "trailing": true, 14 | 15 | "node": true 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/estraverse/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "curly": true, 3 | "eqeqeq": true, 4 | "immed": true, 5 | "eqnull": true, 6 | "latedef": true, 7 | "noarg": true, 8 | "noempty": true, 9 | "quotmark": "single", 10 | "undef": true, 11 | "unused": true, 12 | "strict": true, 13 | "trailing": true, 14 | 15 | "node": true 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/es6/index.d.ts: -------------------------------------------------------------------------------- 1 | const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/es6/react.d.ts: -------------------------------------------------------------------------------- 1 | const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'fast-deep-equal' { 2 | const equal: (a: any, b: any) => boolean; 3 | export = equal; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/react.d.ts: -------------------------------------------------------------------------------- 1 | const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/has-flag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = (flag, argv) => { 3 | argv = argv || process.argv; 4 | const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); 5 | const pos = argv.indexOf(prefix + flag); 6 | const terminatorPos = argv.indexOf('--'); 7 | return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/inversify/.auditignore: -------------------------------------------------------------------------------- 1 | https://nodesecurity.io/advisories/118 2 | https://nodesecurity.io/advisories/577 -------------------------------------------------------------------------------- /node_modules/inversify/amd/bindings/binding_count.js: -------------------------------------------------------------------------------- 1 | define(["require", "exports"], function (require, exports) { 2 | "use strict"; 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | var BindingCount = { 5 | MultipleBindingsAvailable: 2, 6 | NoBindingsAvailable: 0, 7 | OnlyOneBindingAvailable: 1 8 | }; 9 | exports.BindingCount = BindingCount; 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/inversify/amd/interfaces/interfaces.js: -------------------------------------------------------------------------------- 1 | define(["require", "exports"], function (require, exports) { 2 | "use strict"; 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | }); 5 | -------------------------------------------------------------------------------- /node_modules/inversify/amd/planning/plan.js: -------------------------------------------------------------------------------- 1 | define(["require", "exports"], function (require, exports) { 2 | "use strict"; 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | var Plan = (function () { 5 | function Plan(parentContext, rootRequest) { 6 | this.parentContext = parentContext; 7 | this.rootRequest = rootRequest; 8 | } 9 | return Plan; 10 | }()); 11 | exports.Plan = Plan; 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/inversify/amd/utils/exceptions.js: -------------------------------------------------------------------------------- 1 | define(["require", "exports", "../constants/error_msgs"], function (require, exports, ERROR_MSGS) { 2 | "use strict"; 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | function isStackOverflowExeption(error) { 5 | return (error instanceof RangeError || 6 | error.message === ERROR_MSGS.STACK_OVERFLOW); 7 | } 8 | exports.isStackOverflowExeption = isStackOverflowExeption; 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/inversify/amd/utils/id.js: -------------------------------------------------------------------------------- 1 | define(["require", "exports"], function (require, exports) { 2 | "use strict"; 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | var idCounter = 0; 5 | function id() { 6 | return idCounter++; 7 | } 8 | exports.id = id; 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/decorator_utils.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare function tagParameter(annotationTarget: any, propertyName: string, parameterIndex: number, metadata: interfaces.Metadata): void; 3 | declare function tagProperty(annotationTarget: any, propertyName: string, metadata: interfaces.Metadata): void; 4 | declare function decorate(decorator: (ClassDecorator | ParameterDecorator | MethodDecorator), target: any, parameterIndex?: number | string): void; 5 | export { decorate, tagParameter, tagProperty }; 6 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/injectable.d.ts: -------------------------------------------------------------------------------- 1 | declare function injectable(): (target: any) => any; 2 | export { injectable }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/multi_inject.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare function multiInject(serviceIdentifier: interfaces.ServiceIdentifier): (target: any, targetKey: string, index?: number | undefined) => void; 3 | export { multiInject }; 4 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/named.d.ts: -------------------------------------------------------------------------------- 1 | declare function named(name: string | number | symbol): (target: any, targetKey: string, index?: number | undefined) => void; 2 | export { named }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/optional.d.ts: -------------------------------------------------------------------------------- 1 | declare function optional(): (target: any, targetKey: string, index?: number | undefined) => void; 2 | export { optional }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/post_construct.d.ts: -------------------------------------------------------------------------------- 1 | declare function postConstruct(): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; 2 | export { postConstruct }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/tagged.d.ts: -------------------------------------------------------------------------------- 1 | declare function tagged(metadataKey: string | number | symbol, metadataValue: any): (target: any, targetKey: string, index?: number | undefined) => void; 2 | export { tagged }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/target_name.d.ts: -------------------------------------------------------------------------------- 1 | declare function targetName(name: string): (target: any, targetKey: string, index: number) => void; 2 | export { targetName }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/annotation/unmanaged.d.ts: -------------------------------------------------------------------------------- 1 | declare function unmanaged(): (target: any, targetKey: string, index: number) => void; 2 | export { unmanaged }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/bindings/binding_count.d.ts: -------------------------------------------------------------------------------- 1 | declare const BindingCount: { 2 | MultipleBindingsAvailable: number; 3 | NoBindingsAvailable: number; 4 | OnlyOneBindingAvailable: number; 5 | }; 6 | export { BindingCount }; 7 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/constants/literal_types.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare const BindingScopeEnum: interfaces.BindingScopeEnum; 3 | declare const BindingTypeEnum: interfaces.BindingTypeEnum; 4 | declare const TargetTypeEnum: interfaces.TargetTypeEnum; 5 | export { BindingScopeEnum, BindingTypeEnum, TargetTypeEnum }; 6 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/container/container_snapshot.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class ContainerSnapshot implements interfaces.ContainerSnapshot { 3 | bindings: interfaces.Lookup>; 4 | middleware: interfaces.Next | null; 5 | static of(bindings: interfaces.Lookup>, middleware: interfaces.Next | null): ContainerSnapshot; 6 | } 7 | export { ContainerSnapshot }; 8 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/planning/context.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class Context implements interfaces.Context { 3 | id: number; 4 | container: interfaces.Container; 5 | plan: interfaces.Plan; 6 | currentRequest: interfaces.Request; 7 | constructor(container: interfaces.Container); 8 | addPlan(plan: interfaces.Plan): void; 9 | setCurrentRequest(currentRequest: interfaces.Request): void; 10 | } 11 | export { Context }; 12 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/planning/metadata.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class Metadata implements interfaces.Metadata { 3 | key: string | number | symbol; 4 | value: any; 5 | constructor(key: string | number | symbol, value: any); 6 | toString(): string; 7 | } 8 | export { Metadata }; 9 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/planning/metadata_reader.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class MetadataReader implements interfaces.MetadataReader { 3 | getConstructorMetadata(constructorFunc: Function): interfaces.ConstructorMetadata; 4 | getPropertiesMetadata(constructorFunc: Function): interfaces.MetadataMap; 5 | } 6 | export { MetadataReader }; 7 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/planning/plan.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class Plan implements interfaces.Plan { 3 | parentContext: interfaces.Context; 4 | rootRequest: interfaces.Request; 5 | constructor(parentContext: interfaces.Context, rootRequest: interfaces.Request); 6 | } 7 | export { Plan }; 8 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/planning/queryable_string.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class QueryableString implements interfaces.QueryableString { 3 | private str; 4 | constructor(str: string); 5 | startsWith(searchString: string): boolean; 6 | endsWith(searchString: string): boolean; 7 | contains(searchString: string): boolean; 8 | equals(compareString: string): boolean; 9 | value(): string; 10 | } 11 | export { QueryableString }; 12 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/planning/reflection_utils.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | import { getFunctionName } from "../utils/serialization"; 3 | declare function getDependencies(metadataReader: interfaces.MetadataReader, func: Function): interfaces.Target[]; 4 | declare function getBaseClassDependencyCount(metadataReader: interfaces.MetadataReader, func: Function): number; 5 | export { getDependencies, getBaseClassDependencyCount, getFunctionName }; 6 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/resolution/instantiation.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare function resolveInstance(constr: interfaces.Newable, childRequests: interfaces.Request[], resolveRequest: interfaces.ResolveRequestHandler): any; 3 | export { resolveInstance }; 4 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/resolution/resolver.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare function resolve(context: interfaces.Context): T; 3 | export { resolve }; 4 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/syntax/binding_in_syntax.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class BindingInSyntax implements interfaces.BindingInSyntax { 3 | private _binding; 4 | constructor(binding: interfaces.Binding); 5 | inRequestScope(): interfaces.BindingWhenOnSyntax; 6 | inSingletonScope(): interfaces.BindingWhenOnSyntax; 7 | inTransientScope(): interfaces.BindingWhenOnSyntax; 8 | } 9 | export { BindingInSyntax }; 10 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/syntax/binding_on_syntax.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../interfaces/interfaces"; 2 | declare class BindingOnSyntax implements interfaces.BindingOnSyntax { 3 | private _binding; 4 | constructor(binding: interfaces.Binding); 5 | onActivation(handler: (context: interfaces.Context, injectable: T) => T): interfaces.BindingWhenSyntax; 6 | } 7 | export { BindingOnSyntax }; 8 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/utils/binding_utils.d.ts: -------------------------------------------------------------------------------- 1 | import { interfaces } from "../inversify"; 2 | export declare const multiBindToService: (container: interfaces.Container) => (service: string | symbol | interfaces.Newable | interfaces.Abstract) => (...types: (string | symbol | interfaces.Newable | interfaces.Abstract)[]) => void; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/utils/exceptions.d.ts: -------------------------------------------------------------------------------- 1 | export declare function isStackOverflowExeption(error: Error): boolean; 2 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/utils/guid.d.ts: -------------------------------------------------------------------------------- 1 | declare function guid(): string; 2 | export { guid }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/utils/id.d.ts: -------------------------------------------------------------------------------- 1 | declare function id(): number; 2 | export { id }; 3 | -------------------------------------------------------------------------------- /node_modules/inversify/dts/utils/template.d.ts: -------------------------------------------------------------------------------- 1 | export declare function template(strings: TemplateStringsArray, ...keys: any[]): (...values: any[]) => string; 2 | -------------------------------------------------------------------------------- /node_modules/inversify/es/annotation/target_name.js: -------------------------------------------------------------------------------- 1 | import * as METADATA_KEY from "../constants/metadata_keys"; 2 | import { Metadata } from "../planning/metadata"; 3 | import { tagParameter } from "./decorator_utils"; 4 | function targetName(name) { 5 | return function (target, targetKey, index) { 6 | var metadata = new Metadata(METADATA_KEY.NAME_TAG, name); 7 | tagParameter(target, targetKey, index, metadata); 8 | }; 9 | } 10 | export { targetName }; 11 | -------------------------------------------------------------------------------- /node_modules/inversify/es/annotation/unmanaged.js: -------------------------------------------------------------------------------- 1 | import * as METADATA_KEY from "../constants/metadata_keys"; 2 | import { Metadata } from "../planning/metadata"; 3 | import { tagParameter } from "./decorator_utils"; 4 | function unmanaged() { 5 | return function (target, targetKey, index) { 6 | var metadata = new Metadata(METADATA_KEY.UNMANAGED_TAG, true); 7 | tagParameter(target, targetKey, index, metadata); 8 | }; 9 | } 10 | export { unmanaged }; 11 | -------------------------------------------------------------------------------- /node_modules/inversify/es/bindings/binding_count.js: -------------------------------------------------------------------------------- 1 | var BindingCount = { 2 | MultipleBindingsAvailable: 2, 3 | NoBindingsAvailable: 0, 4 | OnlyOneBindingAvailable: 1 5 | }; 6 | export { BindingCount }; 7 | -------------------------------------------------------------------------------- /node_modules/inversify/es/constants/metadata_keys.js: -------------------------------------------------------------------------------- 1 | export var NAMED_TAG = "named"; 2 | export var NAME_TAG = "name"; 3 | export var UNMANAGED_TAG = "unmanaged"; 4 | export var OPTIONAL_TAG = "optional"; 5 | export var INJECT_TAG = "inject"; 6 | export var MULTI_INJECT_TAG = "multi_inject"; 7 | export var TAGGED = "inversify:tagged"; 8 | export var TAGGED_PROP = "inversify:tagged_props"; 9 | export var PARAM_TYPES = "inversify:paramtypes"; 10 | export var DESIGN_PARAM_TYPES = "design:paramtypes"; 11 | export var POST_CONSTRUCT = "post_construct"; 12 | -------------------------------------------------------------------------------- /node_modules/inversify/es/container/container_snapshot.js: -------------------------------------------------------------------------------- 1 | var ContainerSnapshot = (function () { 2 | function ContainerSnapshot() { 3 | } 4 | ContainerSnapshot.of = function (bindings, middleware) { 5 | var snapshot = new ContainerSnapshot(); 6 | snapshot.bindings = bindings; 7 | snapshot.middleware = middleware; 8 | return snapshot; 9 | }; 10 | return ContainerSnapshot; 11 | }()); 12 | export { ContainerSnapshot }; 13 | -------------------------------------------------------------------------------- /node_modules/inversify/es/interfaces/interfaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamedevgarage/gamedevgarage_obfuscator/c73cef35f18ab11eabdece63c7c2787bb708b70b/node_modules/inversify/es/interfaces/interfaces.js -------------------------------------------------------------------------------- /node_modules/inversify/es/planning/context.js: -------------------------------------------------------------------------------- 1 | import { id } from "../utils/id"; 2 | var Context = (function () { 3 | function Context(container) { 4 | this.id = id(); 5 | this.container = container; 6 | } 7 | Context.prototype.addPlan = function (plan) { 8 | this.plan = plan; 9 | }; 10 | Context.prototype.setCurrentRequest = function (currentRequest) { 11 | this.currentRequest = currentRequest; 12 | }; 13 | return Context; 14 | }()); 15 | export { Context }; 16 | -------------------------------------------------------------------------------- /node_modules/inversify/es/planning/plan.js: -------------------------------------------------------------------------------- 1 | var Plan = (function () { 2 | function Plan(parentContext, rootRequest) { 3 | this.parentContext = parentContext; 4 | this.rootRequest = rootRequest; 5 | } 6 | return Plan; 7 | }()); 8 | export { Plan }; 9 | -------------------------------------------------------------------------------- /node_modules/inversify/es/syntax/binding_on_syntax.js: -------------------------------------------------------------------------------- 1 | import { BindingWhenSyntax } from "./binding_when_syntax"; 2 | var BindingOnSyntax = (function () { 3 | function BindingOnSyntax(binding) { 4 | this._binding = binding; 5 | } 6 | BindingOnSyntax.prototype.onActivation = function (handler) { 7 | this._binding.onActivation = handler; 8 | return new BindingWhenSyntax(this._binding); 9 | }; 10 | return BindingOnSyntax; 11 | }()); 12 | export { BindingOnSyntax }; 13 | -------------------------------------------------------------------------------- /node_modules/inversify/es/utils/binding_utils.js: -------------------------------------------------------------------------------- 1 | export var multiBindToService = function (container) { 2 | return function (service) { 3 | return function () { 4 | var types = []; 5 | for (var _i = 0; _i < arguments.length; _i++) { 6 | types[_i] = arguments[_i]; 7 | } 8 | return types.forEach(function (t) { return container.bind(t).toService(service); }); 9 | }; 10 | }; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/inversify/es/utils/exceptions.js: -------------------------------------------------------------------------------- 1 | import * as ERROR_MSGS from "../constants/error_msgs"; 2 | export function isStackOverflowExeption(error) { 3 | return (error instanceof RangeError || 4 | error.message === ERROR_MSGS.STACK_OVERFLOW); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/inversify/es/utils/id.js: -------------------------------------------------------------------------------- 1 | var idCounter = 0; 2 | function id() { 3 | return idCounter++; 4 | } 5 | export { id }; 6 | -------------------------------------------------------------------------------- /node_modules/inversify/lib/bindings/binding_count.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var BindingCount = { 4 | MultipleBindingsAvailable: 2, 5 | NoBindingsAvailable: 0, 6 | OnlyOneBindingAvailable: 1 7 | }; 8 | exports.BindingCount = BindingCount; 9 | -------------------------------------------------------------------------------- /node_modules/inversify/lib/interfaces/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/inversify/lib/planning/plan.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var Plan = (function () { 4 | function Plan(parentContext, rootRequest) { 5 | this.parentContext = parentContext; 6 | this.rootRequest = rootRequest; 7 | } 8 | return Plan; 9 | }()); 10 | exports.Plan = Plan; 11 | -------------------------------------------------------------------------------- /node_modules/inversify/lib/utils/binding_utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.multiBindToService = function (container) { 4 | return function (service) { 5 | return function () { 6 | var types = []; 7 | for (var _i = 0; _i < arguments.length; _i++) { 8 | types[_i] = arguments[_i]; 9 | } 10 | return types.forEach(function (t) { return container.bind(t).toService(service); }); 11 | }; 12 | }; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/inversify/lib/utils/exceptions.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var ERROR_MSGS = require("../constants/error_msgs"); 4 | function isStackOverflowExeption(error) { 5 | return (error instanceof RangeError || 6 | error.message === ERROR_MSGS.STACK_OVERFLOW); 7 | } 8 | exports.isStackOverflowExeption = isStackOverflowExeption; 9 | -------------------------------------------------------------------------------- /node_modules/inversify/lib/utils/id.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var idCounter = 0; 4 | function id() { 5 | return idCounter++; 6 | } 7 | exports.id = id; 8 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/.eslintignore: -------------------------------------------------------------------------------- 1 | /test 2 | /webpack -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/.ncurc: -------------------------------------------------------------------------------- 1 | { 2 | "reject": [ 3 | "ts-node" 4 | ] 5 | } -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | 4 | node_js: 5 | - "10" 6 | - "12" 7 | - "13" 8 | - "14" 9 | - "stable" 10 | 11 | cache: 12 | yarn: true 13 | directories: 14 | - node_modules 15 | 16 | script: "yarn run travis" 17 | 18 | after_success: 19 | - yarn run test:coveralls 20 | - rm -rf ./coverage 21 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/bin/javascript-obfuscator: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../dist/index.cli').obfuscate(process.argv); -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/index.cli.ts: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import { JavaScriptObfuscatorCLI } from './src/JavaScriptObfuscatorCLIFacade'; 4 | 5 | module.exports = JavaScriptObfuscatorCLI; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/index.ts: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import { JavaScriptObfuscator } from './src/JavaScriptObfuscatorFacade'; 4 | 5 | module.exports = JavaScriptObfuscator; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/build: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yarn run removeCacheDir && 4 | yarn run webpack:prod && 5 | yarn run eslint && 6 | yarn test -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/eslint: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/eslint src/**/*.ts -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/git-add-files: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | git add . -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/remove-cache-dir: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -rf .awcache -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/start: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yarn run watch -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-compile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/tsc -p test/tsconfig.test.json --outDir test-tmp && 4 | rsync -a --prune-empty-dirs --include '*/' --include '*.js' --include '*.json' --exclude '*' test/ test-tmp/test/ 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-coveralls: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yarn run test:removeTmpDir && 4 | yarn run test:compile && 5 | $(yarn bin)/nyc $(yarn bin)/mocha -- test-tmp/test/index.spec.js --exit && 6 | $(yarn bin)/nyc report --reporter=text-lcov | $(yarn bin)/coveralls && 7 | yarn run test:removeTmpDir -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-dev: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/ts-node --type-check test/dev/dev.ts -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-dev-compile-performance: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/ts-node test/dev/dev-compile-performance.ts -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-dev-runtime-performance: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/ts-node test/dev/dev-runtime-performance.ts -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-full: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yarn run test:removeTmpDir && 4 | yarn run test:compile && 5 | node test-tmp/test/dev/dev.js && 6 | $(yarn bin)/nyc --reporter text-summary $(yarn bin)/mocha -- test-tmp/test/index.spec.js --exit && 7 | yarn run test:removeTmpDir -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-mocha: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yarn run test:removeTmpDir && 4 | yarn run test:compile && 5 | $(yarn bin)/mocha test-tmp/test/index.spec.js && 6 | yarn run test:removeTmpDir -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/test-remove-tmp-dir: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -rf test-tmp -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/travis: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | yarn run eslint && 4 | yarn test -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/watch: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/webpack --config webpack/webpack.node.config.js --mode development --watch -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/webpack-dev: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/webpack --config webpack/webpack.node.config.js --mode production -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/scripts/webpack-prod: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $(yarn bin)/webpack --config webpack/webpack.node.config.js --config webpack/webpack.browser.config.js --mode production -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/cli/sanitizers/BooleanSanitizer.ts: -------------------------------------------------------------------------------- 1 | import { TCLISanitizer } from '../../types/cli/TCLISanitizer'; 2 | 3 | /** 4 | * @param {string} value 5 | * @returns {boolean} 6 | */ 7 | export const BooleanSanitizer: TCLISanitizer = (value: string): boolean => { 8 | return value === 'true' || value === '1'; 9 | }; 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/constants/EcmaVersion.ts: -------------------------------------------------------------------------------- 1 | import * as acorn from 'acorn'; 2 | 3 | export const ecmaVersion: acorn.Options['ecmaVersion'] = 11; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/container/modules/node-transformers/FinalizingTransformersModule.ts: -------------------------------------------------------------------------------- 1 | import { ContainerModule, interfaces } from 'inversify'; 2 | 3 | export const finalizingTransformersModule: interfaces.ContainerModule = new ContainerModule((bind: interfaces.Bind) => { 4 | // finalizing transformers 5 | 6 | }); 7 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/custom-code-helpers/common/templates/GlobalVariableNoEvalTemplate.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @returns {string} 3 | */ 4 | export function GlobalVariableNoEvalTemplate (): string { 5 | return ` 6 | const that = (typeof window !== 'undefined' 7 | ? window 8 | : (typeof process === 'object' && 9 | typeof require === 'function' && 10 | typeof global === 'object') 11 | ? global 12 | : this); 13 | `; 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/custom-code-helpers/common/templates/GlobalVariableTemplate1.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @returns {string} 3 | */ 4 | export function GlobalVariableTemplate1 (): string { 5 | return ` 6 | let that; 7 | 8 | try { 9 | const getGlobal = Function('return (function() ' + '{}.constructor("return this")( )' + ');'); 10 | 11 | that = getGlobal(); 12 | } catch (e) { 13 | that = window; 14 | } 15 | `; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/custom-code-helpers/debug-protection/templates/debug-protection-function-interval/DebugProtectionFunctionIntervalTemplate.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @returns {string} 3 | */ 4 | export function DebugProtectionFunctionIntervalTemplate (): string { 5 | return ` 6 | setInterval(function () { 7 | {debugProtectionFunctionName}(); 8 | }, 4000); 9 | `; 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/custom-code-helpers/string-array/templates/string-array/StringArrayTemplate.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @returns {string} 3 | */ 4 | export function StringArrayTemplate (): string { 5 | return ` 6 | const {stringArrayName} = [{stringArray}]; 7 | `; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/declarations/acorn-import-meta.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'acorn-import-meta' { 2 | import * as acorn from 'acorn'; 3 | 4 | function acornImportMeta (BaseParser: typeof acorn.Parser): typeof acorn.Parser; 5 | 6 | export = acornImportMeta; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/declarations/environment.d.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | 3 | declare namespace NodeJS { 4 | export interface ProcessEnv { 5 | VERSION?: string; 6 | BUILD_TIMESTAMP?: string; 7 | } 8 | } -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/declarations/eslint-scope.d.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | 3 | import * as eslint from 'eslint'; 4 | import * as eslintScope from 'eslint-scope'; 5 | 6 | declare module 'eslint-scope' { 7 | interface Variable { 8 | scope: Scope; 9 | } 10 | 11 | interface Definition { 12 | type: eslint.Scope.Definition['type']; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/declarations/js-string-escape.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'js-string-escape' { 2 | function jsStringEscape (input: string): string; 3 | 4 | export = jsStringEscape; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/ObfuscationTarget.ts: -------------------------------------------------------------------------------- 1 | import { MakeEnum } from '@gradecam/tsenum'; 2 | 3 | export const ObfuscationTarget: Readonly<{ 4 | Browser: 'browser'; 5 | BrowserNoEval: 'browser-no-eval'; 6 | Node: 'node'; 7 | }> = MakeEnum({ 8 | Browser: 'browser', 9 | BrowserNoEval: 'browser-no-eval', 10 | Node: 'node' 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/StringArrayEncoding.ts: -------------------------------------------------------------------------------- 1 | import { MakeEnum } from '@gradecam/tsenum'; 2 | 3 | export const StringArrayEncoding: Readonly<{ 4 | Base64: 'base64'; 5 | Rc4: 'rc4'; 6 | }> = MakeEnum({ 7 | Base64: 'base64', 8 | Rc4: 'rc4' 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/StringSeparator.ts: -------------------------------------------------------------------------------- 1 | export enum StringSeparator { 2 | Dot = '.', 3 | Comma = ',', 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/analyzers/calls-graph-analyzer/CalleeDataExtractor.ts: -------------------------------------------------------------------------------- 1 | export enum CalleeDataExtractor { 2 | FunctionDeclarationCalleeDataExtractor = 'FunctionDeclarationCalleeDataExtractor', 3 | FunctionExpressionCalleeDataExtractor = 'FunctionExpressionCalleeDataExtractor', 4 | ObjectExpressionCalleeDataExtractor = 'ObjectExpressionCalleeDataExtractor', 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/code-transformers/CodeTransformationStage.ts: -------------------------------------------------------------------------------- 1 | export enum CodeTransformationStage { 2 | PreparingTransformers = 'PreparingTransformers', 3 | FinalizingTransformers = 'FinalizingTransformers', 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/code-transformers/CodeTransformer.ts: -------------------------------------------------------------------------------- 1 | export enum CodeTransformer { 2 | HashbangOperatorTransformer = 'HashbangOperatorTransformer' 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/custom-code-helpers/CustomCodeHelperGroup.ts: -------------------------------------------------------------------------------- 1 | export enum CustomCodeHelperGroup { 2 | ConsoleOutput = 'ConsoleOutput', 3 | DebugProtection = 'DebugProtection', 4 | DomainLock = 'DomainLock', 5 | SelfDefending = 'SelfDefending', 6 | StringArray = 'StringArray' 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/custom-nodes/DeadCodeInjectionCustomNode.ts: -------------------------------------------------------------------------------- 1 | export enum DeadCodeInjectionCustomNode { 2 | BlockStatementDeadCodeInjectionNode = 'BlockStatementDeadCodeInjectionNode' 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/custom-nodes/ObjectExpressionKeysTransformerCustomNode.ts: -------------------------------------------------------------------------------- 1 | export enum ObjectExpressionKeysTransformerCustomNode { 2 | ObjectExpressionVariableDeclarationHostNode = 3 | 'ObjectExpressionVariableDeclarationHostNode' 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/event-emitters/ObfuscationEvent.ts: -------------------------------------------------------------------------------- 1 | export enum ObfuscationEvent { 2 | AfterObfuscation = 'afterObfuscation', 3 | BeforeObfuscation = 'beforeObfuscation' 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/logger/LoggingMessage.ts: -------------------------------------------------------------------------------- 1 | export enum LoggingMessage { 2 | EmptySourceCode = 'Empty source code. Obfuscation canceled...', 3 | ObfuscationCompleted = 'Obfuscation completed. Total time: %s sec.', 4 | ObfuscationStarted = 'Obfuscation started...', 5 | RandomGeneratorSeed = 'Random generator seed: %s...', 6 | CodeTransformationStage = 'Code transformation stage: %s...', 7 | NodeTransformationStage = 'AST transformation stage: %s...', 8 | Version = 'Version: %s' 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/logger/LoggingPrefix.ts: -------------------------------------------------------------------------------- 1 | export enum LoggingPrefix { 2 | Base = '[javascript-obfuscator]', 3 | CLI = '[javascript-obfuscator-cli]' 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/node-transformers/NodeTransformationStage.ts: -------------------------------------------------------------------------------- 1 | export enum NodeTransformationStage { 2 | Initializing = 'Initializing', 3 | Preparing = 'Preparing', 4 | DeadCodeInjection = 'DeadCodeInjection', 5 | ControlFlowFlattening = 'ControlFlowFlattening', 6 | Converting = 'Converting', 7 | Obfuscating = 'Obfuscating', 8 | Finalizing = 'Finalizing' 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/node-transformers/VisitorDirection.ts: -------------------------------------------------------------------------------- 1 | export enum VisitorDirection { 2 | Enter = 'enter', 3 | Leave = 'leave' 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/node-transformers/converting-transformers/properties-extractors/ObjectExpressionExtractor.ts: -------------------------------------------------------------------------------- 1 | export enum ObjectExpressionExtractor { 2 | BasePropertiesExtractor = 'BasePropertiesExtractor', 3 | ObjectExpressionToVariableDeclarationExtractor = 'ObjectExpressionToVariableDeclarationExtractor' 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/node-transformers/obfuscating-transformers/obfuscating-replacers/ControlFlowReplacer.ts: -------------------------------------------------------------------------------- 1 | export enum ControlFlowReplacer { 2 | BinaryExpressionControlFlowReplacer = 'BinaryExpressionControlFlowReplacer', 3 | CallExpressionControlFlowReplacer = 'CallExpressionControlFlowReplacer', 4 | LogicalExpressionControlFlowReplacer = 'LogicalExpressionControlFlowReplacer', 5 | StringLiteralControlFlowReplacer = 'StringLiteralControlFlowReplacer' 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/node-transformers/obfuscating-transformers/obfuscating-replacers/IdentifierObfuscatingReplacer.ts: -------------------------------------------------------------------------------- 1 | export enum IdentifierObfuscatingReplacer { 2 | BaseIdentifierObfuscatingReplacer = 'BaseIdentifierObfuscatingReplacer' 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/node-transformers/obfuscating-transformers/obfuscating-replacers/LiteralObfuscatingReplacer.ts: -------------------------------------------------------------------------------- 1 | export enum LiteralObfuscatingReplacer { 2 | BooleanLiteralObfuscatingReplacer = 'BooleanLiteralObfuscatingReplacer', 3 | NumberLiteralObfuscatingReplacer = 'NumberLiteralObfuscatingReplacer', 4 | StringLiteralObfuscatingReplacer = 'StringLiteralObfuscatingReplacer' 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/node-transformers/preparing-transformers/obfuscating-guards/ObfuscatingGuard.ts: -------------------------------------------------------------------------------- 1 | export enum ObfuscatingGuard { 2 | BlackListObfuscatingGuard = 'BlackListObfuscatingGuard', 3 | ConditionalCommentObfuscatingGuard = 'ConditionalCommentObfuscatingGuard', 4 | ReservedStringObfuscatingGuard = 'ReservedStringObfuscatingGuard' 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/enums/source-map/SourceMapMode.ts: -------------------------------------------------------------------------------- 1 | import { MakeEnum } from '@gradecam/tsenum'; 2 | 3 | export const SourceMapMode: Readonly<{ 4 | Inline: 'inline'; 5 | Separate: 'separate'; 6 | }> = MakeEnum({ 7 | Inline: 'inline', 8 | Separate: 'separate' 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/event-emitters/ObfuscationEventEmitter.ts: -------------------------------------------------------------------------------- 1 | import { decorate, injectable } from 'inversify'; 2 | import EventEmitter from 'eventemitter3'; 3 | 4 | import { IObfuscationEventEmitter } from '../interfaces/event-emitters/IObfuscationEventEmitter'; 5 | 6 | decorate(injectable(), EventEmitter); 7 | 8 | @injectable() 9 | export class ObfuscationEventEmitter extends EventEmitter implements IObfuscationEventEmitter {} 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/IEncodedValue.ts: -------------------------------------------------------------------------------- 1 | export interface IEncodedValue { 2 | encodedValue: string; 3 | decodeKey: string | null; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/IGeneratorOutput.ts: -------------------------------------------------------------------------------- 1 | export interface IGeneratorOutput { 2 | code: string; 3 | map: string; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/IInitializable.ts: -------------------------------------------------------------------------------- 1 | export interface IInitializable { 2 | [key: string]: any; 3 | 4 | /** 5 | * @param args 6 | */ 7 | initialize (...args: T): void; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/IJavaScriptObfsucator.ts: -------------------------------------------------------------------------------- 1 | import { IObfuscatedCode } from './source-code/IObfuscatedCode'; 2 | 3 | export interface IJavaScriptObfuscator { 4 | /** 5 | * @param sourceCode 6 | * @returns IObfuscatedCode 7 | */ 8 | obfuscate (sourceCode: string): IObfuscatedCode; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/ITransformer.ts: -------------------------------------------------------------------------------- 1 | export interface ITransformer { 2 | /** 3 | * @type {TTransformerName[] | undefined} 4 | */ 5 | runAfter?: TTransformerName[]; 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/analyzers/IAnalyzer.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | export interface IAnalyzer { 4 | /** 5 | * @param {Program} astTree 6 | * @returns {T} 7 | */ 8 | analyze (astTree: ESTree.Program): T; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/analyzers/calls-graph-analyzer/ICalleeData.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | export interface ICalleeData { 4 | callee: ESTree.BlockStatement; 5 | name: string | number | null; 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/analyzers/calls-graph-analyzer/ICalleeDataExtractor.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | import { ICalleeData } from './ICalleeData'; 4 | 5 | export interface ICalleeDataExtractor { 6 | /** 7 | * @param blockScopeBody 8 | * @param callee 9 | * @returns ICalleeData|null 10 | */ 11 | extract (blockScopeBody: ESTree.Node[], callee: ESTree.Node): ICalleeData | null; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/analyzers/calls-graph-analyzer/ICallsGraphAnalyzer.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | import { IAnalyzer } from '../IAnalyzer'; 4 | import { ICallsGraphData } from './ICallsGraphData'; 5 | 6 | export interface ICallsGraphAnalyzer extends IAnalyzer { 7 | /** 8 | * @param {Program} astTree 9 | * @returns {ICallsGraphData[]} 10 | */ 11 | analyze (astTree: ESTree.Program): ICallsGraphData[]; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/analyzers/calls-graph-analyzer/ICallsGraphData.ts: -------------------------------------------------------------------------------- 1 | import { ICalleeData } from './ICalleeData'; 2 | 3 | export interface ICallsGraphData extends ICalleeData { 4 | callsGraph: ICallsGraphData[]; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/analyzers/calls-graph-analyzer/IPrevailingKindOfVariablesAnalyzer.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | import { IAnalyzer } from '../IAnalyzer'; 4 | 5 | export interface IPrevailingKindOfVariablesAnalyzer extends IAnalyzer { 6 | /** 7 | * @param {Program} astTree 8 | */ 9 | analyze (astTree: ESTree.Program): void; 10 | 11 | /** 12 | * @returns {ESTree.VariableDeclaration['kind']} 13 | */ 14 | getPrevailingKind (): ESTree.VariableDeclaration['kind']; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/analyzers/scope-analyzer/IScopeAnalyzer.ts: -------------------------------------------------------------------------------- 1 | import * as eslintScope from 'eslint-scope'; 2 | import * as ESTree from 'estree'; 3 | 4 | import { IAnalyzer } from '../IAnalyzer'; 5 | 6 | export interface IScopeAnalyzer extends IAnalyzer { 7 | /** 8 | * @param {Program} astTree 9 | */ 10 | analyze (astTree: ESTree.Node): void; 11 | 12 | /** 13 | * @param {Node} node 14 | * @returns {Scope} 15 | */ 16 | acquireScope (node: ESTree.Node): eslintScope.Scope; 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/cli/IFileData.ts: -------------------------------------------------------------------------------- 1 | export interface IFileData { 2 | filePath: string; 3 | content: string; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/custom-code-helpers/ICustomCodeHelper.ts: -------------------------------------------------------------------------------- 1 | import { TStatement } from '../../types/node/TStatement'; 2 | 3 | import { IInitializable } from '../IInitializable'; 4 | 5 | export interface ICustomCodeHelper < 6 | TInitialData extends any[] = any[] 7 | > extends IInitializable { 8 | /** 9 | * @returns ESTree.Node[] 10 | */ 11 | getNode (): TStatement[]; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/custom-code-helpers/ICustomCodeHelperObfuscator.ts: -------------------------------------------------------------------------------- 1 | import { TInputOptions } from '../../types/options/TInputOptions'; 2 | 3 | export interface ICustomCodeHelperObfuscator { 4 | /** 5 | * @param {string} template 6 | * @param {TInputOptions} additionalOptions 7 | * @returns {string} 8 | */ 9 | obfuscateTemplate (template: string, additionalOptions?: TInputOptions): string; 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/custom-nodes/ICustomNode.ts: -------------------------------------------------------------------------------- 1 | import { TStatement } from '../../types/node/TStatement'; 2 | 3 | import { IInitializable } from '../IInitializable'; 4 | 5 | export interface ICustomNode < 6 | TInitialData extends any[] = any[] 7 | > extends IInitializable { 8 | /** 9 | * @returns ESTree.Node[] 10 | */ 11 | getNode (): TStatement[]; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/node-transformers/IVisitor.ts: -------------------------------------------------------------------------------- 1 | import * as estraverse from 'estraverse'; 2 | import * as ESTree from 'estree'; 3 | 4 | export interface IVisitor { 5 | enter? (node: T, parentNode: ESTree.Node | null): ESTree.Node | estraverse.VisitorOption | void; 6 | leave? (node: T, parentNode: ESTree.Node | null): ESTree.Node | estraverse.VisitorOption | void; 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/node-transformers/preparing-transformers/obfuscating-guards/IObfuscatingGuard.ts: -------------------------------------------------------------------------------- 1 | import { TNodeGuard } from '../../../../types/node/TNodeGuard'; 2 | 3 | export interface IObfuscatingGuard { 4 | /** 5 | * @param {Node} node 6 | * @returns {boolean} 7 | */ 8 | check: TNodeGuard; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/node/IScopeIdentifiersTraverserCallbackData.ts: -------------------------------------------------------------------------------- 1 | import * as eslintScope from 'eslint-scope'; 2 | 3 | import { TNodeWithLexicalScope } from '../../types/node/TNodeWithLexicalScope'; 4 | 5 | export interface IScopeIdentifiersTraverserCallbackData { 6 | isGlobalDeclaration: boolean; 7 | isBubblingDeclaration: boolean; 8 | rootScope: eslintScope.Scope; 9 | variable: eslintScope.Variable; 10 | variableLexicalScopeNode: TNodeWithLexicalScope; 11 | variableScope: eslintScope.Scope; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/options/ICLIOptions.ts: -------------------------------------------------------------------------------- 1 | import { IOptions } from './IOptions'; 2 | 3 | export interface ICLIOptions extends IOptions { 4 | readonly config: string; 5 | readonly exclude: string[]; 6 | readonly output: string; 7 | readonly version: string; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/options/IOptionsNormalizer.ts: -------------------------------------------------------------------------------- 1 | import { IOptions } from './IOptions'; 2 | 3 | export interface IOptionsNormalizer { 4 | /** 5 | * @param {IOptions} options 6 | * @returns {IOptions} 7 | */ 8 | normalize (options: IOptions): IOptions; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/source-code/IObfuscatedCode.ts: -------------------------------------------------------------------------------- 1 | import { IInitializable } from '../IInitializable'; 2 | 3 | export interface IObfuscatedCode extends IInitializable <[string, string]> { 4 | /** 5 | * @return {string} 6 | */ 7 | getObfuscatedCode (): string; 8 | 9 | /** 10 | * @return {string} 11 | */ 12 | getSourceMap (): string; 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/source-code/ISourceCode.ts: -------------------------------------------------------------------------------- 1 | export interface ISourceCode { 2 | /** 3 | * @returns string 4 | */ 5 | getSourceCode (): string; 6 | 7 | /** 8 | * @returns string 9 | */ 10 | getSourceMap (): string; 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/storages/string-array-storage/IStringArrayStorageItem.ts: -------------------------------------------------------------------------------- 1 | import { IEncodedValue } from '../../IEncodedValue'; 2 | 3 | export interface IStringArrayStorageItemData extends IEncodedValue { 4 | index: number; 5 | value: string; 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/utils/ICryptUtils.ts: -------------------------------------------------------------------------------- 1 | export interface ICryptUtils { 2 | /** 3 | * @param string 4 | */ 5 | btoa (string: string): string; 6 | 7 | /** 8 | * @param str 9 | * @param length 10 | * @returns {[string, string]} 11 | */ 12 | hideString (str: string, length: number): [string, string]; 13 | 14 | /** 15 | * @param key 16 | * @param string 17 | * @returns {string} 18 | */ 19 | rc4 (string: string, key: string): string; 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/utils/IEscapeSequenceEncoder.ts: -------------------------------------------------------------------------------- 1 | export interface IEscapeSequenceEncoder { 2 | /** 3 | * @param {string} string 4 | * @param {boolean} encodeAllSymbols 5 | * @returns {string} 6 | */ 7 | encode (string: string, encodeAllSymbols: boolean): string; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/interfaces/utils/ITransformerNamesGroupsBuilder.ts: -------------------------------------------------------------------------------- 1 | import { TObject } from '../../types/TObject'; 2 | 3 | export interface ITransformerNamesGroupsBuilder < 4 | TTransformerName extends string, 5 | TTransformer 6 | > { 7 | /** 8 | * @param {TObject} normalizedTransformers 9 | * @returns {TTransformerName[][]} 10 | */ 11 | build (normalizedTransformers: TObject): TTransformerName[][]; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/tsconfig.browser.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "sourceMap": true, 5 | }, 6 | "exclude": [ 7 | "../test" 8 | ] 9 | } -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "importHelpers": true, 5 | "noEmitHelpers": true, 6 | "sourceMap": true 7 | }, 8 | "include": [ 9 | "../src" 10 | ], 11 | "exclude": [ 12 | "../test" 13 | ] 14 | } -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/TInitialData.ts: -------------------------------------------------------------------------------- 1 | import { IInitializable } from '../interfaces/IInitializable'; 2 | 3 | export type TInitialData = Parameters; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/TObfuscationResultsObject.ts: -------------------------------------------------------------------------------- 1 | import { IObfuscatedCode } from '../interfaces/source-code/IObfuscatedCode'; 2 | 3 | export type TObfuscationResultsObject = {[key in keyof TSourceCodesObject]: IObfuscatedCode}; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/TObject.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/consistent-type-definitions */ 2 | 3 | export type TObject = {[key: string]: T}; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/analyzers/calls-graph-analyzer/TObjectMembersCallsChain.ts: -------------------------------------------------------------------------------- 1 | export type TObjectMembersCallsChain = (string | number)[]; 2 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/cli/TCLISanitizer.ts: -------------------------------------------------------------------------------- 1 | export type TCLISanitizer = (value: string) => T; 2 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/calls-graph-analyzer/TCalleeDataExtractorFactory.ts: -------------------------------------------------------------------------------- 1 | import { ICalleeDataExtractor } from '../../../interfaces/analyzers/calls-graph-analyzer/ICalleeDataExtractor'; 2 | 3 | import { CalleeDataExtractor } from '../../../enums/analyzers/calls-graph-analyzer/CalleeDataExtractor'; 4 | 5 | export type TCalleeDataExtractorFactory = (calleeDataExtractorName: CalleeDataExtractor) => ICalleeDataExtractor; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/code-transformers/TCodeTransformerFactory.ts: -------------------------------------------------------------------------------- 1 | import { ICodeTransformer } from '../../../interfaces/code-transformers/ICodeTransformer'; 2 | 3 | import { CodeTransformer } from '../../../enums/code-transformers/CodeTransformer'; 4 | 5 | export type TCodeTransformerFactory = (codeTransformerName: CodeTransformer) => ICodeTransformer; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/custom-code-helpers/TCustomCodeHelperFactory.ts: -------------------------------------------------------------------------------- 1 | import { ICustomCodeHelper } from '../../../interfaces/custom-code-helpers/ICustomCodeHelper'; 2 | 3 | import { CustomCodeHelper } from '../../../enums/custom-code-helpers/CustomCodeHelper'; 4 | 5 | export type TCustomCodeHelperFactory = < 6 | TInitialData extends any[] = any[] 7 | > (customCodeHelperName: CustomCodeHelper) => ICustomCodeHelper; 8 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/custom-code-helpers/TCustomCodeHelperGroupFactory.ts: -------------------------------------------------------------------------------- 1 | import { ICustomCodeHelperGroup } from '../../../interfaces/custom-code-helpers/ICustomCodeHelperGroup'; 2 | 3 | import { CustomCodeHelperGroup } from '../../../enums/custom-code-helpers/CustomCodeHelperGroup'; 4 | 5 | export type TCustomCodeHelperGroupFactory = (customCodeHelperGroupName: CustomCodeHelperGroup) => ICustomCodeHelperGroup; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/custom-nodes/TControlFlowCustomNodeFactory.ts: -------------------------------------------------------------------------------- 1 | import { ICustomNode } from '../../../interfaces/custom-nodes/ICustomNode'; 2 | 3 | import { ControlFlowCustomNode } from '../../../enums/custom-nodes/ControlFlowCustomNode'; 4 | 5 | export type TControlFlowCustomNodeFactory = < 6 | TInitialData extends any[] = any[] 7 | > (controlFlowCustomNodeName: ControlFlowCustomNode) => ICustomNode; 8 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/custom-nodes/TDeadNodeInjectionCustomNodeFactory.ts: -------------------------------------------------------------------------------- 1 | import { ICustomNode } from '../../../interfaces/custom-nodes/ICustomNode'; 2 | 3 | import { DeadCodeInjectionCustomNode } from '../../../enums/custom-nodes/DeadCodeInjectionCustomNode'; 4 | 5 | export type TDeadNodeInjectionCustomNodeFactory = < 6 | TInitialData extends any[] = any[] 7 | > (deadCodeInjectionCustomNodeName: DeadCodeInjectionCustomNode) => ICustomNode ; 8 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/generators/TIdentifierNamesGeneratorFactory.ts: -------------------------------------------------------------------------------- 1 | import { IIdentifierNamesGenerator } from '../../../interfaces/generators/identifier-names-generators/IIdentifierNamesGenerator'; 2 | import { IOptions } from '../../../interfaces/options/IOptions'; 3 | 4 | export type TIdentifierNamesGeneratorFactory = (options: IOptions) => IIdentifierNamesGenerator; 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/node-transformers/TControlFlowReplacerFactory.ts: -------------------------------------------------------------------------------- 1 | import { IControlFlowReplacer } from '../../../interfaces/node-transformers/control-flow-transformers/IControlFlowReplacer'; 2 | 3 | import { ControlFlowReplacer } from '../../../enums/node-transformers/obfuscating-transformers/obfuscating-replacers/ControlFlowReplacer'; 4 | 5 | export type TControlFlowReplacerFactory = (replacer: ControlFlowReplacer) => IControlFlowReplacer; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/node-transformers/TControlFlowStorageFactory.ts: -------------------------------------------------------------------------------- 1 | import { TControlFlowStorage } from '../../storages/TControlFlowStorage'; 2 | 3 | export type TControlFlowStorageFactory = () => TControlFlowStorage; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/node-transformers/TLiteralObfuscatingReplacerFactory.ts: -------------------------------------------------------------------------------- 1 | import { IObfuscatingReplacer } from '../../../interfaces/node-transformers/obfuscating-transformers/obfuscating-replacers/IObfuscatingReplacer'; 2 | 3 | import { LiteralObfuscatingReplacer } from '../../../enums/node-transformers/obfuscating-transformers/obfuscating-replacers/LiteralObfuscatingReplacer'; 4 | 5 | export type TLiteralObfuscatingReplacerFactory = (replacer: LiteralObfuscatingReplacer) => IObfuscatingReplacer; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/node-transformers/TNodeTransformerFactory.ts: -------------------------------------------------------------------------------- 1 | import { INodeTransformer } from '../../../interfaces/node-transformers/INodeTransformer'; 2 | 3 | import { NodeTransformer } from '../../../enums/node-transformers/NodeTransformer'; 4 | 5 | export type TNodeTransformerFactory = (nodeTransformerName: NodeTransformer) => INodeTransformer; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/node-transformers/TObfuscatingGuardFactory.ts: -------------------------------------------------------------------------------- 1 | import { IObfuscatingGuard } from '../../../interfaces/node-transformers/preparing-transformers/obfuscating-guards/IObfuscatingGuard'; 2 | 3 | import { ObfuscatingGuard } from '../../../enums/node-transformers/preparing-transformers/obfuscating-guards/ObfuscatingGuard'; 4 | 5 | export type TObfuscatingGuardFactory = (nodeGuard: ObfuscatingGuard) => IObfuscatingGuard; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/container/source-code/TObfuscatedCodeFactory.ts: -------------------------------------------------------------------------------- 1 | import { IObfuscatedCode } from '../../../interfaces/source-code/IObfuscatedCode'; 2 | 3 | export type TObfuscatedCodeFactory = (obfuscatedCode: string, sourceMap: string) => IObfuscatedCode; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node-transformers/TVisitorDirection.ts: -------------------------------------------------------------------------------- 1 | export type TVisitorDirection = 'enter' | 'leave'; 2 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node-transformers/TVisitorFunction.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | import { TVisitorResult } from './TVisitorResult'; 4 | 5 | export type TVisitorFunction = (node: ESTree.Node, parentNode: ESTree.Node | null) => TVisitorResult; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node-transformers/TVisitorResult.ts: -------------------------------------------------------------------------------- 1 | import * as estraverse from 'estraverse'; 2 | import * as ESTree from 'estree'; 3 | 4 | export type TVisitorResult = ESTree.Node | estraverse.VisitorOption | void; 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node/TNodeGuard.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | export type TNodeGuard = (node: ESTree.Node) => boolean; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node/TNodeWithLexicalScope.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | export type TNodeWithLexicalScope = ESTree.Program | ESTree.Function; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node/TNodeWithStatements.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | export type TNodeWithStatements = ESTree.Program | ESTree.BlockStatement | ESTree.SwitchCase; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node/TScopeIdentifiersTraverserCallback.ts: -------------------------------------------------------------------------------- 1 | import { IScopeIdentifiersTraverserCallbackData } from '../../interfaces/node/IScopeIdentifiersTraverserCallbackData'; 2 | 3 | export type TScopeIdentifiersTraverserCallback = (data: IScopeIdentifiersTraverserCallbackData) => void; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/node/TStatement.ts: -------------------------------------------------------------------------------- 1 | import * as ESTree from 'estree'; 2 | 3 | export type TStatement = ESTree.Statement | ESTree.ModuleDeclaration; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/options/TInputCLIOptions.ts: -------------------------------------------------------------------------------- 1 | import { TObject } from '../TObject'; 2 | 3 | import { ICLIOptions } from '../../interfaces/options/ICLIOptions'; 4 | 5 | export type TInputCLIOptions = Partial> & TObject; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/options/TInputOptions.ts: -------------------------------------------------------------------------------- 1 | import { TObject } from '../TObject'; 2 | 3 | import { IOptions } from '../../interfaces/options/IOptions'; 4 | 5 | export type TInputOptions = Partial> & TObject; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/options/TOptionsNormalizerRule.ts: -------------------------------------------------------------------------------- 1 | import { IOptions } from '../../interfaces/options/IOptions'; 2 | 3 | export type TOptionsNormalizerRule = (options: IOptions) => IOptions; 4 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/options/TStringArrayEncoding.ts: -------------------------------------------------------------------------------- 1 | import { TypeFromEnum } from '@gradecam/tsenum'; 2 | 3 | import { StringArrayEncoding } from '../../enums/StringArrayEncoding'; 4 | 5 | export type TStringArrayEncoding = boolean | TypeFromEnum; 6 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/storages/TControlFlowStorage.ts: -------------------------------------------------------------------------------- 1 | import { ICustomNode } from '../../interfaces/custom-nodes/ICustomNode'; 2 | import { IMapStorage } from '../../interfaces/storages/IMapStorage'; 3 | 4 | export type TControlFlowStorage = IMapStorage ; 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/storages/TCustomCodeHelperGroupStorage.ts: -------------------------------------------------------------------------------- 1 | import { ICustomCodeHelperGroup } from '../../interfaces/custom-code-helpers/ICustomCodeHelperGroup'; 2 | import { IMapStorage } from '../../interfaces/storages/IMapStorage'; 3 | 4 | export type TCustomCodeHelperGroupStorage = IMapStorage ; 5 | -------------------------------------------------------------------------------- /node_modules/javascript-obfuscator/src/types/utils/TTransformersRelationEdge.ts: -------------------------------------------------------------------------------- 1 | export type TTransformersRelationEdge = [TTransformerName, TTransformerName | null]; 2 | -------------------------------------------------------------------------------- /node_modules/js-string-escape/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # master 2 | 3 | # 1.0.1 4 | 5 | * Exclude unused files from npm distribution 6 | 7 | # 1.0.0 8 | 9 | * No change; version bumped to indicate that this package is considered stable 10 | 11 | # 0.0.1 12 | 13 | * Initial release 14 | -------------------------------------------------------------------------------- /node_modules/md5/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/mocha 2 | -------------------------------------------------------------------------------- /node_modules/md5/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 -------------------------------------------------------------------------------- /node_modules/mkdirp/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changers Lorgs! 2 | 3 | ## 1.0 4 | 5 | Full rewrite. Essentially a brand new module. 6 | 7 | - Return a promise instead of taking a callback. 8 | - Use native `fs.mkdir(path, { recursive: true })` when available. 9 | - Drop support for outdated Node.js versions. (Technically still works on 10 | Node.js v8, but only 10 and above are officially supported.) 11 | 12 | ## 0.x 13 | 14 | Original and most widely used recursive directory creation implementation 15 | in JavaScript, dating back to 2010. 16 | -------------------------------------------------------------------------------- /node_modules/mkdirp/lib/use-native.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs') 2 | 3 | const version = process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version 4 | const versArr = version.replace(/^v/, '').split('.') 5 | const hasNative = +versArr[0] > 10 || +versArr[0] === 10 && +versArr[1] >= 12 6 | 7 | const useNative = !hasNative ? () => false : opts => opts.mkdir === fs.mkdir 8 | const useNativeSync = !hasNative ? () => false : opts => opts.mkdirSync === fs.mkdirSync 9 | 10 | module.exports = {useNative, useNativeSync} 11 | -------------------------------------------------------------------------------- /node_modules/reflect-metadata/AUTHORS.md: -------------------------------------------------------------------------------- 1 | reflect-metadata is authored by: 2 | * Cy Brown 3 | * Oleh Dokuka 4 | * Ron Buckton 5 | * William Buchwalter -------------------------------------------------------------------------------- /node_modules/source-map-support/register.js: -------------------------------------------------------------------------------- 1 | require('./').install(); 2 | -------------------------------------------------------------------------------- /node_modules/source-map/source-map.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009-2011 Mozilla Foundation and contributors 3 | * Licensed under the New BSD license. See LICENSE.txt or: 4 | * http://opensource.org/licenses/BSD-3-Clause 5 | */ 6 | exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; 7 | exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; 8 | exports.SourceNode = require('./lib/source-node').SourceNode; 9 | -------------------------------------------------------------------------------- /node_modules/string-template/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/string-template/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | before_script: 5 | - npm install 6 | - npm install istanbul coveralls 7 | script: npm run travis-test 8 | -------------------------------------------------------------------------------- /node_modules/string-template/coverage/sort-arrow-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gamedevgarage/gamedevgarage_obfuscator/c73cef35f18ab11eabdece63c7c2787bb708b70b/node_modules/string-template/coverage/sort-arrow-sprite.png -------------------------------------------------------------------------------- /node_modules/supports-color/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = { 3 | stdout: false, 4 | stderr: false 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/tslib/tslib.es6.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node_modules/tslib/tslib.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /node_modules/validator/es/lib/blacklist.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function blacklist(str, chars) { 3 | assertString(str); 4 | return str.replace(new RegExp("[".concat(chars, "]+"), 'g'), ''); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/contains.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import toString from './util/toString'; 3 | export default function contains(str, elem) { 4 | assertString(str); 5 | return str.indexOf(toString(elem)) >= 0; 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/equals.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function equals(str, comparison) { 3 | assertString(str); 4 | return str === comparison; 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/escape.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function escape(str) { 3 | assertString(str); 4 | return str.replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(//g, '>').replace(/\//g, '/').replace(/\\/g, '\').replace(/`/g, '`'); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isAfter.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import toDate from './toDate'; 3 | export default function isAfter(str) { 4 | var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date()); 5 | assertString(str); 6 | var comparison = toDate(date); 7 | var original = toDate(str); 8 | return !!(original && comparison && original > comparison); 9 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isAlpha.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import { alpha } from './alpha'; 3 | export default function isAlpha(str) { 4 | var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US'; 5 | assertString(str); 6 | 7 | if (locale in alpha) { 8 | return alpha[locale].test(str); 9 | } 10 | 11 | throw new Error("Invalid locale '".concat(locale, "'")); 12 | } 13 | export var locales = Object.keys(alpha); -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isAlphanumeric.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import { alphanumeric } from './alpha'; 3 | export default function isAlphanumeric(str) { 4 | var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'en-US'; 5 | assertString(str); 6 | 7 | if (locale in alphanumeric) { 8 | return alphanumeric[locale].test(str); 9 | } 10 | 11 | throw new Error("Invalid locale '".concat(locale, "'")); 12 | } 13 | export var locales = Object.keys(alphanumeric); -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isAscii.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | /* eslint-disable no-control-regex */ 3 | 4 | var ascii = /^[\x00-\x7F]+$/; 5 | /* eslint-enable no-control-regex */ 6 | 7 | export default function isAscii(str) { 8 | assertString(str); 9 | return ascii.test(str); 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBIC.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var isBICReg = /^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/; 3 | export default function isBIC(str) { 4 | assertString(str); 5 | return isBICReg.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBase32.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var base32 = /^[A-Z2-7]+=*$/; 3 | export default function isBase32(str) { 4 | assertString(str); 5 | var len = str.length; 6 | 7 | if (len > 0 && len % 8 === 0 && base32.test(str)) { 8 | return true; 9 | } 10 | 11 | return false; 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBase64.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var notBase64 = /[^A-Z0-9+\/=]/i; 3 | export default function isBase64(str) { 4 | assertString(str); 5 | var len = str.length; 6 | 7 | if (!len || len % 4 !== 0 || notBase64.test(str)) { 8 | return false; 9 | } 10 | 11 | var firstPaddingChar = str.indexOf('='); 12 | return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && str[len - 1] === '='; 13 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBefore.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import toDate from './toDate'; 3 | export default function isBefore(str) { 4 | var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date()); 5 | assertString(str); 6 | var comparison = toDate(date); 7 | var original = toDate(str); 8 | return !!(original && comparison && original < comparison); 9 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBoolean.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function isBoolean(str) { 3 | assertString(str); 4 | return ['true', 'false', '1', '0'].indexOf(str) >= 0; 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isBtcAddress.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; // supports Bech32 addresses 2 | 3 | var btc = /^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/; 4 | export default function isBtcAddress(str) { 5 | assertString(str); 6 | return btc.test(str); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isDivisibleBy.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import toFloat from './toFloat'; 3 | export default function isDivisibleBy(str, num) { 4 | assertString(str); 5 | return toFloat(str) % parseInt(num, 10) === 0; 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isEmpty.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import merge from './util/merge'; 3 | var default_is_empty_options = { 4 | ignore_whitespace: false 5 | }; 6 | export default function isEmpty(str, options) { 7 | assertString(str); 8 | options = merge(options, default_is_empty_options); 9 | return (options.ignore_whitespace ? str.trim().length : str.length) === 0; 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isEthereumAddress.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var eth = /^(0x)[0-9a-f]{40}$/i; 3 | export default function isEthereumAddress(str) { 4 | assertString(str); 5 | return eth.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isFullWidth.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export var fullWidth = /[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/; 3 | export default function isFullWidth(str) { 4 | assertString(str); 5 | return fullWidth.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHalfWidth.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export var halfWidth = /[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/; 3 | export default function isHalfWidth(str) { 4 | assertString(str); 5 | return halfWidth.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHash.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var lengths = { 3 | md5: 32, 4 | md4: 32, 5 | sha1: 40, 6 | sha256: 64, 7 | sha384: 96, 8 | sha512: 128, 9 | ripemd128: 32, 10 | ripemd160: 40, 11 | tiger128: 32, 12 | tiger160: 40, 13 | tiger192: 48, 14 | crc32: 8, 15 | crc32b: 8 16 | }; 17 | export default function isHash(str, algorithm) { 18 | assertString(str); 19 | var hash = new RegExp("^[a-fA-F0-9]{".concat(lengths[algorithm], "}$")); 20 | return hash.test(str); 21 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHexColor.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var hexcolor = /^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i; 3 | export default function isHexColor(str) { 4 | assertString(str); 5 | return hexcolor.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isHexadecimal.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var hexadecimal = /^(0x|0h)?[0-9A-F]+$/i; 3 | export default function isHexadecimal(str) { 4 | assertString(str); 5 | return hexadecimal.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isISRC.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; // see http://isrc.ifpi.org/en/isrc-standard/code-syntax 2 | 3 | var isrc = /^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/; 4 | export default function isISRC(str) { 5 | assertString(str); 6 | return isrc.test(str); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isJWT.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var jwt = /^([A-Za-z0-9\-_~+\/]+[=]{0,2})\.([A-Za-z0-9\-_~+\/]+[=]{0,2})(?:\.([A-Za-z0-9\-_~+\/]+[=]{0,2}))?$/; 3 | export default function isJWT(str) { 4 | assertString(str); 5 | return jwt.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isLatLong.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var lat = /^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/; 3 | var _long = /^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/; 4 | export default function (str) { 5 | assertString(str); 6 | if (!str.includes(',')) return false; 7 | var pair = str.split(','); 8 | if (pair[0].startsWith('(') && !pair[1].endsWith(')') || pair[1].endsWith(')') && !pair[0].startsWith('(')) return false; 9 | return lat.test(pair[0]) && _long.test(pair[1]); 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isLocale.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var localeReg = /^[A-z]{2,4}([_-]([A-z]{4}|[\d]{3}))?([_-]([A-z]{2}|[\d]{3}))?$/; 3 | export default function isLocale(str) { 4 | assertString(str); 5 | 6 | if (str === 'en_US_POSIX' || str === 'ca_ES_VALENCIA') { 7 | return true; 8 | } 9 | 10 | return localeReg.test(str); 11 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isLowercase.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function isLowercase(str) { 3 | assertString(str); 4 | return str === str.toLowerCase(); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMD5.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var md5 = /^[a-f0-9]{32}$/; 3 | export default function isMD5(str) { 4 | assertString(str); 5 | return md5.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMagnetURI.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var magnetURI = /^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i; 3 | export default function isMagnetURI(url) { 4 | assertString(url); 5 | return magnetURI.test(url.trim()); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMongoId.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import isHexadecimal from './isHexadecimal'; 3 | export default function isMongoId(str) { 4 | assertString(str); 5 | return isHexadecimal(str) && str.length === 24; 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isMultibyte.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | /* eslint-disable no-control-regex */ 3 | 4 | var multibyte = /[^\x00-\x7F]/; 5 | /* eslint-enable no-control-regex */ 6 | 7 | export default function isMultibyte(str) { 8 | assertString(str); 9 | return multibyte.test(str); 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isNumeric.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var numeric = /^[+-]?([0-9]*[.])?[0-9]+$/; 3 | var numericNoSymbols = /^[0-9]+$/; 4 | export default function isNumeric(str, options) { 5 | assertString(str); 6 | 7 | if (options && options.no_symbols) { 8 | return numericNoSymbols.test(str); 9 | } 10 | 11 | return numeric.test(str); 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isOctal.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var octal = /^(0o)?[0-7]+$/i; 3 | export default function isOctal(str) { 4 | assertString(str); 5 | return octal.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isPort.js: -------------------------------------------------------------------------------- 1 | import isInt from './isInt'; 2 | export default function isPort(str) { 3 | return isInt(str, { 4 | min: 0, 5 | max: 65535 6 | }); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isSlug.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var charsetRegex = /^[^-_](?!.*?[-_]{2,})([a-z0-9\\-]{1,}).*[^-_]$/; 3 | export default function isSlug(str) { 4 | assertString(str); 5 | return charsetRegex.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isSurrogatePair.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | var surrogatePair = /[\uD800-\uDBFF][\uDC00-\uDFFF]/; 3 | export default function isSurrogatePair(str) { 4 | assertString(str); 5 | return surrogatePair.test(str); 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isUppercase.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function isUppercase(str) { 3 | assertString(str); 4 | return str === str.toUpperCase(); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isVariableWidth.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import { fullWidth } from './isFullWidth'; 3 | import { halfWidth } from './isHalfWidth'; 4 | export default function isVariableWidth(str) { 5 | assertString(str); 6 | return fullWidth.test(str) && halfWidth.test(str); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/isWhitelisted.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function isWhitelisted(str, chars) { 3 | assertString(str); 4 | 5 | for (var i = str.length - 1; i >= 0; i--) { 6 | if (chars.indexOf(str[i]) === -1) { 7 | return false; 8 | } 9 | } 10 | 11 | return true; 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/ltrim.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function ltrim(str, chars) { 3 | assertString(str); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping 4 | 5 | var pattern = chars ? new RegExp("^[".concat(chars.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), "]+"), 'g') : /^\s+/g; 6 | return str.replace(pattern, ''); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/matches.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function matches(str, pattern, modifiers) { 3 | assertString(str); 4 | 5 | if (Object.prototype.toString.call(pattern) !== '[object RegExp]') { 6 | pattern = new RegExp(pattern, modifiers); 7 | } 8 | 9 | return pattern.test(str); 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/rtrim.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function rtrim(str, chars) { 3 | assertString(str); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Escaping 4 | 5 | var pattern = chars ? new RegExp("[".concat(chars.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), "]+$"), 'g') : /\s+$/g; 6 | return str.replace(pattern, ''); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/stripLow.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | import blacklist from './blacklist'; 3 | export default function stripLow(str, keep_new_lines) { 4 | assertString(str); 5 | var chars = keep_new_lines ? '\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F' : '\\x00-\\x1F\\x7F'; 6 | return blacklist(str, chars); 7 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toBoolean.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function toBoolean(str, strict) { 3 | assertString(str); 4 | 5 | if (strict) { 6 | return str === '1' || /^true$/i.test(str); 7 | } 8 | 9 | return str !== '0' && !/^false$/i.test(str) && str !== ''; 10 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toDate.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function toDate(date) { 3 | assertString(date); 4 | date = Date.parse(date); 5 | return !isNaN(date) ? new Date(date) : null; 6 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toFloat.js: -------------------------------------------------------------------------------- 1 | import isFloat from './isFloat'; 2 | export default function toFloat(str) { 3 | if (!isFloat(str)) return NaN; 4 | return parseFloat(str); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/toInt.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function toInt(str, radix) { 3 | assertString(str); 4 | return parseInt(str, radix || 10); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/trim.js: -------------------------------------------------------------------------------- 1 | import rtrim from './rtrim'; 2 | import ltrim from './ltrim'; 3 | export default function trim(str, chars) { 4 | return rtrim(ltrim(str, chars), chars); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/unescape.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function unescape(str) { 3 | assertString(str); 4 | return str.replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, "'").replace(/</g, '<').replace(/>/g, '>').replace(///g, '/').replace(/\/g, '\\').replace(/`/g, '`'); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/util/includes.js: -------------------------------------------------------------------------------- 1 | var includes = function includes(arr, val) { 2 | return arr.some(function (arrVal) { 3 | return val === arrVal; 4 | }); 5 | }; 6 | 7 | export default includes; -------------------------------------------------------------------------------- /node_modules/validator/es/lib/util/merge.js: -------------------------------------------------------------------------------- 1 | export default function merge() { 2 | var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; 3 | var defaults = arguments.length > 1 ? arguments[1] : undefined; 4 | 5 | for (var key in defaults) { 6 | if (typeof obj[key] === 'undefined') { 7 | obj[key] = defaults[key]; 8 | } 9 | } 10 | 11 | return obj; 12 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/util/multilineRegex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Build RegExp object from an array 3 | * of multiple/multi-line regexp parts 4 | * 5 | * @param {string[]} parts 6 | * @param {string} flags 7 | * @return {object} - RegExp object 8 | */ 9 | export default function multilineRegexp(parts) { 10 | var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; 11 | var regexpAsStringLiteral = parts.join(''); 12 | return new RegExp(regexpAsStringLiteral, flags); 13 | } -------------------------------------------------------------------------------- /node_modules/validator/es/lib/whitelist.js: -------------------------------------------------------------------------------- 1 | import assertString from './util/assertString'; 2 | export default function whitelist(str, chars) { 3 | assertString(str); 4 | return str.replace(new RegExp("[^".concat(chars, "]+"), 'g'), ''); 5 | } -------------------------------------------------------------------------------- /node_modules/validator/lib/isPort.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = isPort; 7 | 8 | var _isInt = _interopRequireDefault(require("./isInt")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function isPort(str) { 13 | return (0, _isInt.default)(str, { 14 | min: 0, 15 | max: 65535 16 | }); 17 | } 18 | 19 | module.exports = exports.default; 20 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/toFloat.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = toFloat; 7 | 8 | var _isFloat = _interopRequireDefault(require("./isFloat")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function toFloat(str) { 13 | if (!(0, _isFloat.default)(str)) return NaN; 14 | return parseFloat(str); 15 | } 16 | 17 | module.exports = exports.default; 18 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /node_modules/validator/lib/util/includes.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var includes = function includes(arr, val) { 9 | return arr.some(function (arrVal) { 10 | return val === arrVal; 11 | }); 12 | }; 13 | 14 | var _default = includes; 15 | exports.default = _default; 16 | module.exports = exports.default; 17 | module.exports.default = exports.default; -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "gdg_obfuscate", 3 | "version": "0.0.1", 4 | "description": "Game Dev Garage Source Obfuscator", 5 | "author": "Martin (Game Dev Garage)", 6 | "main": "main.js", 7 | "devDependencies": { 8 | "javascript-obfuscator": "^0.28.1" 9 | } 10 | } 11 | --------------------------------------------------------------------------------