File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,15 +142,15 @@ export const p5Versions = [
142142 '0.2.1'
143143] ;
144144
145- export const currentP5Version = '1.11.5 ' ; // Don't update to 2.x until 2026
145+ export const currentP5Version = '1.11.8 ' ; // Don't update to 2.x until 2026
146146
147147export const majorVersion = ( version ) => version . split ( '.' ) [ 0 ] ;
148148
149149export const p5SoundURLOldTemplate =
150150 'https://cdnjs.cloudflare.com/ajax/libs/p5.js/$VERSION/addons/p5.sound.min.js' ;
151151export const p5SoundURLOld = p5SoundURLOldTemplate . replace (
152152 '$VERSION' ,
153- '1.11.3'
153+ currentP5Version
154154) ;
155155export const p5SoundURL =
156156 'https://cdn.jsdelivr.net/npm/p5.sound@0.2.0/dist/p5.sound.min.js' ;
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ function draw() {
99export const defaultHTML = `<!DOCTYPE html>
1010<html lang="en">
1111 <head>
12- <script src="https://cdn.jsdelivr.net/npm/p5@1.11.7 /lib/p5.js"></script>
13- <script src="https://cdn.jsdelivr.net/npm/p5@1.11.7 /lib/addons/p5.sound.min.js"></script>
12+ <script src="https://cdn.jsdelivr.net/npm/p5@1.11.8 /lib/p5.js"></script>
13+ <script src="https://cdn.jsdelivr.net/npm/p5@1.11.8 /lib/addons/p5.sound.min.js"></script>
1414 <link rel="stylesheet" type="text/css" href="style.css">
1515 <meta charset="utf-8" />
1616
You can’t perform that action at this time.
0 commit comments