@a-la/markers
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -33,9 +33,7 @@ const { makeMarkers, makeCutRule, makePasteRule } = require('restream'); | ||
cutEscapes, cutRegexes, cutRegexGroups, | ||
] = mr | ||
.map(makeCutRule) | ||
] = mr.map(makeCutRule) | ||
const [ | ||
pasteComments, pasteInlineComments, pasteStrings, pasteLiterals, | ||
pasteEscapes, pasteRegexes, pasteRegexGroups, | ||
] = mr | ||
.map(makePasteRule) | ||
] = mr.map(m => makePasteRule(m)) | ||
@@ -75,2 +73,4 @@ const allRules = [ | ||
/** | ||
@@ -80,1 +80,5 @@ * @suppress {nonStandardJsDocs} | ||
*/ | ||
module.exports.inlineCommentsRe = inlineCommentsRe | ||
module.exports.commentsRe = commentsRe |
@@ -0,1 +1,12 @@ | ||
## 24 April 2019 | ||
### [1.2.0](https://github.com/a-la/markers/compare/v1.1.0...v1.2.0) | ||
- [api] Export `inlineCommentsRe` and `commentsRe` regexes. | ||
- [fix] Apply a patch to remove type warning: | ||
```js | ||
mr.map(makePasteRule) // warning | ||
mr.map(m => makePasteRule(m)) // fix | ||
``` | ||
## 22 April 2019 | ||
@@ -2,0 +13,0 @@ |
{ | ||
"name": "@a-la/markers", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A set of service markers used by alamode, e.g., to cut and paste comments.", | ||
@@ -41,6 +41,6 @@ "main": "build/index.js", | ||
"catchment": "^3.3.0", | ||
"documentary": "^1.24.1", | ||
"documentary": "^1.25.0", | ||
"eslint-config-artdeco": "1.0.1", | ||
"yarn-s": "1.1.0", | ||
"zoroaster": "^3.11.6" | ||
"zoroaster": "^3.12.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "dependencies": { |
@@ -33,9 +33,7 @@ import { makeMarkers, makeCutRule, makePasteRule } from 'restream' | ||
cutEscapes, cutRegexes, cutRegexGroups, | ||
] = mr | ||
.map(makeCutRule) | ||
] = mr.map(makeCutRule) | ||
const [ | ||
pasteComments, pasteInlineComments, pasteStrings, pasteLiterals, | ||
pasteEscapes, pasteRegexes, pasteRegexGroups, | ||
] = mr | ||
.map(makePasteRule) | ||
] = mr.map(m => makePasteRule(m)) | ||
@@ -75,2 +73,4 @@ const allRules = [ | ||
export { inlineCommentsRe, commentsRe } | ||
/** | ||
@@ -77,0 +77,0 @@ * @suppress {nonStandardJsDocs} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12099
148