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

mf-parser

Package Overview
Dependencies
Maintainers
6
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf-parser - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

16

package.json
{
"name": "mf-parser",
"version": "1.1.4",
"version": "1.1.5",
"description": "",

@@ -11,3 +11,3 @@ "main": "src/index.js",

"type": "git",
"url": "git+https://github.com/cheminfo-js/mf-parser.git"
"url": "git+https://github.com/cheminfo/mf-parser.git"
},

@@ -18,9 +18,9 @@ "keywords": [],

"bugs": {
"url": "https://github.com/cheminfo-js/mf-parser/issues"
"url": "https://github.com/cheminfo/mf-parser/issues"
},
"homepage": "https://github.com/cheminfo-js/mf-parser/tree/master/packages/mf-parser#readme",
"homepage": "https://github.com/cheminfo/mf-parser/tree/master/packages/mf-parser#readme",
"dependencies": {
"atom-sorter": "^1.1.4",
"chemical-elements": "^1.1.4",
"chemical-groups": "^1.0.1"
"atom-sorter": "^1.1.5",
"chemical-elements": "^1.1.5",
"chemical-groups": "^1.0.2"
},

@@ -30,3 +30,3 @@ "devDependencies": {

},
"gitHead": "484945585a0dfec6e33936e3367df6f54a6a9d3d"
"gitHead": "3d54e43ef65fd47d783aa3e2700ff53a9da46bc0"
}
# mf-parser
[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
.
## Installation

@@ -13,3 +12,3 @@

## [API Documentation](https://cheminfo-js.github.io/mf-parser/)
## [API Documentation](https://cheminfo.github.io/mf-parser/)

@@ -24,2 +23,3 @@ ## Example

You may also be interested to parse first the MF and then retrieve display representation
```js

@@ -39,6 +39,5 @@ const MFParser = require('mf-parser');

## License
[MIT](./LICENSE)
[MIT](./LICENSE)

@@ -45,0 +44,0 @@ [npm-image]: https://img.shields.io/npm/v/mf-parser.svg?style=flat-square

@@ -108,3 +108,3 @@ 'use strict';

expect(html).toBe('C<sub>6</sub>H<sub>15</sub>N•HCl');
expect(html).toBe('C<sub>6</sub>H<sub>15</sub>N • HCl');

@@ -111,0 +111,0 @@ let info = mf.getInfo();

@@ -98,3 +98,3 @@ 'use strict';

],
result: [{ kind: 'text', value: 'H•Cl' }],
result: [{ kind: 'text', value: 'H • Cl' }],
},

@@ -101,0 +101,0 @@ {

@@ -81,3 +81,3 @@ 'use strict';

if (result.kind === Format.TEXT) {
result.value += '•';
result.value += ' • ';
} else {

@@ -84,0 +84,0 @@ result = {

Sorry, the diff of this file is not supported yet

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