📦 Publicodes v1.0.0-beta.6

pull/1317/head
Maxime Quandalle 2020-12-17 15:47:32 +01:00
parent 803e49f787
commit feaff6d585
5 changed files with 415 additions and 8 deletions

View File

@ -16,12 +16,11 @@
"dist/index.js"
],
"devDependencies": {
"publicodes": "^1.0.0-beta.5",
"publicodes": "^1.0.0-beta.6",
"yaml": "^1.10.0"
},
"dependencies": {},
"peerDependencies": {
"publicodes": "^1.0.0-beta.5"
"publicodes": "^1.0.0-beta.6"
},
"scripts": {
"build": "node build.js",

View File

@ -68,8 +68,8 @@
"focus-trap-react": "^3.1.2",
"fuse.js": "5.2.1",
"iframe-resizer": "^4.1.1",
"publicodes": "^1.0.0-beta.5",
"publicodes-react": "^1.0.0-beta.5",
"publicodes": "^1.0.0-beta.6",
"publicodes-react": "^1.0.0-beta.6",
"ramda": "^0.27.0",
"react": "^17.0.0",
"react-color": "^2.14.0",

View File

@ -1,6 +1,6 @@
{
"name": "publicodes",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "A declarative language for encoding public algorithm",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",

View File

@ -1,6 +1,6 @@
{
"name": "publicodes-react",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "UI to explore publicodes computations",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -13,7 +13,7 @@
"classnames": "^2.2.6",
"focus-trap-react": "^3.1.2",
"i18next": "^19.4.4",
"publicodes": "^1.0.0-beta.5",
"publicodes": "1.0.0-beta.6",
"ramda": "^0.27.0",
"react-easy-emoji": "^1.4.0",
"react-i18next": "^11.4.0",

View File

@ -0,0 +1,408 @@
{
"header": {
"reportVersion": 1,
"event": "Allocation failed - JavaScript heap out of memory",
"trigger": "FatalError",
"filename": "report.20201217.141750.15272.0.001.json",
"dumpEventTime": "2020-12-17T14:17:50Z",
"dumpEventTimeStamp": "1608211070851",
"processId": 15272,
"cwd": "/home/mquandalle/github/mon-entreprise",
"commandLine": [
"/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node",
"/home/mquandalle/.vscode-server/extensions/dbaeumer.vscode-eslint-2.1.14/server/out/eslintServer.js",
"--node-ipc",
"--clientProcessId=13861"
],
"nodejsVersion": "v12.14.1",
"glibcVersionRuntime": "2.27",
"glibcVersionCompiler": "2.17",
"wordSize": 64,
"arch": "x64",
"platform": "linux",
"componentVersions": {
"node": "12.14.1",
"v8": "7.7.299.13-node.16",
"uv": "1.33.1",
"zlib": "1.2.11",
"brotli": "1.0.7",
"ares": "1.15.0",
"modules": "72",
"nghttp2": "1.40.0",
"napi": "5",
"llhttp": "2.0.1",
"http_parser": "2.8.0",
"openssl": "1.1.1d",
"cldr": "35.1",
"icu": "64.2",
"tz": "2019c",
"unicode": "12.1"
},
"release": {
"name": "node",
"lts": "Erbium",
"headersUrl": "https://nodejs.org/download/release/v12.14.1/node-v12.14.1-headers.tar.gz",
"sourceUrl": "https://nodejs.org/download/release/v12.14.1/node-v12.14.1.tar.gz"
},
"osName": "Linux",
"osRelease": "4.19.128-microsoft-standard",
"osVersion": "#1 SMP Tue Jun 23 12:58:10 UTC 2020",
"osMachine": "x86_64",
"cpus": [
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 25423200,
"nice": 0,
"sys": 11032100,
"idle": 1430891000,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 24985100,
"nice": 0,
"sys": 8636200,
"idle": 1620349000,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 27208300,
"nice": 0,
"sys": 11581100,
"idle": 1427536600,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 24257600,
"nice": 0,
"sys": 8524900,
"idle": 1453060200,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 26964400,
"nice": 0,
"sys": 11395500,
"idle": 1446402400,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 23958500,
"nice": 0,
"sys": 8422700,
"idle": 1636832400,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 25233700,
"nice": 100,
"sys": 11219900,
"idle": 1426407600,
"irq": 0
},
{
"model": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
"speed": 1991,
"user": 24119500,
"nice": 0,
"sys": 8887500,
"idle": 1460127400,
"irq": 0
}
],
"networkInterfaces": [
{
"name": "lo",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "127.0.0.1",
"netmask": "255.0.0.0",
"family": "IPv4"
},
{
"name": "eth0",
"internal": false,
"mac": "00:15:5d:e4:73:16",
"address": "172.26.158.180",
"netmask": "255.255.240.0",
"family": "IPv4"
},
{
"name": "lo",
"internal": true,
"mac": "00:00:00:00:00:00",
"address": "::1",
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
"family": "IPv6",
"scopeid": 0
},
{
"name": "eth0",
"internal": false,
"mac": "00:15:5d:e4:73:16",
"address": "fe80::215:5dff:fee4:7316",
"netmask": "ffff:ffff:ffff:ffff::",
"family": "IPv6",
"scopeid": 5
}
],
"host": "LAPTOP-CI0L8U4S"
},
"javascriptStack": {
"message": "No stack.",
"stack": [
"Unavailable."
]
},
"nativeStack": [
{
"pc": "0x0000000000b05ba5",
"symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::string const&, v8::Local<v8::String>) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x00000000009dbd93",
"symbol": "node::OnFatalError(char const*, char const*) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000b3b18e",
"symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000b3b509",
"symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000ce68a5",
"symbol": " [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000ce6f36",
"symbol": "v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000cf2dca",
"symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000cf3cd5",
"symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000cf66e8",
"symbol": "v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000cbd017",
"symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000000ff307b",
"symbol": "v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
},
{
"pc": "0x0000000001376259",
"symbol": " [/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node]"
}
],
"javascriptHeap": {
"totalMemory": 2155102208,
"totalCommittedMemory": 2151526256,
"usedMemory": 2144527680,
"availableMemory": 46794496,
"memoryLimit": 2197815296,
"heapSpaces": {
"read_only_space": {
"memorySize": 262144,
"committedMemory": 32568,
"capacity": 261872,
"used": 32296,
"available": 229576
},
"new_space": {
"memorySize": 4194304,
"committedMemory": 1368112,
"capacity": 2094976,
"used": 349184,
"available": 1745792
},
"old_space": {
"memorySize": 2039853056,
"committedMemory": 2039663320,
"capacity": 2034796936,
"used": 2034785872,
"available": 11064
},
"code_space": {
"memorySize": 2785280,
"committedMemory": 2675712,
"capacity": 2323328,
"used": 2323328,
"available": 0
},
"map_space": {
"memorySize": 2101248,
"committedMemory": 1880368,
"capacity": 1384960,
"used": 1384960,
"available": 0
},
"large_object_space": {
"memorySize": 105283584,
"committedMemory": 105283584,
"capacity": 105101384,
"used": 105101384,
"available": 0
},
"code_large_object_space": {
"memorySize": 622592,
"committedMemory": 622592,
"capacity": 550656,
"used": 550656,
"available": 0
},
"new_large_object_space": {
"memorySize": 0,
"committedMemory": 0,
"capacity": 2094976,
"used": 0,
"available": 2094976
}
}
},
"resourceUsage": {
"userCpuSeconds": 163.028,
"kernelCpuSeconds": 11.2253,
"cpuConsumptionPercent": 202.62,
"maxRss": 2258161664,
"pageFaults": {
"IORequired": 0,
"IONotRequired": 689821
},
"fsActivity": {
"reads": 5872,
"writes": 24
}
},
"uvthreadResourceUsage": {
"userCpuSeconds": 68.7847,
"kernelCpuSeconds": 5.87705,
"cpuConsumptionPercent": 86.816,
"fsActivity": {
"reads": 5872,
"writes": 24
}
},
"libuv": [
],
"environmentVariables": {
"USER": "mquandalle",
"VSCODE_WSL_EXT_LOCATION": "/mnt/c/Users/Maxime Quandalle/.vscode/extensions/ms-vscode-remote.remote-wsl-0.52.0",
"SHLVL": "0",
"HOME": "/home/mquandalle",
"OLDPWD": "/mnt/c/Users/Maxime Quandalle/AppData/Local/Programs/Microsoft VS Code",
"WSL_DISTRO_NAME": "Ubuntu-18.04",
"LOGNAME": "mquandalle",
"WSL_INTEROP": "/run/WSL/12645_interop",
"NAME": "LAPTOP-CI0L8U4S",
"_": "/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node",
"TERM": "xterm-256color",
"PATH": "/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/bin:/home/mquandalle/.deno/bin:/home/mquandalle/.nvm/versions/node/v12.16.2/bin:/home/mquandalle/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Git/mingw64/bin:/mnt/c/Program Files/Git/usr/bin:/mnt/c/Program Files (x86)/Calibre2/:/mnt/c/Program Files/Intel/WiFi/bin/:/mnt/c/Program Files/Common Files/Intel/WirelessCommon/:/mnt/c/Program Files/PowerShell/6/:/mnt/c/Program Files/Java/jdk-13.0.2/bin:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Users/Maxime Quandalle/scoop/shims:/mnt/c/Users/Maxime Quandalle/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Maxime Quandalle/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/Maxime Quandalle/AppData/Roaming/nvm:/mnt/c/Program Files/nodejs:/mnt/c/Program Files (x86)/GitHub CLI/:/mnt/c/Users/Maxime Quandalle/AppData/Local/Keybase/:/mnt/c/Users/Maxime Quandalle/AppData/Local/Microsoft/WindowsApps",
"VSCODE_AGENT_FOLDER": "/home/mquandalle/.vscode-server",
"LANG": "C.UTF-8",
"SHELL": "/usr/bin/zsh",
"VSCODE_SERVER_TAR": "/mnt/c/Users/MAXIME~1/AppData/Local/Temp/vscode-remote-wsl/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/vscode-server-linux-x64.tar.gz",
"PWD": "/mnt/c/Users/Maxime Quandalle/AppData/Local/Programs/Microsoft VS Code",
"HOSTTYPE": "x86_64",
"WSLENV": "VSCODE_WSL_EXT_LOCATION/up:VSCODE_SERVER_TAR/up",
"VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH": "/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/remote/node_modules",
"ZSH": "/home/mquandalle/.oh-my-zsh",
"PAGER": "less",
"LESS": "-R",
"LSCOLORS": "Gxfxcxdxbxegedabagacad",
"LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:",
"NVM_DIR": "/home/mquandalle/.nvm",
"NVM_CD_FLAGS": "-q",
"NVM_BIN": "/home/mquandalle/.nvm/versions/node/v12.16.2/bin",
"NVM_INC": "/home/mquandalle/.nvm/versions/node/v12.16.2/include/node",
"DENO_INSTALL": "/home/mquandalle/.deno",
"STARSHIP_SHELL": "zsh",
"STARSHIP_SESSION_KEY": "8755189324875266",
"AMD_ENTRYPOINT": "vs/server/remoteExtensionHostProcess",
"PIPE_LOGGING": "true",
"VERBOSE_LOGGING": "true",
"VSCODE_EXTHOST_WILL_SEND_SOCKET": "true",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_LOG_STACK": "false",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en\",\"availableLanguages\":{}}",
"BROWSER": "/home/mquandalle/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/bin/helpers/browser.sh",
"VSCODE_IPC_HOOK_CLI": "/tmp/vscode-ipc-8c379bd3-2218-4a4b-a60d-e7d888365b8e.sock",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
"ELECTRON_RUN_AS_NODE": "1",
"ELECTRON_NO_ASAR": "1"
},
"userLimits": {
"core_file_size_blocks": {
"soft": 0,
"hard": "unlimited"
},
"data_seg_size_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
},
"file_size_blocks": {
"soft": "unlimited",
"hard": "unlimited"
},
"max_locked_memory_bytes": {
"soft": 65536,
"hard": 65536
},
"max_memory_size_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
},
"open_files": {
"soft": 1048576,
"hard": 1048576
},
"stack_size_bytes": {
"soft": 8388608,
"hard": "unlimited"
},
"cpu_time_seconds": {
"soft": "unlimited",
"hard": "unlimited"
},
"max_user_processes": {
"soft": 31522,
"hard": 31522
},
"virtual_memory_kbytes": {
"soft": "unlimited",
"hard": "unlimited"
}
},
"sharedObjects": [
"linux-vdso.so.1",
"/lib/x86_64-linux-gnu/libdl.so.2",
"/usr/lib/x86_64-linux-gnu/libstdc++.so.6",
"/lib/x86_64-linux-gnu/libm.so.6",
"/lib/x86_64-linux-gnu/libgcc_s.so.1",
"/lib/x86_64-linux-gnu/libpthread.so.0",
"/lib/x86_64-linux-gnu/libc.so.6",
"/lib64/ld-linux-x86-64.so.2"
]
}