[buddypress-trac] [BuddyPress Trac] #8154: Fix node modules vulnerabilities

buddypress-trac noreply at wordpress.org
Wed Mar 25 05:41:52 UTC 2020


#8154: Fix node modules vulnerabilities
-----------------------------------+---------------------
 Reporter:  imath                  |       Owner:  netweb
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  6.0.0
Component:  Build/Test Tools       |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------

Comment (by imath):

 In [changeset:"12573" 12573]:
 {{{
 #!CommitTicketReference repository="" revision="12573"
 Add node modules to have tools to compile & bundle modern JavaScript

 1. Add Parcel and Babel
 Parcel is a web application bundler used to watch and build BP Blocks and
 BP Block components. It is associated with Babel, a toolchain that is
 mainly used to convert ECMAScript 2015+ code into a backwards compatible
 version of JavaScript in current and older browsers or environments.

 2. Add the default Babel preset for WordPress development.

 3. Remove our development dependency to `grunt-wp-i18n` as we will use
 from now on WP CLI to generate a pot file that is also taking in account
 JavaScript i18n strings.

 4. Add the needed Parcel commands to prepare BP Blocks compiling tasks.

 5. Update Grunt.js to latest stable.

 NB:  contributors, please use `npm install` to update your node modules
 locally.

 See #8048
 See #8154
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8154#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list