Comparing version 1.3.5 to 2.0.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class BirError extends Error { | ||
response; | ||
constructor(message) { | ||
@@ -27,2 +28,1 @@ super(message); | ||
exports.default = BirError; | ||
//# sourceMappingURL=bir-error.js.map |
@@ -30,2 +30,6 @@ "use strict"; | ||
class Bir { | ||
key; | ||
sid; | ||
prod; | ||
api; | ||
constructor(options = {}) { | ||
@@ -69,2 +73,1 @@ this.key = options.key || 'abcde12345abcde12345'; | ||
exports.default = Bir; | ||
//# sourceMappingURL=bir.js.map |
@@ -1,2 +0,2 @@ | ||
import { default as Bir } from './bir'; | ||
import Bir from './bir.js'; | ||
export = Bir; |
@@ -5,4 +5,3 @@ "use strict"; | ||
}; | ||
const bir_1 = __importDefault(require("./bir")); | ||
module.exports = bir_1.default; | ||
//# sourceMappingURL=index.js.map | ||
const bir_js_1 = __importDefault(require("./bir.js")); | ||
module.exports = bir_js_1.default; |
@@ -9,2 +9,1 @@ "use strict"; | ||
exports.removePrefix = removePrefix; | ||
//# sourceMappingURL=normalize.js.map |
@@ -22,2 +22,1 @@ "use strict"; | ||
exports.template = template; | ||
//# sourceMappingURL=template.js.map |
@@ -19,2 +19,1 @@ "use strict"; | ||
exports.xml2json = xml2json; | ||
//# sourceMappingURL=xml-parser.js.map |
{ | ||
"name": "bir1", | ||
"version": "1.3.5", | ||
"version": "2.0.0", | ||
"description": "GUS REGON api client", | ||
@@ -17,3 +17,3 @@ "keywords": [ | ||
"main": "./dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
@@ -24,23 +24,31 @@ "dist", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "rimraf dist && tsc", | ||
"dev": "tsc -w", | ||
"test": "tap --no-coverage" | ||
"test": "tap" | ||
}, | ||
"dependencies": { | ||
"entities": "^2.2.0", | ||
"entities": "^4.5.0", | ||
"got": "^11.8.2", | ||
"handlebars": "^4.7.7", | ||
"xml2js": "^0.5.0" | ||
"handlebars": "^4.7.8", | ||
"xml2js": "^0.6.2" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.18", | ||
"@types/xml2js": "^0.4.11", | ||
"dotenv": "^16.0.3", | ||
"tap": "^16.3.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.4" | ||
"@tapjs/tsx": "^1.1.18", | ||
"@types/node": "^20.10.5", | ||
"@types/xml2js": "^0.4.14", | ||
"dotenv": "^16.3.1", | ||
"rimraf": "^5.0.5", | ||
"tap": "^18.6.1", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.3.3" | ||
}, | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=18" | ||
}, | ||
"tap": { | ||
"plugin": [ | ||
"@tapjs/tsx", | ||
"!@tapjs/typescript" | ||
] | ||
} | ||
} |
184
12452
8
18
+ Addedentities@4.5.0(transitive)
+ Addedxml2js@0.6.2(transitive)
- Removedentities@2.2.0(transitive)
- Removedxml2js@0.5.0(transitive)
Updatedentities@^4.5.0
Updatedhandlebars@^4.7.8
Updatedxml2js@^0.6.2