Skip to content

Commit

Permalink
Change puppeteer module to puppeteer-core
Browse files Browse the repository at this point in the history
  • Loading branch information
st-randers committed May 15, 2024
1 parent 1b454f0 commit 54cbcd2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ module.exports = {
* global.get("os")
*/
functionGlobalContext: {
puppeteer: require('puppeteer'),
puppeteer: require('puppeteer-core'),
path: require('path'),
fs: require('fs')
// os:require('os'),
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/delay.39a8ebd6f97b76c0.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Node = {
"g": "ac8c86427665f81e",
"name": "",
"pauseType": "delay",
"timeout": "1.65",
"timeout": "0.5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/function.51862731c3f4d319.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"libs": [
{
"var": "pup",
"module": "puppeteer"
"module": "puppeteer-core"
}
],
"x": 250,
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/function.580a9e3166314a22.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"libs": [
{
"var": "pup",
"module": "puppeteer"
"module": "puppeteer-core"
},
{
"var": "path",
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/function.74b52793f2b5863a.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"libs": [
{
"var": "pup",
"module": "puppeteer"
"module": "puppeteer-core"
}
],
"x": 230,
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/function.adb383a374c3a116.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Node = {
"libs": [
{
"var": "pup",
"module": "puppeteer"
"module": "puppeteer-core"
}
],
"x": 890,
Expand Down
2 changes: 1 addition & 1 deletion node-red/flows_js/inject.6d33ec16326eec66.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Node = {
"onceDelay": "2",
"topic": "",
"x": 130,
"y": 300,
"y": 320,
"wires": [
[
"8ed3ae75929488b9"
Expand Down
2 changes: 1 addition & 1 deletion node-red/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"node-red-contrib-mysql-config": "1.0.4",
"node-red-contrib-prometheus-exporter": "1.0.5",
"node-red-mysql-r2": "~1.3.0",
"puppeteer": "^19.9.1"
"puppeteer-core": "^19.9.1"
},
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"puppeteer": "^19.9.1"
"puppeteer-core": "^19.9.1"
}
}

0 comments on commit 54cbcd2

Please sign in to comment.