Skip to content

Commit

Permalink
release: v1.27.1
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Nov 3, 2020
1 parent 4b12653 commit 331963c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v1.27.1 (3 Nov 2020)

* fix: Security Fix for Prototype Pollution [#22](https://github.com/liriliri/licia/issues/22)
* fix(ucs2): encode Maximum call stack size exceeded

## v1.27.0 (12 Oct 2020)

* fix(Emitter): error if off is called in listener
Expand Down
5 changes: 4 additions & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -6226,7 +6226,10 @@
"test": []
},
"ucs2": {
"dependencies": [],
"dependencies": [
"chunk",
"map"
],
"description": "UCS-2 encoding and decoding.",
"env": [
"node",
Expand Down
10 changes: 4 additions & 6 deletions lib/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ async function updateCSpell() {
const tsDefinitions = {};

async function extractInfo() {
const files = await glob('src/*/*.js', {
ignore: ['src/*/*.*.js']
});
const files = await glob('src/*.js');

for (const file of files) {
const modName = last(file.split('/')).slice(0, -3);
Expand Down Expand Up @@ -222,13 +220,13 @@ async function extractInfo() {
}

async function detectBenchmark() {
const files = await glob('src/*/*benchmark.js');
const files = await glob('benchmark/*.js');

const list = map(files, function(file) {
return file
.split('/')
.pop()
.replace('.benchmark.js', '');
.replace('.js', '');
});

each(list, function(modName) {
Expand All @@ -237,7 +235,7 @@ async function detectBenchmark() {
}

async function detectDemo() {
const files = await glob('src/*/*.demo.html');
const files = await glob('demo/*.demo.html');

const list = map(files, function(file) {
return file
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "licia",
"version": "1.27.0",
"version": "1.27.1",
"description": "Useful utility collection with zero dependencies",
"bin": {
"licia": "./bin/licia.js"
Expand Down

0 comments on commit 331963c

Please sign in to comment.