Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@a-la/markers

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a-la/markers - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

15

build/index.js

@@ -47,2 +47,3 @@ const { makeMarkers, makeCutRule, makePasteRule } = require('restream');

cutLiterals,
stopRule,
...rules,

@@ -71,2 +72,16 @@ pasteLiterals,

/**
* For debugging where markers went wrong.
* @type {_restream.Rule}
*/
const stopRule = {
re: /./,
replacement(m) {
/** @suppress {checkTypes} */
const stop = this['stopProcessing']
if (stop) this.brake()
return m
},
}
module.exports=makeRules

@@ -73,0 +88,0 @@

@@ -0,1 +1,7 @@

## 12 May 2019
### [1.3.0](https://github.com/a-la/markers/compare/v1.2.0...v1.3.0)
- [feature] Add the `stop` rule for debugging.
## 24 April 2019

@@ -2,0 +8,0 @@

8

package.json
{
"name": "@a-la/markers",
"version": "1.2.0",
"version": "1.3.0",
"description": "A set of service markers used by alamode, e.g., to cut and paste comments.",

@@ -39,8 +39,8 @@ "main": "build/index.js",

"devDependencies": {
"alamode": "^1.9.3",
"alamode": "^2.1.2",
"catchment": "^3.3.0",
"documentary": "^1.25.0",
"documentary": "^1.27.2",
"eslint-config-artdeco": "1.0.1",
"yarn-s": "1.1.0",
"zoroaster": "^3.12.0"
"zoroaster": "^4.1.1-alpha"
},

@@ -47,0 +47,0 @@ "dependencies": {

@@ -47,2 +47,3 @@ import { makeMarkers, makeCutRule, makePasteRule } from 'restream'

cutLiterals,
stopRule,
...rules,

@@ -71,2 +72,16 @@ pasteLiterals,

/**
* For debugging where markers went wrong.
* @type {_restream.Rule}
*/
const stopRule = {
re: /./,
replacement(m) {
/** @suppress {checkTypes} */
const stop = this['stopProcessing']
if (stop) this.brake()
return m
},
}
export default makeRules

@@ -73,0 +88,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc