Skip to content

Commit

Permalink
Fix prototype pollution in .extend() when the 'unflat' option is set
Browse files Browse the repository at this point in the history
  • Loading branch information
cronvel committed Jul 21, 2023
1 parent a083857 commit 61bf10c
Show file tree
Hide file tree
Showing 12 changed files with 471 additions and 269 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.js
Expand Up @@ -2,13 +2,15 @@ module.exports = {
'root': true ,
'env': {
'browser': true ,
'node': true ,
'es6': true ,
'node': true
'es2022': true
} ,
'parserOptions': {
'ecmaVersion': 2020
'ecmaVersion': 2022
} ,
'extends': [ 'eslint:recommended' ] ,
'ignorePatterns': [ "*.min.js" ] ,
'rules': {

/*
Expand Down Expand Up @@ -81,7 +83,7 @@ module.exports = {
'words': true ,
'nonwords': true ,
'overrides': {
'-': false ,
//'-': false ,
}
} ] ,
'space-in-parens': [ 'error' , 'always' , {
Expand Down
57 changes: 57 additions & 0 deletions .npmignore
@@ -0,0 +1,57 @@
# +++ .gitignore
# Specific #
############

*.local.*
*.local
*.log
*.html.gz
*.css.gz
*.js.gz
.spellcast
build
_build
_templates
_static


# gitignore / Node.gitignore #
##############################
lib-cov
lcov.info
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results
build
.grunt
package-lock.json

node_modules


# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db



# --- .gitignore
test
log
sample
wfm.json
6 changes: 6 additions & 0 deletions CHANGELOG
@@ -1,4 +1,10 @@

v0.7.5
------

Fix prototype pollution in .extend() when the 'unflat' option is set


v0.7.4
------

Expand Down

0 comments on commit 61bf10c

Please sign in to comment.