|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
386 bytes
|
| Line | |
|---|
| 1 | const { createHash } = require('crypto');
|
|---|
| 2 | const { name } = require('../package.json');
|
|---|
| 3 | // TODO: increment this version if there are schema changes
|
|---|
| 4 | // that are not backwards compatible:
|
|---|
| 5 | const VERSION = '4';
|
|---|
| 6 |
|
|---|
| 7 | const SHA = 'sha1';
|
|---|
| 8 | module.exports = {
|
|---|
| 9 | SHA,
|
|---|
| 10 | MAGIC_KEY: '_coverageSchema',
|
|---|
| 11 | MAGIC_VALUE: createHash(SHA)
|
|---|
| 12 | .update(name + '@' + VERSION)
|
|---|
| 13 | .digest('hex')
|
|---|
| 14 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.