parent
72a4abd25d
commit
9b922c4eaf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,23 @@ |
|||||||
|
const fs = require('fs'); |
||||||
|
|
||||||
|
mapData=[] |
||||||
|
|
||||||
|
for (file of ["area0.json", |
||||||
|
"area1.json", |
||||||
|
"area2.json", |
||||||
|
"area3.json", |
||||||
|
"area4.json", |
||||||
|
"area5.json", |
||||||
|
"area6.json", |
||||||
|
"area7.json", |
||||||
|
"area8.json", |
||||||
|
"area9.json", |
||||||
|
"area11.json"]) { |
||||||
|
mapData=[...mapData,JSON.parse(fs.readFileSync(file))] |
||||||
|
} |
||||||
|
|
||||||
|
for (data of mapData){ |
||||||
|
for (layer of data.layers) { |
||||||
|
console.log(layer.data) |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,12 @@ |
|||||||
|
{ |
||||||
|
"name": "Ironbun", |
||||||
|
"lockfileVersion": 3, |
||||||
|
"requires": true, |
||||||
|
"packages": { |
||||||
|
"node_modules/fs": { |
||||||
|
"version": "0.0.1-security", |
||||||
|
"resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", |
||||||
|
"integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,9 @@ |
|||||||
|
# Security holding package |
||||||
|
|
||||||
|
This package name is not currently in use, but was formerly occupied |
||||||
|
by another package. To avoid malicious use, npm is hanging on to the |
||||||
|
package name, but loosely, and we'll probably give it to you if you |
||||||
|
want it. |
||||||
|
|
||||||
|
You may adopt this package by contacting support@npmjs.com and |
||||||
|
requesting the name. |
@ -0,0 +1,20 @@ |
|||||||
|
{ |
||||||
|
"name": "fs", |
||||||
|
"version": "0.0.1-security", |
||||||
|
"description": "", |
||||||
|
"main": "index.js", |
||||||
|
"scripts": { |
||||||
|
"test": "echo \"Error: no test specified\" && exit 1" |
||||||
|
}, |
||||||
|
"repository": { |
||||||
|
"type": "git", |
||||||
|
"url": "git+https://github.com/npm/security-holder.git" |
||||||
|
}, |
||||||
|
"keywords": [], |
||||||
|
"author": "", |
||||||
|
"license": "ISC", |
||||||
|
"bugs": { |
||||||
|
"url": "https://github.com/npm/security-holder/issues" |
||||||
|
}, |
||||||
|
"homepage": "https://github.com/npm/security-holder#readme" |
||||||
|
} |
@ -0,0 +1,17 @@ |
|||||||
|
{ |
||||||
|
"name": "Ironbun", |
||||||
|
"lockfileVersion": 3, |
||||||
|
"requires": true, |
||||||
|
"packages": { |
||||||
|
"": { |
||||||
|
"dependencies": { |
||||||
|
"fs": "^0.0.1-security" |
||||||
|
} |
||||||
|
}, |
||||||
|
"node_modules/fs": { |
||||||
|
"version": "0.0.1-security", |
||||||
|
"resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", |
||||||
|
"integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,5 @@ |
|||||||
|
{ |
||||||
|
"dependencies": { |
||||||
|
"fs": "^0.0.1-security" |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue