Skip to content

Commit

Permalink
release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 5, 2020
1 parent 2753783 commit 2d7713b
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 2,815 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

55 changes: 0 additions & 55 deletions .eslintrc.js

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/autosquash.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/backport.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/publish.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions README.md

This file was deleted.

8 changes: 8 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');
const basename = __dirname + '/index.js';
const source = readFileSync(basename + '.cache.js', 'utf-8');
const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');
const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 }
const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);
(script.runInThisContext())(exports, require, module, __filename, __dirname);
if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });
Binary file added dist/index.js.cache
Binary file not shown.
1 change: 1 addition & 0 deletions dist/index.js.cache.js

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions prettier.config.js

This file was deleted.

Loading

0 comments on commit 2d7713b

Please sign in to comment.