jsonschema-key-compression
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -0,1 +1,2 @@ | ||
export * from './types'; | ||
export { createCompressionTable, DEFAULT_COMPRESSION_FLAG } from './create-compression-table'; | ||
@@ -2,0 +3,0 @@ export { compressObject, compressedPath, compressQuerySelector, compressQuery } from './compress'; |
@@ -19,2 +19,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.compressQuerySelector = exports.compressQuery = exports.compressedAndFlaggedKey = exports.throwErrorIfCompressionFlagUsed = exports.compressedPath = exports.compressObject = void 0; | ||
/** | ||
@@ -21,0 +22,0 @@ * compress the keys of an object via the compression-table |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.uncompressedToCompressedTable = exports.compressedToUncompressedTable = exports.getPropertiesOfSchema = exports.createCompressionTable = exports.DEFAULT_COMPRESSION_FLAG = void 0; | ||
var util_1 = require("./util"); | ||
@@ -4,0 +5,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.decompressedKey = exports.decompressedPath = exports.decompressObject = void 0; | ||
function decompressObject(table, obj) { | ||
@@ -4,0 +5,0 @@ if (typeof obj !== 'object' || obj === null) |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./types"), exports); | ||
var create_compression_table_1 = require("./create-compression-table"); | ||
exports.createCompressionTable = create_compression_table_1.createCompressionTable; | ||
exports.DEFAULT_COMPRESSION_FLAG = create_compression_table_1.DEFAULT_COMPRESSION_FLAG; | ||
Object.defineProperty(exports, "createCompressionTable", { enumerable: true, get: function () { return create_compression_table_1.createCompressionTable; } }); | ||
Object.defineProperty(exports, "DEFAULT_COMPRESSION_FLAG", { enumerable: true, get: function () { return create_compression_table_1.DEFAULT_COMPRESSION_FLAG; } }); | ||
var compress_1 = require("./compress"); | ||
exports.compressObject = compress_1.compressObject; | ||
exports.compressedPath = compress_1.compressedPath; | ||
exports.compressQuerySelector = compress_1.compressQuerySelector; | ||
exports.compressQuery = compress_1.compressQuery; | ||
Object.defineProperty(exports, "compressObject", { enumerable: true, get: function () { return compress_1.compressObject; } }); | ||
Object.defineProperty(exports, "compressedPath", { enumerable: true, get: function () { return compress_1.compressedPath; } }); | ||
Object.defineProperty(exports, "compressQuerySelector", { enumerable: true, get: function () { return compress_1.compressQuerySelector; } }); | ||
Object.defineProperty(exports, "compressQuery", { enumerable: true, get: function () { return compress_1.compressQuery; } }); | ||
var decompress_1 = require("./decompress"); | ||
exports.decompressObject = decompress_1.decompressObject; | ||
exports.decompressedPath = decompress_1.decompressedPath; | ||
Object.defineProperty(exports, "decompressObject", { enumerable: true, get: function () { return decompress_1.decompressObject; } }); | ||
Object.defineProperty(exports, "decompressedPath", { enumerable: true, get: function () { return decompress_1.decompressedPath; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.alphabeticCompare = exports.numberToLetter = void 0; | ||
/** | ||
@@ -4,0 +5,0 @@ * @link https://de.wikipedia.org/wiki/Base58 |
{ | ||
"name": "jsonschema-key-compression", | ||
"version": "1.1.1", | ||
"description": "Compress json-data based on it's json-schema", | ||
"version": "1.2.0", | ||
"description": "Compress json-data based on its json-schema", | ||
"author": "pubkey", | ||
@@ -9,3 +9,5 @@ "keywords": [ | ||
"compression", | ||
"jsonschema" | ||
"jsonschema", | ||
"json-schema", | ||
"compress" | ||
], | ||
@@ -38,5 +40,5 @@ "main": "./dist/lib/index.js", | ||
"devDependencies": { | ||
"@types/faker": "4.1.11", | ||
"@types/mocha": "7.0.2", | ||
"@types/node": "13.11.1", | ||
"@types/faker": "4.1.12", | ||
"@types/mocha": "8.0.0", | ||
"@types/node": "14.0.24", | ||
"@types/node-gzip": "1.1.0", | ||
@@ -46,10 +48,10 @@ "assert": "2.0.0", | ||
"faker": "4.1.0", | ||
"mocha": "7.1.1", | ||
"mocha": "8.0.1", | ||
"node-gzip": "1.1.2", | ||
"rimraf": "3.0.2", | ||
"ts-node": "8.8.2", | ||
"tslint": "6.1.1", | ||
"typescript": "3.8.3" | ||
"ts-node": "8.10.2", | ||
"tslint": "6.1.2", | ||
"typescript": "3.9.7" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -1,6 +0,6 @@ | ||
import { | ||
import type { | ||
PlainJsonObject, | ||
CompressionTable, | ||
MangoQuery | ||
} from '../types/index'; | ||
} from './types'; | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
import { | ||
import type { | ||
CompressionTable, | ||
JsonSchema, | ||
TableType | ||
} from '../types/index'; | ||
} from './types'; | ||
import { | ||
@@ -7,0 +7,0 @@ numberToLetter, |
@@ -1,5 +0,5 @@ | ||
import { | ||
import type { | ||
PlainJsonObject, | ||
CompressionTable | ||
} from '../types/index'; | ||
} from './types'; | ||
@@ -6,0 +6,0 @@ export function decompressObject( |
@@ -1,2 +0,2 @@ | ||
export * from '../types/index.d'; | ||
export * from './types'; | ||
@@ -7,2 +7,3 @@ export { | ||
} from './create-compression-table'; | ||
export { | ||
@@ -9,0 +10,0 @@ compressObject, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76032
1124