Skip to content

Commit

Permalink
Merge pull request #249 from auth0/snyk-qs-ext-dependency-update
Browse files Browse the repository at this point in the history
Upgrade to Node 18 + qs dependency fixes for Snyk
  • Loading branch information
lostinauth0 authored Jan 5, 2024
2 parents 75b23bb + ea47a78 commit 0c33642
Show file tree
Hide file tree
Showing 13 changed files with 4,992 additions and 6,417 deletions.
12 changes: 12 additions & 0 deletions .env.local.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export PROVISIONING_TICKET='<provisioning ticket>'
export NODE_TLS_REJECT_UNAUTHORIZED='0'
export LDAP_URL='ldap://openldap'
export LDAP_BASE='DC=example,DC=org'
export LDAP_BIND_USER='cn=admin,dc=example,dc=org'
export LDAP_BIND_PASSWORD=admin
export LDAP_SEARCH_QUERY='(&(objectCategory=person)(anr={0}))'
// export LDAP_SEARCH_QUERY='(&(objectClass=inetOrgPerson)(|(cn={0})(givenName={0})(sn={0})(uid={0})))'
export LDAP_SEARCH_ALL_QUERY='(objectClass=inetOrgPerson)'
export LDAP_SEARCH_GROUPS='(&(objectClass=posixGroup)(memberUid={0}))'
export LDAP_USER_BY_NAME='(cn={0})'
export ENABLE_WRITE_BACK=true
28 changes: 28 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
extends: 'eslint:recommended',
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {
indent: ['error', 2],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
},
};
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
Loading

0 comments on commit 0c33642

Please sign in to comment.