New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

osm.js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osm.js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.travis.yml

2

lib/osm.js

@@ -108,3 +108,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

var clone = function clone(obj) {
return Object.assign(Object.create(obj), obj);
return Object.create(obj);
};

@@ -111,0 +111,0 @@

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("osm",[],t):"object"==typeof exports?exports.osm=t():e.osm=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="[object Object]",r=function(e){var t=e.length,n=function r(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return o.length<t?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,o.concat(t))}:e.apply(void 0,o)};return n},o=r(function(e,t){return Object.keys(t).reduce(function(n,r){return n[r]=e(t[r]),n},{})}),u=r(function(e,t){return Object.keys(t).filter(function(n){return e(t[n],n)}).reduce(function(e,n){return e[n]=t[n],e},{})}),c=function(e){return Object.prototype.toString.call(e)===n},i=function(e){return Object.assign(Object.create(e),e)},f=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){return Object.assign(e,t),e},{})},a=function(e,t){return u(function(e,n){return t.indexOf(n)===-1},e)};t["default"]={map:o,filter:u,isObject:c,clone:i,extend:f,omit:a},e.exports=t["default"]}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("osm",[],t):"object"==typeof exports?exports.osm=t():e.osm=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="[object Object]",r=function(e){var t=e.length,n=function r(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return o.length<t?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,o.concat(t))}:e.apply(void 0,o)};return n},o=r(function(e,t){return Object.keys(t).reduce(function(n,r){return n[r]=e(t[r]),n},{})}),u=r(function(e,t){return Object.keys(t).filter(function(n){return e(t[n],n)}).reduce(function(e,n){return e[n]=t[n],e},{})}),c=function(e){return Object.prototype.toString.call(e)===n},f=function(e){return Object.create(e)},i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){return Object.assign(e,t),e},{})},a=function(e,t){return u(function(e,n){return t.indexOf(n)===-1},e)};t["default"]={map:o,filter:u,isObject:c,clone:f,extend:i,omit:a},e.exports=t["default"]}])});
//# sourceMappingURL=osm.min.js.map
{
"name": "osm.js",
"version": "1.0.0",
"description": "A modern JavaScript library which offers utility functions for objects in JavaScript",
"repository": {
"type": "git",
"url": "git+https://github.com/idesi/Osm.js.git"
"url": "https://github.com/idesi/Osm.js.git"
},

@@ -20,7 +19,10 @@ "keywords": [

"homepage": "https://github.com/idesi/Osm.js#readme",
"main": "lib/library.js",
"main": "lib/osm.min.js",
"scripts": {
"commit": "git-cz",
"build": "webpack --mode=build",
"dev": "webpack --progress --colors --watch --mode=dev",
"test": "mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js"
"test": "mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js",
"test:single": "mocha --compilers js:babel-core/register --colors ./test/*.spec.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},

@@ -35,8 +37,21 @@ "devDependencies": {

"chai": "3.5.0",
"commitizen": "2.8.2",
"cz-conventional-changelog": "1.1.6",
"eslint": "3.2.0",
"eslint-loader": "1.5.0",
"mocha": "2.5.3",
"semantic-release": "^4.3.5",
"webpack": "1.13.1",
"yargs": "4.8.1"
}
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"ghooks": {
"pre-commit": "npm run test:single",
"pre-push": "npm run build"
}
},
"version": "1.0.1"
}
# Osm.js
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Build Status](https://travis-ci.org/idesi/Osm.js.svg?branch=master)](https://travis-ci.org/idesi/Osm.js)

@@ -14,3 +15,3 @@ A modern JavaScript library which offers utility functions for objects in JavaScript.

```shell
npm install osmjs
npm install osm.js
```

@@ -20,3 +21,3 @@ Then require/import it in any module

```javascript
import osm from osmjs;
import osm from 'osm.js';
```

@@ -23,0 +24,0 @@ ### Browser

@@ -35,3 +35,3 @@ const objIdentifier = '[object Object]';

const clone = (obj) => Object.assign(Object.create(obj), obj);
const clone = (obj) => Object.create(obj);

@@ -38,0 +38,0 @@ const extend = (...args) => {

Sorry, the diff of this file is not supported yet

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