Socket
Socket
Sign inDemoInstall

replace-comments-x

Package Overview
Dependencies
3
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

index.js
/**
* @file Replace the comments in a string.
* @version 1.0.0
* @version 1.0.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -5,0 +5,0 @@ * @copyright Xotic750

(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/**
* @file Replace the comments in a string.
* @version 1.0.0
* @version 1.0.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -30,3 +30,3 @@ * @copyright Xotic750

*
* replaceComments(test;/* test * /, ''), // 'test;'
* replaceComments(test;/* test * /, ''), // 'test;'
* replaceComments(test; // test, ''), // 'test;'

@@ -33,0 +33,0 @@ */

!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/**
* @file Replace the comments in a string.
* @version 1.0.0
* @version 1.0.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -5,0 +5,0 @@ * @copyright Xotic750

{
"name": "replace-comments-x",
"version": "1.0.0",
"version": "1.0.1",
"description": "Replace the comments in a string.",

@@ -12,3 +12,5 @@ "homepage": "https://github.com/Xotic750/replace-comments-x",

"keywords": [
"Boilerplate",
"string",
"replace",
"comments",
"module",

@@ -15,0 +17,0 @@ "javascript",

@@ -26,3 +26,3 @@ <a href="https://travis-ci.org/Xotic750/replace-comments-x"

**Version**: 1.0.0
**Version**: 1.0.1
**Author**: Xotic750 <Xotic750@gmail.com>

@@ -48,4 +48,4 @@ **License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)

replaceComments(test;/* test */, ''), // 'test;'
replaceComments(test;/* test * /, ''), // 'test;'
replaceComments(test; // test, ''), // 'test;'
```
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc