Skip to content

Commit

Permalink
Build | Registry Fix (#16)
Browse files Browse the repository at this point in the history
* Use npm as registry

* Bump

* Update to latest xregexp

* Revert namespace behavior

* Use npm

* Change tsconfig

* Bump
  • Loading branch information
PapaStef authored Jul 20, 2021
1 parent 63fa606 commit de0ca64
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bankrate/parse-address",
"version": "2.2.1",
"version": "2.2.2",
"description": "US Street Address Parser",
"main": "dist/parser.js",
"scripts": {
Expand All @@ -14,7 +14,7 @@
},
"license": "ISC",
"dependencies": {
"xregexp": "^4.4.1"
"xregexp": "^5.0.2"
},
"devDependencies": {
"@types/jest": "^26.0.24",
Expand Down
2 changes: 2 additions & 0 deletions src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import {
capitalize,
} from './utils'

XRegExp.uninstall('namespacing')

export class AddressParser {
private addressMatch: Record<string, any>
private directionCode: Record<string, any>
Expand Down
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"outDir": "dist",
"target": "es2018",
"module": "umd",
"target": "ES6",
"module": "commonjs",
"noImplicitAny": false,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
Expand All @@ -19,7 +19,9 @@
"useDefineForClassFields": true,
"esModuleInterop": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"sourceMap": true,
"lib": ["es2017"],
"forceConsistentCasingInFileNames": true
},
"include": ["**.ts", "**/*.ts"],
Expand Down

0 comments on commit de0ca64

Please sign in to comment.