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

jalali-moment

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jalali-moment - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

dist/jalali-moment.browser.js

4

package.json
{
"name": "jalali-moment",
"version": "1.0.9",
"version": "1.1.0",
"description": "Jalaali (Jalali, Persian, Khorshidi, Shamsi) calendar system plugin for moment.js.",

@@ -26,3 +26,3 @@ "author": {

"test": "mocha --reporter spec --ui bdd --colors --check-leaks test.js",
"build": "WEBPACK_ENV=build webpack",
"build": "WEBPACK_ENV=build webpack;webpack --config webpack.browser.js",
"dev": "WEBPACK_ENV=dev webpack --progress --colors --watch"

@@ -29,0 +29,0 @@ },

@@ -71,5 +71,8 @@ # jalali-moment

### Browser(es5)
### ES5
```HTML
<script src="bower_components/jalali-moment/dist/jalali-moment.js"></script>
<!--<script src="bower_components/jalali-moment/dist/jalali-moment.browser.js"></script>-->
<!--<script src="node_modules/jalali-moment/dist/jalali-moment.browser.js"></script>-->
<script src="thisRepository/jalali-moment/dist/jalali-moment.browser.js"></script>
<script>

@@ -82,3 +85,3 @@ moment().format('jYYYY/jM/jD')

```HTML
<script src='https://unpkg.com/jalali-moment/dist/jalali-moment.js'></script>
<script src='https://unpkg.com/jalali-moment/dist/jalali-moment.browser.js'></script>
<script>

@@ -88,4 +91,5 @@ moment().format('jYYYY/jM/jD')

```
[for example](https://embed.plnkr.co/Gggh1u/)
### Plunker and Typescript
You could use systemjs to import this library into your project like [this](https://embed.plnkr.co/Gggh1u/)

@@ -92,0 +96,0 @@ ## API

@@ -16,4 +16,5 @@ const path = require('path');

plugins: [
// new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /fa/),
new UglifyJSPlugin()
]
}
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