@agencebio/cartobio-types
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -6,4 +6,11 @@ const { randomInt, randomUUID } = require('crypto') | ||
*/ | ||
// @ts-ignore | ||
const communes = require('../../data/communes.json') | ||
let communes = [] | ||
try { | ||
communes = JSON.parse( | ||
require('fs').readFileSync(require('path').join(__dirname, '../../data/communes.json'), 'utf8') | ||
) | ||
} catch (error) { | ||
// skip, this is probably the type package | ||
} | ||
const { fromCodePacStrict, fromCodeCpf } = require('@agencebio/rosetta-cultures') | ||
@@ -10,0 +17,0 @@ |
@@ -14,3 +14,4 @@ import type {DBOperatorRecord} from "../../providers/types/cartobio.d.ts"; | ||
export type NormalizedRecordSummary = Omit<NormalizedRecord, 'parcelles'> & { | ||
parcelles: number | ||
parcelles: number, | ||
surface: number | ||
}; |
{ | ||
"name": "@agencebio/cartobio-types", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "types.d.ts", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
284382
5237
5