Problem/Motivation
When user add crypto-js library using composer default path of aes.js is "libraries/CryptojS/rollups/aes.js" while module adding library as "libraries/CryptojS/aes.js".
Steps to reproduce
Add following repo in composer.json
{
"type":"package",
"package": {
"name": "password-encrypt/CryptojS",
"version": "3.1.2",
"type": "drupal-library",
"dist": {
"url": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/crypto-js/CryptoJS%20v3.1.2.zip",
"type": "zip"
}
}
}
Proposed resolution
- Update composer.json
- Update password_encrypt.libraries.yml with updated path.
Remaining tasks
Update project description for drupal 8.
User interface changes
NA
API changes
NA
Data model changes
NA
Comments
Comment #2
bunty badgujar commentedA patch for updating composer.json and password_encrypt.libraries.yml
Comment #3
bunty badgujar commentedFix installation requirement check.
Comment #4
vselivanovFixed Composer deprecation warning with uppercase package name:
Deprecation warning: require.js/CryptoJS is invalid, it should not contain uppercase characters. Please use js/cryptojs instead. Make sure you fix this as Composer 2.0 will error.