Compare commits

..
3 Commits
Author SHA1 Message Date
Brahim Hadriche e93f9a02c2 [chore] update dependencies (#938)
* update dependencies

* no message
2026-09-29 14:47:11 -04:00
Brahim Hadriche 37a1fffb8d Release v0.48.5 (#943) 2026-09-29 14:06:52 -04:00
Brahim Hadriche 6ae6f6cb68 Fixed issue with start up tasks that might have caused "Failed to fetch session data" errors. 2026-09-26 20:03:51 -04:00
20 changed files with 573 additions and 1674 deletions

No files matched your search

+6
View File
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.48.5] - 2026-09-29
### Fixed
- Issue with start up tasks that might have caused "Failed to fetch session data" errors.
## [0.48.4] - 2026-09-24
### Fixed
+1
View File
@@ -15,6 +15,7 @@
1010
],
"diagnosticLevel": "hint",
"minFirmwareVersion": "11.5.0",
// The validation regex rules are validated using the validation-plugin.ts plugin
"validation": [
{
+345 -1432
View File
File diff suppressed because it is too large. Load diff
+12 -13
View File
@@ -1,38 +1,37 @@
{
"name": "playlet",
"version": "0.48.4",
"version": "0.48.5",
"description": "Unofficial YouTube client for Roku",
"devDependencies": {
"@rokucommunity/bslint": "^0.8.45",
"@rokucommunity/bslint": "^0.8.46",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^26.4.1",
"@types/node": "^26.6.3",
"@types/xml2js": "^0.4.14",
"argparse": "^3.0.1",
"brighterscript": "0.73.1",
"brighterscript-formatter": "^1.8.2",
"argparse": "^3.0.2",
"brighterscript": "0.73.5",
"brighterscript-formatter": "^1.8.3",
"convert-svg-to-png": "^0.7.1",
"crypto-js": "^4.2.0",
"dotenv": "^17.4.2",
"fs-extra": "^11.4.0",
"dotenv": "^18.0.4",
"fs-extra": "^11.4.1",
"glob": "^13.0.6",
"imap": "^0.8.19",
"ip": "^2.0.1",
"json5": "^2.2.3",
"mailparser": "^3.9.20",
"mailparser": "^3.9.28",
"protocol-buffers-schema": "^3.6.1",
"puppeteer": "^25.10.0",
"roku-deploy": "^3.18.4",
"roku-test-automation": "^2.2.2",
"rooibos-roku": "5.16.4",
"rooibos-roku": "5.16.5",
"semver": "^7.8.5",
"shelljs": "^0.10.0",
"telnet-client": "^2.2.14",
"ts-node": "^10.9.2",
"typescript": "6.0.3",
"xml2js": "^0.6.2",
"yaml": "^2.9.0",
"youtubei.js": "^18.0.0"
"yaml": "^2.9.1",
"youtubei.js": "^18.1.0"
},
"engines": {
"node": "22"
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-app",
"version": "0.48.4",
"version": "0.48.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-app",
"version": "0.48.4"
"version": "0.48.5"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-app",
"version": "0.48.4",
"version": "0.48.5",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "node ../tools/rm.js ../build/playlet-app",
+1 -1
View File
@@ -3,7 +3,7 @@ title=Playlet
# Do not update version manually, it is auto updated from package.json
major_version=0
minor_version=48
build_version=00004
build_version=00005
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-lib",
"version": "0.48.4",
"version": "0.48.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-lib",
"version": "0.48.4"
"version": "0.48.5"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-lib",
"version": "0.48.4",
"version": "0.48.5",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "node ../tools/rm.js ../build/playlet-lib",
@@ -2,51 +2,20 @@ import "pkg:/source/utils/MessagePortUtils.bs"
import "pkg:/source/utils/Types.bs"
function Init()
m.jobQueueTaskReady = false
m.jobQueueTask = CreateObject("roSGNode", "JobQueueTask")
m.jobQueueTask.observeFieldScoped("ready", FuncName(OnJobQueueTaskReady))
m.jobQueueTask.control = "run"
m.top.observeField("shutdown", FuncName(OnShutdown))
m.top.observeField("request", FuncName(OnRequest))
end function
function OnJobQueueTaskReady(event as object) as void
jobQueueTask = event.getRoSGNode()
jobQueueTask.unobserveFieldScoped("ready")
m.jobQueueTaskReady = true
pendingRequestEvents = m.pendingRequestEvents
if pendingRequestEvents = invalid
return
end if
m.pendingRequestEvents = invalid
for each requestEvent in pendingRequestEvents
OnRequest(requestEvent)
end for
m.jobQueueTask.control = "run"
end function
function OnShutdown() as void
m.top.unobserveField("shutdown")
m.top.unobserveField("request")
m.jobQueueTaskReady = false
m.jobQueueTask.unobserveField("ready")
m.jobQueueTask.shutdown = true
m.jobQueueTask = invalid
m.pendingRequestEvents = invalid
end function
function OnRequest(event as object) as void
if not m.jobQueueTaskReady
if m.pendingRequestEvents = invalid
m.pendingRequestEvents = []
end if
m.pendingRequestEvents.push(event)
LogWarnNoTelemetry("JobQueue: Job queue task is not ready, request will be queued")
return
end if
request = event.getData()
if not IsAssociativeArray(request)
LogError("JobQueue: Invalid request data", request)
@@ -9,65 +9,57 @@ import "pkg:/source/utils/StringUtils.bs"
const MAX_JOB_TASK_COUNT = 30
' Minimum number of JobTasks that will be kept alive
const MIN_JOB_TASK_COUNT = 2
' Time in milliseconds to wait before scaling down JobTasks
' Time in milliseconds without a message before scaling down JobTasks
const SCALE_DOWN_THRESHOLD_MS = 10000
' wait() sometimes isn't woken by a new message (seen on device); the next wait() returns it
const POLL_MS = 1000
' Missed requests cluster right after start (measured): check the port more often then
const STARTUP_WINDOW_MS = 2000
const STARTUP_POLL_MS = 100
function Init()
m.top.functionName = "JobQueueTaskLoop"
m.port = CreateObject("roMessagePort")
m.top.observeField("shutdown", m.port)
m.top.observeField("request", m.port)
end function
function JobQueueTaskLoop() as void
messagePort = CreateObject("roMessagePort")
m.top.observeField("shutdown", messagePort)
m.top.observeField("request", messagePort)
m.top.ready = true
port = m.port
m.busyJobTasks = {}
m.idleJobTasks = []
requests = []
startup = CreateObject("roTimespan")
scaleDownTimer = CreateObject("roTimespan")
while true
while requests.count() > 0
if m.idleJobTasks.Count() > 0
ScheduleRequest(requests.Shift(), m.idleJobTasks.Pop())
continue while
end if
if m.idleJobTasks.Count() + m.busyJobTasks.Count() < MAX_JOB_TASK_COUNT
LogDebug("Creating a new JobTask. Idle:", m.idleJobTasks.Count(), ", Busy:", m.busyJobTasks.Count())
jobTask = CreateObject("roSGNode", "JobTask")
jobTaskId = "JobTask-" + StringUtils.RandomId()
jobTask.id = jobTaskId
jobTaskObject = {
id: jobTaskId
node: jobTask
}
m.busyJobTasks[jobTaskId] = jobTaskObject
MessagePortUtils.ObserveFieldScopedExSafe(jobTask, "ready", messagePort)
jobTask.control = "run"
else
#if DEBUG
LogWarnNoTelemetry("Cannot create new JobTask. Idle:", m.idleJobTasks.Count(), ", Busy:", m.busyJobTasks.Count())
#end if
end if
exit while
while requests.Count() > 0 and m.idleJobTasks.Count() > 0
ScheduleRequest(requests.Shift(), m.idleJobTasks.Pop())
end while
scaleDownThresholdMs = m.idleJobTasks.Count() > MIN_JOB_TASK_COUNT ? SCALE_DOWN_THRESHOLD_MS : 0
message = wait(scaleDownThresholdMs, messagePort)
if requests.Count() > 0 and m.idleJobTasks.Count() + m.busyJobTasks.Count() < MAX_JOB_TASK_COUNT
StartJobTask(requests.Shift(), port)
end if
waitMs = POLL_MS
if startup.TotalMilliseconds() < STARTUP_WINDOW_MS
waitMs = STARTUP_POLL_MS
end if
message = wait(waitMs, port)
if message = invalid
if m.idleJobTasks.Count() > 0
if m.idleJobTasks.Count() > MIN_JOB_TASK_COUNT and scaleDownTimer.TotalMilliseconds() >= SCALE_DOWN_THRESHOLD_MS
jobTaskObject = m.idleJobTasks.Pop()
jobTaskObject.node.UnobserveFieldScoped("ready")
jobTaskObject.node.shutdown = true
LogDebug("Scaled down JobTasks. Idle:", m.idleJobTasks.Count(), ", Busy:", m.busyJobTasks.Count())
scaleDownTimer.Mark()
end if
continue while
end if
scaleDownTimer.Mark()
messageType = Type(message)
if messageType = "roSGNodeEvent"
@@ -89,16 +81,32 @@ function JobQueueTaskLoop() as void
end while
end function
function StartJobTask(request as object, port as object) as void
LogDebug("Creating a new JobTask. Idle:", m.idleJobTasks.Count(), ", Busy:", m.busyJobTasks.Count())
jobTask = CreateObject("roSGNode", "JobTask")
jobTaskId = "JobTask-" + StringUtils.RandomId()
jobTask.id = jobTaskId
jobTaskObject = {
id: jobTaskId
node: jobTask
}
MessagePortUtils.ObserveFieldScopedExSafe(jobTask, "ready", port)
' Set the request before starting the task: its first wait() then returns it right away,
' with no wakeup to miss.
ScheduleRequest(request, jobTaskObject)
jobTask.control = "run"
end function
function ScheduleRequest(request as dynamic, jobTaskObject as dynamic)
m.busyJobTasks[jobTaskObject.id] = jobTaskObject
jobTaskObject.node.request = request
end function
function Shutdown()
m.top.UnobserveFieldScoped("request")
m.top.UnobserveFieldScoped("shutdown")
m.top.UnobserveField("request")
m.top.UnobserveField("shutdown")
m.top.request = invalid
m.top.ready = false
for each jobTaskId in m.busyJobTasks
jobTask = m.busyJobTasks[jobTaskId]
@@ -2,6 +2,5 @@
<interface>
<field id="request" type="assocarray" />
<field id="shutdown" type="boolean" />
<field id="ready" type="boolean" />
</interface>
</component>
@@ -2,20 +2,21 @@ import "pkg:/components/JobSystem/JobRequest.bs"
import "pkg:/source/utils/Logging.bs"
import "pkg:/source/utils/StringUtils.bs"
' wait() sometimes isn't woken by a new message (seen on device); the next wait() returns it
const POLL_MS = 1000
function Init()
m.top.functionName = "JobTaskLoop"
m.port = CreateObject("roMessagePort")
m.top.observeField("shutdown", m.port)
m.top.observeField("request", m.port)
end function
function JobTaskLoop() as void
msgPort = CreateObject("roMessagePort")
m.top.observeField("shutdown", msgPort)
m.top.observeField("request", msgPort)
m.top.ready = true
port = m.port
while true
msg = wait(0, msgPort)
msg = wait(POLL_MS, port)
msgType = type(msg)
if msgType = "roSGNodeEvent"
@@ -1,5 +1,5 @@
{
inputHash: 'c4e2899f8a5e58f6ae711e91e518b4f3',
inputHash: '020c780cc50d3bc4ed9fc56f03bd1b21',
outputs: [
{
outputFilePath: 'images/icons/search.png',
+1 -1
View File
@@ -3,7 +3,7 @@ title=PlayletLib
# Do not update version manually, it is auto updated from package.json
major_version=0
minor_version=48
build_version=00004
build_version=00005
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+132 -129
View File
@@ -1,34 +1,34 @@
{
"name": "playlet-web",
"version": "0.48.4",
"version": "0.48.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet-web",
"version": "0.48.4",
"version": "0.48.5",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^7.3.0",
"@sveltejs/vite-plugin-svelte": "^7.3.1",
"@tailwindcss/postcss": "^4.3.3",
"@tailwindcss/typography": "^0.5.20",
"@tsconfig/svelte": "^5.0.8",
"@vitejs/plugin-legacy": "^8.2.3",
"autoprefixer": "^10.5.5",
"autoprefixer": "^10.6.1",
"bgutils-js": "^4.0.3",
"daisyui": "^5.7.28",
"dotenv": "^17.4.2",
"daisyui": "^5.7.46",
"dotenv": "^18.0.4",
"ip": "^2.0.1",
"jszip": "^3.10.1",
"jszip": "^3.10.2",
"postcss": "^8.5.28",
"rollup-plugin-visualizer": "^7.1.1",
"svelte": "^5.57.0",
"svelte": "^5.57.1",
"svelte-check": "^4.7.6",
"svelte-preprocess": "^6.0.5",
"tailwindcss": "^4.3.3",
"terser": "^5.51.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^8.2.2",
"vite": "^8.3.1",
"vite-plugin-compression": "^0.5.1"
}
},
@@ -1655,9 +1655,9 @@
}
},
"node_modules/@jridgewell/sourcemap-codec": {
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
"integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
"dev": true,
"license": "MIT"
},
@@ -1692,9 +1692,9 @@
}
},
"node_modules/@oxc-project/types": {
"version": "0.148.0",
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.148.0.tgz",
"integrity": "sha512-Nm4s/jB+4FpFsPhWGEC4h7rzksesmtnMXomo6rCMcg/b8zLQuOziRgkCS1fxDCXOlJB/6Q8oABOZ/OP6RIPj9A==",
"version": "0.151.0",
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.151.0.tgz",
"integrity": "sha512-J1yXrIlNDZVzE3ada310xeAw7nH8yCAyLPuUIsjKatFPmfn5bS1oW+cM+QsGOtVWd5nhSpbwZWx/rue+r5Z+PA==",
"dev": true,
"license": "MIT",
"funding": {
@@ -1702,9 +1702,9 @@
}
},
"node_modules/@rolldown/binding-android-arm-eabi": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.7.tgz",
"integrity": "sha512-EypzgnYCwyVY4NDHKzGmNJT5b+XaQEBniHxsMdeIQLB/tcCzZnhqrzHpZFbX9iaxx+5RiB8caATBtfvZP7zVxQ==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.11.tgz",
"integrity": "sha512-A5kXfGKvKWWZE0TtPrfsvT+q4Y5d1QG8gGUzpYjGydM+fARM9MuX90PrXYXe0XbsDVgyxxNzHo6giCj90bsFNw==",
"cpu": [
"arm"
],
@@ -1719,9 +1719,9 @@
}
},
"node_modules/@rolldown/binding-android-arm64": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.7.tgz",
"integrity": "sha512-l17HE9EweWaqJZhuUuNBN/FzM62xw+DECVnJyvMsxn8vJFAGLy5QfLDoYAcronkAN8VxKZHezDpulHDPx95vFw==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.11.tgz",
"integrity": "sha512-z6cTycz+iJ4PVkuL4HHW4DfTfoeU/2nqYYuSOrTmH7yHK5Y0LCOnA03V4ZNxavyVaU1oOqUgIg2klN/s+USGOA==",
"cpu": [
"arm64"
],
@@ -1736,9 +1736,9 @@
}
},
"node_modules/@rolldown/binding-darwin-arm64": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.7.tgz",
"integrity": "sha512-8ED8ELFvHXc6OCETIn4gXObPiaR6bckM/ipXtbzlPVDRMBfEGjCKgO90F9YtfdpDatVx/ZQw7aZ1vUMf/+T3Mw==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.11.tgz",
"integrity": "sha512-jShvqNtP6vDC6/A5JOAzbVV+DkgHqhl/ScVCJEbt+TUY6QYz7YnXcrg3sLtFBniro0f/Ld50ZwCWA6f7KYD1nQ==",
"cpu": [
"arm64"
],
@@ -1753,9 +1753,9 @@
}
},
"node_modules/@rolldown/binding-darwin-x64": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.7.tgz",
"integrity": "sha512-/WPripjtiAIZ2tWY7ddijORT0Ujg87wxWW/qcoFVCKAWVDPhtY0xr7Dj0M3GyNGz60jGwTElhro/mkF9dT7dDQ==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.11.tgz",
"integrity": "sha512-f2i2xiNWq1Z1l2++q2fuhZRdLAT3aqxD6vRNm1RAxpUoBcdqNB3C0s1Bt+K+PbEx2F5F4gQp6hqKkphCY/xF9w==",
"cpu": [
"x64"
],
@@ -1770,9 +1770,9 @@
}
},
"node_modules/@rolldown/binding-freebsd-x64": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.7.tgz",
"integrity": "sha512-14DI4NcqpvbICxSnGLx3PmtDaWqRP/KGSGb6C+JLLVPeZRl6dKdHba3pGsqT3vpdTqhEYIPG0MMQ8c0xYqoJxA==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.11.tgz",
"integrity": "sha512-4Ir5FSOKIAMr4r0kExpt1s3bMgzJU3rA45AYOHtQpls0oNeqcYBKrWMlckrYH4KCfGLfkfn1tN1dmZPMVsdXow==",
"cpu": [
"x64"
],
@@ -1787,9 +1787,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.7.tgz",
"integrity": "sha512-bxrWIRvHWQvbJwi+VIie/kDJmQxcNE6xxWwZdqF/ExVAigtHkv54WTLQPb+QsZdnFy18fg7JPfWGL0RH6vwIlQ==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.11.tgz",
"integrity": "sha512-/gnRDM+39BROzAN/k1OZjDPnDMcZxB/0EUxKjONO5yVkNEvlsoMDrxGNKgZi/ttFriS2gwlDNzB65pvNbFOXIQ==",
"cpu": [
"arm"
],
@@ -1804,9 +1804,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-gnu": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.7.tgz",
"integrity": "sha512-toOY2BChBZyuxU7OYX6Tn389di4IzAqPTycVcci0O7FSfBqzRB3RZn+K5Is6ANf4tmgRd/K1yZTsNTXbkXsnLg==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.11.tgz",
"integrity": "sha512-PFaK8HwvAHbaKbBcDNQihjMKYvFnA5hiENx/l5tphTDz1E0WFp32l0A7aq7lyUwGsRw/xSrNIy/gIK4thrSCrw==",
"cpu": [
"arm64"
],
@@ -1821,9 +1821,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-musl": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.7.tgz",
"integrity": "sha512-lAIXTH/aiLRLxsTgQvfhjo4K1ydWIp00+V0voOr9beb/9ZmkUFrSIb03dXNFRgMNvkE6oGsF10ioQ6UsI+vS5Q==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.11.tgz",
"integrity": "sha512-AskzJUIKRLPxkruR1wLKewGbOw+EYfU/9lOrBFj4AFrEA8hPpKFnODWNu2WLaNs0QNkEb9QIJufmVZZIL/bJlg==",
"cpu": [
"arm64"
],
@@ -1838,9 +1838,9 @@
}
},
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.7.tgz",
"integrity": "sha512-kdnwS28Pkenp/mZMRwjXXXwxQ7pIsm+bF919LUK93BOyhcLsrVKdP2p9fxpiPNPAbNuch8ypQt0pm2P2LYCAGg==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.11.tgz",
"integrity": "sha512-qlUGAheh2yh8afH7QBgx0PrRHN85hKnNd78x8MeMhXivuevgd8vgf6/CstOzmNKY/lLTHvNTrPy98cLnAugzJw==",
"cpu": [
"ppc64"
],
@@ -1855,9 +1855,9 @@
}
},
"node_modules/@rolldown/binding-linux-s390x-gnu": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.7.tgz",
"integrity": "sha512-516OdsyLdr5E65paF3yBF55t8mfm9+gmtCsK3xI7XKXIT7EfRlHhxL8K/NR6Hu8BWSgF5+1w74lTL0+nxcc8Qw==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.11.tgz",
"integrity": "sha512-secpEad+0vCbSfn8upFySkDskv+bGPk3THSDS9Y89yc4rb4kzqHp8Dmyd9BkQW4SnhNXBZCl/6CrO//hZahNJQ==",
"cpu": [
"s390x"
],
@@ -1872,9 +1872,9 @@
}
},
"node_modules/@rolldown/binding-linux-x64-gnu": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.7.tgz",
"integrity": "sha512-r8/z8n7GFaYRln3xmP1Cxy0HH/HLM0uBUPkEuSVEfKGDA89M0FsZRZJRSwe/tJjRx+fpH/gjorfhB8tmEbSFLA==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.11.tgz",
"integrity": "sha512-mOVBT3dPpkWm8XBWPmU4bf+U6dYDLeMo/9ojUmis4N0L5uu10qra5vOyngZ7/PSdoE4G9KvRt4bloRxNjLas7A==",
"cpu": [
"x64"
],
@@ -1889,9 +1889,9 @@
}
},
"node_modules/@rolldown/binding-linux-x64-musl": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.7.tgz",
"integrity": "sha512-pAsE8iiDxUg1xBqdhrTfg45AVDVpirjz00sblEYClGNNcMnDb+e8beQgqIAw6LvauX/APvgxUnwrgun/YYGBhw==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.11.tgz",
"integrity": "sha512-Is78i9A8Ui4SqcxUwFJ9uMmjDn58IbVTjFWYdQestFEgeuEmHMLGNriXnVJKkwG2YiZjw8cP0zCTyDMdDGtOOg==",
"cpu": [
"x64"
],
@@ -1906,9 +1906,9 @@
}
},
"node_modules/@rolldown/binding-openharmony-arm64": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.7.tgz",
"integrity": "sha512-lTcIYmmnQQA8Or/2DatS6oSqcdLHvendjS+zLu+FwgToynWMRSmQdpM65fTANJgIS4mjbMOo5KT2lnT9SAb96w==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.11.tgz",
"integrity": "sha512-dUCXneZ87INUMyQ0D+C0HrEBNUPNXHaPmU5GTjyKTJEiussw9Kaj5Ln8UztPe4epV/ffvgNBEadksdYhmW6xJA==",
"cpu": [
"arm64"
],
@@ -1923,9 +1923,9 @@
}
},
"node_modules/@rolldown/binding-win32-arm64-msvc": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.7.tgz",
"integrity": "sha512-e3Gu3WxbNk/UqQhxqU7YIYO+9ZBvWNz3U+h/qRFosscMFzdRPbXYSaSWgSnklv2fz1TgzBTcti2z35c/7irsHw==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.11.tgz",
"integrity": "sha512-jByxb6qfd+bH1xUd0qnfFnb17i9sWBPY2tOavJ0l3tdr3OTu+Kvtm8cd/JV5nFt657b1VqGltxg9olOEfofXWw==",
"cpu": [
"arm64"
],
@@ -1940,9 +1940,9 @@
}
},
"node_modules/@rolldown/binding-win32-x64-msvc": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.7.tgz",
"integrity": "sha512-W/jg5qoRSqjsEv0+dZi4e687mcHqmVuU0P4fK6qS/xjetW2Gmc1W8j//z5nAeNcC8Ttm0hV46IjcYeuVwYhuiw==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.11.tgz",
"integrity": "sha512-/PzKqzAJ03i19oy2ItPvyvaVjOjBCNnfaJs8yvUdGBKmiESgnrJSQ2awd81QzFbbnAmu7YO9ZnJrDCb9VSJPRA==",
"cpu": [
"x64"
],
@@ -1964,9 +1964,9 @@
"license": "MIT"
},
"node_modules/@sveltejs/acorn-typescript": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.10.tgz",
"integrity": "sha512-4WfKk68eTih+MiJD4fSbxN7E8kVBmTMPWHUPYjvl2N0rMs53YLTT8/YjKU5Dtnz5LqDjl7LEw4U7lXR2W3J5WA==",
"version": "1.0.13",
"resolved": "https://registry.npmjs.org/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.13.tgz",
"integrity": "sha512-wgKggnhZVL9Bfx1OaKKTrYY9BFRk6C8UAkQNUcIv1+llzYrIqy+RZm5HPKzn0NpEBvTVhTqB4kQyllZywsRBRQ==",
"dev": true,
"license": "MIT",
"peerDependencies": {
@@ -1984,9 +1984,9 @@
}
},
"node_modules/@sveltejs/vite-plugin-svelte": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-7.3.0.tgz",
"integrity": "sha512-QbRoJyD92e9R0ufeQIWRHrCC0ObcqSv/aBDdrQMoU+sypav3cDx5wytdQ6GLdXjEMO6xjrXGzfkUygng8JMv0A==",
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-7.3.1.tgz",
"integrity": "sha512-ZPsLN8B1e/En+Ak5s4V7srFDT532oS0qieLsQwu63NGKsS+iAjoO2Js1BochlHlglcU+Pt7WAO3C5Ee+4f6gVA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2316,9 +2316,9 @@
}
},
"node_modules/@types/estree": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
"integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
"integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
"dev": true,
"license": "MIT"
},
@@ -2364,9 +2364,9 @@
}
},
"node_modules/acorn": {
"version": "8.16.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
"integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
"version": "8.18.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",
"integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==",
"dev": true,
"license": "MIT",
"bin": {
@@ -2416,9 +2416,9 @@
}
},
"node_modules/autoprefixer": {
"version": "10.5.5",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.5.5.tgz",
"integrity": "sha512-uiRYvQYe/nNSzBJ7OUnd2/TZVsAdob3blml44teEpee9Cc1f4rGZFewO+JT3Wo8mgFOSzNqes4FHZn/Qz8WOuw==",
"version": "10.6.1",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.6.1.tgz",
"integrity": "sha512-cL1Qz6ADZhcEbny/8HPfe99J6HhNoYtpX2LFLIbhgGE7Q1hlQVkYFdetDN7Id3KiQxhDrHwzlHr/YQCnZ8+xSA==",
"dev": true,
"funding": [
{
@@ -2781,9 +2781,9 @@
}
},
"node_modules/daisyui": {
"version": "5.7.28",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.7.28.tgz",
"integrity": "sha512-BxQap2QOj7NQy5nEsjTHRmybmUZP3t+O5G6vfdidZuptBsh/QyKN9wbdrGDZk198fMI3UyYnA/rCWlggZIhGnw==",
"version": "5.7.46",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.7.46.tgz",
"integrity": "sha512-z/tfVXLpLRe1ojGeokzxauHA9Ij5CGfk+83EdatQbFSVr02h5mUcp4nkgQJOw68wH1wAAPu/SY+MWbDdJG2R4w==",
"dev": true,
"license": "MIT",
"funding": {
@@ -2872,18 +2872,21 @@
}
},
"node_modules/devalue": {
"version": "5.8.1",
"resolved": "https://registry.npmjs.org/devalue/-/devalue-5.8.1.tgz",
"integrity": "sha512-4CXDYRBGqN+57wVJkuXBYmpAVUSg3L6JAQa/DFqm238G73E1wuyc/JhGQJzN7vUf/CMphYau2zXbfWzDR5aTEw==",
"version": "5.9.4",
"resolved": "https://registry.npmjs.org/devalue/-/devalue-5.9.4.tgz",
"integrity": "sha512-sPAT4pztbu6586/hrhOnMKS17IJrvg12mXiSPSS3W5qDeN2RGgvZ0diZCm31dBbnevfVmujNO3IM2wrS4Y2Rhg==",
"dev": true,
"license": "MIT"
},
"node_modules/dotenv": {
"version": "17.4.2",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz",
"integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==",
"version": "18.0.4",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-18.0.4.tgz",
"integrity": "sha512-jGt9uI5BIxpVO15kvy+iEFqNAwxYClKWnkptLjSNPnFLC003Imd0ofr3aEVsbpHdSBdSsbcApNIlz4nbyGMwdA==",
"dev": true,
"license": "BSD-2-Clause",
"bin": {
"dotenv": "dist/index.cjs"
},
"engines": {
"node": ">=12"
},
@@ -2947,9 +2950,9 @@
"license": "MIT"
},
"node_modules/esrap": {
"version": "2.2.13",
"resolved": "https://registry.npmjs.org/esrap/-/esrap-2.2.13.tgz",
"integrity": "sha512-m8jH5hZgJE2RRUK/jjkGPcJEDAV+dYnZYFkosQaPTcE+Yw4xynXHOo6FUdwaWBtdR3b1MMa7wEDTSHeR2VWsGA==",
"version": "2.3.14",
"resolved": "https://registry.npmjs.org/esrap/-/esrap-2.3.14.tgz",
"integrity": "sha512-Bj/f1mOb6SnJ5f+5wOF/eqOKfvY+g+nJIKLQRqrEFOJ2mrMVORqQ6Ot7RTL1GhFctr0o+i0o1xfsNLeuA+mu4A==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3284,9 +3287,9 @@
}
},
"node_modules/jszip": {
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
"version": "3.10.2",
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.2.tgz",
"integrity": "sha512-3l+rb15IOWtUhU0H5MFqES/T6Kh7abYwjosBey/vD6hDt8zoEffkSC5Ws5SGtgVw3gBx2NEbhTeSW1+kWkpyTQ==",
"dev": true,
"license": "(MIT OR GPL-3.0-or-later)",
"dependencies": {
@@ -3714,9 +3717,9 @@
"license": "ISC"
},
"node_modules/picomatch": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
"integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
"version": "4.0.7",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",
"integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3914,13 +3917,13 @@
}
},
"node_modules/rolldown": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.7.tgz",
"integrity": "sha512-g0EtLvBjTUB7jhyV0S/TCup3v/XSVl45vUIGbOGU4QPiyjTenCe4mKuFvW9fEgYmS2Fo42AUssRmNuMziXdrig==",
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.11.tgz",
"integrity": "sha512-qpSwIyz0jHQq5qXBTNxFmE6664rJ7O+4TvPFOiOaBSrz8IOHc1koKKSqTM2H6u1UG1+TveuC6vaDHKXFOvb1Kw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@oxc-project/types": "=0.148.0",
"@oxc-project/types": "=0.151.0",
"@rolldown/pluginutils": "^1.0.0"
},
"bin": {
@@ -3930,21 +3933,21 @@
"node": "^20.19.0 || >=22.12.0"
},
"optionalDependencies": {
"@rolldown/binding-android-arm-eabi": "1.2.7",
"@rolldown/binding-android-arm64": "1.2.7",
"@rolldown/binding-darwin-arm64": "1.2.7",
"@rolldown/binding-darwin-x64": "1.2.7",
"@rolldown/binding-freebsd-x64": "1.2.7",
"@rolldown/binding-linux-arm-gnueabihf": "1.2.7",
"@rolldown/binding-linux-arm64-gnu": "1.2.7",
"@rolldown/binding-linux-arm64-musl": "1.2.7",
"@rolldown/binding-linux-ppc64-gnu": "1.2.7",
"@rolldown/binding-linux-s390x-gnu": "1.2.7",
"@rolldown/binding-linux-x64-gnu": "1.2.7",
"@rolldown/binding-linux-x64-musl": "1.2.7",
"@rolldown/binding-openharmony-arm64": "1.2.7",
"@rolldown/binding-win32-arm64-msvc": "1.2.7",
"@rolldown/binding-win32-x64-msvc": "1.2.7"
"@rolldown/binding-android-arm-eabi": "1.2.11",
"@rolldown/binding-android-arm64": "1.2.11",
"@rolldown/binding-darwin-arm64": "1.2.11",
"@rolldown/binding-darwin-x64": "1.2.11",
"@rolldown/binding-freebsd-x64": "1.2.11",
"@rolldown/binding-linux-arm-gnueabihf": "1.2.11",
"@rolldown/binding-linux-arm64-gnu": "1.2.11",
"@rolldown/binding-linux-arm64-musl": "1.2.11",
"@rolldown/binding-linux-ppc64-gnu": "1.2.11",
"@rolldown/binding-linux-s390x-gnu": "1.2.11",
"@rolldown/binding-linux-x64-gnu": "1.2.11",
"@rolldown/binding-linux-x64-musl": "1.2.11",
"@rolldown/binding-openharmony-arm64": "1.2.11",
"@rolldown/binding-win32-arm64-msvc": "1.2.11",
"@rolldown/binding-win32-x64-msvc": "1.2.11"
}
},
"node_modules/rollup-plugin-visualizer": {
@@ -4139,23 +4142,23 @@
}
},
"node_modules/svelte": {
"version": "5.57.0",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.57.0.tgz",
"integrity": "sha512-NdbDn7fl4be1ViUG0oq/lvG6OZy3oENolV2ONjiqqsfVoeAfzaQAKUcEX3MrQod/Bebv1PgwET9rfXhgn9s4Kg==",
"version": "5.57.1",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.57.1.tgz",
"integrity": "sha512-Uqj49lWKB+iSSnneuwiYYJ7MZgkB+eXr0LXBhv4uDuAkXqnWmq65Sxflfvp0Lc6MdKjMUxGaeOKWJqz5SNiVIA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/remapping": "^2.3.4",
"@jridgewell/sourcemap-codec": "^1.5.0",
"@sveltejs/acorn-typescript": "^1.0.10",
"@types/estree": "^1.0.5",
"acorn": "^8.12.1",
"@jridgewell/remapping": "^2.3.5",
"@jridgewell/sourcemap-codec": "^1.6.0",
"@sveltejs/acorn-typescript": "^1.0.13",
"@types/estree": "^1.0.9",
"acorn": "^8.18.0",
"aria-query": "5.3.1",
"axobject-query": "^4.1.0",
"clsx": "^2.1.1",
"devalue": "^5.8.1",
"devalue": "^5.9.2",
"esm-env": "^1.2.1",
"esrap": "^2.2.12",
"esrap": "^2.3.6",
"is-reference": "^3.0.3",
"locate-character": "^3.0.0",
"magic-string": "^0.30.11",
@@ -4424,16 +4427,16 @@
"license": "MIT"
},
"node_modules/vite": {
"version": "8.2.2",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.2.2.tgz",
"integrity": "sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==",
"version": "8.3.1",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.3.1.tgz",
"integrity": "sha512-/bvH9E9tmCXRGp2uXY3WbOldqpTwFkbha/8ANaEQ6VkxhH60KyqLwgZq6lG2y+4uT55x9+9eUHMpQ7uGnOCKjA==",
"dev": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.33.0",
"picomatch": "^4.0.5",
"postcss": "^8.5.26",
"rolldown": "~1.2.4",
"picomatch": "^4.0.7",
"postcss": "^8.5.28",
"rolldown": "~1.2.9",
"tinyglobby": "^0.2.17"
},
"bin": {
@@ -4450,7 +4453,7 @@
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
"@vitejs/devtools": "^0.4.0 || ^0.5.0",
"@vitejs/devtools": "^0.7.1",
"esbuild": "^0.27.0 || ^0.28.0",
"jiti": ">=1.21.0",
"less": "^4.0.0",
+8 -8
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-web",
"version": "0.48.4",
"version": "0.48.5",
"type": "module",
"scripts": {
"dev": "vite",
@@ -9,27 +9,27 @@
"lint": "svelte-check --tsconfig ./tsconfig.json --fail-on-warnings"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^7.3.0",
"@sveltejs/vite-plugin-svelte": "^7.3.1",
"@tailwindcss/postcss": "^4.3.3",
"@tailwindcss/typography": "^0.5.20",
"@tsconfig/svelte": "^5.0.8",
"@vitejs/plugin-legacy": "^8.2.3",
"autoprefixer": "^10.5.5",
"autoprefixer": "^10.6.1",
"bgutils-js": "^4.0.3",
"daisyui": "^5.7.28",
"dotenv": "^17.4.2",
"daisyui": "^5.7.46",
"dotenv": "^18.0.4",
"ip": "^2.0.1",
"jszip": "^3.10.1",
"jszip": "^3.10.2",
"postcss": "^8.5.28",
"rollup-plugin-visualizer": "^7.1.1",
"svelte": "^5.57.0",
"svelte": "^5.57.1",
"svelte-check": "^4.7.6",
"svelte-preprocess": "^6.0.5",
"tailwindcss": "^4.3.3",
"terser": "^5.51.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^8.2.2",
"vite": "^8.3.1",
"vite-plugin-compression": "^0.5.1"
}
}
+3 -2
View File
@@ -1,8 +1,9 @@
{
"compilerOptions": {
"composite": true,
"module": "NodeNext",
"moduleResolution": "NodeNext"
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler"
},
"include": [
"vite.config.ts"
+1 -1
View File
@@ -35,7 +35,7 @@ const config: UserConfig = {
// But the tools are not (because brighterscript is expecting CommonJs)
// so we can't import the function from the tools/get-env-vars.js.
function getEnvVars(requiredVars = undefined) {
const envFile = joinPath(__dirname, '../.env');
const envFile = joinPath(import.meta.dirname, '../.env');
let envVars = process.env;
if (existsSync(envFile)) {
+1 -2
View File
@@ -7,7 +7,6 @@ const { existsSync, writeFileSync, readFileSync } = require('fs');
const json5 = require('json5');
const md5 = require('crypto-js/md5');
const path = require('path');
const { executablePath } = require('puppeteer');
const META_EXT = '.meta.json5';
@@ -118,7 +117,7 @@ function checkFileHash(file, hash) {
async function generateImage(inputImage, options, rootDir) {
const opts = {
launch: { executablePath: await executablePath() },
launch: { channel: 'chrome' },
...options
};
opts.outputFilePath = path.join(rootDir, opts.outputFilePath);