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

strman

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strman - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

test/transpiler.test.js

15

gulpfile.babel.js

@@ -8,3 +8,2 @@ /**

*/
import gulp from 'gulp';

@@ -18,2 +17,3 @@ import uglify from 'gulp-uglify';

import source from 'vinyl-source-stream';
import babel from 'gulp-babel';

@@ -38,6 +38,13 @@ gulp.task('browserify', () => {

.pipe(uglify())
.pipe(gulp.dest('dist'))
.pipe(gulp.dest('public'));
.pipe(gulp.dest('dist'));
});
gulp.task('default', ['browserify'], () => {});
gulp.task('babel', () => {
gulp.src('./src/**/*.js')
.pipe(babel({
presets: ['es2015']
}))
.pipe(gulp.dest('transpiler'));
});
gulp.task('default', ['browserify', 'babel'], () => {});
{
"name": "strman",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Javascript string manipulation library without npm dependences.",
"main": "dist/strman.js",
"main": "transpiler/strman.js",
"directories": {

@@ -39,2 +39,3 @@ "test": "test"

"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-uglify": "^1.5.3",

@@ -41,0 +42,0 @@ "mocha": "^2.4.5",

import chai from 'chai';
var strman = require('../dist/strman');
var strman = require('../transpiler/strman');
var isString = strman.isString;

@@ -5,0 +5,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